Wrote /root/JavaX-Caches/tmp_89150678/main.java - 2594 bytes (written=2594, should be 2594)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 1.8 -target 1.8 -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_569976245 /root/JavaX-Caches/tmp_89150678/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_89150678/main.java:1: error: class, interface, or enum expected
!752
^
/root/JavaX-Caches/tmp_89150678/main.java:5: error: class, interface, or enum expected
p {
^
/root/JavaX-Caches/tmp_89150678/main.java:9: error: class, interface, or enum expected
float xInner = new RGB(outer).getBrightness();
^
/root/JavaX-Caches/tmp_89150678/main.java:10: error: class, interface, or enum expected
float xOuter = new RGB(outer).getBrightness();
^
/root/JavaX-Caches/tmp_89150678/main.java:11: error: class, interface, or enum expected
print("xInner=" + xInner + ", xOuter=" + xOuter);
^
/root/JavaX-Caches/tmp_89150678/main.java:12: error: class, interface, or enum expected
BWImage screen = screen();
^
/root/JavaX-Caches/tmp_89150678/main.java:13: error: class, interface, or enum expected
for (int y1 = 0; y < screenHeight-3; y1++)
^
/root/JavaX-Caches/tmp_89150678/main.java:13: error: class, interface, or enum expected
for (int y1 = 0; y < screenHeight-3; y1++)
^
/root/JavaX-Caches/tmp_89150678/main.java:13: error: class, interface, or enum expected
for (int y1 = 0; y < screenHeight-3; y1++)
^
/root/JavaX-Caches/tmp_89150678/main.java:14: error: class, interface, or enum expected
for (int x1 = 0; x < screenWidth-1; x1++)
^
/root/JavaX-Caches/tmp_89150678/main.java:14: error: class, interface, or enum expected
for (int x1 = 0; x < screenWidth-1; x1++)
^
/root/JavaX-Caches/tmp_89150678/main.java:21: error: class, interface, or enum expected
while (x+1 < screenWidth
^
/root/JavaX-Caches/tmp_89150678/main.java:24: error: class, interface, or enum expected
++x;
^
/root/JavaX-Caches/tmp_89150678/main.java:25: error: class, interface, or enum expected
if (!(screen.getPixel(x, y) == xOuter
^
/root/JavaX-Caches/tmp_89150678/main.java:28: error: class, interface, or enum expected
continue;
^
/root/JavaX-Caches/tmp_89150678/main.java:29: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_89150678/main.java:32: error: class, interface, or enum expected
while (y+1 < screenHeight && screen.getPixel(x, y+1) == c) ++y;
^
/root/JavaX-Caches/tmp_89150678/main.java:33: error: class, interface, or enum expected
int x2 = x, y2 = y;
^
/root/JavaX-Caches/tmp_89150678/main.java:34: error: class, interface, or enum expected
print("Got " + c + " " + (x2-x1) + "/" + (y2-y1));
^
/root/JavaX-Caches/tmp_89150678/main.java:35: error: class, interface, or enum expected
while (x > x1 && screen.getPixel(x-1, y) == c) --x;
^
/root/JavaX-Caches/tmp_89150678/main.java:36: error: class, interface, or enum expected
if (x != x1) null;
^
/root/JavaX-Caches/tmp_89150678/main.java:37: error: class, interface, or enum expected
while (y > y1 && screen.getPixel(x, y-1) == c) --y;
^
/root/JavaX-Caches/tmp_89150678/main.java:38: error: class, interface, or enum expected
if (y != y1) null;
^
/root/JavaX-Caches/tmp_89150678/main.java:39: error: class, interface, or enum expected
ret pointsRect(x1, y1, x2+1, y2+1);
^
/root/JavaX-Caches/tmp_89150678/main.java:40: error: class, interface, or enum expected
Rect r = followRect(x, y, xOuter);
^
/root/JavaX-Caches/tmp_89150678/main.java:41: error: class, interface, or enum expected
if (r != null && r.w > 1 && r.h > 1) {
^
/root/JavaX-Caches/tmp_89150678/main.java:43: error: class, interface, or enum expected
Rect r2 = followRect(x+1, y+1, xInner);
^
/root/JavaX-Caches/tmp_89150678/main.java:44: error: class, interface, or enum expected
if (r2.w+2 == r.w && r2.h+2 == r.h)
^
/root/JavaX-Caches/tmp_89150678/main.java:46: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_89150678/main.java:48: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_89150678/main.java:51: error: class, interface, or enum expected
showThumbnail();
^
/root/JavaX-Caches/tmp_89150678/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_89150678/main.java:56: error: class, interface, or enum expected
int x = x1, y = y1;
^
/root/JavaX-Caches/tmp_89150678/main.java:57: error: class, interface, or enum expected
while (x+1 < screenWidth && screen.getPixel(x+1, y) == c
^
/root/JavaX-Caches/tmp_89150678/main.java:59: error: class, interface, or enum expected
while (y+1 < screenHeight && screen.getPixel(x, y+1) == c) ++y;
^
/root/JavaX-Caches/tmp_89150678/main.java:60: error: class, interface, or enum expected
int x2 = x, y2 = y;
^
/root/JavaX-Caches/tmp_89150678/main.java:61: error: class, interface, or enum expected
print("Got " + c + " " + (x2-x1) + "/" + (y2-y1));
^
/root/JavaX-Caches/tmp_89150678/main.java:62: error: class, interface, or enum expected
while (x > x1 && screen.getPixel(x-1, y) == c) --x;
^
/root/JavaX-Caches/tmp_89150678/main.java:63: error: class, interface, or enum expected
if (x != x1) null;
^
/root/JavaX-Caches/tmp_89150678/main.java:64: error: class, interface, or enum expected
while (y > y1 && screen.getPixel(x, y-1) == c) --y;
^
/root/JavaX-Caches/tmp_89150678/main.java:65: error: class, interface, or enum expected
if (y != y1) null;
^
/root/JavaX-Caches/tmp_89150678/main.java:66: error: class, interface, or enum expected
ret pointsRect(x1, y1, x2+1, y2+1);
^
/root/JavaX-Caches/tmp_89150678/main.java:67: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_89150678/main.java:70: error: class, interface, or enum expected
loop.doSingle(loadBufferedImage("#1005930"));
^
/root/JavaX-Caches/tmp_89150678/main.java:72: error: class, interface, or enum expected
}
^
45 errors