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

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

/root/JavaX-Caches/tmp_994922242/main.java:1: error: class, interface, or enum expected static void ai_compactLiveDB(bool withPhase2) { ^ /root/JavaX-Caches/tmp_994922242/main.java:3: error: class, interface, or enum expected c.phase1(); ^ /root/JavaX-Caches/tmp_994922242/main.java:4: error: class, interface, or enum expected if (!withPhase2) ret; ^ /root/JavaX-Caches/tmp_994922242/main.java:5: error: class, interface, or enum expected print("PHASE 2 in 5 SECONDS"); ^ /root/JavaX-Caches/tmp_994922242/main.java:6: error: class, interface, or enum expected sleepSeconds(5); ^ /root/JavaX-Caches/tmp_994922242/main.java:7: error: class, interface, or enum expected c.phase2(); ^ /root/JavaX-Caches/tmp_994922242/main.java:8: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_994922242/main.java:13: error: class, interface, or enum expected void phase1() ctex { ^ /root/JavaX-Caches/tmp_994922242/main.java:16: error: illegal character: '#' mainLog = programFile(#1010745, "webs-made.txt"); ^ /root/JavaX-Caches/tmp_994922242/main.java:17: error: class, interface, or enum expected rotateLogFile(mainLog); ^ /root/JavaX-Caches/tmp_994922242/main.java:19: error: class, interface, or enum expected File tripelizedDir = programDir(#1010745, "tripelized"); ^ /root/JavaX-Caches/tmp_994922242/main.java:19: error: illegal character: '#' File tripelizedDir = programDir(#1010745, "tripelized"); ^ /root/JavaX-Caches/tmp_994922242/main.java:20: error: class, interface, or enum expected fTriples = programFile(#1010745, "triples.gz"); ^ /root/JavaX-Caches/tmp_994922242/main.java:20: error: illegal character: '#' fTriples = programFile(#1010745, "triples.gz"); ^ /root/JavaX-Caches/tmp_994922242/main.java:24: error: class, interface, or enum expected file = new File(tripelizedDir, "triples.new.gz"); ^ /root/JavaX-Caches/tmp_994922242/main.java:25: error: class, interface, or enum expected OutputStream out = newGZIPOutputStream(file); ^ /root/JavaX-Caches/tmp_994922242/main.java:26: error: class, interface, or enum expected int n = ai_writeTripleFile(ai_allTriples(), out); ^ /root/JavaX-Caches/tmp_994922242/main.java:27: error: class, interface, or enum expected out.close(); ^ /root/JavaX-Caches/tmp_994922242/main.java:31: error: class, interface, or enum expected file2 = new File(tripelizedDir, "webs-made.new.gz"); ^ /root/JavaX-Caches/tmp_994922242/main.java:32: error: class, interface, or enum expected deleteFile(file2); ^ /root/JavaX-Caches/tmp_994922242/main.java:34: error: class, interface, or enum expected print("Stored " + nTriple(n) + " in " + f2s(file) + ", nothing in " + f2s(file2)); ^ /root/JavaX-Caches/tmp_994922242/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_994922242/main.java:42: error: class, interface, or enum expected File fBackups = programFile(#1010745, "backups"); ^ /root/JavaX-Caches/tmp_994922242/main.java:42: error: illegal character: '#' File fBackups = programFile(#1010745, "backups"); ^ /root/JavaX-Caches/tmp_994922242/main.java:43: error: class, interface, or enum expected for (File f : earlierPartsOfLogFile(mainLog)) { ^ /root/JavaX-Caches/tmp_994922242/main.java:45: error: class, interface, or enum expected File p; ^ /root/JavaX-Caches/tmp_994922242/main.java:46: error: class, interface, or enum expected while ((p = newFile(fBackups, dropSuffix(".gz", f.getName()) + ".part" + n + ".gz")).exists()) ++n; ^ /root/JavaX-Caches/tmp_994922242/main.java:47: error: class, interface, or enum expected renameFile_assertTrue(f, p); ^ /root/JavaX-Caches/tmp_994922242/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_994922242/main.java:53: error: class, interface, or enum expected File p; ^ /root/JavaX-Caches/tmp_994922242/main.java:54: error: class, interface, or enum expected while ((p = newFile(fBackups, dropSuffix(".gz", fTriples.getName()) + ".part" + n + ".gz")).exists()) ++n; ^ /root/JavaX-Caches/tmp_994922242/main.java:55: error: class, interface, or enum expected renameFile_assertTrue(fTriples, p); ^ /root/JavaX-Caches/tmp_994922242/main.java:58: error: class, interface, or enum expected renameFile_assertTrue(file, fTriples); ^ /root/JavaX-Caches/tmp_994922242/main.java:59: error: class, interface, or enum expected if (file2.exists()) ^ /root/JavaX-Caches/tmp_994922242/main.java:60: error: illegal character: '#' renameFile_assertTrue(file2, programFile(#1010745, "webs-made.txt.part1.gz")); ^ /root/JavaX-Caches/tmp_994922242/main.java:62: error: class, interface, or enum expected print("DONE."); ^ /root/JavaX-Caches/tmp_994922242/main.java:63: error: class, interface, or enum expected } ^ 37 errors