chore(deps): update all non-major dependencies (except core kotlin) #6378
970 fail, 17 skipped, 402 pass in 2m 46s
Annotations
Check warning on line 0 in com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should consider comments between ! and call expression() (com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleWarnTest.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.chapter5.CheckInverseMethodRuleWarnTest.should consider comments between ! and call expression(CheckInverseMethodRuleWarnTest.kt:63)
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.CheckInverseMethodRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should raise warning() (com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleWarnTest.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.chapter5.CheckInverseMethodRuleWarnTest.should raise warning(CheckInverseMethodRuleWarnTest.kt:33)
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.CheckInverseMethodRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should consider white spaces between ! and call expression() (com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleWarnTest.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.chapter5.CheckInverseMethodRuleWarnTest.should consider white spaces between ! and call expression(CheckInverseMethodRuleWarnTest.kt:48)
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.CheckInverseMethodRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
should not raise warning() (com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter5.CheckInverseMethodRuleWarnTest.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.chapter5.CheckInverseMethodRuleWarnTest.should not raise warning(CheckInverseMethodRuleWarnTest.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.chapter4.SmartCastRuleFixTest
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.chapter6.UselessSupertypeWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
check simple wrong example() (com.saveourtool.diktat.ruleset.chapter6.UselessSupertypeWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter6.UselessSupertypeWarnTest.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.UselessSupertypeWarnTest.check simple wrong example(UselessSupertypeWarnTest.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.chapter6.UselessSupertypeWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
check example with two super() (com.saveourtool.diktat.ruleset.chapter6.UselessSupertypeWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter6.UselessSupertypeWarnTest.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.UselessSupertypeWarnTest.check example with two super(UselessSupertypeWarnTest.kt:66)
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.RulesConfigYamlTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
read rules config yml() (com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.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.utils.RulesConfigYamlTest.readAllRulesFromConfig(RulesConfigYamlTest.kt:117)
at com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.compareRulesAndConfig(RulesConfigYamlTest.kt:82)
at com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.compareRulesAndConfig$default(RulesConfigYamlTest.kt:80)
at com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.read rules config yml(RulesConfigYamlTest.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.utils.RulesConfigYamlTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
check kotlin version() (com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.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.utils.RulesConfigYamlTest.readAllRulesFromConfig(RulesConfigYamlTest.kt:117)
at com.saveourtool.diktat.ruleset.utils.RulesConfigYamlTest.check kotlin version(RulesConfigYamlTest.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.chapter5.AsyncAndSyncRuleTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
test dot qualified expression case() (com.saveourtool.diktat.ruleset.chapter5.AsyncAndSyncRuleTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter5.AsyncAndSyncRuleTest.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.chapter5.AsyncAndSyncRuleTest.test dot qualified expression case(AsyncAndSyncRuleTest.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.chapter5.AsyncAndSyncRuleTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
test wrong case() (com.saveourtool.diktat.ruleset.chapter5.AsyncAndSyncRuleTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter5.AsyncAndSyncRuleTest.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.chapter5.AsyncAndSyncRuleTest.test wrong case(AsyncAndSyncRuleTest.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.chapter2.HeaderCommentRuleTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
header KDoc in kts script(Path) (com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleTest.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$1.invoke(LintTestBase.kt:131)
at com.saveourtool.diktat.util.LintTestBase$lintResult$1.invoke(LintTestBase.kt:130)
at com.saveourtool.diktat.ktlint.KtLintUtilsKt.check(KtLintUtils.kt:168)
at com.saveourtool.diktat.util.LintTestBase.lintResult(LintTestBase.kt:130)
at com.saveourtool.diktat.util.LintTestBase.lintMethodWithFile(LintTestBase.kt:81)
at com.saveourtool.diktat.util.LintTestBase.lintMethodWithFile(LintTestBase.kt:61)
at com.saveourtool.diktat.util.LintTestBase.lintMethodWithFile$default(LintTestBase.kt:50)
at com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleTest.header KDoc in kts script(HeaderCommentRuleTest.kt:495)
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.chapter2.HeaderCommentRuleTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
header KDoc in gradle script(Path) (com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleTest.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$1.invoke(LintTestBase.kt:131)
at com.saveourtool.diktat.util.LintTestBase$lintResult$1.invoke(LintTestBase.kt:130)
at com.saveourtool.diktat.ktlint.KtLintUtilsKt.check(KtLintUtils.kt:168)
at com.saveourtool.diktat.util.LintTestBase.lintResult(LintTestBase.kt:130)
at com.saveourtool.diktat.util.LintTestBase.lintMethodWithFile(LintTestBase.kt:81)
at com.saveourtool.diktat.util.LintTestBase.lintMethodWithFile(LintTestBase.kt:61)
at com.saveourtool.diktat.util.LintTestBase.lintMethodWithFile$default(LintTestBase.kt:50)
at com.saveourtool.diktat.ruleset.chapter2.HeaderCommentRuleTest.header KDoc in gradle script(HeaderCommentRuleTest.kt:482)
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.SingleLineStatementsRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
check if expression with two wrong semincolon() (com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest.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.SingleLineStatementsRuleWarnTest.check if expression with two wrong semincolon(SingleLineStatementsRuleWarnTest.kt:121)
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.SingleLineStatementsRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
check if expression with semicolon and else block in one line() (com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest.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.SingleLineStatementsRuleWarnTest.check if expression with semicolon and else block in one line(SingleLineStatementsRuleWarnTest.kt:63)
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.SingleLineStatementsRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
check two statement per line() (com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest.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.SingleLineStatementsRuleWarnTest.check two statement per line(SingleLineStatementsRuleWarnTest.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.SingleLineStatementsRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
check two statement in one line without space() (com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest.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.SingleLineStatementsRuleWarnTest.check two statement in one line without space(SingleLineStatementsRuleWarnTest.kt:48)
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.SingleLineStatementsRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
check semicolon with enum class expression() (com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest.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.SingleLineStatementsRuleWarnTest.check semicolon with enum class expression(SingleLineStatementsRuleWarnTest.kt:103)
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.SingleLineStatementsRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
check semicolon in the beginning of the line() (com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest.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.SingleLineStatementsRuleWarnTest.check semicolon in the beginning of the line(SingleLineStatementsRuleWarnTest.kt:139)
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.SingleLineStatementsRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
check correct test without more than one statement() (com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.SingleLineStatementsRuleWarnTest.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.SingleLineStatementsRuleWarnTest.check correct test without more than one statement(SingleLineStatementsRuleWarnTest.kt:78)
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.chapter4.SmartCastRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
if with multiple is good() (com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleWarnTest.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.chapter4.SmartCastRuleWarnTest.if with multiple is good(SmartCastRuleWarnTest.kt:249)
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.chapter4.SmartCastRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
if with is smart cast good() (com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleWarnTest.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.chapter4.SmartCastRuleWarnTest.if with is smart cast good(SmartCastRuleWarnTest.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.chapter4.SmartCastRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
if with another if with is smart cast good() (com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleWarnTest.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.chapter4.SmartCastRuleWarnTest.if with another if with is smart cast good(SmartCastRuleWarnTest.kt:55)
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.chapter4.SmartCastRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
if with shadowed var bad 2() (com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleWarnTest.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.chapter4.SmartCastRuleWarnTest.if with shadowed var bad 2(SmartCastRuleWarnTest.kt:348)
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.chapter4.SmartCastRuleWarnTest
github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)
if with function condition() (com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleWarnTest) failed
diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter4.SmartCastRuleWarnTest.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.chapter4.SmartCastRuleWarnTest.if with function condition(SmartCastRuleWarnTest.kt:289)
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)