Skip to content
GitHub Actions / JUnit Tests (Linux, dorny/test-reporter@v1) failed Feb 27, 2024 in 0s

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❌ 102s
save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ExtraFlagsExtractorTest.xml 4✅ 1s
save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.files.FileUtilsTest.xml 4✅ 153ms
save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ProcessBuilderTest.xml 13✅ 477ms
save-common/build/test-results/jvmTest/TEST-com.saveourtool.save.core.utils.ProcessBuilderInternalTest.xml 2✅ 87ms
save-common/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.ExtraFlagsExtractorTest.xml 4✅ 1ms
save-common/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.files.FileUtilsTest.xml 4✅ 25ms
save-common/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.ProcessBuilderTest.xml 13✅ 39ms
save-common/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.utils.PlatformStringUtilsTest.xml 1✅ 0ms
save-common/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.utils.ProcessBuilderInternalTest.xml 2✅ 56ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ConfigDetectorRegressionTest.xml 1✅ 342ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ConfigDetectorTest.xml 8✅ 321ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.ClassicFixTest.xml 9✅ 57s
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❌ 6s
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✅ 202ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.PerformAnalysisTest.xml 1✅ 1❌ 132ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.utils.CliUtilsTest.xml 6✅ 34ms
save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.ValidationTest.xml 8✅ 29ms
save-core/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.ConfigDetectorRegressionTest.xml 1✅ 35ms
save-core/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.ConfigDetectorTest.xml 8✅ 813ms
save-core/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.integration.ClassicFixTest.xml 9✅ 118s
save-core/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.integration.ClassicWarnTest.xml 4✅ 7❌ 5⚪ 7s
save-core/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.integration.FixAndWarnDirTest.xml 3❌ 7s
save-core/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.integration.FixDirTest.xml 2✅ 14s
save-core/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.integration.WarnDirTest.xml 5⚪ 1ms
save-core/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.MergeAndOverrideConfigsTest.xml 8✅ 30ms
save-core/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.PerformAnalysisTest.xml 1✅ 1❌ 204ms
save-core/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.utils.CliUtilsTest.xml 6✅ 2ms
save-core/build/test-results/linuxX64Test/TEST-com.saveourtool.save.core.ValidationTest.xml 8✅ 5ms
save-plugins/fix-and-warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugins.fixandwarn.FixAndWarnPluginTest.xml 1❌ 1s
save-plugins/fix-and-warn-plugin/build/test-results/linuxX64Test/TEST-com.saveourtool.save.plugins.fixandwarn.FixAndWarnPluginTest.xml 1❌ 65ms
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/linuxX64Test/TEST-com.saveourtool.save.plugins.fix.FixPluginTest.xml 4✅ 76ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest.xml 5✅ 470ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.ComparisonTest.xml 1✅ 33ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.StringUtilsTest.xml 3✅ 79ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.utils.UtilsTest.xml 3✅ 9ms
save-plugins/warn-plugin/build/test-results/jvmTest/TEST-com.saveourtool.save.plugin.warn.WarnPluginTest.xml 1✅ 8❌ 2⚪ 665ms
save-plugins/warn-plugin/build/test-results/linuxX64Test/TEST-com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest.xml 5✅ 14ms
save-plugins/warn-plugin/build/test-results/linuxX64Test/TEST-com.saveourtool.save.plugin.warn.utils.ComparisonTest.xml 1✅ 1ms
save-plugins/warn-plugin/build/test-results/linuxX64Test/TEST-com.saveourtool.save.plugin.warn.utils.StringUtilsTest.xml 3✅ 2ms
save-plugins/warn-plugin/build/test-results/linuxX64Test/TEST-com.saveourtool.save.plugin.warn.utils.UtilsTest.xml 3✅ 2ms
save-plugins/warn-plugin/build/test-results/linuxX64Test/TEST-com.saveourtool.save.plugin.warn.WarnPluginTest.xml 1✅ 8❌ 2⚪ 88ms
save-reporters/build/test-results/jvmTest/TEST-com.saveourtool.save.reporter.json.JsonReporterTest.xml 2✅ 698ms
save-reporters/build/test-results/linuxX64Test/TEST-com.saveourtool.save.reporter.json.JsonReporterTest.xml 2✅ 27ms

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

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

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

❌ com.saveourtool.save.cli.GeneralTest

✅ examples test from subfolder()[jvm]
❌ examples test()[jvm]
	kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 16384: EOF at path: $[5].pluginExecutions[0].testResults[0].debugInfo.countWarnings.unexpected

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

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

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

✅ 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 153ms with 4 passed, 0 failed and 0 skipped.

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

✅ 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 477ms with 13 passed, 0 failed and 0 skipped.

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

✅ 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 87ms with 2 passed, 0 failed and 0 skipped.

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

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

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

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

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

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

✅ com.saveourtool.save.core.ExtraFlagsExtractorTest

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

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

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

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

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

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

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

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

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

✅ com.saveourtool.save.core.ProcessBuilderTest

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

✅ save-common/build/test-results/linuxX64Test/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[linuxX64]

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

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

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

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

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

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

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

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

✅ 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 321ms with 8 passed, 0 failed and 0 skipped.

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

✅ 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 57s with 9 passed, 0 failed and 0 skipped.

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

✅ 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 6s with 0 passed, 3 failed and 0 skipped.

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

❌ 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 202ms with 8 passed, 0 failed and 0 skipped.

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

✅ 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 132ms with 1 passed, 1 failed and 0 skipped.

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

❌ 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 34ms with 6 passed, 0 failed and 0 skipped.

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

✅ 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 29ms with 8 passed, 0 failed and 0 skipped.

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

✅ 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/linuxX64Test/TEST-com.saveourtool.save.core.ConfigDetectorRegressionTest.xml

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

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

✅ com.saveourtool.save.core.ConfigDetectorRegressionTest

✅ config detector regression test on directories[linuxX64]

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

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

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

✅ com.saveourtool.save.core.ConfigDetectorTest

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

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

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

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

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

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

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

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

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

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

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

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

✅ save-core/build/test-results/linuxX64Test/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[linuxX64]
✅ execute fix plugin on the directory chapter1[linuxX64]

✅ save-core/build/test-results/linuxX64Test/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 the directory chapter1[linuxX64]
⚪ execute warn plugin on the directory chapter2[linuxX64]
⚪ execute warn plugin on the directory chapter3[linuxX64]
⚪ execute warn plugin on the directory chapter4[linuxX64]
⚪ execute warn plugin on root directory[linuxX64]

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

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

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

✅ com.saveourtool.save.core.MergeAndOverrideConfigsTest

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

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

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

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

❌ com.saveourtool.save.core.PerformAnalysisTest

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

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

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

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

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

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

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

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

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

✅ com.saveourtool.save.core.ValidationTest

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

❌ save-plugins/fix-and-warn-plugin/build/test-results/jvmTest/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()[jvm]
	java.lang.IllegalArgumentException: <expectedWarningsFileName> cannot be provided for expectedWarningsFormat=IN_PLACE

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

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

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

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

❌ base test[linuxX64]
	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/linuxX64Test/TEST-com.saveourtool.save.plugins.fix.FixPluginTest.xml

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

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

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

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

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

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

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

✅ 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 33ms with 1 passed, 0 failed and 0 skipped.

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

✅ 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 79ms with 3 passed, 0 failed and 0 skipped.

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

✅ 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 9ms with 3 passed, 0 failed and 0 skipped.

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

✅ 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 665ms with 1 passed, 8 failed and 2 skipped.

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

❌ 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/linuxX64Test/TEST-com.saveourtool.save.plugin.warn.sarif.SarifWarningAdapterTest.xml

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

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

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

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

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

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

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

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

✅ should compare warnings[linuxX64]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

✅ 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/linuxX64Test/TEST-com.saveourtool.save.reporter.json.JsonReporterTest.xml

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

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

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

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

Annotations

Check failure on line 32 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 (Linux, 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 16384: EOF at path: $[5].pluginExecutions[0].testResults[0].debugInfo.countWarnings.unexpected
Raw output
kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 16384: EOF at path: $[5].pluginExecutions[0].testResults[0].debugInfo.countWarnings.unexpected
JSON input: .....9,"expected":-99,"unexpected":
	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.consumeNumericLiteral(AbstractJsonLexer.kt:608)
	at app//kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeInt(StreamingJsonDecoder.kt:303)
	at app//kotlinx.serialization.encoding.AbstractDecoder.decodeIntElement(AbstractDecoder.kt:53)
	at app//com.saveourtool.save.core.result.CountWarnings$$serializer.deserialize(DebugInfo.kt:32)
	at app//com.saveourtool.save.core.result.CountWarnings$$serializer.deserialize(DebugInfo.kt:32)
	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 (Linux, 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 (Linux, 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 (Linux, 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 (Linux, 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 (Linux, 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 (Linux, 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 (Linux, 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 (Linux, 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 (Linux, 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 (Linux, 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)