Skip to content

chore(deps): update kotlin core dependencies to v2 (major) - autoclosed #7180

chore(deps): update kotlin core dependencies to v2 (major) - autoclosed

chore(deps): update kotlin core dependencies to v2 (major) - autoclosed #7180

GitHub Actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2) failed Dec 7, 2024 in 0s

1 fail, 2 pass in 9s

3 tests  ±0   2 ✅ ±0   9s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   1 ❌ ±0 

Results for commit 40cf52c. ± Comparison against earlier commit 3e84b02.

Annotations

Check warning on line 0 in com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest

See this annotation in the file changed.

@github-actions github-actions / JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

KtLint keeps order with RuleVisitorModifierRunAfterRule() (com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest) failed

diktat-ktlint-engine\build\test-results\test\TEST-com.saveourtool.diktat.ktlint.KtLintRuleWrapperTest.xml [took 8s]
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)