chore(deps): update all non-major dependencies (except core kotlin) #6378
20 passed, 34 failed and 24 skipped
❌ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml
6 tests were completed in 34s with 0 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.smoke.DiktatCliTest | 6❌ | 34s |
❌ com.saveourtool.diktat.smoke.DiktatCliTest
❌ Run diKTat from cli (glob paths, 1 of 4)()
org.assertj.core.error.AssertJMultipleFailuresError:
❌ Run diKTat from cli (glob paths, 2 of 4)()
org.assertj.core.error.AssertJMultipleFailuresError:
❌ Run diKTat from cli (glob paths, 3 of 4)()
org.assertj.core.error.AssertJMultipleFailuresError:
❌ Run diKTat from cli()
org.assertj.core.error.AssertJMultipleFailuresError:
❌ Run diKTat from cli (glob paths, 4 of 4)()
org.assertj.core.error.AssertJMultipleFailuresError:
❌ Run diKTat from cli (absolute paths)()
org.assertj.core.error.AssertJMultipleFailuresError:
✅ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSaveSmokeTest.xml
21 tests were completed in 5ms with 0 passed, 0 failed and 21 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.smoke.DiktatSaveSmokeTest | 21⚪ | 5ms |
✅ com.saveourtool.diktat.smoke.DiktatSaveSmokeTest
⚪ regression - should not fail if package is not set()
⚪ fix can cause long line()
⚪ smoke test #8 - anonymous function()
⚪ smoke test with gradle script plugin()
⚪ smoke test with kts files()
⚪ disable chapters()
⚪ smoke test with kts files #2()
⚪ smoke test #1()
⚪ smoke test #2()
⚪ smoke test #3()
⚪ smoke test #4()
⚪ smoke test #5()
⚪ smoke test #6()
⚪ smoke test #7()
⚪ regression - FP of local variables rule()
⚪ regression - shouldn't throw exception in cases similar to #371()
⚪ regression - should not fail if file has unnecessary semicolons()
⚪ smoke test with kts files with package name()
⚪ should add newlines between interfaces()
⚪ regression - should correctly handle tags with empty lines()
⚪ smoke test with multiplatform project layout()
❌ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml
21 tests were completed in 609ms with 0 passed, 21 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.smoke.DiktatSmokeTest | 21❌ | 609ms |
❌ com.saveourtool.diktat.smoke.DiktatSmokeTest
❌ regression - should not fail if package is not set()
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
❌ fix can cause long line()
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
❌ smoke test #8 - anonymous function()
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
❌ smoke test with gradle script plugin()
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
❌ smoke test with kts files()
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
❌ disable chapters()
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
❌ smoke test with kts files #2()
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
❌ smoke test #1()
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
❌ smoke test #2()
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
❌ smoke test #3()
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
❌ smoke test #4()
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
❌ smoke test #5()
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
❌ smoke test #6()
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
❌ smoke test #7()
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
❌ regression - FP of local variables rule()
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
❌ regression - shouldn't throw exception in cases similar to #371()
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
❌ regression - should not fail if file has unnecessary semicolons()
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
❌ smoke test with kts files with package name()
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
❌ should add newlines between interfaces()
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
❌ regression - should correctly handle tags with empty lines()
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
❌ smoke test with multiplatform project layout()
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
✅ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.util.CliUtilsKtTest.xml
9 tests were completed in 74ms with 8 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.util.CliUtilsKtTest | 8✅ | 1⚪ | 74ms |
✅ com.saveourtool.diktat.util.CliUtilsKtTest
✅ listByFilesWithNegative()
✅ listByFilesWithFolder()
⚪ listByFilesWithRelativePathWindows()
✅ listByFilesWithRelativePath()
✅ listByFilesWithGlobalPattern()
✅ listByFilesWithParentFolder()
✅ listByFilesWithGlobalPath()
✅ listByFilesWithEmptyResult()
✅ listByFilesWithLeadingAsterisks()
✅ diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest.xml
2 tests were completed in 8s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest | 2✅ | 8s |
✅ com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest
✅ check default extension properties()
✅ check that tasks are registered()
❌ diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest.xml
14 tests were completed in 1s with 7 passed, 7 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest | 7✅ | 7❌ | 1s |
❌ com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest
✅ check system property with multiproject build with custom config()
✅ check command line in debug mode()
❌ check command line in githubActions mode()
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
❌ check command line has reporter type without 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
❌ should set system property with SARIF reporter()
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
✅ check system property with multiproject build with default config()
✅ check system property with multiproject build with custom config and two config files()
❌ check command line with excludes()
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
❌ check command line has reporter type and 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
✅ check system property with default config()
✅ check system property with custom config()
❌ check command line for various inputs()
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
✅ check command line with non-existent inputs()
❌ githubActions mode should have higher precedence over explicit reporter()
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
✅ diktat-ktlint-engine/build/test-results/test/TEST-com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest.xml
3 tests were completed in 3s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest | 3✅ | 3s |
✅ com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest
✅ check KtLintRuleSetWrapper with duplicate()
✅ check OrderedRule()
✅ KtLint keeps order with RuleVisitorModifierRunAfterRule()
✅ diktat-maven-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest.xml
2 tests were completed in 1ms with 0 passed, 0 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest | 2⚪ | 1ms |
✅ com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest
⚪ test plugin custom configuration
⚪ test default plugin configuration
Annotations
github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatCliTest ► Run diKTat from cli (glob paths, 1 of 4)()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml
Error:
org.assertj.core.error.AssertJMultipleFailuresError:
Raw output
org.assertj.core.error.AssertJMultipleFailuresError:
Multiple Failures (1 failure)
-- failure 1 --
[The output of "sh -c java -showversion -jar diktat.jar --log-level debug examples/maven/src/main/kotlin/*.kt"]
Expecting actual:
"openjdk version "1.8.0_412"
OpenJDK Runtime Environment (Zulu 8.78.0.19-CA-macos-aarch64) (build 1.8.0_412-b08)
OpenJDK 64-Bit Server VM (Zulu 8.78.0.19-CA-macos-aarch64) (build 25.412-b08, mixed mode)
13:48:31.741 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:757)
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:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.DiktatRunnerFactory.invoke(DiktatRunnerFactory.kt:36)
at com.saveourtool.diktat.DiktatMainKt.main(DiktatMain.kt:42)
"
to contain:
"[VARIABLE_NAME_INCORRECT_FORMAT]"
at DiktatCliTest.cliTest$lambda$2(DiktatCliTest.java:91)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at com.saveourtool.diktat.smoke.DiktatCliTest.cliTest(DiktatCliTest.kt:61)
at com.saveourtool.diktat.smoke.DiktatCliTest.Run diKTat from cli (glob paths, 1 of 4)(DiktatCliTest.kt:39)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at java.util.ArrayList.forEach(ArrayList.java:1259)
github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatCliTest ► Run diKTat from cli (glob paths, 2 of 4)()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml
Error:
org.assertj.core.error.AssertJMultipleFailuresError:
Raw output
org.assertj.core.error.AssertJMultipleFailuresError:
Multiple Failures (1 failure)
-- failure 1 --
[The output of "sh -c java -showversion -jar diktat.jar --log-level debug examples/**/main/kotlin/*.kt"]
Expecting actual:
"openjdk version "1.8.0_412"
OpenJDK Runtime Environment (Zulu 8.78.0.19-CA-macos-aarch64) (build 1.8.0_412-b08)
OpenJDK 64-Bit Server VM (Zulu 8.78.0.19-CA-macos-aarch64) (build 25.412-b08, mixed mode)
13:48:37.984 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:757)
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:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.DiktatRunnerFactory.invoke(DiktatRunnerFactory.kt:36)
at com.saveourtool.diktat.DiktatMainKt.main(DiktatMain.kt:42)
"
to contain:
"[VARIABLE_NAME_INCORRECT_FORMAT]"
at DiktatCliTest.cliTest$lambda$2(DiktatCliTest.java:91)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at com.saveourtool.diktat.smoke.DiktatCliTest.cliTest(DiktatCliTest.kt:61)
at com.saveourtool.diktat.smoke.DiktatCliTest.Run diKTat from cli (glob paths, 2 of 4)(DiktatCliTest.kt:44)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at java.util.ArrayList.forEach(ArrayList.java:1259)
github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatCliTest ► Run diKTat from cli (glob paths, 3 of 4)()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml
Error:
org.assertj.core.error.AssertJMultipleFailuresError:
Raw output
org.assertj.core.error.AssertJMultipleFailuresError:
Multiple Failures (1 failure)
-- failure 1 --
[The output of "sh -c java -showversion -jar diktat.jar --log-level debug examples/**/*.kt"]
Expecting actual:
"openjdk version "1.8.0_412"
OpenJDK Runtime Environment (Zulu 8.78.0.19-CA-macos-aarch64) (build 1.8.0_412-b08)
OpenJDK 64-Bit Server VM (Zulu 8.78.0.19-CA-macos-aarch64) (build 25.412-b08, mixed mode)
13:48:43.767 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:757)
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:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.DiktatRunnerFactory.invoke(DiktatRunnerFactory.kt:36)
at com.saveourtool.diktat.DiktatMainKt.main(DiktatMain.kt:42)
"
to contain:
"[VARIABLE_NAME_INCORRECT_FORMAT]"
at DiktatCliTest.cliTest$lambda$2(DiktatCliTest.java:91)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at com.saveourtool.diktat.smoke.DiktatCliTest.cliTest(DiktatCliTest.kt:61)
at com.saveourtool.diktat.smoke.DiktatCliTest.Run diKTat from cli (glob paths, 3 of 4)(DiktatCliTest.kt:49)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at java.util.ArrayList.forEach(ArrayList.java:1259)
github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatCliTest ► Run diKTat from cli()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml
Error:
org.assertj.core.error.AssertJMultipleFailuresError:
Raw output
org.assertj.core.error.AssertJMultipleFailuresError:
Multiple Failures (1 failure)
-- failure 1 --
[The output of "sh -c java -showversion -jar diktat.jar --log-level debug examples/maven/src/main/kotlin/Test.kt"]
Expecting actual:
"openjdk version "1.8.0_412"
OpenJDK Runtime Environment (Zulu 8.78.0.19-CA-macos-aarch64) (build 1.8.0_412-b08)
OpenJDK 64-Bit Server VM (Zulu 8.78.0.19-CA-macos-aarch64) (build 25.412-b08, mixed mode)
13:48:49.359 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:757)
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:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.DiktatRunnerFactory.invoke(DiktatRunnerFactory.kt:36)
at com.saveourtool.diktat.DiktatMainKt.main(DiktatMain.kt:42)
"
to contain:
"[VARIABLE_NAME_INCORRECT_FORMAT]"
at DiktatCliTest.cliTest$lambda$2(DiktatCliTest.java:91)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at com.saveourtool.diktat.smoke.DiktatCliTest.cliTest(DiktatCliTest.kt:61)
at com.saveourtool.diktat.smoke.DiktatCliTest.Run diKTat from cli(DiktatCliTest.kt:29)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at java.util.ArrayList.forEach(ArrayList.java:1259)
github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatCliTest ► Run diKTat from cli (glob paths, 4 of 4)()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml
Error:
org.assertj.core.error.AssertJMultipleFailuresError:
Raw output
org.assertj.core.error.AssertJMultipleFailuresError:
Multiple Failures (1 failure)
-- failure 1 --
[The output of "sh -c java -showversion -jar diktat.jar --log-level debug **/*.kt"]
Expecting actual:
"openjdk version "1.8.0_412"
OpenJDK Runtime Environment (Zulu 8.78.0.19-CA-macos-aarch64) (build 1.8.0_412-b08)
OpenJDK 64-Bit Server VM (Zulu 8.78.0.19-CA-macos-aarch64) (build 25.412-b08, mixed mode)
13:48:54.956 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:757)
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:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.DiktatRunnerFactory.invoke(DiktatRunnerFactory.kt:36)
at com.saveourtool.diktat.DiktatMainKt.main(DiktatMain.kt:42)
"
to contain:
"[VARIABLE_NAME_INCORRECT_FORMAT]"
at DiktatCliTest.cliTest$lambda$2(DiktatCliTest.java:91)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at com.saveourtool.diktat.smoke.DiktatCliTest.cliTest(DiktatCliTest.kt:61)
at com.saveourtool.diktat.smoke.DiktatCliTest.Run diKTat from cli (glob paths, 4 of 4)(DiktatCliTest.kt:54)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at java.util.ArrayList.forEach(ArrayList.java:1259)
github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatCliTest ► Run diKTat from cli (absolute paths)()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml
Error:
org.assertj.core.error.AssertJMultipleFailuresError:
Raw output
org.assertj.core.error.AssertJMultipleFailuresError:
Multiple Failures (1 failure)
-- failure 1 --
[The output of "sh -c java -showversion -jar diktat.jar --log-level debug /var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/junit5082549788427506583/examples/maven/src/main/kotlin/Test.kt"]
Expecting actual:
"openjdk version "1.8.0_412"
OpenJDK Runtime Environment (Zulu 8.78.0.19-CA-macos-aarch64) (build 1.8.0_412-b08)
OpenJDK 64-Bit Server VM (Zulu 8.78.0.19-CA-macos-aarch64) (build 25.412-b08, mixed mode)
13:49:00.516 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/snakeyaml/engine/v2/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:757)
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:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.DiktatRunnerFactory.invoke(DiktatRunnerFactory.kt:36)
at com.saveourtool.diktat.DiktatMainKt.main(DiktatMain.kt:42)
"
to contain:
"[VARIABLE_NAME_INCORRECT_FORMAT]"
at DiktatCliTest.cliTest$lambda$2(DiktatCliTest.java:91)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at com.saveourtool.diktat.smoke.DiktatCliTest.cliTest(DiktatCliTest.kt:61)
at com.saveourtool.diktat.smoke.DiktatCliTest.Run diKTat from cli (absolute paths)(DiktatCliTest.kt:34)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at java.util.ArrayList.forEach(ArrayList.java:1259)
github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatSmokeTest ► regression - should not fail if package is not set()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml
Error:
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
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:757)
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:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
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.smoke.DiktatSmokeTestBase.prepareOverriddenRulesConfig(DiktatSmokeTestBase.kt:81)
at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.prepareOverriddenRulesConfig$default(DiktatSmokeTestBase.kt:80)
at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.regression - should not fail if package is not set(DiktatSmokeTestBase.kt:107)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at java.util.ArrayList.forEach(ArrayList.java:1259)
github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatSmokeTest ► fix can cause long line()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml
Error:
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
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:757)
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:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
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.smoke.DiktatSmokeTestBase.prepareOverriddenRulesConfig(DiktatSmokeTestBase.kt:81)
at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.fix can cause long line(DiktatSmokeTestBase.kt:293)
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)
github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatSmokeTest ► smoke test #8 - anonymous function()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml
Error:
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
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:757)
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:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
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.smoke.DiktatSmokeTestBase.prepareOverriddenRulesConfig(DiktatSmokeTestBase.kt:81)
at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.prepareOverriddenRulesConfig$default(DiktatSmokeTestBase.kt:80)
at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.smoke test #8 - anonymous function(DiktatSmokeTestBase.kt:116)
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)
github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatSmokeTest ► smoke test with gradle script plugin()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml
Error:
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
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:757)
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:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
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.smoke.DiktatSmokeTestBase.prepareOverriddenRulesConfig(DiktatSmokeTestBase.kt:81)
at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.prepareOverriddenRulesConfig$default(DiktatSmokeTestBase.kt:80)
at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.smoke test with gradle script plugin(DiktatSmokeTestBase.kt:336)
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)
github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatSmokeTest ► smoke test with kts files()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml
Error:
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
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:757)
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:419)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
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.smoke.DiktatSmokeTestBase.prepareOverriddenRulesConfig(DiktatSmokeTestBase.kt:81)
at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.smoke test with kts files(DiktatSmokeTestBase.kt:317)
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)