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

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

/root/JavaX-Caches/tmp_294065079/main.java:1: error: class, interface, or enum expected abstract sclass ThoughtBot { ^ /root/JavaX-Caches/tmp_294065079/main.java:5: error: class, interface, or enum expected static int longPollTick = 100; ^ /root/JavaX-Caches/tmp_294065079/main.java:6: error: class, interface, or enum expected static int longPollMaxWait = 1000*60; ^ /root/JavaX-Caches/tmp_294065079/main.java:8: error: class, interface, or enum expected sclass Msg { ^ /root/JavaX-Caches/tmp_294065079/main.java:10: error: class, interface, or enum expected bool fromUser; ^ /root/JavaX-Caches/tmp_294065079/main.java:11: error: class, interface, or enum expected S text; ^ /root/JavaX-Caches/tmp_294065079/main.java:12: error: class, interface, or enum expected L<S> buttons; ^ /root/JavaX-Caches/tmp_294065079/main.java:14: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_294065079/main.java:15: error: class, interface, or enum expected *(bool *fromUser, S *text) { time = now(); } ^ /root/JavaX-Caches/tmp_294065079/main.java:20: error: class, interface, or enum expected new LL<Msg> oldDialogs; ^ /root/JavaX-Caches/tmp_294065079/main.java:21: error: class, interface, or enum expected new L<Msg> msgs; ^ /root/JavaX-Caches/tmp_294065079/main.java:23: error: class, interface, or enum expected void add(Msg m) { ^ /root/JavaX-Caches/tmp_294065079/main.java:25: error: class, interface, or enum expected change(); ^ /root/JavaX-Caches/tmp_294065079/main.java:26: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294065079/main.java:28: error: class, interface, or enum expected int allCount() { ret lengthLevel2(oldDialogs) + l(msgs); } ^ /root/JavaX-Caches/tmp_294065079/main.java:29: error: class, interface, or enum expected int archiveSize() { ret lengthLevel2(oldDialogs); } ^ /root/JavaX-Caches/tmp_294065079/main.java:34: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294065079/main.java:38: error: class, interface, or enum expected Conversation conv = getConv(session); ^ /root/JavaX-Caches/tmp_294065079/main.java:39: error: class, interface, or enum expected conv.add(new Msg(false, text)); ^ /root/JavaX-Caches/tmp_294065079/main.java:40: error: class, interface, or enum expected print("sayAsync " + session + ", new size=" + conv.allCount()); ^ /root/JavaX-Caches/tmp_294065079/main.java:41: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294065079/main.java:45: error: class, interface, or enum expected registerVisitor(); ^ /root/JavaX-Caches/tmp_294065079/main.java:46: error: class, interface, or enum expected fS cookie = cookieSent(); ^ /root/JavaX-Caches/tmp_294065079/main.java:47: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_294065079/main.java:49: error: class, interface, or enum expected { ^ /root/JavaX-Caches/tmp_294065079/main.java:51: error: class, interface, or enum expected if (eq(uri, "/stats")) ^ /root/JavaX-Caches/tmp_294065079/main.java:54: error: class, interface, or enum expected if (eq(uri, "/logs")) ^ /root/JavaX-Caches/tmp_294065079/main.java:57: error: class, interface, or enum expected S message = trim(params.get("btn")); ^ /root/JavaX-Caches/tmp_294065079/main.java:58: error: class, interface, or enum expected if (empty(message)) message = trim(params.get("message")); ^ /root/JavaX-Caches/tmp_294065079/main.java:59: error: class, interface, or enum expected conv = getConv(cookie); ^ /root/JavaX-Caches/tmp_294065079/main.java:61: error: class, interface, or enum expected if (match("clear", message)) { ^ /root/JavaX-Caches/tmp_294065079/main.java:63: error: class, interface, or enum expected cset(conv, msgs := new L); ^ /root/JavaX-Caches/tmp_294065079/main.java:64: error: class, interface, or enum expected conv.change(); ^ /root/JavaX-Caches/tmp_294065079/main.java:65: error: class, interface, or enum expected thoughtBot.clearSession(conv.cookie); ^ /root/JavaX-Caches/tmp_294065079/main.java:66: error: class, interface, or enum expected message = null; ^ /root/JavaX-Caches/tmp_294065079/main.java:67: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294065079/main.java:71: error: class, interface, or enum expected if (empty(conv.msgs)) ^ /root/JavaX-Caches/tmp_294065079/main.java:74: error: class, interface, or enum expected if (nempty(message) && !lastUserMessageWas(conv, message)) ^ /root/JavaX-Caches/tmp_294065079/main.java:77: error: class, interface, or enum expected if (nempty(conv.msgs) && last(conv.msgs).fromUser) { ^ /root/JavaX-Caches/tmp_294065079/main.java:79: error: class, interface, or enum expected L<S> buttons = null; ^ /root/JavaX-Caches/tmp_294065079/main.java:80: error: class, interface, or enum expected pcall { ^ /root/JavaX-Caches/tmp_294065079/main.java:82: error: class, interface, or enum expected buttons = (L<S>) getThreadLocal(thoughtBot, "buttons"); ^ /root/JavaX-Caches/tmp_294065079/main.java:83: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294065079/main.java:85: error: class, interface, or enum expected msg.buttons = buttons; ^ /root/JavaX-Caches/tmp_294065079/main.java:86: error: class, interface, or enum expected conv.add(msg); ^ /root/JavaX-Caches/tmp_294065079/main.java:87: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294065079/main.java:92: error: class, interface, or enum expected if (eq(uri, "/incremental")) { ^ /root/JavaX-Caches/tmp_294065079/main.java:95: error: class, interface, or enum expected int as = conv.archiveSize(); ^ /root/JavaX-Caches/tmp_294065079/main.java:96: error: class, interface, or enum expected a -= as; ^ /root/JavaX-Caches/tmp_294065079/main.java:99: error: class, interface, or enum expected long start = sysNow(); ^ /root/JavaX-Caches/tmp_294065079/main.java:100: error: class, interface, or enum expected L msgs; ^ /root/JavaX-Caches/tmp_294065079/main.java:101: error: class, interface, or enum expected bool first = true; ^ /root/JavaX-Caches/tmp_294065079/main.java:102: error: class, interface, or enum expected while (licensed() && sysNow() < start+longPollMaxWait) { ^ /root/JavaX-Caches/tmp_294065079/main.java:104: error: class, interface, or enum expected if (empty(msgs)) { ^ /root/JavaX-Caches/tmp_294065079/main.java:107: error: class, interface, or enum expected first = false; ^ /root/JavaX-Caches/tmp_294065079/main.java:108: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294065079/main.java:110: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_294065079/main.java:112: error: class, interface, or enum expected new StringBuilder buf; ^ /root/JavaX-Caches/tmp_294065079/main.java:113: error: class, interface, or enum expected renderMessages(buf, msgs); ^ /root/JavaX-Caches/tmp_294065079/main.java:114: error: class, interface, or enum expected ret "<!-- " + conv.allCount() + "-->\n" + buf; ^ /root/JavaX-Caches/tmp_294065079/main.java:115: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294065079/main.java:118: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294065079/main.java:122: error: class, interface, or enum expected S html = loadSnippet(templateID); // TODO: cache ^ /root/JavaX-Caches/tmp_294065079/main.java:123: error: class, interface, or enum expected new StringBuilder buf; ^ /root/JavaX-Caches/tmp_294065079/main.java:125: error: class, interface, or enum expected renderMessages(buf, conv.msgs); ^ /root/JavaX-Caches/tmp_294065079/main.java:127: error: class, interface, or enum expected html = html.replace("#N#", str(conv.allCount())); ^ /root/JavaX-Caches/tmp_294065079/main.java:128: error: class, interface, or enum expected html = html.replace("#INCREMENTALURL#", relativeRawBotLink(programID(), "incremental?a="); ^ /root/JavaX-Caches/tmp_294065079/main.java:129: error: class, interface, or enum expected html = html.replace("#MSGURL#", relativeRawBotLink(programID(), "msg?message=")); ^ /root/JavaX-Caches/tmp_294065079/main.java:130: error: class, interface, or enum expected if (nempty(params.get("debug"))) ^ /root/JavaX-Caches/tmp_294065079/main.java:133: error: class, interface, or enum expected html = html.replace("$HEADING", heading); ^ /root/JavaX-Caches/tmp_294065079/main.java:134: error: class, interface, or enum expected html = html.replace("<!-- MSGS HERE -->", str(buf)); ^ /root/JavaX-Caches/tmp_294065079/main.java:135: error: class, interface, or enum expected html = hreplaceTitle(html, heading); ^ /root/JavaX-Caches/tmp_294065079/main.java:136: error: class, interface, or enum expected html = hmobilefix(html); ^ /root/JavaX-Caches/tmp_294065079/main.java:137: error: class, interface, or enum expected ret html; ^ /root/JavaX-Caches/tmp_294065079/main.java:138: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294065079/main.java:141: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294065079/main.java:149: error: class, interface, or enum expected L<S> buttons = last(msgs).buttons; ^ /root/JavaX-Caches/tmp_294065079/main.java:150: error: class, interface, or enum expected if (nempty(buttons)) ^ /root/JavaX-Caches/tmp_294065079/main.java:152: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294065079/main.java:155: error: illegal character: '#' S imgLink = snippetImgLink(bot ? #1008323 : #1008359); ^ /root/JavaX-Caches/tmp_294065079/main.java:155: error: illegal character: '#' S imgLink = snippetImgLink(bot ? #1008323 : #1008359); ^ /root/JavaX-Caches/tmp_294065079/main.java:156: error: class, interface, or enum expected buf.append([[<div class="direct-chat-msg doted-border"> ^ /root/JavaX-Caches/tmp_294065079/main.java:156: error: <identifier> expected buf.append([[<div class="direct-chat-msg doted-border"> ^ /root/JavaX-Caches/tmp_294065079/main.java:157: error: class, interface, or enum expected <div class="direct-chat-info clearfix"> ^ /root/JavaX-Caches/tmp_294065079/main.java:157: error: <identifier> expected <div class="direct-chat-info clearfix"> ^ /root/JavaX-Caches/tmp_294065079/main.java:158: error: class, interface, or enum expected <span class="direct-chat-name pull-left">$NAME</span> ^ /root/JavaX-Caches/tmp_294065079/main.java:158: error: <identifier> expected <span class="direct-chat-name pull-left">$NAME</span> ^ /root/JavaX-Caches/tmp_294065079/main.java:158: error: class, interface, or enum expected <span class="direct-chat-name pull-left">$NAME</span> ^ /root/JavaX-Caches/tmp_294065079/main.java:160: error: <identifier> expected <img alt="message user image" src="$IMG" class="direct-chat-img"> ^ /root/JavaX-Caches/tmp_294065079/main.java:161: error: class, interface, or enum expected <div class="direct-chat-text"> ^ /root/JavaX-Caches/tmp_294065079/main.java:161: error: <identifier> expected <div class="direct-chat-text"> ^ /root/JavaX-Caches/tmp_294065079/main.java:163: error: class, interface, or enum expected </div> ^ /root/JavaX-Caches/tmp_294065079/main.java:164: error: <identifier> expected <div class="direct-chat-info clearfix"> ^ /root/JavaX-Caches/tmp_294065079/main.java:165: error: class, interface, or enum expected <span class="direct-chat-timestamp pull-right">$TIME</span> ^ /root/JavaX-Caches/tmp_294065079/main.java:165: error: <identifier> expected <span class="direct-chat-timestamp pull-right">$TIME</span> ^ /root/JavaX-Caches/tmp_294065079/main.java:165: error: class, interface, or enum expected <span class="direct-chat-timestamp pull-right">$TIME</span> ^ /root/JavaX-Caches/tmp_294065079/main.java:172: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_294065079/main.java:178: error: class, interface, or enum expected buf.append([[<div class="direct-chat-msg doted-border"> ^ /root/JavaX-Caches/tmp_294065079/main.java:178: error: <identifier> expected buf.append([[<div class="direct-chat-msg doted-border"> ^ /root/JavaX-Caches/tmp_294065079/main.java:179: error: class, interface, or enum expected <div class="direct-chat-buttons"> ^ 100 errors only showing the first 100 errors, of 117 total; use -Xmaxerrs if you would like to see more