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

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

/root/JavaX-Caches/tmp_1588535335/main.java:1: error: class, interface, or enum expected sclass Tag { ^ /root/JavaX-Caches/tmp_1588535335/main.java:3: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1588535335/main.java:7: error: class, interface, or enum expected S userName; // looked up if user != null ^ /root/JavaX-Caches/tmp_1588535335/main.java:8: error: class, interface, or enum expected S type, text, ts; ^ /root/JavaX-Caches/tmp_1588535335/main.java:9: error: class, interface, or enum expected O reactions; ^ /root/JavaX-Caches/tmp_1588535335/main.java:10: error: class, interface, or enum expected S channelID; ^ /root/JavaX-Caches/tmp_1588535335/main.java:12: error: class, interface, or enum expected int index; ^ /root/JavaX-Caches/tmp_1588535335/main.java:13: error: class, interface, or enum expected new TreeSet<S> tags; ^ /root/JavaX-Caches/tmp_1588535335/main.java:14: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1588535335/main.java:17: error: class, interface, or enum expected static PersistentLog<SlackMsg> msgs; ^ /root/JavaX-Caches/tmp_1588535335/main.java:18: error: class, interface, or enum expected static new L<SlackMsg> taggedMsgs; ^ /root/JavaX-Caches/tmp_1588535335/main.java:19: error: class, interface, or enum expected static new TreeMap<Integer, SlackMsg> msgsByIndex; ^ /root/JavaX-Caches/tmp_1588535335/main.java:20: error: class, interface, or enum expected static new MultiMap<S, SlackMsg> msgsByTag; ^ /root/JavaX-Caches/tmp_1588535335/main.java:22: error: class, interface, or enum expected static void init() { ^ /root/JavaX-Caches/tmp_1588535335/main.java:24: error: class, interface, or enum expected print("Tags: " + l(tagMap)); ^ /root/JavaX-Caches/tmp_1588535335/main.java:26: error: class, interface, or enum expected S channelName = "talkingbots"; ^ /root/JavaX-Caches/tmp_1588535335/main.java:27: error: class, interface, or enum expected msgs = new PersistentLog("#1002185", parseChannelName(channelName) + ".msgs"); ^ /root/JavaX-Caches/tmp_1588535335/main.java:28: error: class, interface, or enum expected print("Msgs: " + l(msgs)); ^ /root/JavaX-Caches/tmp_1588535335/main.java:29: error: class, interface, or enum expected if (empty(tagMap) || empty(msgs)) fail("no data"); ^ /root/JavaX-Caches/tmp_1588535335/main.java:34: error: class, interface, or enum expected int n = 1; ^ /root/JavaX-Caches/tmp_1588535335/main.java:35: error: class, interface, or enum expected for (SlackMsg msg : msgs) { ^ /root/JavaX-Caches/tmp_1588535335/main.java:39: error: class, interface, or enum expected msg.text = trim(msg.text); ^ /root/JavaX-Caches/tmp_1588535335/main.java:40: error: class, interface, or enum expected msg.index = n++; ^ /root/JavaX-Caches/tmp_1588535335/main.java:41: error: class, interface, or enum expected msgsByIndex.put(msg.index, msg); ^ /root/JavaX-Caches/tmp_1588535335/main.java:42: error: class, interface, or enum expected for (Tag t : unnull(tags)) { ^ /root/JavaX-Caches/tmp_1588535335/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1588535335/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1588535335/main.java:51: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1588535335/main.java:56: error: class, interface, or enum expected } ^ 29 errors