/storage/aboba/evovis-client/src/main/java/defpackage/apt.java:430: error: local variables referenced from a lambda expression must be final or effectively final .filter(var4x -> this.isValidPoint(var4, var4x, var2, var3)) ^ /storage/aboba/evovis-client/src/main/java/defpackage/apt.java:431: error: local variables referenced from a lambda expression must be final or effectively final .min(Comparator.comparingDouble(var1x -> var1x.distanceToSqr(var5))) ^ /storage/aboba/evovis-client/src/main/java/defpackage/apt.java:560: error: local variables referenced from a lambda expression must be final or effectively final return var1.stream().min(Comparator.comparingDouble(var1x -> var1x.distanceToSqr(var2))).orElse(null); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 errors FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileJava' (registered by plugin class 'org.gradle.api.plugins.JavaBasePlugin'). > Compilation failed; see the compiler output below. /storage/aboba/evovis-client/src/main/java/defpackage/apt.java:430: error: local variables referenced from a lambda expression must be final or effectively final .filter(var4x -> this.isValidPoint(var4, var4x, var2, var3)) ^ 3 errors * Try: > Check your code and dependencies to fix the compilation error(s) > Run with --scan to get full insights from a Build Scan (powered by Develocity). BUILD FAILED in 14s