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

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

/root/JavaX-Caches/tmp_573777356/main.java:3: error: class, interface, or enum expected static int steps = 1000; // execution steps limit ^ /root/JavaX-Caches/tmp_573777356/main.java:4: error: class, interface, or enum expected static int verifications = 1000; // sets of data to verify program with ^ /root/JavaX-Caches/tmp_573777356/main.java:6: error: class, interface, or enum expected lib 1004739 // magic.jar for Lua ^ /root/JavaX-Caches/tmp_573777356/main.java:9: error: class, interface, or enum expected abstract S getLua(); ^ /root/JavaX-Caches/tmp_573777356/main.java:10: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_573777356/main.java:13: error: class, interface, or enum expected static int round; ^ /root/JavaX-Caches/tmp_573777356/main.java:14: error: class, interface, or enum expected static S verifiedProgram; ^ /root/JavaX-Caches/tmp_573777356/main.java:16: error: class, interface, or enum expected svoid go() { ^ /root/JavaX-Caches/tmp_573777356/main.java:18: error: class, interface, or enum expected new Best<Make> best; ^ /root/JavaX-Caches/tmp_573777356/main.java:19: error: class, interface, or enum expected new Best<S> bestProgram; ^ /root/JavaX-Caches/tmp_573777356/main.java:20: error: class, interface, or enum expected while (licensed()) { ^ /root/JavaX-Caches/tmp_573777356/main.java:22: error: class, interface, or enum expected ++round; ^ /root/JavaX-Caches/tmp_573777356/main.java:23: error: class, interface, or enum expected updatePool(); ^ /root/JavaX-Caches/tmp_573777356/main.java:25: error: class, interface, or enum expected new HashMap<Make, Number> scores; ^ /root/JavaX-Caches/tmp_573777356/main.java:26: error: class, interface, or enum expected int[] data = makeData(); ^ /root/JavaX-Caches/tmp_573777356/main.java:28: error: class, interface, or enum expected for (Make maker : pool) { ^ /root/JavaX-Caches/tmp_573777356/main.java:30: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_573777356/main.java:33: error: class, interface, or enum expected if ((round % 10) == 0) print(program); ^ /root/JavaX-Caches/tmp_573777356/main.java:34: error: class, interface, or enum expected int score = scoreProgram(program, data); ^ /root/JavaX-Caches/tmp_573777356/main.java:35: error: class, interface, or enum expected scores.put(maker, score); ^ /root/JavaX-Caches/tmp_573777356/main.java:36: error: class, interface, or enum expected best.put(maker, score); ^ /root/JavaX-Caches/tmp_573777356/main.java:37: error: class, interface, or enum expected bestProgram.put(program, score); ^ /root/JavaX-Caches/tmp_573777356/main.java:39: error: class, interface, or enum expected if (score == 0) { ^ /root/JavaX-Caches/tmp_573777356/main.java:41: error: class, interface, or enum expected if (vround >= verifications) { ^ /root/JavaX-Caches/tmp_573777356/main.java:43: error: class, interface, or enum expected verifiedProgram = program; ^ /root/JavaX-Caches/tmp_573777356/main.java:44: error: class, interface, or enum expected print(); ^ /root/JavaX-Caches/tmp_573777356/main.java:45: error: class, interface, or enum expected print(indent(topBottomLines('=', program))); ^ /root/JavaX-Caches/tmp_573777356/main.java:46: error: class, interface, or enum expected ret; ^ /root/JavaX-Caches/tmp_573777356/main.java:47: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_573777356/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_573777356/main.java:56: error: class, interface, or enum expected if ((round % 10) == 0) ^ /root/JavaX-Caches/tmp_573777356/main.java:58: error: class, interface, or enum expected if ((round % 100) == 0) ^ /root/JavaX-Caches/tmp_573777356/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_573777356/main.java:66: error: class, interface, or enum expected int score; ^ /root/JavaX-Caches/tmp_573777356/main.java:68: error: class, interface, or enum expected void put(A a, int score) { ^ /root/JavaX-Caches/tmp_573777356/main.java:71: error: class, interface, or enum expected this.score = score; ^ /root/JavaX-Caches/tmp_573777356/main.java:72: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_573777356/main.java:75: error: class, interface, or enum expected A get() { ret best; } ^ /root/JavaX-Caches/tmp_573777356/main.java:78: error: class, interface, or enum expected static Sandbox makeSandbox(final Grid g) { ^ /root/JavaX-Caches/tmp_573777356/main.java:81: error: class, interface, or enum expected s.setOuter("get", new OneArgFunction() { ^ /root/JavaX-Caches/tmp_573777356/main.java:82: error: class, interface, or enum expected public LuaValue call(LuaValue arg) { ^ /root/JavaX-Caches/tmp_573777356/main.java:84: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_573777356/main.java:87: error: class, interface, or enum expected s.setOuter("swap", new TwoArgFunction() { ^ /root/JavaX-Caches/tmp_573777356/main.java:88: error: class, interface, or enum expected public LuaValue call(LuaValue a, LuaValue b) { ^ /root/JavaX-Caches/tmp_573777356/main.java:90: error: class, interface, or enum expected ret Lua.NIL; ^ /root/JavaX-Caches/tmp_573777356/main.java:91: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_573777356/main.java:94: error: class, interface, or enum expected ret s; ^ /root/JavaX-Caches/tmp_573777356/main.java:95: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_573777356/main.java:99: error: class, interface, or enum expected Sandbox sandbox = makeSandbox(grid); ^ /root/JavaX-Caches/tmp_573777356/main.java:100: error: class, interface, or enum expected luaMaxSteps(steps); ^ /root/JavaX-Caches/tmp_573777356/main.java:101: error: class, interface, or enum expected quickLua(sandbox, program); ^ /root/JavaX-Caches/tmp_573777356/main.java:102: error: class, interface, or enum expected ret getScore(grid, data); ^ /root/JavaX-Caches/tmp_573777356/main.java:103: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_573777356/main.java:107: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_573777356/main.java:108: error: class, interface, or enum expected for (i = 0; i < verifications; i++) ^ /root/JavaX-Caches/tmp_573777356/main.java:108: error: class, interface, or enum expected for (i = 0; i < verifications; i++) ^ /root/JavaX-Caches/tmp_573777356/main.java:111: error: class, interface, or enum expected ret verifications; ^ /root/JavaX-Caches/tmp_573777356/main.java:112: error: class, interface, or enum expected } catch { ^ /root/JavaX-Caches/tmp_573777356/main.java:114: error: class, interface, or enum expected } ^ 59 errors