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

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

/root/JavaX-Caches/tmp_2002807949/main.java:1: error: class, interface, or enum expected sclass Thinker { ^ /root/JavaX-Caches/tmp_2002807949/main.java:3: error: class, interface, or enum expected int listMakingTimeout = 2000; ^ /root/JavaX-Caches/tmp_2002807949/main.java:4: error: class, interface, or enum expected int maxListLength = 100; ^ /root/JavaX-Caches/tmp_2002807949/main.java:5: error: class, interface, or enum expected bool showExceptions, debug; ^ /root/JavaX-Caches/tmp_2002807949/main.java:6: error: class, interface, or enum expected volatile int load; ^ /root/JavaX-Caches/tmp_2002807949/main.java:7: error: class, interface, or enum expected O env; // must supply "makeGenerators" ^ /root/JavaX-Caches/tmp_2002807949/main.java:9: error: class, interface, or enum expected void startUp(O env, L<S> log) { ^ /root/JavaX-Caches/tmp_2002807949/main.java:11: error: class, interface, or enum expected readLocally2(this, "ranking"); ^ /root/JavaX-Caches/tmp_2002807949/main.java:12: error: class, interface, or enum expected print("Ranking: " + structure(ranking)); ^ /root/JavaX-Caches/tmp_2002807949/main.java:13: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2002807949/main.java:19: error: class, interface, or enum expected logQuoted("recommendations.txt", solverID); ^ /root/JavaX-Caches/tmp_2002807949/main.java:20: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_2002807949/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2002807949/main.java:26: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2002807949/main.java:32: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_2002807949/main.java:34: error: class, interface, or enum expected new HashMap<S, Map> seen; // maps to the line ^ /root/JavaX-Caches/tmp_2002807949/main.java:37: error: class, interface, or enum expected L<S> xlog = listPlus(thelog, input); ^ /root/JavaX-Caches/tmp_2002807949/main.java:41: error: class, interface, or enum expected new L<Gen> gens; ^ /root/JavaX-Caches/tmp_2002807949/main.java:42: error: class, interface, or enum expected for (bool completing : ll(false, true)) { ^ /root/JavaX-Caches/tmp_2002807949/main.java:44: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_2002807949/main.java:46: error: class, interface, or enum expected gOtherLogs_set(otherLogs); ^ /root/JavaX-Caches/tmp_2002807949/main.java:47: error: class, interface, or enum expected gCompleting_set(completing); ^ /root/JavaX-Caches/tmp_2002807949/main.java:48: error: class, interface, or enum expected call(env, "makeGenerators", gens_); ^ /root/JavaX-Caches/tmp_2002807949/main.java:49: error: class, interface, or enum expected for (Gen g : gens_) ^ /root/JavaX-Caches/tmp_2002807949/main.java:51: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_2002807949/main.java:53: error: class, interface, or enum expected gOtherLogs_clear(); ^ /root/JavaX-Caches/tmp_2002807949/main.java:54: error: class, interface, or enum expected gCompleting_set(null); ^ /root/JavaX-Caches/tmp_2002807949/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2002807949/main.java:64: error: class, interface, or enum expected int i = -1; ^ /root/JavaX-Caches/tmp_2002807949/main.java:65: error: class, interface, or enum expected while (now() < timeout && l(l) < maxListLength && nempty(gens)) { ^ /root/JavaX-Caches/tmp_2002807949/main.java:67: error: class, interface, or enum expected Gen gen = gens.get(i); ^ /root/JavaX-Caches/tmp_2002807949/main.java:68: error: class, interface, or enum expected bool completing = gen.name.endsWith("/i"); ^ /root/JavaX-Caches/tmp_2002807949/main.java:70: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_2002807949/main.java:72: error: class, interface, or enum expected gOtherLogs_set(otherLogs); ^ /root/JavaX-Caches/tmp_2002807949/main.java:73: error: class, interface, or enum expected gCompleting_set(completing); ^ /root/JavaX-Caches/tmp_2002807949/main.java:74: error: class, interface, or enum expected bool remove = false; ^ /root/JavaX-Caches/tmp_2002807949/main.java:75: error: class, interface, or enum expected if (debug) ^ /root/JavaX-Caches/tmp_2002807949/main.java:77: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_2002807949/main.java:79: error: class, interface, or enum expected if (empty(s) /*|| eq(input, s)*/) ^ /root/JavaX-Caches/tmp_2002807949/main.java:81: error: class, interface, or enum expected else if (seen.containsKey(s)) { ^ /root/JavaX-Caches/tmp_2002807949/main.java:83: error: class, interface, or enum expected setAdd((L) line.get("Suggesters"), gen.name); ^ /root/JavaX-Caches/tmp_2002807949/main.java:84: error: class, interface, or enum expected remove = true; ^ /root/JavaX-Caches/tmp_2002807949/main.java:85: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_2002807949/main.java:87: error: class, interface, or enum expected l.add(line); ^ /root/JavaX-Caches/tmp_2002807949/main.java:88: error: class, interface, or enum expected seen.put(s, line); ^ /root/JavaX-Caches/tmp_2002807949/main.java:89: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2002807949/main.java:93: error: class, interface, or enum expected remove = true; ^ /root/JavaX-Caches/tmp_2002807949/main.java:94: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2002807949/main.java:97: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_2002807949/main.java:99: error: class, interface, or enum expected gOtherLogs_clear(); ^ /root/JavaX-Caches/tmp_2002807949/main.java:100: error: class, interface, or enum expected gCompleting_set(null); ^ /root/JavaX-Caches/tmp_2002807949/main.java:101: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2002807949/main.java:105: error: class, interface, or enum expected l.add(e.toString()); ^ /root/JavaX-Caches/tmp_2002807949/main.java:106: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_2002807949/main.java:108: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2002807949/main.java:113: error: class, interface, or enum expected new L<Gen> l; ^ /root/JavaX-Caches/tmp_2002807949/main.java:114: error: class, interface, or enum expected L<S> rank = cloneList(ranking); ^ /root/JavaX-Caches/tmp_2002807949/main.java:115: error: class, interface, or enum expected for (S name : rank) { ^ /root/JavaX-Caches/tmp_2002807949/main.java:117: error: class, interface, or enum expected if (g != null) { ^ /root/JavaX-Caches/tmp_2002807949/main.java:119: error: class, interface, or enum expected index.remove(name); ^ /root/JavaX-Caches/tmp_2002807949/main.java:120: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2002807949/main.java:125: error: class, interface, or enum expected ret l; ^ /root/JavaX-Caches/tmp_2002807949/main.java:126: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2002807949/main.java:130: error: class, interface, or enum expected if (eq(first(ranking), name)) ret; ^ /root/JavaX-Caches/tmp_2002807949/main.java:131: error: class, interface, or enum expected ranking.remove(name); ^ /root/JavaX-Caches/tmp_2002807949/main.java:132: error: class, interface, or enum expected ranking.add(0, name); ^ /root/JavaX-Caches/tmp_2002807949/main.java:133: error: class, interface, or enum expected saveLocally2(this, "ranking"); ^ /root/JavaX-Caches/tmp_2002807949/main.java:134: error: class, interface, or enum expected print("New ranking: " + structure(ranking)); ^ /root/JavaX-Caches/tmp_2002807949/main.java:135: error: class, interface, or enum expected } ^ 69 errors