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 (macOS, dorny/test-reporter@v1) failed Apr 14, 2024 in 0s

20 passed, 34 failed and 24 skipped

Tests failed

Report Passed Failed Skipped Time
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml 6❌ 14s
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSaveSmokeTest.xml 21⚪ 21ms
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml 21❌ 2s
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.util.CliUtilsKtTest.xml 8✅ 1⚪ 105ms
diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest.xml 2✅ 17s
diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest.xml 7✅ 7❌ 5s
diktat-ktlint-engine/build/test-results/test/TEST-com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest.xml 3✅ 5s
diktat-maven-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest.xml 2⚪ 2ms

❌ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml

6 tests were completed in 14s with 0 passed, 6 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.smoke.DiktatCliTest 6❌ 14s

❌ 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 21ms with 0 passed, 0 failed and 21 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.smoke.DiktatSaveSmokeTest 21⚪ 21ms

✅ 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 2s with 0 passed, 21 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.smoke.DiktatSmokeTest 21❌ 2s

❌ 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 105ms with 8 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.util.CliUtilsKtTest 8✅ 1⚪ 105ms

✅ 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 17s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest 2✅ 17s

✅ 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 5s with 7 passed, 7 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest 7✅ 7❌ 5s

❌ 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 5s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest 3✅ 5s

✅ 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 2ms with 0 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest 2⚪ 2ms

✅ com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest

⚪ test plugin custom configuration
⚪ test default plugin configuration

Annotations

Check failure on line 24 in diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/config/DiktatRuleConfigYamlReader.kt

See this annotation in the file changed.

@github-actions 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_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)

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

Check failure on line 24 in diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/config/DiktatRuleConfigYamlReader.kt

See this annotation in the file changed.

@github-actions 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_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)

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

Check failure on line 24 in diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/config/DiktatRuleConfigYamlReader.kt

See this annotation in the file changed.

@github-actions 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_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)

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

Check failure on line 24 in diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/config/DiktatRuleConfigYamlReader.kt

See this annotation in the file changed.

@github-actions 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_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)

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

Check failure on line 24 in diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/config/DiktatRuleConfigYamlReader.kt

See this annotation in the file changed.

@github-actions 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_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)

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

Check failure on line 24 in diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/config/DiktatRuleConfigYamlReader.kt

See this annotation in the file changed.

@github-actions 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/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/junit4997590791701403027/examples/maven/src/main/kotlin/Test.kt"] 
Expecting actual:
  "openjdk version "1.8.0_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)

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

Check failure on line 24 in diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/config/DiktatRuleConfigYamlReader.kt

See this annotation in the file changed.

@github-actions 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: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.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)

Check failure on line 24 in diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/config/DiktatRuleConfigYamlReader.kt

See this annotation in the file changed.

@github-actions 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: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.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)

Check failure on line 24 in diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/config/DiktatRuleConfigYamlReader.kt

See this annotation in the file changed.

@github-actions 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: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.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)

Check failure on line 24 in diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/config/DiktatRuleConfigYamlReader.kt

See this annotation in the file changed.

@github-actions 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: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.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)

Check failure on line 24 in diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/config/DiktatRuleConfigYamlReader.kt

See this annotation in the file changed.

@github-actions 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: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.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)