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

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

/root/JavaX-Caches/tmp_550562977/main.java:1: error: class, interface, or enum expected static bool feedSucker_aggressiveKeepalive; ^ /root/JavaX-Caches/tmp_550562977/main.java:3: error: class, interface, or enum expected static void feedSucker(O sucker, S... strategyIDs) { ^ /root/JavaX-Caches/tmp_550562977/main.java:5: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_550562977/main.java:11: error: class, interface, or enum expected printFormat("feedSucker * *", str(sucker), strategyIDs); ^ /root/JavaX-Caches/tmp_550562977/main.java:18: error: illegal start of type *() {} ^ /root/JavaX-Caches/tmp_550562977/main.java:19: error: illegal start of type *(S *id, O *f) {} ^ /root/JavaX-Caches/tmp_550562977/main.java:19: error: <identifier> expected *(S *id, O *f) {} ^ /root/JavaX-Caches/tmp_550562977/main.java:19: error: <identifier> expected *(S *id, O *f) {} ^ /root/JavaX-Caches/tmp_550562977/main.java:19: error: ';' expected *(S *id, O *f) {} ^ /root/JavaX-Caches/tmp_550562977/main.java:19: error: <identifier> expected *(S *id, O *f) {} ^ /root/JavaX-Caches/tmp_550562977/main.java:22: error: class, interface, or enum expected new L<Strategy> strategies; ^ /root/JavaX-Caches/tmp_550562977/main.java:24: error: class, interface, or enum expected O _sucker = sucker; ^ /root/JavaX-Caches/tmp_550562977/main.java:25: error: class, interface, or enum expected if (sucker instanceof S) { ^ /root/JavaX-Caches/tmp_550562977/main.java:27: error: class, interface, or enum expected sucker = run((S) sucker); ^ /root/JavaX-Caches/tmp_550562977/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_550562977/main.java:31: error: class, interface, or enum expected for i over strategyIDs: pcall { ^ /root/JavaX-Caches/tmp_550562977/main.java:33: error: class, interface, or enum expected S id = strategyIDs.get(i); ^ /root/JavaX-Caches/tmp_550562977/main.java:34: error: class, interface, or enum expected strategies.add(new Strategy(id, loadStrategy(id))); ^ /root/JavaX-Caches/tmp_550562977/main.java:35: error: class, interface, or enum expected print("OK"); ^ /root/JavaX-Caches/tmp_550562977/main.java:36: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_550562977/main.java:39: error: class, interface, or enum expected if (empty(strategies)) { print("Exiting!"); ret; } ^ /root/JavaX-Caches/tmp_550562977/main.java:39: error: class, interface, or enum expected if (empty(strategies)) { print("Exiting!"); ret; } ^ /root/JavaX-Caches/tmp_550562977/main.java:39: error: class, interface, or enum expected if (empty(strategies)) { print("Exiting!"); ret; } ^ /root/JavaX-Caches/tmp_550562977/main.java:42: error: class, interface, or enum expected S text = (S) callOpt(sucker, "getText"); ^ /root/JavaX-Caches/tmp_550562977/main.java:43: error: class, interface, or enum expected assertNotNull(text); ^ /root/JavaX-Caches/tmp_550562977/main.java:45: error: class, interface, or enum expected int round = 0; ^ /root/JavaX-Caches/tmp_550562977/main.java:47: error: class, interface, or enum expected while licensed { ^ /root/JavaX-Caches/tmp_550562977/main.java:48: error: class, interface, or enum expected if (empty(strategies)) { print("Exiting!"); ret; } ^ /root/JavaX-Caches/tmp_550562977/main.java:48: error: class, interface, or enum expected if (empty(strategies)) { print("Exiting!"); ret; } ^ /root/JavaX-Caches/tmp_550562977/main.java:50: error: class, interface, or enum expected for i over strategies: pcall { ^ /root/JavaX-Caches/tmp_550562977/main.java:53: error: class, interface, or enum expected ping(); ^ /root/JavaX-Caches/tmp_550562977/main.java:57: error: class, interface, or enum expected print("Round " + round + ", target " + _sucker + ", strategy " + strategy.id); ^ /root/JavaX-Caches/tmp_550562977/main.java:58: error: class, interface, or enum expected S lua = callStrategy(strategy.f, text); ^ /root/JavaX-Caches/tmp_550562977/main.java:60: error: class, interface, or enum expected bool done = eq(lua, "done"); ^ /root/JavaX-Caches/tmp_550562977/main.java:61: error: class, interface, or enum expected if (done || ^ /root/JavaX-Caches/tmp_550562977/main.java:64: error: class, interface, or enum expected strategies.remove(i--); ^ /root/JavaX-Caches/tmp_550562977/main.java:65: error: class, interface, or enum expected continue; ^ /root/JavaX-Caches/tmp_550562977/main.java:66: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_550562977/main.java:69: error: class, interface, or enum expected S desc = "L " + lua; ^ /root/JavaX-Caches/tmp_550562977/main.java:70: error: class, interface, or enum expected O algo = makeLuaTextPredictAlgoFor(desc, sucker); ^ /root/JavaX-Caches/tmp_550562977/main.java:72: error: class, interface, or enum expected O newBest = callOpt(sucker, "suck", desc, algo); ^ /root/JavaX-Caches/tmp_550562977/main.java:73: error: class, interface, or enum expected double score = cast get(sucker, "lastScore"); ^ /root/JavaX-Caches/tmp_550562977/main.java:74: error: class, interface, or enum expected if (isTrue(newBest)) ^ /root/JavaX-Caches/tmp_550562977/main.java:76: error: class, interface, or enum expected } ^ 44 errors