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

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

/root/JavaX-Caches/tmp_1099521113/main.java:2: error: class, interface, or enum expected static S url = "http://bots.tinybrain.de/1002076/raw"; ^ /root/JavaX-Caches/tmp_1099521113/main.java:3: error: class, interface, or enum expected static S param = "q"; ^ /root/JavaX-Caches/tmp_1099521113/main.java:4: error: class, interface, or enum expected static int delayPerQuestionMS = 50; // time for other threads to do something ^ /root/JavaX-Caches/tmp_1099521113/main.java:6: error: class, interface, or enum expected static new L<L<S>> qlist; // questions and answers ^ /root/JavaX-Caches/tmp_1099521113/main.java:8: error: class, interface, or enum expected static new L<S> protocol; ^ /root/JavaX-Caches/tmp_1099521113/main.java:16: error: class, interface, or enum expected static PersistentMap<S, TuringScore> scores; // key = url ^ /root/JavaX-Caches/tmp_1099521113/main.java:18: error: class, interface, or enum expected p { ^ /root/JavaX-Caches/tmp_1099521113/main.java:21: error: class, interface, or enum expected tests(); ^ /root/JavaX-Caches/tmp_1099521113/main.java:23: error: class, interface, or enum expected prot("It is unix day " + unixDay() + " (timestamp " + unixTime() + "), and we are doing some Turing testing!"); ^ /root/JavaX-Caches/tmp_1099521113/main.java:24: error: class, interface, or enum expected prot("Test ID: " + formatSnippetID(getProgramID())); ^ /root/JavaX-Caches/tmp_1099521113/main.java:25: error: class, interface, or enum expected prot(); ^ /root/JavaX-Caches/tmp_1099521113/main.java:26: error: class, interface, or enum expected prot("Made " + n(l(qlist), "question") + "."); ^ /root/JavaX-Caches/tmp_1099521113/main.java:27: error: class, interface, or enum expected prot(); ^ /root/JavaX-Caches/tmp_1099521113/main.java:28: error: class, interface, or enum expected prot("Checking " + url + "..."); ^ /root/JavaX-Caches/tmp_1099521113/main.java:30: error: class, interface, or enum expected int score = 0; ^ /root/JavaX-Caches/tmp_1099521113/main.java:31: error: class, interface, or enum expected time { ^ /root/JavaX-Caches/tmp_1099521113/main.java:35: error: class, interface, or enum expected long t = now(); ^ /root/JavaX-Caches/tmp_1099521113/main.java:36: error: class, interface, or enum expected S result = getAnswer(q); ^ /root/JavaX-Caches/tmp_1099521113/main.java:37: error: class, interface, or enum expected t = now()-t; ^ /root/JavaX-Caches/tmp_1099521113/main.java:38: error: class, interface, or enum expected result = htmldecode(result); ^ /root/JavaX-Caches/tmp_1099521113/main.java:39: error: class, interface, or enum expected S line = q + " => " + result + " [" + t + " ms]"; ^ /root/JavaX-Caches/tmp_1099521113/main.java:40: error: class, interface, or enum expected boolean ok = turingMatch(a, result); ^ /root/JavaX-Caches/tmp_1099521113/main.java:41: error: class, interface, or enum expected if (ok) { ^ /root/JavaX-Caches/tmp_1099521113/main.java:43: error: class, interface, or enum expected prot("OK " + line); ^ /root/JavaX-Caches/tmp_1099521113/main.java:44: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_1099521113/main.java:46: error: class, interface, or enum expected } catch (Throwable e) { ^ /root/JavaX-Caches/tmp_1099521113/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1099521113/main.java:51: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1099521113/main.java:54: error: class, interface, or enum expected prot("Time elapsed: " + lastTiming() + " ms"); ^ /root/JavaX-Caches/tmp_1099521113/main.java:55: error: class, interface, or enum expected prot(""); ^ /root/JavaX-Caches/tmp_1099521113/main.java:56: error: class, interface, or enum expected prot(format("Score for *: * / *", url, score, l(qlist))); ^ /root/JavaX-Caches/tmp_1099521113/main.java:58: error: class, interface, or enum expected new TuringScore ts; ^ /root/JavaX-Caches/tmp_1099521113/main.java:59: error: class, interface, or enum expected ts.date = now(); ^ /root/JavaX-Caches/tmp_1099521113/main.java:60: error: class, interface, or enum expected ts.url = url; ^ /root/JavaX-Caches/tmp_1099521113/main.java:61: error: class, interface, or enum expected ts.score = score; ^ /root/JavaX-Caches/tmp_1099521113/main.java:62: error: class, interface, or enum expected ts.n = l(qlist); ^ /root/JavaX-Caches/tmp_1099521113/main.java:64: error: class, interface, or enum expected logStructure(getProgramFile("turing-tests.log"), ts); ^ /root/JavaX-Caches/tmp_1099521113/main.java:65: error: class, interface, or enum expected scores.put(url, ts); ^ /root/JavaX-Caches/tmp_1099521113/main.java:67: error: class, interface, or enum expected saveTextFile(getProgramFile("protocol-" + urlencode(url)), fromLines(protocol)); ^ /root/JavaX-Caches/tmp_1099521113/main.java:68: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1099521113/main.java:72: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1099521113/main.java:76: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1099521113/main.java:80: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1099521113/main.java:84: error: class, interface, or enum expected protocol.add(s); ^ /root/JavaX-Caches/tmp_1099521113/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1099521113/main.java:87: error: class, interface, or enum expected static void prot() { prot(""); } ^ /root/JavaX-Caches/tmp_1099521113/main.java:91: error: class, interface, or enum expected if (mainBot != null) { ^ /root/JavaX-Caches/tmp_1099521113/main.java:96: error: class, interface, or enum expected ret (S) call(mainBot, "answer", q); ^ /root/JavaX-Caches/tmp_1099521113/main.java:97: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_1099521113/main.java:99: error: class, interface, or enum expected } ^ 50 errors