chore(deps): update kotlin core dependencies to v2 (major) - autoclosed #7008
GitHub Actions / JUnit Tests (Windows, dorny/test-reporter@v1)
failed
Dec 6, 2024 in 1s
2 passed, 1 failed and 0 skipped
❌ diktat-ktlint-engine/build/test-results/test/TEST-com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest.xml
3 tests were completed in 10s with 2 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest | 2✅ | 1❌ | 10s |
❌ com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest
✅ check KtLintRuleSetWrapper with duplicate()
✅ check OrderedRule()
❌ KtLint keeps order with RuleVisitorModifierRunAfterRule()
java.lang.NoSuchFieldError: HEADER_KEYWORD
Annotations
github-actions / JUnit Tests (Windows, dorny/test-reporter@v1)
com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest ► KtLint keeps order with RuleVisitorModifierRunAfterRule()
Failed test found in:
diktat-ktlint-engine/build/test-results/test/TEST-com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest.xml
Error:
java.lang.NoSuchFieldError: HEADER_KEYWORD
Raw output
java.lang.NoSuchFieldError: HEADER_KEYWORD
at com.pinterest.ktlint.rule.engine.core.api.ElementType.<clinit>(ElementType.kt:274)
at com.pinterest.ktlint.rule.engine.internal.rules.KtlintSuppressionRule.isKtlintRuleSuppressionInAnnotation(KtlintSuppressionRule.kt:115)
at com.pinterest.ktlint.rule.engine.internal.rules.KtlintSuppressionRule.beforeVisitChildNodes(KtlintSuppressionRule.kt:105)
at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext$executeRuleOnNodeRecursively$1.invoke(RuleExecutionContext.kt:125)
at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext$executeRuleOnNodeRecursively$1.invoke(RuleExecutionContext.kt:124)
at com.pinterest.ktlint.rule.engine.internal.SuppressHandler.handle(SuppressHandler.kt:28)
at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext.executeRuleOnNodeRecursively(RuleExecutionContext.kt:124)
at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext.executeRuleOnNodeRecursively(RuleExecutionContext.kt:93)
at com.pinterest.ktlint.rule.engine.internal.RuleExecutionContext.executeRule(RuleExecutionContext.kt:62)
at com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine$lint$3.invoke(KtLintRuleEngine.kt:100)
at com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine$lint$3.invoke(KtLintRuleEngine.kt:99)
at com.pinterest.ktlint.rule.engine.internal.VisitorProvider$visitor$3.invoke(VisitorProvider.kt:46)
at com.pinterest.ktlint.rule.engine.internal.VisitorProvider$visitor$3.invoke(VisitorProvider.kt:44)
at com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine.lint(KtLintRuleEngine.kt:99)
at com.pinterest.ktlint.rule.engine.api.KtLintRuleEngine.lint$default(KtLintRuleEngine.kt:88)
at com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest.KtLint keeps order with RuleVisitorModifierRunAfterRule(KtLintRuleWrapperTest.kt:88)
at java.lang.reflect.Method.invoke(Method.java:498)
at java.util.ArrayList.forEach(ArrayList.java:1259)
at java.util.ArrayList.forEach(ArrayList.java:1259)
Loading