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.6/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build 

> Task :compileJava FAILED

[Incubating] Problems report is available at: file:///w/jvm/gradle/compile_main/build/reports/problems/problems-report.html
/w/jvm/gradle/compile_main/src/main/java/App.java:1: error: incompatible types: String cannot be converted to int
public class App { int f() { return "x"; } }
                                    ^
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler output below.
  /w/jvm/gradle/compile_main/src/main/java/App.java:1: error: incompatible types: String cannot be converted to int
  public class App { int f() { return "x"; } }
                                      ^
  1 error

* Try:
> Check your code and dependencies to fix the compilation error(s)
> Run with --scan to get full insights.

BUILD FAILED in 10s
1 actionable task: 1 executed
