chore(deps): update all non-major dependencies (except core kotlin) #6355
1765 passed, 1022 failed and 39 skipped
❌ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml
6 tests were completed in 37s with 0 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.smoke.DiktatCliTest | 6❌ | 37s |
❌ com.saveourtool.diktat.smoke.DiktatCliTest
❌ Run diKTat from cli (glob paths, 1 of 4)()
org.assertj.core.error.AssertJMultipleFailuresError:
❌ Run diKTat from cli (glob paths, 2 of 4)()
org.assertj.core.error.AssertJMultipleFailuresError:
❌ Run diKTat from cli (glob paths, 3 of 4)()
org.assertj.core.error.AssertJMultipleFailuresError:
❌ Run diKTat from cli()
org.assertj.core.error.AssertJMultipleFailuresError:
❌ Run diKTat from cli (glob paths, 4 of 4)()
org.assertj.core.error.AssertJMultipleFailuresError:
❌ Run diKTat from cli (absolute paths)()
org.assertj.core.error.AssertJMultipleFailuresError:
✅ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSaveSmokeTest.xml
21 tests were completed in 5ms with 0 passed, 0 failed and 21 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.smoke.DiktatSaveSmokeTest | 21⚪ | 5ms |
❌ diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatSmokeTest.xml
21 tests were completed in 616ms with 0 passed, 21 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.smoke.DiktatSmokeTest | 21❌ | 616ms |
❌ 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 87ms with 8 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.util.CliUtilsKtTest | 8✅ | 1⚪ | 87ms |
✅ diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest.xml
2 tests were completed in 25s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.plugin.gradle.DiktatGradlePluginTest | 2✅ | 25s |
❌ diktat-gradle-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest.xml
14 tests were completed in 3s with 7 passed, 7 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.plugin.gradle.DiktatJavaExecTaskTest | 7✅ | 7❌ | 3s |
❌ 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 |
✅ diktat-maven-plugin/build/test-results/test/TEST-com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest.xml
2 tests were completed in 1ms with 0 passed, 0 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.plugin.maven.DiktatBaseMojoTest | 2⚪ | 1ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.EnumValueCaseTest.xml
3 tests were completed in 62ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.EnumValueCaseTest | 3✅ | 62ms |
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingFixTest.xml
10 tests were completed in 134ms with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingFixTest | 10✅ | 134ms |
❌ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest.xml
46 tests were completed in 97ms with 3 passed, 43 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest | 3✅ | 43❌ | 97ms |
❌ com.saveourtool.diktat.ruleset.chapter1.IdentifierNamingWarnTest
❌ check value parameters in functions (check - negative)()
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 - destructing declaration in lambdas - incorrect case ()
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
❌ backticks should be used only with functions from tests (test method with variables)()
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 trigger on backing field with no matching property()
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
❌ fixed false positive result on operator functions()
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
❌ checking that there should be no prefixes in variable 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
❌ check case for object (check - negative)()
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 not trigger on backing field()
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 trigger on backing field with setter()
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 exception case format()
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
❌ number in middle 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
✅ test allowed boolean functions in configuration()
❌ 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
❌ exception case for identifier naming in catch statements()
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 - backticks should be forbidden only in declarations()
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 - lambda argument - incorrect case()
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 generic types()
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 - checking that digit in the end will not raise a warning()
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 - function argument type()
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
❌ backticks should be used only with functions from tests (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
❌ should trigger on backing field with unmatched type()
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
❌ generic class - single capital letter, can be followed by a number (check - negative1)()
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
❌ generic class - single capital letter, can be followed by a number (check - negative2)()
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
❌ confusing identifier naming()
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
❌ generic method - single capital letter, can be followed by a number (check)()
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 - object parsing should not fail with anonymous objects()
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
❌ FUNCTION_BOOLEAN_PREFIX - negative example()
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
✅ serialVersionUID should be ignored()
❌ check exception case and suffix (only parent name inheritance) - negative()
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
❌ exception case for identifier naming in catch statements with catch body()
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 case for enum values (check - negative)()
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
❌ generic class - single capital letter, can be followed by a number (check - positive1)()
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
❌ generic class - single capital letter, can be followed by a number (check - positive2)()
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 trigger when the name is not exception()
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 exception case and suffix (with type call entry) - negative()
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 class name (check)()
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
❌ backticks should be used only with functions from tests (test method)()
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
❌ backticks should be used only with functions from tests (class)()
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 variable length (check - negative)()
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 case for pascal case enum values (check - negative)()
❌ check value parameters in dataclasses (check - negative)()
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 identifiers case format (check - negative)()
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 not trigger on underscore()
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
❌ exception case for identifier naming - catching exception with type e()
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
❌ FUNCTION_BOOLEAN_PREFIX - positive example()
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
❌ all prefixes for boolean methods()
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-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.MethodNamingWarnTest.xml
8 tests were completed in 12ms with 0 passed, 8 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.MethodNamingWarnTest | 8❌ | 12ms |
❌ com.saveourtool.diktat.ruleset.chapter1.MethodNamingWarnTest
❌ typeAlias name incorrect, part 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
❌ typeAlias name incorrect, part 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
❌ boolean method name incorrect()
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
❌ method name incorrect, part 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
❌ method name incorrect, part 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
❌ method name incorrect, part 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
❌ method name incorrect, part 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
❌ method name incorrect, part 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
✅ diktat-rules/build/test-results/test/TEST-com.saveourtool.diktat.ruleset.chapter1.PackageNamingFixTest.xml
3 tests were completed in 65ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ruleset.chapter1.PackageNamingFixTest | 3✅ | 65ms | ||
Report exceeded GitHub limit of 65535 bytes and has been trimmed |
Annotations
github-actions / JUnit Tests (macOS, dorny/test-reporter@v1)
com.saveourtool.diktat.smoke.DiktatCliTest ► Run diKTat from cli (glob paths, 1 of 4)()
Failed test found in:
diktat-cli/build/test-results/test/TEST-com.saveourtool.diktat.smoke.DiktatCliTest.xml
Error:
org.assertj.core.error.AssertJMultipleFailuresError:
Raw output
org.assertj.core.error.AssertJMultipleFailuresError:
Multiple Failures (1 failure)
-- failure 1 --
[The output of "sh -c java -showversion -jar diktat.jar --log-level debug examples/maven/src/main/kotlin/*.kt"]
Expecting actual:
"openjdk version "1.8.0_402"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode)
17:28:49.714 [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)
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)
17:28:57.389 [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)
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)
17:29:03.638 [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)
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)
17:29:09.777 [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)
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)
17:29:15.485 [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)
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/8_/r1lvzqc55v10qydntqm5c3j00000gn/T/junit2049947331679190075/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)
17:29:21.221 [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)
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)
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)
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)
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)
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)