Wrote /root/JavaX-Caches/tmp_801142718/main.java - 4206 bytes (written=4206, should be 4206) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 1.8 -target 1.8 -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_1228801134 /root/JavaX-Caches/tmp_801142718/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_801142718/main.java:1: error: class, interface, or enum expected !752 ^ /root/JavaX-Caches/tmp_801142718/main.java:7: error: illegal start of type new L<S> on; ^ /root/JavaX-Caches/tmp_801142718/main.java:12: error: class, interface, or enum expected static PersistentLog<Line> data; ^ /root/JavaX-Caches/tmp_801142718/main.java:13: error: class, interface, or enum expected static new Map<S, Line> byID; ^ /root/JavaX-Caches/tmp_801142718/main.java:14: error: class, interface, or enum expected static long nextID; ^ /root/JavaX-Caches/tmp_801142718/main.java:16: error: class, interface, or enum expected p { ^ /root/JavaX-Caches/tmp_801142718/main.java:18: error: class, interface, or enum expected for (Line line : data) index(line); ^ /root/JavaX-Caches/tmp_801142718/main.java:19: error: class, interface, or enum expected load("nextID"); ^ /root/JavaX-Caches/tmp_801142718/main.java:20: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:26: error: class, interface, or enum expected if "dn add *" exceptionToUser{ ^ /root/JavaX-Caches/tmp_801142718/main.java:28: error: class, interface, or enum expected line.text = m.unq(0); ^ /root/JavaX-Caches/tmp_801142718/main.java:29: error: class, interface, or enum expected line.type = "user-added"; ^ /root/JavaX-Caches/tmp_801142718/main.java:30: error: class, interface, or enum expected add(line, new Source(s)); ^ /root/JavaX-Caches/tmp_801142718/main.java:31: error: class, interface, or enum expected ret "Yo! Your ID: " + line.id; ^ /root/JavaX-Caches/tmp_801142718/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:36: error: class, interface, or enum expected new Line line; ^ /root/JavaX-Caches/tmp_801142718/main.java:37: error: class, interface, or enum expected line.text = m.unq(0); ^ /root/JavaX-Caches/tmp_801142718/main.java:38: error: class, interface, or enum expected line.type = "user-added"; ^ /root/JavaX-Caches/tmp_801142718/main.java:39: error: class, interface, or enum expected line.on.addAll(splitIDs(ids)); ^ /root/JavaX-Caches/tmp_801142718/main.java:40: error: class, interface, or enum expected add(line, new Source(s)); ^ /root/JavaX-Caches/tmp_801142718/main.java:41: error: class, interface, or enum expected ret "Yo! Your ID: " + line.id; ^ /root/JavaX-Caches/tmp_801142718/main.java:42: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:46: error: class, interface, or enum expected Line line = byID.get(id); ^ /root/JavaX-Caches/tmp_801142718/main.java:47: error: class, interface, or enum expected ret line == null ? format("Line * not found", id) : structure(line); ^ /root/JavaX-Caches/tmp_801142718/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:52: error: class, interface, or enum expected L<Line> refs = findRefsTo(id); ^ /root/JavaX-Caches/tmp_801142718/main.java:53: error: class, interface, or enum expected ret empty(refs) ? "No references found" : formatList(refs); ^ /root/JavaX-Caches/tmp_801142718/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:58: error: class, interface, or enum expected L<Line> refs = search(query); ^ /root/JavaX-Caches/tmp_801142718/main.java:59: error: class, interface, or enum expected ret empty(refs) ? "No results" : formatList(refs); ^ /root/JavaX-Caches/tmp_801142718/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:65: error: class, interface, or enum expected ret "OK"; ^ /root/JavaX-Caches/tmp_801142718/main.java:66: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:72: error: class, interface, or enum expected if "dn copy from sister" exceptionToUser { ^ /root/JavaX-Caches/tmp_801142718/main.java:74: error: class, interface, or enum expected if (sisterBot == null) ret "No sister bot (install #1002626!)"; ^ /root/JavaX-Caches/tmp_801142718/main.java:75: error: class, interface, or enum expected S url = getString(get(sisterBot, "sister"), "robotURL"); ^ /root/JavaX-Caches/tmp_801142718/main.java:76: error: class, interface, or enum expected S q = "dn dump"; ^ /root/JavaX-Caches/tmp_801142718/main.java:77: error: class, interface, or enum expected S a = loadPage(url + "?" + makePostData("q", q)); ^ /root/JavaX-Caches/tmp_801142718/main.java:78: error: class, interface, or enum expected a = htmldecode(a); ^ /root/JavaX-Caches/tmp_801142718/main.java:79: error: class, interface, or enum expected a = dropPrefixMandatory("OK ", a); ^ /root/JavaX-Caches/tmp_801142718/main.java:80: error: class, interface, or enum expected L<Line> newData = cast unstructure(a); // we're trusting the other server here as its URL was given to us by master ^ /root/JavaX-Caches/tmp_801142718/main.java:81: error: class, interface, or enum expected if (empty(newData)) ^ /root/JavaX-Caches/tmp_801142718/main.java:83: error: class, interface, or enum expected int l = l(data); ^ /root/JavaX-Caches/tmp_801142718/main.java:84: error: class, interface, or enum expected clear(); ^ /root/JavaX-Caches/tmp_801142718/main.java:85: error: class, interface, or enum expected data.addAll(newData); ^ /root/JavaX-Caches/tmp_801142718/main.java:86: error: class, interface, or enum expected for (Line line : newData) index(line); ^ /root/JavaX-Caches/tmp_801142718/main.java:87: error: class, interface, or enum expected fixNextID(); ^ /root/JavaX-Caches/tmp_801142718/main.java:88: error: class, interface, or enum expected ret "OK, cleared " + l + " entries, added " + l(newData) + " entries."; ^ /root/JavaX-Caches/tmp_801142718/main.java:89: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:94: error: class, interface, or enum expected for (Line line : lines) { ^ /root/JavaX-Caches/tmp_801142718/main.java:96: error: class, interface, or enum expected l.add(line.id + ": " + (text.contains("\n") ? quote(text) : text)); ^ /root/JavaX-Caches/tmp_801142718/main.java:97: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:99: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:103: error: class, interface, or enum expected line.text = s; ^ /root/JavaX-Caches/tmp_801142718/main.java:104: error: class, interface, or enum expected add(line, new Source("")); ^ /root/JavaX-Caches/tmp_801142718/main.java:105: error: class, interface, or enum expected ret line; ^ /root/JavaX-Caches/tmp_801142718/main.java:106: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:111: error: class, interface, or enum expected line.id = newID(); ^ /root/JavaX-Caches/tmp_801142718/main.java:112: error: class, interface, or enum expected data.add(line); ^ /root/JavaX-Caches/tmp_801142718/main.java:113: error: class, interface, or enum expected index(line); ^ /root/JavaX-Caches/tmp_801142718/main.java:114: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:118: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:122: error: class, interface, or enum expected save("nextID"); ^ /root/JavaX-Caches/tmp_801142718/main.java:123: error: class, interface, or enum expected ret id; ^ /root/JavaX-Caches/tmp_801142718/main.java:124: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:128: error: class, interface, or enum expected for (Line line : data) ^ /root/JavaX-Caches/tmp_801142718/main.java:131: error: class, interface, or enum expected ret l; ^ /root/JavaX-Caches/tmp_801142718/main.java:132: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:136: error: class, interface, or enum expected for (Line line : data) ^ /root/JavaX-Caches/tmp_801142718/main.java:139: error: class, interface, or enum expected ret l; ^ /root/JavaX-Caches/tmp_801142718/main.java:140: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:144: error: class, interface, or enum expected if (!isInteger(id)) fail("woot bad id: " + quote(_id)); ^ /root/JavaX-Caches/tmp_801142718/main.java:145: error: class, interface, or enum expected ret "_" + id; ^ /root/JavaX-Caches/tmp_801142718/main.java:146: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:150: error: class, interface, or enum expected for (S id : s.split("[ ,]+")) ^ /root/JavaX-Caches/tmp_801142718/main.java:152: error: class, interface, or enum expected ret l; ^ /root/JavaX-Caches/tmp_801142718/main.java:153: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:156: error: class, interface, or enum expected pcall { logQuoted("data.clear", loadTextFile(data.file)); } ^ /root/JavaX-Caches/tmp_801142718/main.java:158: error: class, interface, or enum expected byID.clear(); ^ /root/JavaX-Caches/tmp_801142718/main.java:159: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:163: error: class, interface, or enum expected for (Line line : data) ^ /root/JavaX-Caches/tmp_801142718/main.java:166: error: class, interface, or enum expected ret l; ^ /root/JavaX-Caches/tmp_801142718/main.java:167: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:171: error: class, interface, or enum expected for (Line line : data) ^ /root/JavaX-Caches/tmp_801142718/main.java:173: error: class, interface, or enum expected nextID = id+1; ^ /root/JavaX-Caches/tmp_801142718/main.java:174: error: class, interface, or enum expected save("nextID"); ^ /root/JavaX-Caches/tmp_801142718/main.java:175: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:179: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_801142718/main.java:186: error: class, interface, or enum expected ret null; ^ /root/JavaX-Caches/tmp_801142718/main.java:187: error: class, interface, or enum expected } ^ 90 errors