COMMAND: bash -c cd\ \"\$1\"\ \&\&\ ./gradlew\ --offline\ --no-daemon\ --console=plain\ compileKotlin _ /tmp/kotlin-22-rejected-bEtJdU
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 FAILED
e: file:///tmp/kotlin-22-rejected-bEtJdU/src/main/kotlin/22-incomplete-state.kt:3:54 'when' expression must be exhaustive. Add the 'Cancelled' branch or an 'else' branch.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

* 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 22s
1 actionable task: 1 executed
EXIT_CODE=1
