Skip to content

chore(deps): update all non-major dependencies (except core kotlin)

Sign in for the full log view
GitHub Actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2) failed Apr 2, 2024 in 0s

1 018 fail, 17 skipped, 411 pass in 3m 58s

  167 files  + 4    167 suites  +4   3m 58s ⏱️ +53s
1 446 tests +57    411 ✅ +9  17 💤 ±0  1 018 ❌ +48 
2 826 runs  +57  1 766 ✅ +9  17 💤 ±0  1 043 ❌ +48 

Results for commit dfe2760. ± Comparison against earlier commit f7dd819.

Annotations

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleFixTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

should fix enum order() (com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleFixTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1$1.invoke(FixTestBase.kt:35)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1$1.invoke(FixTestBase.kt:34)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.format(KtLintUtils.kt:151)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1.invoke(FixTestBase.kt:34)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1.invoke(FixTestBase.kt:33)
	at com.saveourtool.diktat.test.framework.processing.TestComparatorUnit.compareFilesFromFileSystem(TestComparatorUnit.kt:91)
	at com.saveourtool.diktat.test.framework.processing.TestComparatorUnit.compareFilesFromResources(TestComparatorUnit.kt:62)
	at com.saveourtool.diktat.util.FixTestBase.fixAndCompare(FixTestBase.kt:58)
	at com.saveourtool.diktat.util.FixTestBase.fixAndCompare$default(FixTestBase.kt:50)
	at com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleFixTest.should fix enum order(SmartCastRuleFixTest.kt:11)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.utils.SuppressAnnotatedExpressionTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

should lint errors without suppress() (com.saveourtool.diktat.ruleset.utils.SuppressAnnotatedExpressionTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.utils.SuppressAnnotatedExpressionTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.LintTestBase.toDiktatRuleSet(LintTestBase.kt:163)
	at com.saveourtool.diktat.util.LintTestBase.access$toDiktatRuleSet(LintTestBase.kt:21)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:155)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:154)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.check(KtLintUtils.kt:185)
	at com.saveourtool.diktat.util.LintTestBase.lintResult(LintTestBase.kt:154)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod(LintTestBase.kt:35)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod$default(LintTestBase.kt:31)
	at com.saveourtool.diktat.ruleset.utils.SuppressAnnotatedExpressionTest.should lint errors without suppress(SuppressAnnotatedExpressionTest.kt:28)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.utils.SuppressAnnotatedExpressionTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

should suppress annotated expressions() (com.saveourtool.diktat.ruleset.utils.SuppressAnnotatedExpressionTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.utils.SuppressAnnotatedExpressionTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.LintTestBase.toDiktatRuleSet(LintTestBase.kt:163)
	at com.saveourtool.diktat.util.LintTestBase.access$toDiktatRuleSet(LintTestBase.kt:21)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:155)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:154)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.check(KtLintUtils.kt:185)
	at com.saveourtool.diktat.util.LintTestBase.lintResult(LintTestBase.kt:154)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod(LintTestBase.kt:35)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod$default(LintTestBase.kt:31)
	at com.saveourtool.diktat.ruleset.utils.SuppressAnnotatedExpressionTest.should suppress annotated expressions(SuppressAnnotatedExpressionTest.kt:49)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.smoke.DiktatCliTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

Run diKTat from cli (glob paths, 1 of 4)() (com.saveourtool.diktat.smoke.DiktatCliTest) failed

diktat-cli\build\test-results\test\TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml [took 3s]
Raw output
org.assertj.core.error.AssertJMultipleFailuresError: 
Multiple Failures (1 failure)
-- failure 1 --
[The output of "java -showversion -jar diktat.jar --log-level debug examples/maven/src/main/kotlin/*.kt"] 
Expecting actual:
  "openjdk version "1.8.0_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)

17:33:39.528 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.DiktatRunnerFactory.invoke(DiktatRunnerFactory.kt:36)
	at com.saveourtool.diktat.DiktatMainKt.main(DiktatMain.kt:42)
"
to contain:
  "[VARIABLE_NAME_INCORRECT_FORMAT]" 
at DiktatCliTest.cliTest$lambda$2(DiktatCliTest.java:91)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at com.saveourtool.diktat.smoke.DiktatCliTest.cliTest(DiktatCliTest.kt:61)
	at com.saveourtool.diktat.smoke.DiktatCliTest.Run diKTat from cli (glob paths, 1 of 4)(DiktatCliTest.kt:39)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.smoke.DiktatCliTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

Run diKTat from cli (glob paths, 2 of 4)() (com.saveourtool.diktat.smoke.DiktatCliTest) failed

diktat-cli\build\test-results\test\TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml [took 1s]
Raw output
org.assertj.core.error.AssertJMultipleFailuresError: 
Multiple Failures (1 failure)
-- failure 1 --
[The output of "java -showversion -jar diktat.jar --log-level debug examples/**/main/kotlin/*.kt"] 
Expecting actual:
  "openjdk version "1.8.0_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)

17:33:42.333 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.DiktatRunnerFactory.invoke(DiktatRunnerFactory.kt:36)
	at com.saveourtool.diktat.DiktatMainKt.main(DiktatMain.kt:42)
"
to contain:
  "[VARIABLE_NAME_INCORRECT_FORMAT]" 
at DiktatCliTest.cliTest$lambda$2(DiktatCliTest.java:91)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at com.saveourtool.diktat.smoke.DiktatCliTest.cliTest(DiktatCliTest.kt:61)
	at com.saveourtool.diktat.smoke.DiktatCliTest.Run diKTat from cli (glob paths, 2 of 4)(DiktatCliTest.kt:44)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.smoke.DiktatCliTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

Run diKTat from cli (glob paths, 3 of 4)() (com.saveourtool.diktat.smoke.DiktatCliTest) failed

diktat-cli\build\test-results\test\TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml [took 2s]
Raw output
org.assertj.core.error.AssertJMultipleFailuresError: 
Multiple Failures (1 failure)
-- failure 1 --
[The output of "java -showversion -jar diktat.jar --log-level debug examples/**/*.kt"] 
Expecting actual:
  "openjdk version "1.8.0_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)

17:33:44.442 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.DiktatRunnerFactory.invoke(DiktatRunnerFactory.kt:36)
	at com.saveourtool.diktat.DiktatMainKt.main(DiktatMain.kt:42)
"
to contain:
  "[VARIABLE_NAME_INCORRECT_FORMAT]" 
at DiktatCliTest.cliTest$lambda$2(DiktatCliTest.java:91)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at com.saveourtool.diktat.smoke.DiktatCliTest.cliTest(DiktatCliTest.kt:61)
	at com.saveourtool.diktat.smoke.DiktatCliTest.Run diKTat from cli (glob paths, 3 of 4)(DiktatCliTest.kt:49)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.smoke.DiktatCliTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

Run diKTat from cli() (com.saveourtool.diktat.smoke.DiktatCliTest) failed

diktat-cli\build\test-results\test\TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml [took 1s]
Raw output
org.assertj.core.error.AssertJMultipleFailuresError: 
Multiple Failures (1 failure)
-- failure 1 --
[The output of "java -showversion -jar diktat.jar --log-level debug examples/maven/src/main/kotlin/Test.kt"] 
Expecting actual:
  "openjdk version "1.8.0_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)

17:33:46.365 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.DiktatRunnerFactory.invoke(DiktatRunnerFactory.kt:36)
	at com.saveourtool.diktat.DiktatMainKt.main(DiktatMain.kt:42)
"
to contain:
  "[VARIABLE_NAME_INCORRECT_FORMAT]" 
at DiktatCliTest.cliTest$lambda$2(DiktatCliTest.java:91)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at com.saveourtool.diktat.smoke.DiktatCliTest.cliTest(DiktatCliTest.kt:61)
	at com.saveourtool.diktat.smoke.DiktatCliTest.Run diKTat from cli(DiktatCliTest.kt:29)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.smoke.DiktatCliTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

Run diKTat from cli (glob paths, 4 of 4)() (com.saveourtool.diktat.smoke.DiktatCliTest) failed

diktat-cli\build\test-results\test\TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml [took 1s]
Raw output
org.assertj.core.error.AssertJMultipleFailuresError: 
Multiple Failures (1 failure)
-- failure 1 --
[The output of "java -showversion -jar diktat.jar --log-level debug **/*.kt"] 
Expecting actual:
  "openjdk version "1.8.0_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)

17:33:48.163 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.DiktatRunnerFactory.invoke(DiktatRunnerFactory.kt:36)
	at com.saveourtool.diktat.DiktatMainKt.main(DiktatMain.kt:42)
"
to contain:
  "[VARIABLE_NAME_INCORRECT_FORMAT]" 
at DiktatCliTest.cliTest$lambda$2(DiktatCliTest.java:91)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at com.saveourtool.diktat.smoke.DiktatCliTest.cliTest(DiktatCliTest.kt:61)
	at com.saveourtool.diktat.smoke.DiktatCliTest.Run diKTat from cli (glob paths, 4 of 4)(DiktatCliTest.kt:54)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.smoke.DiktatCliTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

Run diKTat from cli (absolute paths)() (com.saveourtool.diktat.smoke.DiktatCliTest) failed

diktat-cli\build\test-results\test\TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml [took 2s]
Raw output
org.assertj.core.error.AssertJMultipleFailuresError: 
Multiple Failures (1 failure)
-- failure 1 --
[The output of "java -showversion -jar diktat.jar --log-level debug C:\Users\RUNNER~1\AppData\Local\Temp\junit5519655558057035327\examples\maven\src\main\kotlin\Test.kt"] 
Expecting actual:
  "openjdk version "1.8.0_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)

17:33:50.021 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.DiktatRunnerFactory.invoke(DiktatRunnerFactory.kt:36)
	at com.saveourtool.diktat.DiktatMainKt.main(DiktatMain.kt:42)
"
to contain:
  "[VARIABLE_NAME_INCORRECT_FORMAT]" 
at DiktatCliTest.cliTest$lambda$2(DiktatCliTest.java:91)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at com.saveourtool.diktat.smoke.DiktatCliTest.cliTest(DiktatCliTest.kt:61)
	at com.saveourtool.diktat.smoke.DiktatCliTest.Run diKTat from cli (absolute paths)(DiktatCliTest.kt:34)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReaderTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

testing kotlin version() (com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReaderTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReaderTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReaderTest.testing kotlin version(DiktatRuleConfigYamlReaderTest.kt:24)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReaderTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

testing json reading() (com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReaderTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReaderTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReaderTest.testing json reading(DiktatRuleConfigYamlReaderTest.kt:14)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

should not trigger on getter and setter() (com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.LintTestBase.toDiktatRuleSet(LintTestBase.kt:163)
	at com.saveourtool.diktat.util.LintTestBase.access$toDiktatRuleSet(LintTestBase.kt:21)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:155)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:154)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.check(KtLintUtils.kt:185)
	at com.saveourtool.diktat.util.LintTestBase.lintResult(LintTestBase.kt:154)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod(LintTestBase.kt:35)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod$default(LintTestBase.kt:31)
	at com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest.should not trigger on getter and setter(TrivialPropertyAccessorsWarnTest.kt:49)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

should trigger on trivial getter and setter equal case() (com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.LintTestBase.toDiktatRuleSet(LintTestBase.kt:163)
	at com.saveourtool.diktat.util.LintTestBase.access$toDiktatRuleSet(LintTestBase.kt:21)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:155)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:154)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.check(KtLintUtils.kt:185)
	at com.saveourtool.diktat.util.LintTestBase.lintResult(LintTestBase.kt:154)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod(LintTestBase.kt:35)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod$default(LintTestBase.kt:31)
	at com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest.should trigger on trivial getter and setter equal case(TrivialPropertyAccessorsWarnTest.kt:35)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

should trigger on trivial getter and setter() (com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.LintTestBase.toDiktatRuleSet(LintTestBase.kt:163)
	at com.saveourtool.diktat.util.LintTestBase.access$toDiktatRuleSet(LintTestBase.kt:21)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:155)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:154)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.check(KtLintUtils.kt:185)
	at com.saveourtool.diktat.util.LintTestBase.lintResult(LintTestBase.kt:154)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod(LintTestBase.kt:35)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod$default(LintTestBase.kt:31)
	at com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest.should trigger on trivial getter and setter(TrivialPropertyAccessorsWarnTest.kt:19)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

should trigger on getter without braces() (com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.LintTestBase.toDiktatRuleSet(LintTestBase.kt:163)
	at com.saveourtool.diktat.util.LintTestBase.access$toDiktatRuleSet(LintTestBase.kt:21)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:155)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:154)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.check(KtLintUtils.kt:185)
	at com.saveourtool.diktat.util.LintTestBase.lintResult(LintTestBase.kt:154)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod(LintTestBase.kt:35)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod$default(LintTestBase.kt:31)
	at com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest.should trigger on getter without braces(TrivialPropertyAccessorsWarnTest.kt:82)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

should not trigger on private setter() (com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.LintTestBase.toDiktatRuleSet(LintTestBase.kt:163)
	at com.saveourtool.diktat.util.LintTestBase.access$toDiktatRuleSet(LintTestBase.kt:21)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:155)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:154)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.check(KtLintUtils.kt:185)
	at com.saveourtool.diktat.util.LintTestBase.lintResult(LintTestBase.kt:154)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod(LintTestBase.kt:35)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod$default(LintTestBase.kt:31)
	at com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsWarnTest.should not trigger on private setter(TrivialPropertyAccessorsWarnTest.kt:69)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

should fix func and class annotations() (com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1$1.invoke(FixTestBase.kt:35)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1$1.invoke(FixTestBase.kt:34)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.format(KtLintUtils.kt:151)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1.invoke(FixTestBase.kt:34)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1.invoke(FixTestBase.kt:33)
	at com.saveourtool.diktat.test.framework.processing.TestComparatorUnit.compareFilesFromFileSystem(TestComparatorUnit.kt:91)
	at com.saveourtool.diktat.test.framework.processing.TestComparatorUnit.compareFilesFromResources(TestComparatorUnit.kt:62)
	at com.saveourtool.diktat.util.FixTestBase.fixAndCompare(FixTestBase.kt:58)
	at com.saveourtool.diktat.util.FixTestBase.fixAndCompare$default(FixTestBase.kt:50)
	at com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest.should fix func and class annotations(AnnotationNewLineRuleFixTest.kt:14)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

should fix constructor annotations() (com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1$1.invoke(FixTestBase.kt:35)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1$1.invoke(FixTestBase.kt:34)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.format(KtLintUtils.kt:151)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1.invoke(FixTestBase.kt:34)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1.invoke(FixTestBase.kt:33)
	at com.saveourtool.diktat.test.framework.processing.TestComparatorUnit.compareFilesFromFileSystem(TestComparatorUnit.kt:91)
	at com.saveourtool.diktat.test.framework.processing.TestComparatorUnit.compareFilesFromResources(TestComparatorUnit.kt:62)
	at com.saveourtool.diktat.util.FixTestBase.fixAndCompare(FixTestBase.kt:58)
	at com.saveourtool.diktat.util.FixTestBase.fixAndCompare$default(FixTestBase.kt:50)
	at com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest.should fix constructor annotations(AnnotationNewLineRuleFixTest.kt:20)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

shouldn't fix correct annotation with comment() (com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1$1.invoke(FixTestBase.kt:35)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1$1.invoke(FixTestBase.kt:34)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.format(KtLintUtils.kt:151)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1.invoke(FixTestBase.kt:34)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1.invoke(FixTestBase.kt:33)
	at com.saveourtool.diktat.test.framework.processing.TestComparatorUnit.compareFilesFromFileSystem(TestComparatorUnit.kt:91)
	at com.saveourtool.diktat.test.framework.processing.TestComparatorUnit.compareFilesFromResources(TestComparatorUnit.kt:62)
	at com.saveourtool.diktat.util.FixTestBase.fixAndCompare(FixTestBase.kt:58)
	at com.saveourtool.diktat.util.FixTestBase.fixAndCompare$default(FixTestBase.kt:50)
	at com.saveourtool.diktat.ruleset.chapter3.AnnotationNewLineRuleFixTest.shouldn't fix correct annotation with comment(AnnotationNewLineRuleFixTest.kt:26)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsFixTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

fix trivial setters and getters() (com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsFixTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1$1.invoke(FixTestBase.kt:35)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1$1.invoke(FixTestBase.kt:34)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.format(KtLintUtils.kt:151)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1.invoke(FixTestBase.kt:34)
	at com.saveourtool.diktat.util.FixTestBase$testComparatorUnitSupplier$1$1.invoke(FixTestBase.kt:33)
	at com.saveourtool.diktat.test.framework.processing.TestComparatorUnit.compareFilesFromFileSystem(TestComparatorUnit.kt:91)
	at com.saveourtool.diktat.test.framework.processing.TestComparatorUnit.compareFilesFromResources(TestComparatorUnit.kt:62)
	at com.saveourtool.diktat.util.FixTestBase.fixAndCompare(FixTestBase.kt:58)
	at com.saveourtool.diktat.util.FixTestBase.fixAndCompare$default(FixTestBase.kt:50)
	at com.saveourtool.diktat.ruleset.chapter6.TrivialPropertyAccessorsFixTest.fix trivial setters and getters(TrivialPropertyAccessorsFixTest.kt:14)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

check correct order modifier in fun and variable and without() (com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.LintTestBase.toDiktatRuleSet(LintTestBase.kt:163)
	at com.saveourtool.diktat.util.LintTestBase.access$toDiktatRuleSet(LintTestBase.kt:21)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:155)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:154)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.check(KtLintUtils.kt:185)
	at com.saveourtool.diktat.util.LintTestBase.lintResult(LintTestBase.kt:154)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod(LintTestBase.kt:35)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod$default(LintTestBase.kt:31)
	at com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.check correct order modifier in fun and variable and without(MultipleModifiersSequenceWarnTest.kt:36)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

check wrong order modifier in class() (com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.LintTestBase.toDiktatRuleSet(LintTestBase.kt:163)
	at com.saveourtool.diktat.util.LintTestBase.access$toDiktatRuleSet(LintTestBase.kt:21)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:155)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:154)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.check(KtLintUtils.kt:185)
	at com.saveourtool.diktat.util.LintTestBase.lintResult(LintTestBase.kt:154)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod(LintTestBase.kt:35)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod$default(LintTestBase.kt:31)
	at com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.check wrong order modifier in class(MultipleModifiersSequenceWarnTest.kt:70)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

check wrong order modifier in fun and variable with annotation() (com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.LintTestBase.toDiktatRuleSet(LintTestBase.kt:163)
	at com.saveourtool.diktat.util.LintTestBase.access$toDiktatRuleSet(LintTestBase.kt:21)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:155)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:154)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.check(KtLintUtils.kt:185)
	at com.saveourtool.diktat.util.LintTestBase.lintResult(LintTestBase.kt:154)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod(LintTestBase.kt:35)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod$default(LintTestBase.kt:31)
	at com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.check wrong order modifier in fun and variable with annotation(MultipleModifiersSequenceWarnTest.kt:19)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

check wrong annotation order() (com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.LintTestBase.toDiktatRuleSet(LintTestBase.kt:163)
	at com.saveourtool.diktat.util.LintTestBase.access$toDiktatRuleSet(LintTestBase.kt:21)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:155)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:154)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.check(KtLintUtils.kt:185)
	at com.saveourtool.diktat.util.LintTestBase.lintResult(LintTestBase.kt:154)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod(LintTestBase.kt:35)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod$default(LintTestBase.kt:31)
	at com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.check wrong annotation order(MultipleModifiersSequenceWarnTest.kt:92)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

check wrong order another modifier in fun() (com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
	at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
	at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
	at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
	at com.saveourtool.diktat.util.DiktatRuleSetFactoryImplTest$Companion.diktatRuleSetForTest$diktat_rules_test(DiktatRuleSetFactoryImplTest.kt:67)
	at com.saveourtool.diktat.util.LintTestBase.toDiktatRuleSet(LintTestBase.kt:163)
	at com.saveourtool.diktat.util.LintTestBase.access$toDiktatRuleSet(LintTestBase.kt:21)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:155)
	at com.saveourtool.diktat.util.LintTestBase$lintResult$2.invoke(LintTestBase.kt:154)
	at com.saveourtool.diktat.ktlint.KtLintUtilsKt.check(KtLintUtils.kt:185)
	at com.saveourtool.diktat.util.LintTestBase.lintResult(LintTestBase.kt:154)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod(LintTestBase.kt:35)
	at com.saveourtool.diktat.util.LintTestBase.lintMethod$default(LintTestBase.kt:31)
	at com.saveourtool.diktat.ruleset.chapter3.MultipleModifiersSequenceWarnTest.check wrong order another modifier in fun(MultipleModifiersSequenceWarnTest.kt:52)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)