Skip to content

Update to kotlin 1.9.10 (#544) #1961

Update to kotlin 1.9.10 (#544)

Update to kotlin 1.9.10 (#544) #1961

Triggered via push October 23, 2023 10:09
Status Success
Total duration 4m 13s
Artifacts

diktat.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 3 warnings, and 6 notices
com.saveourtool.save.core.integration.FixAndWarnDirTest ► execute fix-and-warn plugin on the directory chapter1()[jvm]: save-core/src/commonNonJsTest/kotlin/com/saveourtool/save/core/test/utils/TestUtilsCommon.kt#L77
Failed test found in: save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.FixAndWarnDirTest.xml Error: org.opentest4j.AssertionFailedError: test.status is actually Fail: TestResult(resources=FixTestFiles(test=fix_and_warn\smoke\src\main\kotlin\com\saveourtool\save\chapter1\Bug1Test.kt, expected=fix_and_warn\smoke\src\main\kotlin\com\saveourtool\save\chapter1\Bug1Expected.kt), status=Fail(reason=(UNEXPECTED WARNINGS): [Warning(message=[CLASS_NAME_INCORRECT] class/enum/interface name should be in PascalCase and should contain only latin (ASCII) letters or numbers: D (diktat-ruleset:aai-identifier-naming), line=3, column=7, fileName=Bug1Expected.kt), Warning(message=[FILE_NAME_MATCH_CLASS] file name is incorrect - it should match with the class described in it if there is the only one class declared: Bug1Expected.kt vs D (diktat-ruleset:aag-file-naming), line=1, column=1, fileName=Bug1Expected.kt), Warning(message=[IDENTIFIER_LENGTH] identifier's length is incorrect, it should be in range of [2, 64] symbols: D (cannot be auto-corrected) (diktat-ruleset:aai-identifier-naming), line=3, column=7, fileName=Bug1Expected.kt), Warning(message=[KDOC_NO_EMPTY_TAGS] no empty descriptions in tag blocks are allowed: @return (cannot be auto-corrected) (diktat-ruleset:aae-kdoc-formatting), line=7, column=8, fileName=Bug1Expected.kt), Warning(message=[MAGIC_NUMBER] avoid using magic numbers, instead define constants with clear names describing what the magic number means: 42 (cannot be auto-corrected) (diktat-ruleset:aca-magic-number), line=10, column=19, fileName=Bug1Expected.kt), Warning(message=[MISSING_KDOC_CLASS_ELEMENTS] all public, internal and protected classes, functions and variables inside the class should have Kdoc: x (cannot be auto-corrected) (diktat-ruleset:aac-kdoc-comments), line=4, column=5, fileName=Bug1Expected.kt), Warning(message=[MISSING_KDOC_TOP_LEVEL] all public and internal top-level classes and functions should have Kdoc: D (cannot be auto-corrected) (diktat-ruleset:aac-kdoc-comments), line=3, column=1, fileName=Bug1Expected.kt)], shortReason=(UNEXPECTED WARNINGS): (7). (MATCHED WARNINGS): (0)), debugInfo=DebugInfo(execCmd=java -jar ktlint --disabled_rules=standard -R diktat.jar C:\Users\RUNNER~1\AppData\Local\Temp\WarnPlugin--323081586\fix_and_warn\smoke\src\main\kotlin\com\saveourtool\save\chapter1\Bug1Expected.kt, stdout=C:\Users\RUNNER~1\AppData\Local\Temp\WarnPlugin--323081586\fix_and_warn\smoke\src\main\kotlin\com\saveourtool\save\chapter1\Bug1Expected.kt:1:1: [FILE_NAME_MATCH_CLASS] file name is incorrect - it should match with the class described in it if there is the only one class declared: Bug1Expected.kt vs D (diktat-ruleset:aag-file-naming)
com.saveourtool.save.core.integration.FixAndWarnDirTest ► execute fix-and-warn plugin on the directory chapter2()[jvm]: save-core/src/commonNonJsTest/kotlin/com/saveourtool/save/core/test/utils/TestUtilsCommon.kt#L77
Failed test found in: save-core/build/test-results/jvmTest/TEST-com.saveourtool.save.core.integration.FixAndWarnDirTest.xml Error: org.opentest4j.AssertionFailedError: test.status is actually Fail: TestResult(resources=FixTestFiles(test=fix_and_warn\smoke\src\main\kotlin\com\saveourtool\save\chapter2\Bug2Test.kt, expected=fix_and_warn\smoke\src\main\kotlin\com\saveourtool\save\chapter2\Bug2Expected.kt), status=Fail(reason=DeleteDelta(source=[position: 0, size: 1, lines: [// ;warn:1:1: [HEADER_MISSING_IN_NON_SINGLE_CLASS_FILE] files that contain multiple or no classes should contain description of what is inside of this file: there are 2 declared classes and/or objects (cannot be auto-corrected){{.*}}]], target=[position: 0, size: 0, lines: []])
diktat_check
Failed to save cache entry with path '/home/runner/.gradle/caches/*/kotlin-dsl/*/*' and key: kotlin-dsl-7bebbbe543dcf340d91b4a57ea199b94: Error: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
execute fix-and-warn plugin on the directory chapter1()[jvm] (com.saveourtool.save.core.integration.FixAndWarnDirTest) failed: com.saveourtool.save.core.integration.FixAndWarnDirTest#L0
save-core\build\test-results\jvmTest\TEST-com.saveourtool.save.core.integration.FixAndWarnDirTest.xml [took 13s]
execute fix-and-warn plugin on the directory chapter2()[jvm] (com.saveourtool.save.core.integration.FixAndWarnDirTest) failed: com.saveourtool.save.core.integration.FixAndWarnDirTest#L0
save-core\build\test-results\jvmTest\TEST-com.saveourtool.save.core.integration.FixAndWarnDirTest.xml [took 7s]
24 skipped tests found
There are 24 skipped tests, see "Raw output" for the full list of skipped tests.
245 tests found
There are 245 tests, see "Raw output" for the full list of tests.
24 skipped tests found
There are 24 skipped tests, see "Raw output" for the full list of skipped tests.
245 tests found
There are 245 tests, see "Raw output" for the full list of tests.
24 skipped tests found
There are 24 skipped tests, see "Raw output" for the full list of skipped tests.
245 tests found
There are 245 tests, see "Raw output" for the full list of tests.