Skip to content

Supported ExpectedWarningsFormat.PLAIN #2054

Supported ExpectedWarningsFormat.PLAIN

Supported ExpectedWarningsFormat.PLAIN #2054

GitHub Actions / JUnit Tests (macOS, dorny/test-reporter@v1) failed Feb 27, 2024 in 1s

180 passed, 41 failed and 24 skipped

Tests failed

Report Passed Failed Skipped Time
save-cli/build/test-results/jvmTest/TEST-com.saveourtool.save.cli.GeneralTest.xml 1✅ 1❌ 99s
save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ExtraFlagsExtractorTest.xml 4✅ 2s
save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.files.FileUtilsTest.xml 4✅ 184ms
save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ProcessBuilderTest.xml 13✅ 1s
save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.utils.ProcessBuilderInternalTest.xml 2✅ 71ms
save-common/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.ExtraFlagsExtractorTest.xml 4✅ 2ms
save-common/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.files.FileUtilsTest.xml 4✅ 308ms
save-common/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.ProcessBuilderTest.xml 13✅ 27ms
save-common/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.utils.PlatformStringUtilsTest.xml 1✅ 0ms
save-common/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.utils.ProcessBuilderInternalTest.xml 2✅ 29ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ConfigDetectorRegressionTest.xml 1✅ 278ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ConfigDetectorTest.xml 8✅ 425ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicFixTest.xml 9✅ 54s
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicWarnTest.xml 4✅ 7❌ 5⚪ 4s
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.FixAndWarnDirTest.xml 3❌ 5s
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.FixDirTest.xml 2✅ 13s
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.WarnDirTest.xml 5⚪ 1ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.MergeAndOverrideConfigsTest.xml 8✅ 192ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.PerformAnalysisTest.xml 1✅ 1❌ 123ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.utils.CliUtilsTest.xml 6✅ 32ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ValidationTest.xml 8✅ 26ms
save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.ConfigDetectorRegressionTest.xml 1✅ 3ms
save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.ConfigDetectorTest.xml 8✅ 6s
save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.integration.ClassicFixTest.xml 9✅ 165s
save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.integration.ClassicWarnTest.xml 4✅ 7❌ 5⚪ 7s
save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.integration.FixAndWarnDirTest.xml 3❌ 9s
save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.integration.FixDirTest.xml 2✅ 14s
save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.integration.WarnDirTest.xml 5⚪ 0ms
save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.MergeAndOverrideConfigsTest.xml 8✅ 50ms
save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.PerformAnalysisTest.xml 1✅ 1❌ 2s
save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.utils.CliUtilsTest.xml 6✅ 3ms
save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.ValidationTest.xml 8✅ 4ms
save-plugins/fix-and-warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugins.fixandwarn.FixAndWarnPluginTest.xml 1❌ 675ms
save-plugins/fix-and-warn-plugin/build/test-results/macosX64Test/TEST-com.saveourtool.save.plugins.fixandwarn.FixAndWarnPluginTest.xml 1❌ 1s
save-plugins/fix-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugins.fix.FixPluginTest.xml 4✅ 1s
save-plugins/fix-plugin/build/test-results/macosX64Test/TEST-com.saveourtool.save.plugins.fix.FixPluginTest.xml 4✅ 186ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest.xml 5✅ 312ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.ComparisonTest.xml 1✅ 19ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.StringUtilsTest.xml 3✅ 165ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.UtilsTest.xml 3✅ 4ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.WarnPluginTest.xml 1✅ 8❌ 2⚪ 832ms
save-plugins/warn-plugin/build/test-results/macosX64Test/TEST-com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest.xml 5✅ 15ms
save-plugins/warn-plugin/build/test-results/macosX64Test/TEST-com.saveourtool.save.plugin.warn.utils.ComparisonTest.xml 1✅ 0ms
save-plugins/warn-plugin/build/test-results/macosX64Test/TEST-com.saveourtool.save.plugin.warn.utils.StringUtilsTest.xml 3✅ 0ms
save-plugins/warn-plugin/build/test-results/macosX64Test/TEST-com.saveourtool.save.plugin.warn.utils.UtilsTest.xml 3✅ 1ms
save-plugins/warn-plugin/build/test-results/macosX64Test/TEST-com.saveourtool.save.plugin.warn.WarnPluginTest.xml 1✅ 8❌ 2⚪ 803ms
save-reporters/build/test-results/jvmTest/TEST-com.saveourtool.save.reporter.json.JsonReporterTest.xml 2✅ 1s
save-reporters/build/test-results/macosX64Test/TEST-com.saveourtool.save.reporter.json.JsonReporterTest.xml 2✅ 5ms

❌ save-cli/build/test-results/jvmTest/TEST-com.saveourtool.save.cli.GeneralTest.xml

2 tests were completed in 99s with 1 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.cli.GeneralTest 1✅ 1❌ 99s

❌ com.saveourtool.save.cli.GeneralTest

✅ examples test from subfolder()[jvm]
❌ examples test()[jvm]
	kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 16284: Expected quotation mark '"', but had ':' instead at path: $[5].pluginExecutions[0].testResults[0].debugInfo.stdout

✅ save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ExtraFlagsExtractorTest.xml

4 tests were completed in 2s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ExtraFlagsExtractorTest 4✅ 2s

✅ com.saveourtool.save.core.ExtraFlagsExtractorTest

✅ test for splitByNonEscaped()[jvm]
✅ basic test()[jvm]
✅ should resolve placeholders()[jvm]
✅ should join multiline directives()[jvm]

✅ save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.files.FileUtilsTest.xml

4 tests were completed in 184ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.files.FileUtilsTest 4✅ 184ms

✅ com.saveourtool.save.core.files.FileUtilsTest

✅ example for findAllFilesMatching()[jvm]
✅ create relative path in case of branchy file tree()[jvm]
✅ example for findDescendantDirectoriesBy()[jvm]
✅ create relative path when config and test resource located in the same directory()[jvm]

✅ save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ProcessBuilderTest.xml

13 tests were completed in 1s with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ProcessBuilderTest 13✅ 1s

✅ com.saveourtool.save.core.ProcessBuilderTest

✅ simple check with redirection()[jvm]
✅ change multiple echo commands with redirections 2()[jvm]
✅ change multiple echo commands with redirections 3()[jvm]
✅ simple check with redirection without whitespaces at all()[jvm]
✅ check stdout()[jvm]
✅ one long echo()[jvm]
✅ check stdout with redirection()[jvm]
✅ change multiple echo commands with redirections()[jvm]
✅ extra whitespaces shouldn't influence to echo()[jvm]
✅ simple check with redirection without first whitespace()[jvm]
✅ simple check()[jvm]
✅ command without echo()[jvm]
✅ empty command()[jvm]

✅ save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.utils.ProcessBuilderInternalTest.xml

2 tests were completed in 71ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.utils.ProcessBuilderInternalTest 2✅ 71ms

✅ com.saveourtool.save.core.utils.ProcessBuilderInternalTest

✅ check stderr with additional warning()[jvm]
✅ check stderr()[jvm]

✅ save-common/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.ExtraFlagsExtractorTest.xml

4 tests were completed in 2ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ExtraFlagsExtractorTest 4✅ 2ms

✅ com.saveourtool.save.core.ExtraFlagsExtractorTest

✅ basic test[macosX64]
✅ should resolve placeholders[macosX64]
✅ should join multiline directives[macosX64]
✅ test for splitByNonEscaped[macosX64]

✅ save-common/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.files.FileUtilsTest.xml

4 tests were completed in 308ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.files.FileUtilsTest 4✅ 308ms

✅ com.saveourtool.save.core.files.FileUtilsTest

✅ example for findAllFilesMatching[macosX64]
✅ example for findDescendantDirectoriesBy[macosX64]
✅ create relative path when config and test resource located in the same directory[macosX64]
✅ create relative path in case of branchy file tree[macosX64]

✅ save-common/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.ProcessBuilderTest.xml

13 tests were completed in 27ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ProcessBuilderTest 13✅ 27ms

✅ com.saveourtool.save.core.ProcessBuilderTest

✅ empty command[macosX64]
✅ check stdout[macosX64]
✅ check stdout with redirection[macosX64]
✅ command without echo[macosX64]
✅ simple check[macosX64]
✅ simple check with redirection[macosX64]
✅ simple check with redirection without first whitespace[macosX64]
✅ simple check with redirection without whitespaces at all[macosX64]
✅ one long echo[macosX64]
✅ change multiple echo commands with redirections[macosX64]
✅ change multiple echo commands with redirections 2[macosX64]
✅ change multiple echo commands with redirections 3[macosX64]
✅ extra whitespaces shouldn't influence to echo[macosX64]

✅ save-common/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.utils.PlatformStringUtilsTest.xml

1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.utils.PlatformStringUtilsTest 1✅ 0ms

✅ com.saveourtool.save.core.utils.PlatformStringUtilsTest

✅ checking escaping of percents[macosX64]

✅ save-common/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.utils.ProcessBuilderInternalTest.xml

2 tests were completed in 29ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.utils.ProcessBuilderInternalTest 2✅ 29ms

✅ com.saveourtool.save.core.utils.ProcessBuilderInternalTest

✅ check stderr[macosX64]
✅ check stderr with additional warning[macosX64]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ConfigDetectorRegressionTest.xml

1 tests were completed in 278ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ConfigDetectorRegressionTest 1✅ 278ms

✅ com.saveourtool.save.core.ConfigDetectorRegressionTest

✅ config detector regression test on directories()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ConfigDetectorTest.xml

8 tests were completed in 425ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ConfigDetectorTest 8✅ 425ms

✅ com.saveourtool.save.core.ConfigDetectorTest

✅ should fail on the invalid file()[jvm]
✅ should detect single file from a directory()[jvm]
✅ should detect multiple files starting from the middle()[jvm]
✅ should detect starting from bottom with multiple parent configs()[jvm]
✅ should detect starting from bottom()[jvm]
✅ should detect single file()[jvm]
✅ should detect config file from single Test file()[jvm]
✅ should detect multiple files starting from top()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicFixTest.xml

9 tests were completed in 54s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.ClassicFixTest 9✅ 54s

✅ com.saveourtool.save.core.integration.ClassicFixTest

✅ execute fix plugin on separate files()[jvm]
✅ execute fix plugin in sarif mode()[jvm]
✅ executing fix plugin on save-toml file in directory()[jvm]
✅ executing fix plugin on parental save-toml file()[jvm]
✅ execute fix plugin on folder()[jvm]
✅ check NoIgnoreLines()[jvm]
✅ check IgnoreLines()[jvm]
✅ tests with the same name()[jvm]
✅ check IgnoreLinesIsEmpty()[jvm]

❌ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicWarnTest.xml

16 tests were completed in 4s with 4 passed, 7 failed and 5 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.ClassicWarnTest 4✅ 7❌ 5⚪ 4s

❌ com.saveourtool.save.core.integration.ClassicWarnTest

✅ execute warn-plugin with expected warnings from SARIF()[jvm]
✅ executing warn plugin so that no resources will be found()[jvm]
❌ lines that match ignoreLines should be ignored()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
✅ execute warn-plugin with actual and expected warnings from SARIF()[jvm]
⚪ execute warn plugin with default testFiles()[jvm]
❌ test output file set()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
⚪ executing warn plugin on parental directory()[jvm]
✅ tests should have a relative path()[jvm]
❌ execute warn plugin on separate files()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ executing warn plugin on directory()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
⚪ execute warn plugin with timeout()[jvm]
❌ executing warn plugin on parental save-toml file()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ executing warn plugin on directory when files are set with regex()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
⚪ execute warn plugin with included and excluded suites()[jvm]
❌ execute warn-plugin with actual warnings from SARIF()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
⚪ executing warn plugin on save-toml file in directory()[jvm]

❌ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.FixAndWarnDirTest.xml

3 tests were completed in 5s with 0 passed, 3 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.FixAndWarnDirTest 3❌ 5s

❌ com.saveourtool.save.core.integration.FixAndWarnDirTest

❌ execute fix-and-warn plugin on the directory chapter1()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ execute fix-and-warn plugin on the directory chapter2()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ execute fix-and-warn plugin on the directory chapter3()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.FixDirTest.xml

2 tests were completed in 13s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.FixDirTest 2✅ 13s

✅ com.saveourtool.save.core.integration.FixDirTest

✅ execute fix plugin()[jvm]
✅ execute fix plugin on the directory chapter1()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.WarnDirTest.xml

5 tests were completed in 1ms with 0 passed, 0 failed and 5 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.WarnDirTest 5⚪ 1ms

✅ com.saveourtool.save.core.integration.WarnDirTest

⚪ execute warn plugin on root directory()[jvm]
⚪ execute warn plugin on the directory chapter1()[jvm]
⚪ execute warn plugin on the directory chapter2()[jvm]
⚪ execute warn plugin on the directory chapter3()[jvm]
⚪ execute warn plugin on the directory chapter4()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.MergeAndOverrideConfigsTest.xml

8 tests were completed in 192ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.MergeAndOverrideConfigsTest 8✅ 192ms

✅ com.saveourtool.save.core.MergeAndOverrideConfigsTest

✅ load save toml from middle hierarchy()[jvm]
✅ merge and override two incomplete configs 2()[jvm]
✅ merge and override general configs()[jvm]
✅ merge and override two configs with different fields()[jvm]
✅ merge configs with many parents()[jvm]
✅ override real toml configs()[jvm]
✅ merge real toml configs with empty execFlag in child()[jvm]
✅ merge and override two incomplete configs()[jvm]

❌ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.PerformAnalysisTest.xml

2 tests were completed in 123ms with 1 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.PerformAnalysisTest 1✅ 1❌ 123ms

❌ com.saveourtool.save.core.PerformAnalysisTest

✅ should execute single test()[jvm]
❌ detect plugins()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.utils.CliUtilsTest.xml

6 tests were completed in 32ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.utils.CliUtilsTest 6✅ 32ms

✅ com.saveourtool.save.core.utils.CliUtilsTest

✅ resolve value()[jvm]
✅ parse properties file()[jvm]
✅ read not existed properties file()[jvm]
✅ read properties file()[jvm]
✅ read invalid properties file()[jvm]
✅ parse properties file from not existed folder()[jvm]

✅ save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ValidationTest.xml

8 tests were completed in 26ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ValidationTest 8✅ 26ms

✅ com.saveourtool.save.core.ValidationTest

✅ validate warn section()[jvm]
✅ invalid general section()[jvm]
✅ set defaults to warn section()[jvm]
✅ set defaults to general section()[jvm]
✅ set defaults to fix section()[jvm]
✅ validate warn section 2()[jvm]
✅ validate warn section 3()[jvm]
✅ validate warn section 4()[jvm]

✅ save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.ConfigDetectorRegressionTest.xml

1 tests were completed in 3ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ConfigDetectorRegressionTest 1✅ 3ms

✅ com.saveourtool.save.core.ConfigDetectorRegressionTest

✅ config detector regression test on directories[macosX64]

✅ save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.ConfigDetectorTest.xml

8 tests were completed in 6s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ConfigDetectorTest 8✅ 6s

✅ com.saveourtool.save.core.ConfigDetectorTest

✅ should detect single file[macosX64]
✅ should fail on the invalid file[macosX64]
✅ should detect single file from a directory[macosX64]
✅ should detect starting from bottom[macosX64]
✅ should detect starting from bottom with multiple parent configs[macosX64]
✅ should detect multiple files starting from top[macosX64]
✅ should detect multiple files starting from the middle[macosX64]
✅ should detect config file from single Test file[macosX64]

✅ save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.integration.ClassicFixTest.xml

9 tests were completed in 165s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.ClassicFixTest 9✅ 165s

✅ com.saveourtool.save.core.integration.ClassicFixTest

✅ execute fix plugin on separate files[macosX64]
✅ executing fix plugin on save-toml file in directory[macosX64]
✅ executing fix plugin on parental save-toml file[macosX64]
✅ execute fix plugin on folder[macosX64]
✅ check NoIgnoreLines[macosX64]
✅ check IgnoreLinesIsEmpty[macosX64]
✅ check IgnoreLines[macosX64]
✅ execute fix plugin in sarif mode[macosX64]
✅ tests with the same name[macosX64]

❌ save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.integration.ClassicWarnTest.xml

16 tests were completed in 7s with 4 passed, 7 failed and 5 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.ClassicWarnTest 4✅ 7❌ 5⚪ 7s

❌ com.saveourtool.save.core.integration.ClassicWarnTest

⚪ execute warn plugin with default testFiles[macosX64]
❌ execute warn plugin on separate files[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
⚪ execute warn plugin with timeout[macosX64]
❌ executing warn plugin on directory[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ executing warn plugin on directory when files are set with regex[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ lines that match ignoreLines should be ignored[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ test output file set[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
⚪ executing warn plugin on parental directory[macosX64]
⚪ executing warn plugin on save-toml file in directory[macosX64]
❌ executing warn plugin on parental save-toml file[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
✅ executing warn plugin so that no resources will be found[macosX64]
⚪ execute warn plugin with included and excluded suites[macosX64]
✅ tests should have a relative path[macosX64]
✅ execute warn-plugin with expected warnings from SARIF[macosX64]
❌ execute warn-plugin with actual warnings from SARIF[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
✅ execute warn-plugin with actual and expected warnings from SARIF[macosX64]

❌ save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.integration.FixAndWarnDirTest.xml

3 tests were completed in 9s with 0 passed, 3 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.FixAndWarnDirTest 3❌ 9s

❌ com.saveourtool.save.core.integration.FixAndWarnDirTest

❌ execute fix-and-warn plugin on the directory chapter1[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ execute fix-and-warn plugin on the directory chapter2[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ execute fix-and-warn plugin on the directory chapter3[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE

✅ save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.integration.FixDirTest.xml

2 tests were completed in 14s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.FixDirTest 2✅ 14s

✅ com.saveourtool.save.core.integration.FixDirTest

✅ execute fix plugin[macosX64]
✅ execute fix plugin on the directory chapter1[macosX64]

✅ save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.integration.WarnDirTest.xml

5 tests were completed in 0ms with 0 passed, 0 failed and 5 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.integration.WarnDirTest 5⚪ 0ms

✅ com.saveourtool.save.core.integration.WarnDirTest

⚪ execute warn plugin on the directory chapter1[macosX64]
⚪ execute warn plugin on the directory chapter2[macosX64]
⚪ execute warn plugin on the directory chapter3[macosX64]
⚪ execute warn plugin on the directory chapter4[macosX64]
⚪ execute warn plugin on root directory[macosX64]

✅ save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.MergeAndOverrideConfigsTest.xml

8 tests were completed in 50ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.MergeAndOverrideConfigsTest 8✅ 50ms

✅ com.saveourtool.save.core.MergeAndOverrideConfigsTest

✅ merge and override general configs[macosX64]
✅ merge and override two incomplete configs[macosX64]
✅ merge and override two incomplete configs 2[macosX64]
✅ merge and override two configs with different fields[macosX64]
✅ merge configs with many parents[macosX64]
✅ merge real toml configs with empty execFlag in child[macosX64]
✅ override real toml configs[macosX64]
✅ load save toml from middle hierarchy[macosX64]

❌ save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.PerformAnalysisTest.xml

2 tests were completed in 2s with 1 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.PerformAnalysisTest 1✅ 1❌ 2s

❌ com.saveourtool.save.core.PerformAnalysisTest

❌ detect plugins[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
✅ should execute single test[macosX64]

✅ save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.utils.CliUtilsTest.xml

6 tests were completed in 3ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.utils.CliUtilsTest 6✅ 3ms

✅ com.saveourtool.save.core.utils.CliUtilsTest

✅ parse properties file[macosX64]
✅ parse properties file from not existed folder[macosX64]
✅ resolve value[macosX64]
✅ read properties file[macosX64]
✅ read invalid properties file[macosX64]
✅ read not existed properties file[macosX64]

✅ save-core/build/test-results/macosX64Test/TEST-com.saveourtool.save.core.ValidationTest.xml

8 tests were completed in 4ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.core.ValidationTest 8✅ 4ms

✅ com.saveourtool.save.core.ValidationTest

✅ set defaults to general section[macosX64]
✅ invalid general section[macosX64]
✅ set defaults to warn section[macosX64]
✅ validate warn section[macosX64]
✅ validate warn section 2[macosX64]
✅ validate warn section 3[macosX64]
✅ validate warn section 4[macosX64]
✅ set defaults to fix section[macosX64]

❌ save-plugins/fix-and-warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugins.fixandwarn.FixAndWarnPluginTest.xml

1 tests were completed in 675ms with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugins.fixandwarn.FixAndWarnPluginTest 1❌ 675ms

❌ com.saveourtool.save.plugins.fixandwarn.FixAndWarnPluginTest

❌ base test()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE

❌ save-plugins/fix-and-warn-plugin/build/test-results/macosX64Test/TEST-com.saveourtool.save.plugins.fixandwarn.FixAndWarnPluginTest.xml

1 tests were completed in 1s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugins.fixandwarn.FixAndWarnPluginTest 1❌ 1s

❌ com.saveourtool.save.plugins.fixandwarn.FixAndWarnPluginTest

❌ base test[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE

✅ save-plugins/fix-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugins.fix.FixPluginTest.xml

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugins.fix.FixPluginTest 4✅ 1s

✅ com.saveourtool.save.plugins.fix.FixPluginTest

✅ should detect two files()[jvm]
✅ should calculate diff of discovered files()[jvm]
✅ should detect two files - among other files()[jvm]
✅ test for batchSize()[jvm]

✅ save-plugins/fix-plugin/build/test-results/macosX64Test/TEST-com.saveourtool.save.plugins.fix.FixPluginTest.xml

4 tests were completed in 186ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugins.fix.FixPluginTest 4✅ 186ms

✅ com.saveourtool.save.plugins.fix.FixPluginTest

✅ should detect two files[macosX64]
✅ should detect two files - among other files[macosX64]
✅ should calculate diff of discovered files[macosX64]
✅ test for batchSize[macosX64]

✅ save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest.xml

5 tests were completed in 312ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest 5✅ 312ms

✅ com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest

✅ should filter out warnings from other files - absolute paths with testRoot being relative()[jvm]
✅ should filter out warnings from other files - relative paths()[jvm]
✅ should filter out warnings from other files()[jvm]
✅ should convert SARIF report to SAVE warnings()[jvm]
✅ should filter out warnings from other files - absolute paths with testRoot being absolute()[jvm]

✅ save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.ComparisonTest.xml

1 tests were completed in 19ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.utils.ComparisonTest 1✅ 19ms

✅ com.saveourtool.save.plugin.warn.utils.ComparisonTest

✅ should compare warnings()[jvm]

✅ save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.StringUtilsTest.xml

3 tests were completed in 165ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.utils.StringUtilsTest 3✅ 165ms

✅ com.saveourtool.save.plugin.warn.utils.StringUtilsTest

✅ checking the creation of regex messages from strings()[jvm]
✅ regression with regular expressions()[jvm]
✅ checking the search of delimiters in the string()[jvm]

✅ save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.UtilsTest.xml

3 tests were completed in 4ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.utils.UtilsTest 3✅ 4ms

✅ com.saveourtool.save.plugin.warn.utils.UtilsTest

✅ should extract warnings from different text with no line but col()[jvm]
✅ should extract warnings from different text with line and col()[jvm]
✅ should extract warnings from different text with line but no col()[jvm]

❌ save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.WarnPluginTest.xml

11 tests were completed in 832ms with 1 passed, 8 failed and 2 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.WarnPluginTest 1✅ 8❌ 2⚪ 832ms

❌ com.saveourtool.save.plugin.warn.WarnPluginTest

✅ warn-plugin test exception()[jvm]
⚪ warn-plugin test - multiple warnings and ignore technical comments()[jvm]
❌ warn-plugin test - multiple warnings and no line-col()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ warn-plugin test for batchSize()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ basic warn-plugin test with exactWarningsMatch = false()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ regression - test resources in multiple directories()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ warn-plugin test with default warning without line()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
⚪ basic warn-plugin test with ignoreTechnicalComments=true()[jvm]
❌ warn-plugin test - multiple warnings()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ basic warn-plugin test()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ warn-plugin test for all mods()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE

✅ save-plugins/warn-plugin/build/test-results/macosX64Test/TEST-com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest.xml

5 tests were completed in 15ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest 5✅ 15ms

✅ com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest

✅ should convert SARIF report to SAVE warnings[macosX64]
✅ should filter out warnings from other files[macosX64]
✅ should filter out warnings from other files - relative paths[macosX64]
✅ should filter out warnings from other files - absolute paths with testRoot being relative[macosX64]
✅ should filter out warnings from other files - absolute paths with testRoot being absolute[macosX64]

✅ save-plugins/warn-plugin/build/test-results/macosX64Test/TEST-com.saveourtool.save.plugin.warn.utils.ComparisonTest.xml

1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.utils.ComparisonTest 1✅ 0ms

✅ com.saveourtool.save.plugin.warn.utils.ComparisonTest

✅ should compare warnings[macosX64]

✅ save-plugins/warn-plugin/build/test-results/macosX64Test/TEST-com.saveourtool.save.plugin.warn.utils.StringUtilsTest.xml

3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.utils.StringUtilsTest 3✅ 0ms

✅ com.saveourtool.save.plugin.warn.utils.StringUtilsTest

✅ checking the search of delimiters in the string[macosX64]
✅ checking the creation of regex messages from strings[macosX64]
✅ regression with regular expressions[macosX64]

✅ save-plugins/warn-plugin/build/test-results/macosX64Test/TEST-com.saveourtool.save.plugin.warn.utils.UtilsTest.xml

3 tests were completed in 1ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.utils.UtilsTest 3✅ 1ms

✅ com.saveourtool.save.plugin.warn.utils.UtilsTest

✅ should extract warnings from different text with line and col[macosX64]
✅ should extract warnings from different text with no line but col[macosX64]
✅ should extract warnings from different text with line but no col[macosX64]

❌ save-plugins/warn-plugin/build/test-results/macosX64Test/TEST-com.saveourtool.save.plugin.warn.WarnPluginTest.xml

11 tests were completed in 803ms with 1 passed, 8 failed and 2 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.plugin.warn.WarnPluginTest 1✅ 8❌ 2⚪ 803ms

❌ com.saveourtool.save.plugin.warn.WarnPluginTest

❌ basic warn-plugin test[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ warn-plugin test with default warning without line[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ warn-plugin test for all mods[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ basic warn-plugin test with exactWarningsMatch = false[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
⚪ basic warn-plugin test with ignoreTechnicalComments=true[macosX64]
❌ warn-plugin test - multiple warnings[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
⚪ warn-plugin test - multiple warnings and ignore technical comments[macosX64]
❌ warn-plugin test - multiple warnings and no line-col[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ warn-plugin test for batchSize[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
❌ regression - test resources in multiple directories[macosX64]
	kotlin.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
✅ warn-plugin test exception[macosX64]

✅ save-reporters/build/test-results/jvmTest/TEST-com.saveourtool.save.reporter.json.JsonReporterTest.xml

2 tests were completed in 1s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.reporter.json.JsonReporterTest 2✅ 1s

✅ com.saveourtool.save.reporter.json.JsonReporterTest

✅ should produce valid serialized Report when plugin crashes()[jvm]
✅ should produce valid serialized Report from ordinary data()[jvm]

✅ save-reporters/build/test-results/macosX64Test/TEST-com.saveourtool.save.reporter.json.JsonReporterTest.xml

2 tests were completed in 5ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.save.reporter.json.JsonReporterTest 2✅ 5ms

✅ com.saveourtool.save.reporter.json.JsonReporterTest

✅ should produce valid serialized Report from ordinary data[macosX64]
✅ should produce valid serialized Report when plugin crashes[macosX64]

Annotations

Check failure on line 17 in save-common/src/commonMain/kotlin/com/saveourtool/save/core/result/DebugInfo.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)

com.saveourtool.save.cli.GeneralTest ► examples test()[jvm]

Failed test found in:
  save-cli/build/test-results/jvmTest/TEST-com.saveourtool.save.cli.GeneralTest.xml
Error:
  kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 16284: Expected quotation mark '"', but had ':' instead at path: $[5].pluginExecutions[0].testResults[0].debugInfo.stdout
Raw output
kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 16284: Expected quotation mark '"', but had ':' instead at path: $[5].pluginExecutions[0].testResults[0].debugInfo.stdout
JSON input: .....tool/save/chapter1/Bug1Test.kt:1:1: [FILE_NAME_MATCH_CLASS] .....
	at app//kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24)
	at app//kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:32)
	at app//kotlinx.serialization.json.internal.AbstractJsonLexer.fail(AbstractJsonLexer.kt:598)
	at app//kotlinx.serialization.json.internal.AbstractJsonLexer.fail$default(AbstractJsonLexer.kt:596)
	at app//kotlinx.serialization.json.internal.AbstractJsonLexer.fail$kotlinx_serialization_json(AbstractJsonLexer.kt:233)
	at app//kotlinx.serialization.json.internal.StringJsonLexer.consumeKeyString(StringJsonLexer.kt:93)
	at app//kotlinx.serialization.json.internal.AbstractJsonLexer.consumeString(AbstractJsonLexer.kt:383)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeString(StreamingJsonDecoder.kt:345)
	at app//kotlinx.serialization.internal.StringSerializer.deserialize(Primitives.kt:160)
	at app//kotlinx.serialization.internal.StringSerializer.deserialize(Primitives.kt:156)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:70)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeNullableSerializableElement(AbstractDecoder.kt:79)
	at app//com.saveourtool.save.core.result.DebugInfo$$serializer.deserialize(DebugInfo.kt:17)
	at app//com.saveourtool.save.core.result.DebugInfo$$serializer.deserialize(DebugInfo.kt:17)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:70)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeNullableSerializableElement(AbstractDecoder.kt:79)
	at app//com.saveourtool.save.core.result.TestResult$$serializer.deserialize(TestResult.kt:18)
	at app//com.saveourtool.save.core.result.TestResult$$serializer.deserialize(TestResult.kt:18)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:70)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableElement(StreamingJsonDecoder.kt:165)
	at app//kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:533)
	at app//kotlinx.serialization.internal.CollectionLikeSerializer.readElement(CollectionSerializers.kt:80)
	at app//kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
	at app//kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
	at app//kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:70)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableElement(StreamingJsonDecoder.kt:165)
	at app//com.saveourtool.save.reporter.PluginExecution$$serializer.deserialize(Report.kt:29)
	at app//com.saveourtool.save.reporter.PluginExecution$$serializer.deserialize(Report.kt:29)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:70)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableElement(StreamingJsonDecoder.kt:165)
	at app//kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:533)
	at app//kotlinx.serialization.internal.CollectionLikeSerializer.readElement(CollectionSerializers.kt:80)
	at app//kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
	at app//kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
	at app//kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:70)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableElement(StreamingJsonDecoder.kt:165)
	at app//com.saveourtool.save.reporter.Report$$serializer.deserialize(Report.kt:17)
	at app//com.saveourtool.save.reporter.Report$$serializer.deserialize(Report.kt:17)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:70)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableElement(StreamingJsonDecoder.kt:165)
	at app//kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:533)
	at app//kotlinx.serialization.internal.CollectionLikeSerializer.readElement(CollectionSerializers.kt:80)
	at app//kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
	at app//kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
	at app//kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:70)
	at app//kotlinx.serialization.json.Json.decodeFromString(Json.kt:107)
	at app//com.saveourtool.save.cli.GeneralTest.doTest(GeneralTest.kt:152)
	at app//com.saveourtool.save.cli.GeneralTest.doTest$default(GeneralTest.kt:78)
	at app//com.saveourtool.save.cli.GeneralTest.examples test(GeneralTest.kt:44)
	at java.base@11.0.22/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base@11.0.22/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base@11.0.22/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base@11.0.22/java.lang.reflect.Method.invoke(Method.java:566)
	at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
	at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
	at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base@11.0.22/java.util.ArrayList.forEach(ArrayList.java:1541)
	at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base@11.0.22/java.util.ArrayList.forEach(ArrayList.java:1541)
	at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at app//org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at app//org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at app//org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at app//org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at app//org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
	at java.base@11.0.22/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base@11.0.22/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base@11.0.22/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base@11.0.22/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at com.sun.proxy.$Proxy5.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
	at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

Check failure on line 275 in save-plugins/warn-plugin/src/commonMain/kotlin/com/saveourtool/save/plugin/warn/WarnPlugin.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)

com.saveourtool.save.core.integration.ClassicWarnTest ► lines that match ignoreLines should be ignored()[jvm]

Failed test found in:
  save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicWarnTest.xml
Error:
  java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
Raw output
java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
	at com.saveourtool.save.plugin.warn.WarnPlugin.collectExpectedWarnings(WarnPlugin.kt:275)
	at com.saveourtool.save.plugin.warn.WarnPlugin.processExpectedWarnings(WarnPlugin.kt:220)
	at com.saveourtool.save.plugin.warn.WarnPlugin.handleTestFile(WarnPlugin.kt:148)
	at com.saveourtool.save.plugin.warn.WarnPlugin.access$handleTestFile(WarnPlugin.kt:51)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:88)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:87)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:315)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
	at com.saveourtool.save.core.Save.executePlugin(Save.kt:338)
	at com.saveourtool.save.core.Save.performAnalysis(Save.kt:115)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat(TestUtilsCommon.kt:60)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat$default(TestUtilsCommon.kt:43)
	at com.saveourtool.save.core.integration.ClassicWarnTest.lines that match ignoreLines should be ignored(ClassicWarnTest.kt:66)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at com.sun.proxy.$Proxy5.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

Check failure on line 275 in save-plugins/warn-plugin/src/commonMain/kotlin/com/saveourtool/save/plugin/warn/WarnPlugin.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)

com.saveourtool.save.core.integration.ClassicWarnTest ► test output file set()[jvm]

Failed test found in:
  save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicWarnTest.xml
Error:
  java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
Raw output
java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
	at com.saveourtool.save.plugin.warn.WarnPlugin.collectExpectedWarnings(WarnPlugin.kt:275)
	at com.saveourtool.save.plugin.warn.WarnPlugin.processExpectedWarnings(WarnPlugin.kt:220)
	at com.saveourtool.save.plugin.warn.WarnPlugin.handleTestFile(WarnPlugin.kt:148)
	at com.saveourtool.save.plugin.warn.WarnPlugin.access$handleTestFile(WarnPlugin.kt:51)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:88)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:87)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:315)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
	at com.saveourtool.save.core.Save.executePlugin(Save.kt:338)
	at com.saveourtool.save.core.Save.performAnalysis(Save.kt:115)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat(TestUtilsCommon.kt:60)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat$default(TestUtilsCommon.kt:43)
	at com.saveourtool.save.core.integration.ClassicWarnTest.test output file set(ClassicWarnTest.kt:75)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at com.sun.proxy.$Proxy5.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

Check failure on line 275 in save-plugins/warn-plugin/src/commonMain/kotlin/com/saveourtool/save/plugin/warn/WarnPlugin.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)

com.saveourtool.save.core.integration.ClassicWarnTest ► execute warn plugin on separate files()[jvm]

Failed test found in:
  save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicWarnTest.xml
Error:
  java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
Raw output
java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
	at com.saveourtool.save.plugin.warn.WarnPlugin.collectExpectedWarnings(WarnPlugin.kt:275)
	at com.saveourtool.save.plugin.warn.WarnPlugin.processExpectedWarnings(WarnPlugin.kt:220)
	at com.saveourtool.save.plugin.warn.WarnPlugin.handleTestFile(WarnPlugin.kt:148)
	at com.saveourtool.save.plugin.warn.WarnPlugin.access$handleTestFile(WarnPlugin.kt:51)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:88)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:87)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:315)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
	at com.saveourtool.save.core.Save.executePlugin(Save.kt:338)
	at com.saveourtool.save.core.Save.performAnalysis(Save.kt:115)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat(TestUtilsCommon.kt:60)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat$default(TestUtilsCommon.kt:43)
	at com.saveourtool.save.core.integration.ClassicWarnTest.execute warn plugin on separate files(ClassicWarnTest.kt:26)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at com.sun.proxy.$Proxy5.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

Check failure on line 275 in save-plugins/warn-plugin/src/commonMain/kotlin/com/saveourtool/save/plugin/warn/WarnPlugin.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)

com.saveourtool.save.core.integration.ClassicWarnTest ► executing warn plugin on directory()[jvm]

Failed test found in:
  save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicWarnTest.xml
Error:
  java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
Raw output
java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
	at com.saveourtool.save.plugin.warn.WarnPlugin.collectExpectedWarnings(WarnPlugin.kt:275)
	at com.saveourtool.save.plugin.warn.WarnPlugin.processExpectedWarnings(WarnPlugin.kt:220)
	at com.saveourtool.save.plugin.warn.WarnPlugin.handleTestFile(WarnPlugin.kt:148)
	at com.saveourtool.save.plugin.warn.WarnPlugin.access$handleTestFile(WarnPlugin.kt:51)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:88)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:87)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:315)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
	at com.saveourtool.save.core.Save.executePlugin(Save.kt:338)
	at com.saveourtool.save.core.Save.performAnalysis(Save.kt:115)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat(TestUtilsCommon.kt:60)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat$default(TestUtilsCommon.kt:43)
	at com.saveourtool.save.core.integration.ClassicWarnTest.executing warn plugin on directory(ClassicWarnTest.kt:48)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at com.sun.proxy.$Proxy5.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

Check failure on line 275 in save-plugins/warn-plugin/src/commonMain/kotlin/com/saveourtool/save/plugin/warn/WarnPlugin.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)

com.saveourtool.save.core.integration.ClassicWarnTest ► executing warn plugin on parental save-toml file()[jvm]

Failed test found in:
  save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicWarnTest.xml
Error:
  java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
Raw output
java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
	at com.saveourtool.save.plugin.warn.WarnPlugin.collectExpectedWarnings(WarnPlugin.kt:275)
	at com.saveourtool.save.plugin.warn.WarnPlugin.processExpectedWarnings(WarnPlugin.kt:220)
	at com.saveourtool.save.plugin.warn.WarnPlugin.handleTestFile(WarnPlugin.kt:148)
	at com.saveourtool.save.plugin.warn.WarnPlugin.access$handleTestFile(WarnPlugin.kt:51)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:88)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:87)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:315)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
	at com.saveourtool.save.core.Save.executePlugin(Save.kt:338)
	at com.saveourtool.save.core.Save.performAnalysis(Save.kt:115)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat(TestUtilsCommon.kt:60)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat$default(TestUtilsCommon.kt:43)
	at com.saveourtool.save.core.integration.ClassicWarnTest.executing warn plugin on parental save-toml file(ClassicWarnTest.kt:106)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at com.sun.proxy.$Proxy5.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

Check failure on line 275 in save-plugins/warn-plugin/src/commonMain/kotlin/com/saveourtool/save/plugin/warn/WarnPlugin.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)

com.saveourtool.save.core.integration.ClassicWarnTest ► executing warn plugin on directory when files are set with regex()[jvm]

Failed test found in:
  save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicWarnTest.xml
Error:
  java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
Raw output
java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
	at com.saveourtool.save.plugin.warn.WarnPlugin.collectExpectedWarnings(WarnPlugin.kt:275)
	at com.saveourtool.save.plugin.warn.WarnPlugin.processExpectedWarnings(WarnPlugin.kt:220)
	at com.saveourtool.save.plugin.warn.WarnPlugin.handleTestFile(WarnPlugin.kt:148)
	at com.saveourtool.save.plugin.warn.WarnPlugin.access$handleTestFile(WarnPlugin.kt:51)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:88)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:87)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:315)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
	at com.saveourtool.save.core.Save.executePlugin(Save.kt:338)
	at com.saveourtool.save.core.Save.performAnalysis(Save.kt:115)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat(TestUtilsCommon.kt:60)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat$default(TestUtilsCommon.kt:43)
	at com.saveourtool.save.core.integration.ClassicWarnTest.executing warn plugin on directory when files are set with regex(ClassicWarnTest.kt:57)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at com.sun.proxy.$Proxy5.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

Check failure on line 275 in save-plugins/warn-plugin/src/commonMain/kotlin/com/saveourtool/save/plugin/warn/WarnPlugin.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)

com.saveourtool.save.core.integration.ClassicWarnTest ► execute warn-plugin with actual warnings from SARIF()[jvm]

Failed test found in:
  save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicWarnTest.xml
Error:
  java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
Raw output
java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
	at com.saveourtool.save.plugin.warn.WarnPlugin.collectExpectedWarnings(WarnPlugin.kt:275)
	at com.saveourtool.save.plugin.warn.WarnPlugin.processExpectedWarnings(WarnPlugin.kt:220)
	at com.saveourtool.save.plugin.warn.WarnPlugin.handleTestFile(WarnPlugin.kt:148)
	at com.saveourtool.save.plugin.warn.WarnPlugin.access$handleTestFile(WarnPlugin.kt:51)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:88)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:87)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:315)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
	at com.saveourtool.save.core.Save.executePlugin(Save.kt:338)
	at com.saveourtool.save.core.Save.performAnalysis(Save.kt:115)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat(TestUtilsCommon.kt:60)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat$default(TestUtilsCommon.kt:43)
	at com.saveourtool.save.core.integration.ClassicWarnTest.execute warn-plugin with actual warnings from SARIF(ClassicWarnTest.kt:155)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at com.sun.proxy.$Proxy5.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

Check failure on line 275 in save-plugins/warn-plugin/src/commonMain/kotlin/com/saveourtool/save/plugin/warn/WarnPlugin.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)

com.saveourtool.save.core.integration.FixAndWarnDirTest ► execute fix-and-warn plugin on the directory chapter1()[jvm]

Failed test found in:
  save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.FixAndWarnDirTest.xml
Error:
  java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
Raw output
java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
	at com.saveourtool.save.plugin.warn.WarnPlugin.collectExpectedWarnings(WarnPlugin.kt:275)
	at com.saveourtool.save.plugin.warn.WarnPlugin.processExpectedWarnings(WarnPlugin.kt:220)
	at com.saveourtool.save.plugin.warn.WarnPlugin.handleTestFile(WarnPlugin.kt:148)
	at com.saveourtool.save.plugin.warn.WarnPlugin.access$handleTestFile(WarnPlugin.kt:51)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:88)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:87)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:315)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
	at com.saveourtool.save.core.Save.executePlugin(Save.kt:338)
	at com.saveourtool.save.core.Save.performAnalysis(Save.kt:115)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat(TestUtilsCommon.kt:60)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat$default(TestUtilsCommon.kt:43)
	at com.saveourtool.save.core.integration.FixAndWarnDirTest.execute fix-and-warn plugin on the directory chapter1(FixAndWarnDirTest.kt:10)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at com.sun.proxy.$Proxy5.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

Check failure on line 275 in save-plugins/warn-plugin/src/commonMain/kotlin/com/saveourtool/save/plugin/warn/WarnPlugin.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)

com.saveourtool.save.core.integration.FixAndWarnDirTest ► execute fix-and-warn plugin on the directory chapter2()[jvm]

Failed test found in:
  save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.FixAndWarnDirTest.xml
Error:
  java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
Raw output
java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
	at com.saveourtool.save.plugin.warn.WarnPlugin.collectExpectedWarnings(WarnPlugin.kt:275)
	at com.saveourtool.save.plugin.warn.WarnPlugin.processExpectedWarnings(WarnPlugin.kt:220)
	at com.saveourtool.save.plugin.warn.WarnPlugin.handleTestFile(WarnPlugin.kt:148)
	at com.saveourtool.save.plugin.warn.WarnPlugin.access$handleTestFile(WarnPlugin.kt:51)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:88)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:87)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:315)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
	at com.saveourtool.save.core.Save.executePlugin(Save.kt:338)
	at com.saveourtool.save.core.Save.performAnalysis(Save.kt:115)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat(TestUtilsCommon.kt:60)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat$default(TestUtilsCommon.kt:43)
	at com.saveourtool.save.core.integration.FixAndWarnDirTest.execute fix-and-warn plugin on the directory chapter2(FixAndWarnDirTest.kt:15)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at com.sun.proxy.$Proxy5.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

Check failure on line 275 in save-plugins/warn-plugin/src/commonMain/kotlin/com/saveourtool/save/plugin/warn/WarnPlugin.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)

com.saveourtool.save.core.integration.FixAndWarnDirTest ► execute fix-and-warn plugin on the directory chapter3()[jvm]

Failed test found in:
  save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.FixAndWarnDirTest.xml
Error:
  java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
Raw output
java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE
	at com.saveourtool.save.plugin.warn.WarnPlugin.collectExpectedWarnings(WarnPlugin.kt:275)
	at com.saveourtool.save.plugin.warn.WarnPlugin.processExpectedWarnings(WarnPlugin.kt:220)
	at com.saveourtool.save.plugin.warn.WarnPlugin.handleTestFile(WarnPlugin.kt:148)
	at com.saveourtool.save.plugin.warn.WarnPlugin.access$handleTestFile(WarnPlugin.kt:51)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:88)
	at com.saveourtool.save.plugin.warn.WarnPlugin$handleFiles$2$1.invoke(WarnPlugin.kt:87)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:315)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:214)
	at com.saveourtool.save.core.Save.executePlugin(Save.kt:338)
	at com.saveourtool.save.core.Save.performAnalysis(Save.kt:115)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat(TestUtilsCommon.kt:60)
	at com.saveourtool.save.core.test.utils.TestUtilsCommonKt.runTestsWithDiktat$default(TestUtilsCommon.kt:43)
	at com.saveourtool.save.core.integration.FixAndWarnDirTest.execute fix-and-warn plugin on the directory chapter3(FixAndWarnDirTest.kt:21)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at com.sun.proxy.$Proxy5.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)