chore(deps): update all non-major dependencies (except core kotlin) #1922
1766 passed, 1043 failed and 17 skipped
❌ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml
6 tests were completed in 8s with 0 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.smoke.DiktatCliTest | 6❌ | 8s |
❌ 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 643ms with 0 passed, 21 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.smoke.DiktatSaveSmokeTest | 21❌ | 643ms |
❌ com.saveourtool.diktat.smoke.DiktatSaveSmokeTest
❌ regression - should not fail if package is not set()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ fix can cause long line()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #8 - anonymous function()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test with gradle script plugin()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test with kts files()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ disable chapters()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test with kts files #2()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #1()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #2()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #3()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #4()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #5()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #6()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #7()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ regression - FP of local variables rule()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ regression - shouldn't throw exception in cases similar to #371()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ regression - should not fail if file has unnecessary semicolons()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test with kts files with package name()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ should add newlines between interfaces()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ regression - should correctly handle tags with empty lines()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test with multiplatform project layout()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml
21 tests were completed in 57ms with 0 passed, 21 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.smoke.DiktatSmokeTest | 21❌ | 57ms |
❌ com.saveourtool.diktat.smoke.DiktatSmokeTest
❌ regression - should not fail if package is not set()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ fix can cause long line()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #8 - anonymous function()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test with gradle script plugin()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test with kts files()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ disable chapters()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test with kts files #2()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #1()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #2()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #3()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #4()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #5()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #6()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test #7()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ regression - FP of local variables rule()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ regression - shouldn't throw exception in cases similar to #371()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ regression - should not fail if file has unnecessary semicolons()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test with kts files with package name()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ should add newlines between interfaces()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ regression - should correctly handle tags with empty lines()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ smoke test with multiplatform project layout()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
✅ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.util.CliUtilsKtTest.xml
9 tests were completed in 85ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.util.CliUtilsKtTest | 9✅ | 85ms |
✅ diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest.xml
2 tests were completed in 23s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest | 2✅ | 23s |
❌ 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: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ check command line has reporter type without output()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ should set system property with SARIF reporter()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
✅ 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: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ check command line has reporter type and output()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
✅ check system property with default config()
✅ check system property with custom config()
❌ check command line for various inputs()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
✅ check command line with non-existent inputs()
❌ githubActions mode should have higher precedence over explicit reporter()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
✅ diktat-ktlint-engine/build/test-results/test/TEST-com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest.xml
3 tests were completed in 9s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest | 3✅ | 9s |
✅ 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 |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.EnumValueCaseTest.xml
3 tests were completed in 131ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.EnumValueCaseTest | 3✅ | 131ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingFixTest.xml
10 tests were completed in 189ms with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingFixTest | 10✅ | 189ms |
❌ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest.xml
46 tests were completed in 139ms with 3 passed, 43 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest | 3✅ | 43❌ | 139ms |
❌ com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest
❌ check value parameters in functions (check - negative)()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ regression - destructing declaration in lambdas - incorrect case ()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ backticks should be used only with functions from tests (test method with variables)()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ should trigger on backing field with no matching property()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ fixed false positive result on operator functions()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ checking that there should be no prefixes in variable name()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ check case for object (check - negative)()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ should not trigger on backing field()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ should trigger on backing field with setter()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ check exception case format()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ number in middle name()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
✅ test allowed boolean functions in configuration()
❌ anonymous function()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ exception case for identifier naming in catch statements()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ regression - backticks should be forbidden only in declarations()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ regression - lambda argument - incorrect case()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ check generic types()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ regression - checking that digit in the end will not raise a warning()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ regression - function argument type()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ backticks should be used only with functions from tests (function)()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ should trigger on backing field with unmatched type()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ generic class - single capital letter, can be followed by a number (check - negative1)()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ generic class - single capital letter, can be followed by a number (check - negative2)()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ confusing identifier naming()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ generic method - single capital letter, can be followed by a number (check)()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ regression - object parsing should not fail with anonymous objects()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ FUNCTION_BOOLEAN_PREFIX - negative example()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
✅ serialVersionUID should be ignored()
❌ check exception case and suffix (only parent name inheritance) - negative()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ exception case for identifier naming in catch statements with catch body()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ check case for enum values (check - negative)()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ generic class - single capital letter, can be followed by a number (check - positive1)()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
❌ generic class - single capital letter, can be followed by a number (check - positive2)()
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Report exceeded GitHub limit of 65535 bytes and has been trimmed
Annotations
github-actions / JUnit Tests (Windows, 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 "java -showversion -jar diktat.jar --log-level debug examples/maven/src/main/kotlin/*.kt"]
Expecting actual:
"openjdk version "1.8.0_432"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_432-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.432-b06, mixed mode)
23:18:32.808 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.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 (Windows, 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 "java -showversion -jar diktat.jar --log-level debug examples/**/main/kotlin/*.kt"]
Expecting actual:
"openjdk version "1.8.0_432"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_432-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.432-b06, mixed mode)
23:18:34.842 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.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 (Windows, 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 "java -showversion -jar diktat.jar --log-level debug examples/**/*.kt"]
Expecting actual:
"openjdk version "1.8.0_432"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_432-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.432-b06, mixed mode)
23:18:36.269 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.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 (Windows, 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 "java -showversion -jar diktat.jar --log-level debug examples/maven/src/main/kotlin/Test.kt"]
Expecting actual:
"openjdk version "1.8.0_432"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_432-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.432-b06, mixed mode)
23:18:37.303 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.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 (Windows, 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 "java -showversion -jar diktat.jar --log-level debug **/*.kt"]
Expecting actual:
"openjdk version "1.8.0_432"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_432-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.432-b06, mixed mode)
23:18:38.266 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.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 (Windows, 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 "java -showversion -jar diktat.jar --log-level debug C:\Users\RUNNER~1\AppData\Local\Temp\junit4141715268385529585\examples\maven\src\main\kotlin\Test.kt"]
Expecting actual:
"openjdk version "1.8.0_432"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_432-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.432-b06, mixed mode)
23:18:39.212 [main] DEBUG com.saveourtool.diktat.DiktatMain - Loading diktatRuleSet using config null
Exception in thread "main" java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.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 (Windows, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatSaveSmokeTest ► regression - should not fail if package is not set()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSaveSmokeTest.xml
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml
Error:
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.prepareOverriddenRulesConfig(DiktatSmokeTestBase.kt:81)
at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.prepareOverriddenRulesConfig$default(DiktatSmokeTestBase.kt:79)
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 (Windows, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatSaveSmokeTest ► fix can cause long line()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSaveSmokeTest.xml
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml
Error:
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.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 (Windows, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatSaveSmokeTest ► smoke test #8 - anonymous function()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSaveSmokeTest.xml
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml
Error:
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.prepareOverriddenRulesConfig(DiktatSmokeTestBase.kt:81)
at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.prepareOverriddenRulesConfig$default(DiktatSmokeTestBase.kt:79)
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 (Windows, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatSaveSmokeTest ► smoke test with gradle script plugin()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSaveSmokeTest.xml
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml
Error:
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.prepareOverriddenRulesConfig(DiktatSmokeTestBase.kt:81)
at com.saveourtool.diktat.smoke.DiktatSmokeTestBase.prepareOverriddenRulesConfig$default(DiktatSmokeTestBase.kt:79)
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 (Windows, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatSaveSmokeTest ► smoke test with kts files()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSaveSmokeTest.xml
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml
Error:
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Raw output
java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at com.charleskorn.kaml.Yaml.parseToYamlNode$kaml(Yaml.kt:72)
at com.charleskorn.kaml.Yaml.decodeFromSource(Yaml.kt:62)
at com.saveourtool.diktat.ruleset.config.DiktatRuleConfigYamlReader.parse(DiktatRuleConfigYamlReader.kt:24)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.read(AbstractDiktatRuleConfigReader.kt:29)
at com.saveourtool.diktat.ruleset.config.AbstractDiktatRuleConfigReader.invoke(AbstractDiktatRuleConfigReader.kt:26)
at com.saveourtool.diktat.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)