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

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

/root/JavaX-Caches/tmp_1986917591/main.java:1: error: class, interface, or enum expected !7 ^ /root/JavaX-Caches/tmp_1986917591/main.java:6: error: class, interface, or enum expected sS templateID = bottomRight ? #1008787 : /*#1009000*/#1009081; ^ /root/JavaX-Caches/tmp_1986917591/main.java:6: error: illegal character: '#' sS templateID = bottomRight ? #1008787 : /*#1009000*/#1009081; ^ /root/JavaX-Caches/tmp_1986917591/main.java:6: error: illegal character: '#' sS templateID = bottomRight ? #1008787 : /*#1009000*/#1009081; ^ /root/JavaX-Caches/tmp_1986917591/main.java:7: error: class, interface, or enum expected sS heading = "BotCompany | Stefan's Chat"; ^ /root/JavaX-Caches/tmp_1986917591/main.java:8: error: class, interface, or enum expected sS roomName = "main"; // internal ^ /root/JavaX-Caches/tmp_1986917591/main.java:9: error: class, interface, or enum expected static int maxMessages = 40; ^ /root/JavaX-Caches/tmp_1986917591/main.java:10: error: class, interface, or enum expected static int visitors; ^ /root/JavaX-Caches/tmp_1986917591/main.java:11: error: class, interface, or enum expected static int messageLimit = stefansChat_messageLimit(); ^ /root/JavaX-Caches/tmp_1986917591/main.java:12: error: class, interface, or enum expected sbool postingDisabled = false; ^ /root/JavaX-Caches/tmp_1986917591/main.java:13: error: class, interface, or enum expected static SS lastPosted = new ExpiringHashMap(2000); // ip -> message ^ /root/JavaX-Caches/tmp_1986917591/main.java:14: error: class, interface, or enum expected static volatile bool started; ^ /root/JavaX-Caches/tmp_1986917591/main.java:16: error: class, interface, or enum expected static int longPollTick = 100; ^ /root/JavaX-Caches/tmp_1986917591/main.java:17: error: class, interface, or enum expected static int longPollMaxWait = 1000*60; ^ /root/JavaX-Caches/tmp_1986917591/main.java:19: error: class, interface, or enum expected static new L pagePostProcessors; ^ /root/JavaX-Caches/tmp_1986917591/main.java:21: error: class, interface, or enum expected concept WeirdIPs { ^ /root/JavaX-Caches/tmp_1986917591/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1986917591/main.java:27: error: class, interface, or enum expected double priority; ^ /root/JavaX-Caches/tmp_1986917591/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1986917591/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1986917591/main.java:36: error: class, interface, or enum expected S avatarID; ^ /root/JavaX-Caches/tmp_1986917591/main.java:37: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1986917591/main.java:41: error: class, interface, or enum expected long time; ^ /root/JavaX-Caches/tmp_1986917591/main.java:42: error: class, interface, or enum expected User user; ^ /root/JavaX-Caches/tmp_1986917591/main.java:43: error: class, interface, or enum expected S text; ^ /root/JavaX-Caches/tmp_1986917591/main.java:44: error: class, interface, or enum expected L<S> buttons; ^ /root/JavaX-Caches/tmp_1986917591/main.java:45: error: class, interface, or enum expected bool botMark, auth; ^ /root/JavaX-Caches/tmp_1986917591/main.java:46: error: class, interface, or enum expected int nr; ^ /root/JavaX-Caches/tmp_1986917591/main.java:48: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1986917591/main.java:51: error: class, interface, or enum expected time = now(); ^ /root/JavaX-Caches/tmp_1986917591/main.java:52: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1986917591/main.java:59: error: class, interface, or enum expected new LL<Msg> oldDialogs; ^ /root/JavaX-Caches/tmp_1986917591/main.java:60: error: class, interface, or enum expected new L<Msg> spam; ^ /root/JavaX-Caches/tmp_1986917591/main.java:61: error: class, interface, or enum expected new L<Msg> msgs; ^ /root/JavaX-Caches/tmp_1986917591/main.java:62: error: class, interface, or enum expected int counter; ^ /root/JavaX-Caches/tmp_1986917591/main.java:64: error: class, interface, or enum expected void add(Msg m) { ^ /root/JavaX-Caches/tmp_1986917591/main.java:66: error: class, interface, or enum expected if (l(msgs) >= maxMessages) ^ /root/JavaX-Caches/tmp_1986917591/main.java:68: error: class, interface, or enum expected msgs.add(m); ^ /root/JavaX-Caches/tmp_1986917591/main.java:69: error: class, interface, or enum expected change(); ^ /root/JavaX-Caches/tmp_1986917591/main.java:70: error: class, interface, or enum expected pcall { processMsgCommands(m); } ^ /root/JavaX-Caches/tmp_1986917591/main.java:70: error: class, interface, or enum expected pcall { processMsgCommands(m); } ^ /root/JavaX-Caches/tmp_1986917591/main.java:84: error: class, interface, or enum expected if (i < 0) ret; ^ /root/JavaX-Caches/tmp_1986917591/main.java:85: error: class, interface, or enum expected while (i < l(msgs) && neq(toID, msgs.get(i).globalID)) { ^ /root/JavaX-Caches/tmp_1986917591/main.java:87: error: class, interface, or enum expected msgs.remove(i); ^ /root/JavaX-Caches/tmp_1986917591/main.java:88: error: class, interface, or enum expected change(); ^ /root/JavaX-Caches/tmp_1986917591/main.java:89: error: class, interface, or enum expected if (empty(toID)) break; ^ /root/JavaX-Caches/tmp_1986917591/main.java:90: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1986917591/main.java:92: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1986917591/main.java:97: error: class, interface, or enum expected print("moveMsgsUp delta=" + delta); ^ /root/JavaX-Caches/tmp_1986917591/main.java:98: error: class, interface, or enum expected if (delta <= 0) ret; ^ /root/JavaX-Caches/tmp_1986917591/main.java:99: error: class, interface, or enum expected L<Msg> old = last(oldDialogs); ^ /root/JavaX-Caches/tmp_1986917591/main.java:100: error: class, interface, or enum expected if (old == null) ret; ^ /root/JavaX-Caches/tmp_1986917591/main.java:101: error: class, interface, or enum expected L<Msg> l = takeLast(delta, old); ^ /root/JavaX-Caches/tmp_1986917591/main.java:102: error: class, interface, or enum expected print("moveMsgsUp l=" + l(l)); ^ /root/JavaX-Caches/tmp_1986917591/main.java:103: error: class, interface, or enum expected if (empty(l)) ret; ^ /root/JavaX-Caches/tmp_1986917591/main.java:104: error: class, interface, or enum expected msgs.addAll(0, l); ^ /root/JavaX-Caches/tmp_1986917591/main.java:105: error: class, interface, or enum expected removeLast(old, delta); ^ /root/JavaX-Caches/tmp_1986917591/main.java:106: error: class, interface, or enum expected change(); ^ /root/JavaX-Caches/tmp_1986917591/main.java:107: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1986917591/main.java:109: error: class, interface, or enum expected int allCount() { ret archiveSize() + l(msgs); } ^ /root/JavaX-Caches/tmp_1986917591/main.java:110: error: class, interface, or enum expected int archiveSize() { ret lengthLevel2(oldDialogs) + l(spam); } ^ /root/JavaX-Caches/tmp_1986917591/main.java:115: error: class, interface, or enum expected dbIndexing(ByCookie, 'cookie); ^ /root/JavaX-Caches/tmp_1986917591/main.java:115: error: unclosed character literal dbIndexing(ByCookie, 'cookie); ^ /root/JavaX-Caches/tmp_1986917591/main.java:116: error: class, interface, or enum expected started = true; ^ /root/JavaX-Caches/tmp_1986917591/main.java:118: error: class, interface, or enum expected for (Conversation conv) ^ /root/JavaX-Caches/tmp_1986917591/main.java:121: error: class, interface, or enum expected L<Conversation> l = findConcepts(Conversation, cookie := roomName); ^ /root/JavaX-Caches/tmp_1986917591/main.java:122: error: class, interface, or enum expected if (l(l) > 1) { ^ /root/JavaX-Caches/tmp_1986917591/main.java:124: error: class, interface, or enum expected deleteConcept(smallestByMethod(l, 'allCount)); ^ /root/JavaX-Caches/tmp_1986917591/main.java:124: error: unclosed character literal deleteConcept(smallestByMethod(l, 'allCount)); ^ /root/JavaX-Caches/tmp_1986917591/main.java:125: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1986917591/main.java:127: error: unclosed character literal for (Extension e : sortByField('priority, list(Extension))) ^ /root/JavaX-Caches/tmp_1986917591/main.java:128: error: class, interface, or enum expected pcall { evalJava(e.code); } ^ /root/JavaX-Caches/tmp_1986917591/main.java:133: error: class, interface, or enum expected while (!started) sleep(100); ^ /root/JavaX-Caches/tmp_1986917591/main.java:135: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1986917591/main.java:137: error: class, interface, or enum expected int visitorsToday = parseFirstInt(_vis); ^ /root/JavaX-Caches/tmp_1986917591/main.java:138: error: class, interface, or enum expected main.visitors = visitorsToday; ^ /root/JavaX-Caches/tmp_1986917591/main.java:141: error: class, interface, or enum expected if (eq(uri, "/thoughts")) try { ^ /root/JavaX-Caches/tmp_1986917591/main.java:143: error: class, interface, or enum expected ret hrefresh(10) + loadPage(smartBotURL() + "/thoughts" ^ /root/JavaX-Caches/tmp_1986917591/main.java:145: error: class, interface, or enum expected } catch { ^ /root/JavaX-Caches/tmp_1986917591/main.java:147: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1986917591/main.java:150: error: class, interface, or enum expected Conversation conv; ^ /root/JavaX-Caches/tmp_1986917591/main.java:151: error: class, interface, or enum expected { ^ /root/JavaX-Caches/tmp_1986917591/main.java:154: error: class, interface, or enum expected if (eq(uri, "/testauth")) ret "Authed: " + yn(webAuthed()); ^ /root/JavaX-Caches/tmp_1986917591/main.java:156: error: class, interface, or enum expected if (swic(uri, "/setSmartBotURL/", mm)) { ^ /root/JavaX-Caches/tmp_1986917591/main.java:158: error: class, interface, or enum expected setSmartBotURL(urldecode(mm.rest())); ^ /root/JavaX-Caches/tmp_1986917591/main.java:159: error: class, interface, or enum expected ret "OK"; ^ /root/JavaX-Caches/tmp_1986917591/main.java:160: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1986917591/main.java:165: error: class, interface, or enum expected if (eq(uri, "/spam")) ^ /root/JavaX-Caches/tmp_1986917591/main.java:168: error: class, interface, or enum expected if (eq(uri, "/logs")) ^ /root/JavaX-Caches/tmp_1986917591/main.java:171: error: class, interface, or enum expected L<Msg> msgs = reversed(allMsgs()); // TODO: optimize ^ /root/JavaX-Caches/tmp_1986917591/main.java:172: error: class, interface, or enum expected new L<S> l; ^ /root/JavaX-Caches/tmp_1986917591/main.java:173: error: class, interface, or enum expected int count = l(msgs); ^ /root/JavaX-Caches/tmp_1986917591/main.java:174: error: class, interface, or enum expected msgs = subList(msgs, n, n+step); ^ /root/JavaX-Caches/tmp_1986917591/main.java:175: error: class, interface, or enum expected for (Msg m : msgs) ^ /root/JavaX-Caches/tmp_1986917591/main.java:177: error: class, interface, or enum expected ret h3_htitle("Chat Logs") ^ /root/JavaX-Caches/tmp_1986917591/main.java:178: error: unclosed character literal + pageNav2("/logs", count, n, step, 'n) ^ /root/JavaX-Caches/tmp_1986917591/main.java:180: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_1986917591/main.java:182: error: class, interface, or enum expected conv = getConv(roomName); ^ /root/JavaX-Caches/tmp_1986917591/main.java:184: error: class, interface, or enum expected if (eq(uri, "/sanity")) { ^ /root/JavaX-Caches/tmp_1986917591/main.java:186: error: class, interface, or enum expected Msg m = last(conv.msgs); ^ 100 errors only showing the first 100 errors, of 258 total; use -Xmaxerrs if you would like to see more