Wrote /root/JavaX-Caches/tmp_1685407204/main.java - 1135 bytes (written=1135, should be 1135)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_637065860 /root/JavaX-Caches/tmp_1685407204/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1685407204/main.java:1: error: class, interface, or enum expected
srecord noeq RawBufferedImageDistance_sameSize(BufferedImage img1,
^
/root/JavaX-Caches/tmp_1685407204/main.java:4: error: class, interface, or enum expected
int w, h;
^
/root/JavaX-Caches/tmp_1685407204/main.java:5: error: class, interface, or enum expected
int x, y; // where we stopped calculating
^
/root/JavaX-Caches/tmp_1685407204/main.java:6: error: class, interface, or enum expected
long sum;
^
/root/JavaX-Caches/tmp_1685407204/main.java:8: error: class, interface, or enum expected
bool completed() { ret w != 0 && x == w && y == h; }
^
/root/JavaX-Caches/tmp_1685407204/main.java:8: error: class, interface, or enum expected
bool completed() { ret w != 0 && x == w && y == h; }
^
/root/JavaX-Caches/tmp_1685407204/main.java:12: error: class, interface, or enum expected
assertSameSize(img1, img2);
^
/root/JavaX-Caches/tmp_1685407204/main.java:14: error: class, interface, or enum expected
var gp1 = grabbableIntPixels_fastOrSlow(img1);
^
/root/JavaX-Caches/tmp_1685407204/main.java:15: error: class, interface, or enum expected
var gp2 = grabbableIntPixels_fastOrSlow(img2);
^
/root/JavaX-Caches/tmp_1685407204/main.java:17: error: class, interface, or enum expected
int iPixels1 = gp1.offset, iPixels2 = gp2.offset;
^
/root/JavaX-Caches/tmp_1685407204/main.java:18: error: class, interface, or enum expected
int[] pixels1 = gp1.data, pixels2 = gp2.data;
^
/root/JavaX-Caches/tmp_1685407204/main.java:19: error: class, interface, or enum expected
long sum = 0;
^
/root/JavaX-Caches/tmp_1685407204/main.java:21: error: class, interface, or enum expected
for y to h: {
^
/root/JavaX-Caches/tmp_1685407204/main.java:28: error: class, interface, or enum expected
if (sum > stoppingValue) {
^
/root/JavaX-Caches/tmp_1685407204/main.java:29: error: class, interface, or enum expected
this.x = x; this.y = y;
^
/root/JavaX-Caches/tmp_1685407204/main.java:30: error: class, interface, or enum expected
this.sum = sum;
^
/root/JavaX-Caches/tmp_1685407204/main.java:31: error: class, interface, or enum expected
ret sum;
^
/root/JavaX-Caches/tmp_1685407204/main.java:32: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1685407204/main.java:36: error: class, interface, or enum expected
iPixels2 += gp2.scanlineStride;
^
/root/JavaX-Caches/tmp_1685407204/main.java:37: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1685407204/main.java:39: error: class, interface, or enum expected
this.x = w; this.y = h;
^
/root/JavaX-Caches/tmp_1685407204/main.java:40: error: class, interface, or enum expected
ret this.sum = sum;
^
/root/JavaX-Caches/tmp_1685407204/main.java:41: error: class, interface, or enum expected
}
^
23 errors