970 fail, 17 skipped, 402 pass in 3m 5s
163 files 163 suites 3m 5s ⏱️
1 389 tests 402 ✅ 17 💤 970 ❌
2 769 runs 1 757 ✅ 17 💤 995 ❌
Results for commit ebf4ae3.
Annotations
Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should add braces to do-while loops with empty body() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.BracesRuleFixTest.should add braces to do-while loops with empty body(BracesRuleFixTest.kt:38)
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.BracesRuleFixTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should remove braces from single-line when branches() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.BracesRuleFixTest.should remove braces from single-line when branches(BracesRuleFixTest.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.ruleset.chapter3.BracesRuleFixTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should add braces to loops with single statement() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.BracesRuleFixTest.should add braces to loops with single statement(BracesRuleFixTest.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.BracesRuleFixTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should add braces to if-else statements - 1() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.BracesRuleFixTest.should add braces to if-else statements - 1(BracesRuleFixTest.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.BracesRuleFixTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should add braces to if-else statements inside scope functions() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.BracesRuleFixTest.should add braces to if-else statements inside scope functions(BracesRuleFixTest.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.chapter3.BracesRuleFixTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should add braces to loops inside scope functions() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.BracesRuleFixTest.should add braces to loops inside scope functions(BracesRuleFixTest.kt:32)
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
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: it/krzeminski/snakeyaml/engine/kmp/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.NullableTypeRuleFixTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should fix collections() (com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleFixTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.NullableTypeRuleFixTest.should fix collections(NullableTypeRuleFixTest.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.NullableTypeRuleFixTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should fix primitive types() (com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleFixTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.NullableTypeRuleFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.NullableTypeRuleFixTest.should fix primitive types(NullableTypeRuleFixTest.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.BooleanExpressionsRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should not trigger on method calls() (com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.BooleanExpressionsRuleWarnTest.should not trigger on method calls(BooleanExpressionsRuleWarnTest.kt:127)
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.BooleanExpressionsRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
check laws#1() (com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.BooleanExpressionsRuleWarnTest.check laws#1(BooleanExpressionsRuleWarnTest.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)
Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
check boolean expression() (com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.BooleanExpressionsRuleWarnTest.check boolean expression(BooleanExpressionsRuleWarnTest.kt:23)
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.BooleanExpressionsRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
check distributive laws() (com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.BooleanExpressionsRuleWarnTest.check distributive laws(BooleanExpressionsRuleWarnTest.kt:87)
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.BooleanExpressionsRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
regression - should not log ANTLR errors when parsing is not required() (com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.BooleanExpressionsRuleWarnTest.regression - should not log ANTLR errors when parsing is not required(BooleanExpressionsRuleWarnTest.kt:231)
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.BooleanExpressionsRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
check distributive laws #2() (com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BooleanExpressionsRuleWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.BooleanExpressionsRuleWarnTest.check distributive laws #2(BooleanExpressionsRuleWarnTest.kt:107)
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.smoke.RulesConfigValidationTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should throw error on invalid yml config() (com.saveourtool.diktat.ruleset.smoke.RulesConfigValidationTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.smoke.RulesConfigValidationTest.xml [took 1s]
Raw output
org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <com.charleskorn.kaml.InvalidPropertyValueException> but was: <java.lang.UnsupportedClassVersionError>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:67)
at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3115)
at com.saveourtool.diktat.ruleset.smoke.RulesConfigValidationTest.should throw error on invalid yml config(RulesConfigValidationTest.kt:96)
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)
Caused by: java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.smoke.RulesConfigValidationTest.should throw error on invalid yml config(RulesConfigValidationTest.kt:58)
... 3 more
Check warning on line 0 in com.saveourtool.diktat.ruleset.smoke.RulesConfigValidationTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should throw error if name is missing in Warnings() (com.saveourtool.diktat.ruleset.smoke.RulesConfigValidationTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.smoke.RulesConfigValidationTest.xml [took 1s]
Raw output
org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <java.lang.IllegalArgumentException> but was: <java.lang.UnsupportedClassVersionError>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:67)
at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3115)
at com.saveourtool.diktat.ruleset.smoke.RulesConfigValidationTest.should throw error if name is missing in Warnings(RulesConfigValidationTest.kt:89)
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)
Caused by: java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.smoke.RulesConfigValidationTest.should throw error if name is missing in Warnings(RulesConfigValidationTest.kt:43)
... 3 more
Check warning on line 0 in com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReaderTest
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: it/krzeminski/snakeyaml/engine/kmp/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
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: it/krzeminski/snakeyaml/engine/kmp/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.chapter5.AvoidNestedFunctionsFixTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should not change() (com.saveourtool.diktat.ruleset.chapter5.AvoidNestedFunctionsFixTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter5.AvoidNestedFunctionsFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.chapter5.AvoidNestedFunctionsFixTest.should not change(AvoidNestedFunctionsFixTest.kt:25)
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.chapter5.AvoidNestedFunctionsFixTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
fix several nested functions() (com.saveourtool.diktat.ruleset.chapter5.AvoidNestedFunctionsFixTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter5.AvoidNestedFunctionsFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.chapter5.AvoidNestedFunctionsFixTest.fix several nested functions(AvoidNestedFunctionsFixTest.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.chapter5.AvoidNestedFunctionsFixTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
fix nested functions() (com.saveourtool.diktat.ruleset.chapter5.AvoidNestedFunctionsFixTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter5.AvoidNestedFunctionsFixTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.chapter5.AvoidNestedFunctionsFixTest.fix nested functions(AvoidNestedFunctionsFixTest.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.files.NewlinesRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
newline shouldn't be placed before colon() (com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.files.NewlinesRuleWarnTest.newline shouldn't be placed before colon(NewlinesRuleWarnTest.kt:306)
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.files.NewlinesRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
line breaking after infix functions() (com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.files.NewlinesRuleWarnTest.line breaking after infix functions(NewlinesRuleWarnTest.kt:159)
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.files.NewlinesRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
not complaining on fun without return type() (com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.files.NewlinesRuleWarnTest.xml [took 0s]
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/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.files.NewlinesRuleWarnTest.not complaining on fun without return type(NewlinesRuleWarnTest.kt:1170)
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)