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

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

/root/JavaX-Caches/tmp_1259617665/main.java:1: error: class, interface, or enum expected sclass Feeder { ^ /root/JavaX-Caches/tmp_1259617665/main.java:3: error: class, interface, or enum expected new L<S> strategyIDs; ^ /root/JavaX-Caches/tmp_1259617665/main.java:4: error: class, interface, or enum expected new L<Strategy> strategies; ^ /root/JavaX-Caches/tmp_1259617665/main.java:5: error: class, interface, or enum expected S text; ^ /root/JavaX-Caches/tmp_1259617665/main.java:7: error: class, interface, or enum expected bool aggressiveKeepalive; // keep strategies ^ /root/JavaX-Caches/tmp_1259617665/main.java:8: error: class, interface, or enum expected int round; ^ /root/JavaX-Caches/tmp_1259617665/main.java:10: error: class, interface, or enum expected sclass Strategy { ^ /root/JavaX-Caches/tmp_1259617665/main.java:12: error: class, interface, or enum expected O f; ^ /root/JavaX-Caches/tmp_1259617665/main.java:13: error: class, interface, or enum expected S lastCode; ^ /root/JavaX-Caches/tmp_1259617665/main.java:15: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1259617665/main.java:22: error: class, interface, or enum expected addAll(this.strategyIDs, strategyIDs); ^ /root/JavaX-Caches/tmp_1259617665/main.java:23: error: class, interface, or enum expected loadStrategies(); ^ /root/JavaX-Caches/tmp_1259617665/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1259617665/main.java:28: error: class, interface, or enum expected if (sucker instanceof S) { ^ /root/JavaX-Caches/tmp_1259617665/main.java:30: error: class, interface, or enum expected sucker = run((S) sucker); ^ /root/JavaX-Caches/tmp_1259617665/main.java:31: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1259617665/main.java:33: error: class, interface, or enum expected text = (S) callOpt(sucker, "getText"); ^ /root/JavaX-Caches/tmp_1259617665/main.java:34: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1259617665/main.java:38: error: class, interface, or enum expected for i over strategyIDs: pcall { ^ /root/JavaX-Caches/tmp_1259617665/main.java:40: error: class, interface, or enum expected S id = strategyIDs.get(i); ^ /root/JavaX-Caches/tmp_1259617665/main.java:41: error: class, interface, or enum expected strategies.add(new Strategy(id, loadStrategy(id))); ^ /root/JavaX-Caches/tmp_1259617665/main.java:42: error: class, interface, or enum expected print("OK"); ^ /root/JavaX-Caches/tmp_1259617665/main.java:43: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1259617665/main.java:48: error: class, interface, or enum expected ++round; ^ /root/JavaX-Caches/tmp_1259617665/main.java:49: error: class, interface, or enum expected bool change = false; ^ /root/JavaX-Caches/tmp_1259617665/main.java:50: error: class, interface, or enum expected for i over strategies: pcall { ^ /root/JavaX-Caches/tmp_1259617665/main.java:52: error: class, interface, or enum expected ping(); ^ /root/JavaX-Caches/tmp_1259617665/main.java:56: error: class, interface, or enum expected print("Round " + round + ", target " + origSucker + ", strategy " + strategy.id); ^ /root/JavaX-Caches/tmp_1259617665/main.java:57: error: class, interface, or enum expected S lua = callStrategy(strategy.f, text); ^ /root/JavaX-Caches/tmp_1259617665/main.java:59: error: class, interface, or enum expected bool done = eq(lua, "done"); ^ /root/JavaX-Caches/tmp_1259617665/main.java:60: error: class, interface, or enum expected if (done || ^ /root/JavaX-Caches/tmp_1259617665/main.java:63: error: class, interface, or enum expected strategies.remove(i--); ^ /root/JavaX-Caches/tmp_1259617665/main.java:64: error: class, interface, or enum expected continue; ^ /root/JavaX-Caches/tmp_1259617665/main.java:65: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1259617665/main.java:68: error: class, interface, or enum expected S desc = "L " + lua; ^ /root/JavaX-Caches/tmp_1259617665/main.java:69: error: class, interface, or enum expected O algo = makeLuaTextPredictAlgoFor(desc, sucker); ^ /root/JavaX-Caches/tmp_1259617665/main.java:71: error: class, interface, or enum expected O newBest = callOpt(sucker, "suck", desc, algo); ^ /root/JavaX-Caches/tmp_1259617665/main.java:72: error: class, interface, or enum expected double score = cast get(sucker, "lastScore"); ^ /root/JavaX-Caches/tmp_1259617665/main.java:73: error: class, interface, or enum expected if (isTrue(newBest)) { ^ /root/JavaX-Caches/tmp_1259617665/main.java:75: error: class, interface, or enum expected change = true; ^ /root/JavaX-Caches/tmp_1259617665/main.java:76: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1259617665/main.java:79: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1259617665/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1259617665/main.java:89: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1259617665/main.java:93: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1259617665/main.java:97: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1259617665/main.java:101: error: class, interface, or enum expected if (pivotLength <= 0) fail("Too short"); ^ /root/JavaX-Caches/tmp_1259617665/main.java:102: error: class, interface, or enum expected set(sucker, "pivotLength", pivotLength); ^ /root/JavaX-Caches/tmp_1259617665/main.java:103: error: class, interface, or enum expected print("Pivot length now: " + pivotLength); ^ /root/JavaX-Caches/tmp_1259617665/main.java:104: error: class, interface, or enum expected call(sucker, "reset"); ^ /root/JavaX-Caches/tmp_1259617665/main.java:105: error: class, interface, or enum expected } ^ 51 errors