COMMAND: bash -c cd\ \"\$1\"\ \&\&\ ./gradlew\ --offline\ --no-daemon\ --console=plain\ compileKotlin _ /tmp/kotlin-16-rejected-5ADxSu
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-16-rejected-5ADxSu/src/main/kotlin/16-invalid-types.kt:3:74 Cannot check for instance of erased type 'State (of fun <State : TaskState> erasedStateCheck)'.
e: file:///tmp/kotlin-16-rejected-5ADxSu/src/main/kotlin/16-invalid-types.kt:5:84 Argument type mismatch: actual type is 'String', but 'TaskId' was expected.

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