COMMAND: cd /home/admin/workspace/my-blogs/source/_posts/2026-10-08-Kotlin-03-函数参数和返回值怎样约束任务输入 && sha256sum -c kotlin-language-03.tar.gz.sha256
kotlin-language-03.tar.gz: OK
EXIT_CODE=0
COMMAND: tar -xzf /home/admin/workspace/my-blogs/source/_posts/2026-10-08-Kotlin-03-函数参数和返回值怎样约束任务输入/kotlin-language-03.tar.gz -C /tmp/kotlin-03-unpack-fDp8eO
EXIT_CODE=0
COMMAND: (cd /tmp/kotlin-03-unpack-fDp8eO/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 

[Incubating] Problems report is available at: file:///tmp/kotlin-03-unpack-fDp8eO/kotlin-language/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Task 'clean test' not found in root project 'kotlin-task-language'.

* Try:
> Run gradlew tasks to get a list of available tasks.
> For more on name expansion, please refer to https://docs.gradle.org/8.14/userguide/command_line_interface.html#sec:name_abbreviation in the Gradle documentation.
> 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
EXIT_CODE=1
COMMAND: (cd /tmp/kotlin-03-unpack-fDp8eO/kotlin-language && ./gradlew --offline --no-daemon --console=plain run --args=submit\ alpha)
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 

[Incubating] Problems report is available at: file:///tmp/kotlin-03-unpack-fDp8eO/kotlin-language/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Task 'run --args=submit\ alpha' not found in root project 'kotlin-task-language'.

* Try:
> Run gradlew tasks to get a list of available tasks.
> For more on name expansion, please refer to https://docs.gradle.org/8.14/userguide/command_line_interface.html#sec:name_abbreviation in the Gradle documentation.
> 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 19s
EXIT_CODE=1
COMMAND: (cd /tmp/kotlin-03-unpack-fDp8eO/kotlin-language && ./gradlew --offline --no-daemon --console=plain run --args=submit)
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 

[Incubating] Problems report is available at: file:///tmp/kotlin-03-unpack-fDp8eO/kotlin-language/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
Task 'run --args=submit' not found in root project 'kotlin-task-language'.

* Try:
> Run gradlew tasks to get a list of available tasks.
> For more on name expansion, please refer to https://docs.gradle.org/8.14/userguide/command_line_interface.html#sec:name_abbreviation in the Gradle documentation.
> 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 18s
EXIT_CODE=1
COMMAND: inspect unpacked suites
zsh:16: no matches found: /tmp/kotlin-03-unpack-fDp8eO/kotlin-language/build/test-results/test/TEST-example.tasks.*.xml
0
EXIT_CODE=0

CORRECTION: previous loop passed multiword Gradle commands as a single zsh argument; those attempts are invalid evidence. Re-run with explicit argument vectors below.
COMMAND: (cd /tmp/kotlin-03-unpack-fDp8eO/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
> 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 30s
5 actionable tasks: 5 executed
EXIT_CODE=0
COMMAND: (cd /tmp/kotlin-03-unpack-fDp8eO/kotlin-language && ./gradlew --offline --no-daemon --console=plain run --args="submit alpha")
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 input accepted (not persisted): alpha

BUILD SUCCESSFUL in 19s
2 actionable tasks: 1 executed, 1 up-to-date
EXIT_CODE=0
COMMAND: (cd /tmp/kotlin-03-unpack-fDp8eO/kotlin-language && ./gradlew --offline --no-daemon --console=plain run --args=submit)
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: submit <task text>
	at example.tasks.MainKt.submitTask(Main.kt:4)
	at example.tasks.CommandParserKt.parseCommand(CommandParser.kt:5)
	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 18s
2 actionable tasks: 1 executed, 1 up-to-date
EXIT_CODE=1
COMMAND: inspect unpacked suite XML for four 2/2 results
SUITES_PASS=4
CORRECTED_ASSERTIONS=PASS
