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

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

/root/JavaX-Caches/tmp_22809793/main.java:1: error: class, interface, or enum expected sO thoughtBot; ^ /root/JavaX-Caches/tmp_22809793/main.java:3: error: class, interface, or enum expected static int longPollTick = 100; ^ /root/JavaX-Caches/tmp_22809793/main.java:4: error: class, interface, or enum expected static int longPollMaxWait = 1000*60; ^ /root/JavaX-Caches/tmp_22809793/main.java:6: error: class, interface, or enum expected sclass Msg { ^ /root/JavaX-Caches/tmp_22809793/main.java:8: error: class, interface, or enum expected bool fromUser; ^ /root/JavaX-Caches/tmp_22809793/main.java:9: error: class, interface, or enum expected S text; ^ /root/JavaX-Caches/tmp_22809793/main.java:10: error: class, interface, or enum expected L<S> buttons; ^ /root/JavaX-Caches/tmp_22809793/main.java:12: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_22809793/main.java:13: error: class, interface, or enum expected *(bool *fromUser, S *text) { time = now(); } ^ /root/JavaX-Caches/tmp_22809793/main.java:18: error: class, interface, or enum expected new LL<Msg> oldDialogs; ^ /root/JavaX-Caches/tmp_22809793/main.java:19: error: class, interface, or enum expected new L<Msg> msgs; ^ /root/JavaX-Caches/tmp_22809793/main.java:21: error: class, interface, or enum expected void add(Msg m) { ^ /root/JavaX-Caches/tmp_22809793/main.java:23: error: class, interface, or enum expected change(); ^ /root/JavaX-Caches/tmp_22809793/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_22809793/main.java:26: error: class, interface, or enum expected int allCount() { ret lengthLevel2(oldDialogs) + l(msgs); } ^ /root/JavaX-Caches/tmp_22809793/main.java:27: error: class, interface, or enum expected int archiveSize() { ret lengthLevel2(oldDialogs); } ^ /root/JavaX-Caches/tmp_22809793/main.java:32: error: class, interface, or enum expected thoughtBot = runDependent(thoughtBotID); ^ /root/JavaX-Caches/tmp_22809793/main.java:33: error: class, interface, or enum expected Class envType = fieldType(thoughtBot, "env"); ^ /root/JavaX-Caches/tmp_22809793/main.java:34: error: class, interface, or enum expected if (envType != null) ^ /root/JavaX-Caches/tmp_22809793/main.java:36: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_22809793/main.java:40: error: class, interface, or enum expected Conversation conv = getConv(session); ^ /root/JavaX-Caches/tmp_22809793/main.java:41: error: class, interface, or enum expected conv.add(new Msg(false, text)); ^ /root/JavaX-Caches/tmp_22809793/main.java:42: error: class, interface, or enum expected print("sayAsync " + session + ", new size=" + conv.allCount()); ^ /root/JavaX-Caches/tmp_22809793/main.java:43: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_22809793/main.java:47: error: class, interface, or enum expected registerVisitor(); ^ /root/JavaX-Caches/tmp_22809793/main.java:48: error: class, interface, or enum expected fS cookie = cookieSent(); ^ /root/JavaX-Caches/tmp_22809793/main.java:49: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_22809793/main.java:51: error: class, interface, or enum expected { ^ /root/JavaX-Caches/tmp_22809793/main.java:53: error: class, interface, or enum expected if (eq(uri, "/stats")) ^ /root/JavaX-Caches/tmp_22809793/main.java:56: error: class, interface, or enum expected if (eq(uri, "/logs")) ^ /root/JavaX-Caches/tmp_22809793/main.java:59: error: class, interface, or enum expected S message = trim(params.get("btn")); ^ /root/JavaX-Caches/tmp_22809793/main.java:60: error: class, interface, or enum expected if (empty(message)) message = trim(params.get("message")); ^ /root/JavaX-Caches/tmp_22809793/main.java:61: error: class, interface, or enum expected conv = getConv(cookie); ^ /root/JavaX-Caches/tmp_22809793/main.java:63: error: class, interface, or enum expected if (match("clear", message)) { ^ /root/JavaX-Caches/tmp_22809793/main.java:65: error: class, interface, or enum expected cset(conv, msgs := new L); ^ /root/JavaX-Caches/tmp_22809793/main.java:66: error: class, interface, or enum expected conv.change(); ^ /root/JavaX-Caches/tmp_22809793/main.java:67: error: class, interface, or enum expected callOpt(thoughtBot, "clearSession", conv.cookie); ^ /root/JavaX-Caches/tmp_22809793/main.java:68: error: class, interface, or enum expected message = null; ^ /root/JavaX-Caches/tmp_22809793/main.java:69: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_22809793/main.java:73: error: class, interface, or enum expected if (empty(conv.msgs)) ^ /root/JavaX-Caches/tmp_22809793/main.java:76: error: class, interface, or enum expected if (nempty(message) && !lastUserMessageWas(conv, message)) ^ /root/JavaX-Caches/tmp_22809793/main.java:79: error: class, interface, or enum expected if (nempty(conv.msgs) && last(conv.msgs).fromUser) { ^ /root/JavaX-Caches/tmp_22809793/main.java:81: error: class, interface, or enum expected L<S> buttons = null; ^ /root/JavaX-Caches/tmp_22809793/main.java:82: error: class, interface, or enum expected pcall { ^ /root/JavaX-Caches/tmp_22809793/main.java:84: error: class, interface, or enum expected buttons = (L<S>) getThreadLocal(thoughtBot, "buttons"); ^ /root/JavaX-Caches/tmp_22809793/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_22809793/main.java:87: error: class, interface, or enum expected msg.buttons = buttons; ^ /root/JavaX-Caches/tmp_22809793/main.java:88: error: class, interface, or enum expected conv.add(msg); ^ /root/JavaX-Caches/tmp_22809793/main.java:89: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_22809793/main.java:94: error: class, interface, or enum expected if (eq(uri, "/incremental")) { ^ /root/JavaX-Caches/tmp_22809793/main.java:97: error: class, interface, or enum expected int as = conv.archiveSize(); ^ /root/JavaX-Caches/tmp_22809793/main.java:98: error: class, interface, or enum expected a -= as; ^ /root/JavaX-Caches/tmp_22809793/main.java:101: error: class, interface, or enum expected long start = sysNow(); ^ /root/JavaX-Caches/tmp_22809793/main.java:102: error: class, interface, or enum expected L msgs; ^ /root/JavaX-Caches/tmp_22809793/main.java:103: error: class, interface, or enum expected bool first = true; ^ /root/JavaX-Caches/tmp_22809793/main.java:104: error: class, interface, or enum expected while (licensed() && sysNow() < start+longPollMaxWait) { ^ /root/JavaX-Caches/tmp_22809793/main.java:106: error: class, interface, or enum expected if (empty(msgs)) { ^ /root/JavaX-Caches/tmp_22809793/main.java:109: error: class, interface, or enum expected first = false; ^ /root/JavaX-Caches/tmp_22809793/main.java:110: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_22809793/main.java:112: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_22809793/main.java:114: error: class, interface, or enum expected new StringBuilder buf; ^ /root/JavaX-Caches/tmp_22809793/main.java:115: error: class, interface, or enum expected renderMessages(buf, msgs); ^ /root/JavaX-Caches/tmp_22809793/main.java:116: error: class, interface, or enum expected ret "<!-- " + conv.allCount() + "-->\n" + buf; ^ /root/JavaX-Caches/tmp_22809793/main.java:117: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_22809793/main.java:120: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_22809793/main.java:124: error: class, interface, or enum expected S html = loadSnippet(templateID); // TODO: cache ^ /root/JavaX-Caches/tmp_22809793/main.java:125: error: class, interface, or enum expected new StringBuilder buf; ^ /root/JavaX-Caches/tmp_22809793/main.java:127: error: class, interface, or enum expected renderMessages(buf, conv.msgs); ^ /root/JavaX-Caches/tmp_22809793/main.java:129: error: class, interface, or enum expected html = html.replace("#N#", str(conv.allCount())); ^ /root/JavaX-Caches/tmp_22809793/main.java:130: error: class, interface, or enum expected html = html.replace("#INCREMENTALURL#", relativeRawBotLink(programID(), "incremental?a="); ^ /root/JavaX-Caches/tmp_22809793/main.java:131: error: class, interface, or enum expected html = html.replace("#MSGURL#", relativeRawBotLink(programID(), "msg?message=")); ^ /root/JavaX-Caches/tmp_22809793/main.java:132: error: class, interface, or enum expected if (nempty(params.get("debug"))) ^ /root/JavaX-Caches/tmp_22809793/main.java:135: error: class, interface, or enum expected html = html.replace("$HEADING", heading); ^ /root/JavaX-Caches/tmp_22809793/main.java:136: error: class, interface, or enum expected html = html.replace("<!-- MSGS HERE -->", str(buf)); ^ /root/JavaX-Caches/tmp_22809793/main.java:137: error: class, interface, or enum expected html = hreplaceTitle(html, heading); ^ /root/JavaX-Caches/tmp_22809793/main.java:138: error: class, interface, or enum expected html = hmobilefix(html); ^ /root/JavaX-Caches/tmp_22809793/main.java:139: error: class, interface, or enum expected ret html; ^ /root/JavaX-Caches/tmp_22809793/main.java:140: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_22809793/main.java:143: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_22809793/main.java:151: error: class, interface, or enum expected L<S> buttons = last(msgs).buttons; ^ /root/JavaX-Caches/tmp_22809793/main.java:152: error: class, interface, or enum expected if (nempty(buttons)) ^ /root/JavaX-Caches/tmp_22809793/main.java:154: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_22809793/main.java:157: error: illegal character: '#' S imgLink = snippetImgLink(bot ? #1008323 : #1008359); ^ /root/JavaX-Caches/tmp_22809793/main.java:157: error: illegal character: '#' S imgLink = snippetImgLink(bot ? #1008323 : #1008359); ^ /root/JavaX-Caches/tmp_22809793/main.java:158: error: class, interface, or enum expected buf.append([[<div class="direct-chat-msg doted-border"> ^ /root/JavaX-Caches/tmp_22809793/main.java:158: error: <identifier> expected buf.append([[<div class="direct-chat-msg doted-border"> ^ /root/JavaX-Caches/tmp_22809793/main.java:159: error: class, interface, or enum expected <div class="direct-chat-info clearfix"> ^ /root/JavaX-Caches/tmp_22809793/main.java:159: error: <identifier> expected <div class="direct-chat-info clearfix"> ^ /root/JavaX-Caches/tmp_22809793/main.java:160: error: class, interface, or enum expected <span class="direct-chat-name pull-left">$NAME</span> ^ /root/JavaX-Caches/tmp_22809793/main.java:160: error: <identifier> expected <span class="direct-chat-name pull-left">$NAME</span> ^ /root/JavaX-Caches/tmp_22809793/main.java:160: error: class, interface, or enum expected <span class="direct-chat-name pull-left">$NAME</span> ^ /root/JavaX-Caches/tmp_22809793/main.java:162: error: <identifier> expected <img alt="message user image" src="$IMG" class="direct-chat-img"> ^ /root/JavaX-Caches/tmp_22809793/main.java:163: error: class, interface, or enum expected <div class="direct-chat-text"> ^ /root/JavaX-Caches/tmp_22809793/main.java:163: error: <identifier> expected <div class="direct-chat-text"> ^ /root/JavaX-Caches/tmp_22809793/main.java:165: error: class, interface, or enum expected </div> ^ /root/JavaX-Caches/tmp_22809793/main.java:166: error: <identifier> expected <div class="direct-chat-info clearfix"> ^ /root/JavaX-Caches/tmp_22809793/main.java:167: error: class, interface, or enum expected <span class="direct-chat-timestamp pull-right">$TIME</span> ^ /root/JavaX-Caches/tmp_22809793/main.java:167: error: <identifier> expected <span class="direct-chat-timestamp pull-right">$TIME</span> ^ /root/JavaX-Caches/tmp_22809793/main.java:167: error: class, interface, or enum expected <span class="direct-chat-timestamp pull-right">$TIME</span> ^ /root/JavaX-Caches/tmp_22809793/main.java:174: error: class, interface, or enum expected } ^ 100 errors only showing the first 100 errors, of 120 total; use -Xmaxerrs if you would like to see more