Skip to content

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

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

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

GitHub Actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2) failed Apr 14, 2024 in 0s

1 018 fail, 17 skipped, 411 pass in 4m 12s

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

Results for commit e569e9b. ± Comparison against earlier commit d5da925.

Annotations

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

See this annotation in the file changed.

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

fun space check bad() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.fun space check bad(ConsecutiveSpacesRuleWarnTest.kt:62)
	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.ConsecutiveSpacesRuleWarnTest

See this annotation in the file changed.

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

init space check bad() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.init space check bad(ConsecutiveSpacesRuleWarnTest.kt:194)
	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.ConsecutiveSpacesRuleWarnTest

See this annotation in the file changed.

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

fun space check good() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.fun space check good(ConsecutiveSpacesRuleWarnTest.kt:49)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

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

See this annotation in the file changed.

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

enum spaces check good() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.enum spaces check good(ConsecutiveSpacesRuleWarnTest.kt:37)
	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.ConsecutiveSpacesRuleWarnTest

See this annotation in the file changed.

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

class space check good() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.class space check good(ConsecutiveSpacesRuleWarnTest.kt:92)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at java.util.ArrayList.forEach(ArrayList.java:1259)

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

See this annotation in the file changed.

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

interface space check good() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.interface space check good(ConsecutiveSpacesRuleWarnTest.kt:167)
	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.ConsecutiveSpacesRuleWarnTest

See this annotation in the file changed.

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

interface space check bad() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.interface space check bad(ConsecutiveSpacesRuleWarnTest.kt:180)
	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.ConsecutiveSpacesRuleWarnTest

See this annotation in the file changed.

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

generic space check good() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.generic space check good(ConsecutiveSpacesRuleWarnTest.kt:141)
	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.ConsecutiveSpacesRuleWarnTest

See this annotation in the file changed.

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

eol comment check() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.eol comment check(ConsecutiveSpacesRuleWarnTest.kt:238)
	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.ConsecutiveSpacesRuleWarnTest

See this annotation in the file changed.

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

class space check bad() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.class space check bad(ConsecutiveSpacesRuleWarnTest.kt:77)
	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.ConsecutiveSpacesRuleWarnTest

See this annotation in the file changed.

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

init space check good() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.init space check good(ConsecutiveSpacesRuleWarnTest.kt:209)
	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.ConsecutiveSpacesRuleWarnTest

See this annotation in the file changed.

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

generic space check bad() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.generic space check bad(ConsecutiveSpacesRuleWarnTest.kt:153)
	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.ConsecutiveSpacesRuleWarnTest

See this annotation in the file changed.

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

enum spaces check bad() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.enum spaces check bad(ConsecutiveSpacesRuleWarnTest.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.chapter3.ConsecutiveSpacesRuleWarnTest

See this annotation in the file changed.

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

property space check good() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.property space check good(ConsecutiveSpacesRuleWarnTest.kt:105)
	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.ConsecutiveSpacesRuleWarnTest

See this annotation in the file changed.

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

property space check bad() (com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.ConsecutiveSpacesRuleWarnTest.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.ConsecutiveSpacesRuleWarnTest.property space check bad(ConsecutiveSpacesRuleWarnTest.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.BracesRuleWarnTest

See this annotation in the file changed.

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

should check braces in if statement without else branch() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.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.BracesRuleWarnTest.should check braces in if statement without else branch(BracesRuleWarnTest.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.chapter3.BracesRuleWarnTest

See this annotation in the file changed.

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

should check braces in if statements() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.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.BracesRuleWarnTest.should check braces in if statements(BracesRuleWarnTest.kt:68)
	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.BracesRuleWarnTest

See this annotation in the file changed.

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

should check braces in if statements, apply exists, but braces are needed 2() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.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.BracesRuleWarnTest.should check braces in if statements, apply exists, but braces are needed 2(BracesRuleWarnTest.kt:182)
	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.BracesRuleWarnTest

See this annotation in the file changed.

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

should check braces in if statements - exception for let() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.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.BracesRuleWarnTest.should check braces in if statements - exception for let(BracesRuleWarnTest.kt:100)
	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.BracesRuleWarnTest

See this annotation in the file changed.

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

should check braces in if statements - exception for run() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.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.BracesRuleWarnTest.should check braces in if statements - exception for run(BracesRuleWarnTest.kt:135)
	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.BracesRuleWarnTest

See this annotation in the file changed.

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

for loops should have braces - positive example() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.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.BracesRuleWarnTest.for loops should have braces - positive example(BracesRuleWarnTest.kt:258)
	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.BracesRuleWarnTest

See this annotation in the file changed.

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

do-while loops should have braces - empty body() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.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.BracesRuleWarnTest.do-while loops should have braces - empty body(BracesRuleWarnTest.kt:341)
	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.BracesRuleWarnTest

See this annotation in the file changed.

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

should check braces in if statements - positive example() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.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.BracesRuleWarnTest.should check braces in if statements - positive example(BracesRuleWarnTest.kt:50)
	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.BracesRuleWarnTest

See this annotation in the file changed.

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

should check braces in if statements, apply exists, but braces are needed() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.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.BracesRuleWarnTest.should check braces in if statements, apply exists, but braces are needed(BracesRuleWarnTest.kt:167)
	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.BracesRuleWarnTest

See this annotation in the file changed.

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

should check braces in if statements - exception for single line if() (com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest) failed

diktat-rules\build\test-results\test\TEST-com.saveourtool.diktat.ruleset.chapter3.BracesRuleWarnTest.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.BracesRuleWarnTest.should check braces in if statements - exception for single line if(BracesRuleWarnTest.kt:88)
	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)