Wrote /root/JavaX-Caches/tmp_1581756859/main.java - 7702 bytes (written=7702, should be 7702) 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_1292475303 /root/JavaX-Caches/tmp_1581756859/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_1581756859/main.java:5: error: class, interface, or enum expected sinterface GameForAI { ^ /root/JavaX-Caches/tmp_1581756859/main.java:7: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1581756859/main.java:9: error: class, interface, or enum expected abstract sclass AI { ^ /root/JavaX-Caches/tmp_1581756859/main.java:13: error: class, interface, or enum expected RGBImage image; ^ /root/JavaX-Caches/tmp_1581756859/main.java:14: error: class, interface, or enum expected int steps; ^ /root/JavaX-Caches/tmp_1581756859/main.java:15: error: class, interface, or enum expected bool visualize = true; ^ /root/JavaX-Caches/tmp_1581756859/main.java:17: error: class, interface, or enum expected RGBImage image() { ret image; } ^ /root/JavaX-Caches/tmp_1581756859/main.java:17: error: class, interface, or enum expected RGBImage image() { ret image; } ^ /root/JavaX-Caches/tmp_1581756859/main.java:18: error: class, interface, or enum expected int w() { ret image.w(); } ^ /root/JavaX-Caches/tmp_1581756859/main.java:19: error: class, interface, or enum expected int h() { ret image.h(); } ^ /root/JavaX-Caches/tmp_1581756859/main.java:20: error: class, interface, or enum expected L<Rect> submit(Pt p) { ret game.submit(p); } ^ /root/JavaX-Caches/tmp_1581756859/main.java:21: error: class, interface, or enum expected L<Rect> submit(Rect r) { ret submit(middleOfRect(r)); } ^ /root/JavaX-Caches/tmp_1581756859/main.java:22: error: class, interface, or enum expected L<Rect> submitNothing() { ret game.submit(null); } ^ /root/JavaX-Caches/tmp_1581756859/main.java:25: error: class, interface, or enum expected abstract void go(); ^ /root/JavaX-Caches/tmp_1581756859/main.java:27: error: class, interface, or enum expected void done() {} ^ /root/JavaX-Caches/tmp_1581756859/main.java:35: error: class, interface, or enum expected static int rounds = 1000; ^ /root/JavaX-Caches/tmp_1581756859/main.java:36: error: class, interface, or enum expected static bool alwaysNewImage = true; // prevents AIs being stuck on an image ^ /root/JavaX-Caches/tmp_1581756859/main.java:37: error: class, interface, or enum expected static double imageZoom = 2; ^ /root/JavaX-Caches/tmp_1581756859/main.java:38: error: class, interface, or enum expected static int fps = 50; ^ /root/JavaX-Caches/tmp_1581756859/main.java:39: error: class, interface, or enum expected static bool showBlunderWindow; ^ /root/JavaX-Caches/tmp_1581756859/main.java:40: error: class, interface, or enum expected sS nonClickName = null; ^ /root/JavaX-Caches/tmp_1581756859/main.java:42: error: class, interface, or enum expected static int points, clicks, halfTime; ^ /root/JavaX-Caches/tmp_1581756859/main.java:43: error: class, interface, or enum expected static ImageSurface is, isWrong; ^ /root/JavaX-Caches/tmp_1581756859/main.java:44: error: class, interface, or enum expected static long isWrongLast; ^ /root/JavaX-Caches/tmp_1581756859/main.java:45: error: class, interface, or enum expected static RGBImage img; ^ /root/JavaX-Caches/tmp_1581756859/main.java:46: error: class, interface, or enum expected static new HashMap<Rect, Int> words; ^ /root/JavaX-Caches/tmp_1581756859/main.java:47: error: class, interface, or enum expected static L<Rect> solution; ^ /root/JavaX-Caches/tmp_1581756859/main.java:48: error: class, interface, or enum expected volatile sbool aiMode; ^ /root/JavaX-Caches/tmp_1581756859/main.java:49: error: class, interface, or enum expected static JLabel lblScore, lblTiming, lblInstruction; ^ /root/JavaX-Caches/tmp_1581756859/main.java:50: error: class, interface, or enum expected static new HashMap<Class, AI> ais; ^ /root/JavaX-Caches/tmp_1581756859/main.java:51: error: class, interface, or enum expected static S winner; ^ /root/JavaX-Caches/tmp_1581756859/main.java:53: error: class, interface, or enum expected svoid pGame { ^ /root/JavaX-Caches/tmp_1581756859/main.java:55: error: class, interface, or enum expected swing { ^ /root/JavaX-Caches/tmp_1581756859/main.java:56: error: illegal character: '#' thread { loadBinarySnippet(#1004373); } // preload applause animation ^ /root/JavaX-Caches/tmp_1581756859/main.java:56: error: class, interface, or enum expected thread { loadBinarySnippet(#1004373); } // preload applause animation ^ /root/JavaX-Caches/tmp_1581756859/main.java:58: error: class, interface, or enum expected nextImage(); ^ /root/JavaX-Caches/tmp_1581756859/main.java:59: error: class, interface, or enum expected addToWindowTop(is, withMargin(lblInstruction)); ^ /root/JavaX-Caches/tmp_1581756859/main.java:60: error: class, interface, or enum expected if (nempty(nonClickName)) ^ /root/JavaX-Caches/tmp_1581756859/main.java:64: error: class, interface, or enum expected addToWindow(is, withMargin(lblScore = jcenteredBoldLabel("Your score: 0 of 0"))); ^ /root/JavaX-Caches/tmp_1581756859/main.java:65: error: class, interface, or enum expected for (final Class c : myNonAbstractClassesImplementing(AI)) { ^ /root/JavaX-Caches/tmp_1581756859/main.java:65: error: class, interface, or enum expected for (final Class c : myNonAbstractClassesImplementing(AI)) { ^ /root/JavaX-Caches/tmp_1581756859/main.java:66: error: class, interface, or enum expected final S name = shortClassName(c); ^ /root/JavaX-Caches/tmp_1581756859/main.java:67: error: class, interface, or enum expected final JButton btn = jbutton(name); ^ /root/JavaX-Caches/tmp_1581756859/main.java:68: error: class, interface, or enum expected onClick(btn, r { ^ /root/JavaX-Caches/tmp_1581756859/main.java:70: error: class, interface, or enum expected btn.setText(name + " Running..."); ^ /root/JavaX-Caches/tmp_1581756859/main.java:71: error: class, interface, or enum expected thread { ^ /root/JavaX-Caches/tmp_1581756859/main.java:75: error: class, interface, or enum expected if (game.step > halfTime) ^ /root/JavaX-Caches/tmp_1581756859/main.java:77: error: class, interface, or enum expected if (game.error != null) ^ /root/JavaX-Caches/tmp_1581756859/main.java:79: error: class, interface, or enum expected setText_noWait(btn, text); ^ /root/JavaX-Caches/tmp_1581756859/main.java:80: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1581756859/main.java:82: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1581756859/main.java:84: error: class, interface, or enum expected addToWindow(is, withMargin(btn)); ^ /root/JavaX-Caches/tmp_1581756859/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1581756859/main.java:87: error: class, interface, or enum expected titlePopupMenuItem(is, "Show Winner Code", f showWinnerCode); ^ /root/JavaX-Caches/tmp_1581756859/main.java:88: error: class, interface, or enum expected titlePopupMenuItem(is, "Restart AIs", r { clearMapWithCleanUp(ais); }); ^ /root/JavaX-Caches/tmp_1581756859/main.java:88: error: class, interface, or enum expected titlePopupMenuItem(is, "Restart AIs", r { clearMapWithCleanUp(ais); }); ^ /root/JavaX-Caches/tmp_1581756859/main.java:89: error: class, interface, or enum expected titlePopupMenuItem(is, jCheckBoxMenuItem("Show Blunder Window", showBlunderWindow, r { showBlunderWindow = !showBlunderWindow; })); ^ /root/JavaX-Caches/tmp_1581756859/main.java:89: error: class, interface, or enum expected titlePopupMenuItem(is, jCheckBoxMenuItem("Show Blunder Window", showBlunderWindow, r { showBlunderWindow = !showBlunderWindow; })); ^ /root/JavaX-Caches/tmp_1581756859/main.java:90: error: class, interface, or enum expected addToWindow(is, withMargin(jbutton("Restart AIs", r { clearMapWithCleanUp(ais); }))); ^ /root/JavaX-Caches/tmp_1581756859/main.java:90: error: class, interface, or enum expected addToWindow(is, withMargin(jbutton("Restart AIs", r { clearMapWithCleanUp(ais); }))); ^ /root/JavaX-Caches/tmp_1581756859/main.java:92: error: class, interface, or enum expected packFrame(is); ^ /root/JavaX-Caches/tmp_1581756859/main.java:93: error: class, interface, or enum expected setFrameWidth(is, 400); ^ /root/JavaX-Caches/tmp_1581756859/main.java:94: error: class, interface, or enum expected centerTopFrame(is); ^ /root/JavaX-Caches/tmp_1581756859/main.java:95: error: class, interface, or enum expected hideConsole(); ^ /root/JavaX-Caches/tmp_1581756859/main.java:96: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1581756859/main.java:101: error: class, interface, or enum expected RGBImage image; ^ /root/JavaX-Caches/tmp_1581756859/main.java:102: error: class, interface, or enum expected L<Rect> solution; ^ /root/JavaX-Caches/tmp_1581756859/main.java:104: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1581756859/main.java:107: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1581756859/main.java:114: error: class, interface, or enum expected setText(lblInstruction, or2(puzzle.instruction, "?")); ^ /root/JavaX-Caches/tmp_1581756859/main.java:115: error: class, interface, or enum expected assertNotNull("Image is null", puzzle.image); ^ /root/JavaX-Caches/tmp_1581756859/main.java:116: error: class, interface, or enum expected main.img = puzzle.image; ^ /root/JavaX-Caches/tmp_1581756859/main.java:117: error: class, interface, or enum expected solution = puzzle.solution; ^ /root/JavaX-Caches/tmp_1581756859/main.java:118: error: class, interface, or enum expected nonClickName = puzzle.nonClickName; ^ /root/JavaX-Caches/tmp_1581756859/main.java:119: error: class, interface, or enum expected if (aiMode) ret; // occasional updates only when AI is running ^ /root/JavaX-Caches/tmp_1581756859/main.java:120: error: class, interface, or enum expected showTheImage(); ^ /root/JavaX-Caches/tmp_1581756859/main.java:121: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1581756859/main.java:125: error: class, interface, or enum expected is = showZoomedImage_centered(is, img, imageZoom); ^ /root/JavaX-Caches/tmp_1581756859/main.java:126: error: class, interface, or enum expected if (first) { ^ /root/JavaX-Caches/tmp_1581756859/main.java:128: error: class, interface, or enum expected disableImageSurfaceSelector(is); ^ /root/JavaX-Caches/tmp_1581756859/main.java:131: error: class, interface, or enum expected awtEvery(is, 1000, r { ^ /root/JavaX-Caches/tmp_1581756859/main.java:134: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_1581756859/main.java:137: error: class, interface, or enum expected awtEvery(is, 1000/fps, r { ^ /root/JavaX-Caches/tmp_1581756859/main.java:139: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_1581756859/main.java:140: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1581756859/main.java:147: error: class, interface, or enum expected Pt submitted; ^ /root/JavaX-Caches/tmp_1581756859/main.java:148: error: class, interface, or enum expected Throwable error; ^ /root/JavaX-Caches/tmp_1581756859/main.java:150: error: class, interface, or enum expected public L<Rect> submit(Pt p) { ^ /root/JavaX-Caches/tmp_1581756859/main.java:152: error: class, interface, or enum expected submitted = p == null ? nonPoint() : p; ^ /root/JavaX-Caches/tmp_1581756859/main.java:153: error: class, interface, or enum expected bool correct = empty(solution) ? p == null ^ /root/JavaX-Caches/tmp_1581756859/main.java:156: error: class, interface, or enum expected if (correct) { ^ /root/JavaX-Caches/tmp_1581756859/main.java:158: error: class, interface, or enum expected if (!alwaysNewImage) nextImage(); ^ /root/JavaX-Caches/tmp_1581756859/main.java:159: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1581756859/main.java:161: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1581756859/main.java:164: error: class, interface, or enum expected static Game scoreAI(final AI ai, O onScore) { ^ /root/JavaX-Caches/tmp_1581756859/main.java:166: error: class, interface, or enum expected final long start = sysNow(); ^ /root/JavaX-Caches/tmp_1581756859/main.java:167: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1581756859/main.java:168: error: class, interface, or enum expected final new Game game; ^ /root/JavaX-Caches/tmp_1581756859/main.java:169: error: class, interface, or enum expected setOpt(ai, +game); ^ /root/JavaX-Caches/tmp_1581756859/main.java:170: error: class, interface, or enum expected halfTime = rounds/2; ^ 100 errors only showing the first 100 errors, of 146 total; use -Xmaxerrs if you would like to see more