COMMAND: (cd /home/admin/workspace/my-blogs/source/_posts/2026-10-08-Kotlin-02-分支推导与智能转换的稳定前提 && sha256sum -c kotlin-language-02.tar.gz.sha256)
kotlin-language-02.tar.gz: OK
EXIT_CODE=0
COMMAND: tar -xzf /home/admin/workspace/my-blogs/source/_posts/2026-10-08-Kotlin-02-分支推导与智能转换的稳定前提/kotlin-language-02.tar.gz -C /tmp/kotlin-02-unpack-AOlGsf
EXIT_CODE=0
COMMAND: (cd /tmp/kotlin-02-unpack-AOlGsf/kotlin-language && ./gradlew --offline --no-daemon --console=plain clean test)
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.14/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build 
> Task :clean UP-TO-DATE
> Task :checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :processResources NO-SOURCE
> Task :processTestResources NO-SOURCE
> Task :compileKotlin
> Task :compileJava NO-SOURCE
> Task :classes UP-TO-DATE
> Task :jar
> Task :compileTestKotlin
> Task :compileTestJava NO-SOURCE
> Task :testClasses UP-TO-DATE
> Task :test

BUILD SUCCESSFUL in 37s
5 actionable tasks: 4 executed, 1 up-to-date
EXIT_CODE=0
COMMAND: inspect 00–02 unpacked JUnit XML
/tmp/kotlin-02-unpack-AOlGsf/kotlin-language/build/test-results/test/TEST-example.tasks.TaskSettingsTest.xml:<testsuite name="example.tasks.TaskSettingsTest" tests="2" skipped="0" failures="0" errors="0" timestamp="2026-10-08T02:47:07.
/tmp/kotlin-02-unpack-AOlGsf/kotlin-language/build/test-results/test/TEST-example.tasks.MainTest.xml:<testsuite name="example.tasks.MainTest" tests="2" skipped="0" failures="0" errors="0" timestamp="2026-10-08T02:47:07.742Z" hostname="
/tmp/kotlin-02-unpack-AOlGsf/kotlin-language/build/test-results/test/TEST-example.tasks.CommandParserTest.xml:<testsuite name="example.tasks.CommandParserTest" tests="2" skipped="0" failures="0" errors="0" timestamp="2026-10-08T02:47:0
EXIT_CODE=0
COMMAND: (cd /tmp/kotlin-02-unpack-AOlGsf/kotlin-language && ./gradlew --offline --no-daemon run --args="batch alpha beta")
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.14/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build 
> Task :checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :compileKotlin UP-TO-DATE
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE

> Task :run
TASK inputs accepted (not persisted): 2

BUILD SUCCESSFUL in 15s
2 actionable tasks: 1 executed, 1 up-to-date
EXIT_CODE=0
COMMAND: (cd /tmp/kotlin-02-unpack-AOlGsf/kotlin-language && ./gradlew --offline --no-daemon run --args=batch)
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.14/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build 
> Task :checkKotlinGradlePluginConfigurationErrors SKIPPED
> Task :compileKotlin UP-TO-DATE
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE

> Task :run FAILED
Exception in thread "main" java.lang.IllegalArgumentException: Usage: batch <task text>...
	at example.tasks.CommandParserKt.parseCommand(CommandParser.kt:11)
	at example.tasks.MainKt.main(Main.kt:11)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':run'.
> Process 'command '/usr/lib/jvm/java-21-openjdk-amd64/bin/java'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 16s
2 actionable tasks: 1 executed, 1 up-to-date
EXIT_CODE=1
