Wrote /root/JavaX-Caches/tmp_133720898/main.java - 10069 bytes (written=10069, should be 10069)
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_749260219 /root/JavaX-Caches/tmp_133720898/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_133720898/main.java:7: error: ';' expected
O html(DynNewBot2.Req req) null {
^
/root/JavaX-Caches/tmp_133720898/main.java:15: error: ';' expected
ret subBot_serveRedirect("https://" + req.webRequest.domain() + req.uri + htmlQuery(req.params));
^
/root/JavaX-Caches/tmp_133720898/main.java:15: error: variable declaration not allowed here
ret subBot_serveRedirect("https://" + req.webRequest.domain() + req.uri + htmlQuery(req.params));
^
/root/JavaX-Caches/tmp_133720898/main.java:15: error: not a statement
ret subBot_serveRedirect("https://" + req.webRequest.domain() + req.uri + htmlQuery(req.params));
^
/root/JavaX-Caches/tmp_133720898/main.java:15: error: ';' expected
ret subBot_serveRedirect("https://" + req.webRequest.domain() + req.uri + htmlQuery(req.params));
^
/root/JavaX-Caches/tmp_133720898/main.java:17: error: ';' expected
if (!requestAuthed) ret serveAuthForm(params.get('uri));
^
/root/JavaX-Caches/tmp_133720898/main.java:17: error: variable declaration not allowed here
if (!requestAuthed) ret serveAuthForm(params.get('uri));
^
/root/JavaX-Caches/tmp_133720898/main.java:17: error: unclosed character literal
if (!requestAuthed) ret serveAuthForm(params.get('uri));
^
/root/JavaX-Caches/tmp_133720898/main.java:17: error: not a statement
if (!requestAuthed) ret serveAuthForm(params.get('uri));
^
/root/JavaX-Caches/tmp_133720898/main.java:17: error: ';' expected
if (!requestAuthed) ret serveAuthForm(params.get('uri));
^
/root/JavaX-Caches/tmp_133720898/main.java:22: error: ';' expected
ret serveWorkerPage(req);
^
/root/JavaX-Caches/tmp_133720898/main.java:22: error: not a statement
ret serveWorkerPage(req);
^
/root/JavaX-Caches/tmp_133720898/main.java:22: error: ';' expected
ret serveWorkerPage(req);
^
/root/JavaX-Caches/tmp_133720898/main.java:36: error: not a statement
ret "Available workers: " + or2(joinWithComma(map(workersAvailable(), w -> w.renderAsHTML())), "-");
^
/root/JavaX-Caches/tmp_133720898/main.java:36: error: ';' expected
ret "Available workers: " + or2(joinWithComma(map(workersAvailable(), w -> w.renderAsHTML())), "-");
^
/root/JavaX-Caches/tmp_133720898/main.java:38: error: unclosed character literal
if (nempty(params.get('workerLogOut)))
^
/root/JavaX-Caches/tmp_133720898/main.java:38: error: not a statement
if (nempty(params.get('workerLogOut)))
^
/root/JavaX-Caches/tmp_133720898/main.java:38: error: ';' expected
if (nempty(params.get('workerLogOut)))
^
/root/JavaX-Caches/tmp_133720898/main.java:39: error: ')' expected
cset(auth, loggedIn := null);
^
/root/JavaX-Caches/tmp_133720898/main.java:41: error: unclosed character literal
if (auth.loggedIn != null && nempty(params.get('workerAvailableBox)))
^
/root/JavaX-Caches/tmp_133720898/main.java:41: error: not a statement
if (auth.loggedIn != null && nempty(params.get('workerAvailableBox)))
^
/root/JavaX-Caches/tmp_133720898/main.java:41: error: ';' expected
if (auth.loggedIn != null && nempty(params.get('workerAvailableBox)))
^
/root/JavaX-Caches/tmp_133720898/main.java:42: error: ')' expected
if (cset_trueIfChanged(auth.loggedIn, available := nempty(params.get('workerAvailable))))
^
/root/JavaX-Caches/tmp_133720898/main.java:42: error: illegal start of expression
if (cset_trueIfChanged(auth.loggedIn, available := nempty(params.get('workerAvailable))))
^
/root/JavaX-Caches/tmp_133720898/main.java:42: error: unclosed character literal
if (cset_trueIfChanged(auth.loggedIn, available := nempty(params.get('workerAvailable))))
^
/root/JavaX-Caches/tmp_133720898/main.java:42: error: not a statement
if (cset_trueIfChanged(auth.loggedIn, available := nempty(params.get('workerAvailable))))
^
/root/JavaX-Caches/tmp_133720898/main.java:42: error: ';' expected
if (cset_trueIfChanged(auth.loggedIn, available := nempty(params.get('workerAvailable))))
^
/root/JavaX-Caches/tmp_133720898/main.java:47: error: ')' expected
cset(conv, worker := auth.loggedIn);
^
/root/JavaX-Caches/tmp_133720898/main.java:47: error: not a statement
cset(conv, worker := auth.loggedIn);
^
/root/JavaX-Caches/tmp_133720898/main.java:47: error: ';' expected
cset(conv, worker := auth.loggedIn);
^
/root/JavaX-Caches/tmp_133720898/main.java:52: error: unclosed character literal
S loginID = params.get('workerLogIn);
^
/root/JavaX-Caches/tmp_133720898/main.java:52: error: not a statement
S loginID = params.get('workerLogIn);
^
/root/JavaX-Caches/tmp_133720898/main.java:52: error: ';' expected
S loginID = params.get('workerLogIn);
^
/root/JavaX-Caches/tmp_133720898/main.java:54: error: ')' expected
cset(auth, loggedIn := getConcept Worker(parseLong(loginID)));
^
/root/JavaX-Caches/tmp_133720898/main.java:54: error: ';' expected
cset(auth, loggedIn := getConcept Worker(parseLong(loginID)));
^
/root/JavaX-Caches/tmp_133720898/main.java:54: error: ';' expected
cset(auth, loggedIn := getConcept Worker(parseLong(loginID)));
^
/root/JavaX-Caches/tmp_133720898/main.java:56: error: unclosed character literal
Map map = prependEmptyOptionForHSelect(mapToOrderedMap(conceptsSortedByFieldCI(Worker, 'loginName),
^
/root/JavaX-Caches/tmp_133720898/main.java:56: error: not a statement
Map map = prependEmptyOptionForHSelect(mapToOrderedMap(conceptsSortedByFieldCI(Worker, 'loginName),
^
/root/JavaX-Caches/tmp_133720898/main.java:56: error: ';' expected
Map map = prependEmptyOptionForHSelect(mapToOrderedMap(conceptsSortedByFieldCI(Worker, 'loginName),
^
/root/JavaX-Caches/tmp_133720898/main.java:57: error: not a statement
w -> pair(w.id, w.loginName)));
^
/root/JavaX-Caches/tmp_133720898/main.java:57: error: ';' expected
w -> pair(w.id, w.loginName)));
^
/root/JavaX-Caches/tmp_133720898/main.java:59: error: ';' expected
ret hsansserif() + p("You are not logged in as a worker")
^
/root/JavaX-Caches/tmp_133720898/main.java:59: error: variable declaration not allowed here
ret hsansserif() + p("You are not logged in as a worker")
^
/root/JavaX-Caches/tmp_133720898/main.java:61: error: ')' expected
"Log in as: " + hselect("workerLogIn", map, conceptID(auth.loggedIn)) + " " + hsubmit("OK"), action := botMod().baseLink + "/worker");
^
/root/JavaX-Caches/tmp_133720898/main.java:60: error: not a statement
+ hpostform(
^
/root/JavaX-Caches/tmp_133720898/main.java:61: error: not a statement
"Log in as: " + hselect("workerLogIn", map, conceptID(auth.loggedIn)) + " " + hsubmit("OK"), action := botMod().baseLink + "/worker");
^
/root/JavaX-Caches/tmp_133720898/main.java:61: error: ';' expected
"Log in as: " + hselect("workerLogIn", map, conceptID(auth.loggedIn)) + " " + hsubmit("OK"), action := botMod().baseLink + "/worker");
^
/root/JavaX-Caches/tmp_133720898/main.java:66: error: not a statement
if (conv == null) ret "Conversation not found";
^
/root/JavaX-Caches/tmp_133720898/main.java:66: error: ';' expected
if (conv == null) ret "Conversation not found";
^
/root/JavaX-Caches/tmp_133720898/main.java:70: error: ';' expected
hsansserif() + loadJQuery()
^
/root/JavaX-Caches/tmp_133720898/main.java:76: error: ')' expected
? hsubmit("Accept conversation", name := "acceptConversation")
^
/root/JavaX-Caches/tmp_133720898/main.java:76: error: illegal start of expression
? hsubmit("Accept conversation", name := "acceptConversation")
^
/root/JavaX-Caches/tmp_133720898/main.java:76: error: ')' expected
? hsubmit("Accept conversation", name := "acceptConversation")
^
/root/JavaX-Caches/tmp_133720898/main.java:72: error: not a statement
+ hpostform(
^
/root/JavaX-Caches/tmp_133720898/main.java:77: error: ')' expected
: hsubmit("Turn bot back on", name := "turnBotOn"))
^
/root/JavaX-Caches/tmp_133720898/main.java:78: error: illegal start of expression
, action := botMod().baseLink + "/worker/innerFrameSet", target := "innerFrameSet")
^
/root/JavaX-Caches/tmp_133720898/main.java:78: error: ';' expected
, action := botMod().baseLink + "/worker/innerFrameSet", target := "innerFrameSet")
^
/root/JavaX-Caches/tmp_133720898/main.java:78: error: illegal start of expression
, action := botMod().baseLink + "/worker/innerFrameSet", target := "innerFrameSet")
^
/root/JavaX-Caches/tmp_133720898/main.java:78: error: ';' expected
, action := botMod().baseLink + "/worker/innerFrameSet", target := "innerFrameSet")
^
/root/JavaX-Caches/tmp_133720898/main.java:81: error: ')' expected
+ hscriptsrc(botMod().baseLink + "/script" + hquery(workerMode := 1, cookie := conv.cookie));
^
/root/JavaX-Caches/tmp_133720898/main.java:81: error: illegal start of expression
+ hscriptsrc(botMod().baseLink + "/script" + hquery(workerMode := 1, cookie := conv.cookie));
^
/root/JavaX-Caches/tmp_133720898/main.java:81: error: ';' expected
+ hscriptsrc(botMod().baseLink + "/script" + hquery(workerMode := 1, cookie := conv.cookie));
^
/root/JavaX-Caches/tmp_133720898/main.java:85: error: ')' expected
cset(auth.loggedIn, lastOnline := now());
^
/root/JavaX-Caches/tmp_133720898/main.java:85: error: ';' expected
cset(auth.loggedIn, lastOnline := now());
^
/root/JavaX-Caches/tmp_133720898/main.java:91: error: ';' expected
vmBus_send chatBot_startingWorkerPoll(mc(), conv);
^
/root/JavaX-Caches/tmp_133720898/main.java:91: error: ';' expected
vmBus_send chatBot_startingWorkerPoll(mc(), conv);
^
/root/JavaX-Caches/tmp_133720898/main.java:91: error: not a statement
vmBus_send chatBot_startingWorkerPoll(mc(), conv);
^
/root/JavaX-Caches/tmp_133720898/main.java:91: error: ';' expected
vmBus_send chatBot_startingWorkerPoll(mc(), conv);
^
/root/JavaX-Caches/tmp_133720898/main.java:102: error: illegal start of expression
content = hscript([[
^
/root/JavaX-Caches/tmp_133720898/main.java:102: error: illegal start of expression
content = hscript([[
^
/root/JavaX-Caches/tmp_133720898/main.java:103: error: illegal start of expression
window.parent.parent.frames[0].sendDesktopNotification("A worker is requested!", { action: function() { window.focus(); } });
^
/root/JavaX-Caches/tmp_133720898/main.java:103: error: ';' expected
window.parent.parent.frames[0].sendDesktopNotification("A worker is requested!", { action: function() { window.focus(); } });
^
/root/JavaX-Caches/tmp_133720898/main.java:103: error: illegal start of expression
window.parent.parent.frames[0].sendDesktopNotification("A worker is requested!", { action: function() { window.focus(); } });
^
/root/JavaX-Caches/tmp_133720898/main.java:105: error: illegal start of expression
]]);
^
/root/JavaX-Caches/tmp_133720898/main.java:112: error: ')' expected
conceptsWithFieldGreaterThan Conversation(lastPing := pingThreshold));
^
/root/JavaX-Caches/tmp_133720898/main.java:112: error: ')' expected
conceptsWithFieldGreaterThan Conversation(lastPing := pingThreshold));
^
/root/JavaX-Caches/tmp_133720898/main.java:112: error: not a statement
conceptsWithFieldGreaterThan Conversation(lastPing := pingThreshold));
^
/root/JavaX-Caches/tmp_133720898/main.java:112: error: ';' expected
conceptsWithFieldGreaterThan Conversation(lastPing := pingThreshold));
^
/root/JavaX-Caches/tmp_133720898/main.java:115: error: ';' expected
hhiddenWithID(+lastConversationChange) + tag table(
^
/root/JavaX-Caches/tmp_133720898/main.java:120: error: ')' expected
S convLink = botMod().baseLink + "/worker/innerFrameSet" + hquery(cookie := c.cookie);
^
/root/JavaX-Caches/tmp_133720898/main.java:120: error: not a statement
S convLink = botMod().baseLink + "/worker/innerFrameSet" + hquery(cookie := c.cookie);
^
/root/JavaX-Caches/tmp_133720898/main.java:120: error: ';' expected
S convLink = botMod().baseLink + "/worker/innerFrameSet" + hquery(cookie := c.cookie);
^
/root/JavaX-Caches/tmp_133720898/main.java:121: error: ';' expected
ret tag tr(
^
/root/JavaX-Caches/tmp_133720898/main.java:122: error: ')' expected
td(ahref(convLink, c.ip, target := "innerFrameSet")) +
^
/root/JavaX-Caches/tmp_133720898/main.java:126: error: ')' expected
td(ahref(convLink, hparagraphs(lambdaMap renderMsgForWorkerChat(lastMsgs)), target := "innerFrameSet", style := "text-decoration: none")), +style, /*class := "clickable-row", "data-href" := convLink*/);
^
/root/JavaX-Caches/tmp_133720898/main.java:125: error: not a statement
td(renderHowLongAgo(c.lastMsgTime())) +
^
/root/JavaX-Caches/tmp_133720898/main.java:126: error: ';' expected
td(ahref(convLink, hparagraphs(lambdaMap renderMsgForWorkerChat(lastMsgs)), target := "innerFrameSet", style := "text-decoration: none")), +style, /*class := "clickable-row", "data-href" := convLink*/);
^
/root/JavaX-Caches/tmp_133720898/main.java:126: error: illegal start of expression
td(ahref(convLink, hparagraphs(lambdaMap renderMsgForWorkerChat(lastMsgs)), target := "innerFrameSet", style := "text-decoration: none")), +style, /*class := "clickable-row", "data-href" := convLink*/);
^
/root/JavaX-Caches/tmp_133720898/main.java:126: error: ';' expected
td(ahref(convLink, hparagraphs(lambdaMap renderMsgForWorkerChat(lastMsgs)), target := "innerFrameSet", style := "text-decoration: none")), +style, /*class := "clickable-row", "data-href" := convLink*/);
^
/root/JavaX-Caches/tmp_133720898/main.java:126: error: illegal start of expression
td(ahref(convLink, hparagraphs(lambdaMap renderMsgForWorkerChat(lastMsgs)), target := "innerFrameSet", style := "text-decoration: none")), +style, /*class := "clickable-row", "data-href" := convLink*/);
^
/root/JavaX-Caches/tmp_133720898/main.java:126: error: ';' expected
td(ahref(convLink, hparagraphs(lambdaMap renderMsgForWorkerChat(lastMsgs)), target := "innerFrameSet", style := "text-decoration: none")), +style, /*class := "clickable-row", "data-href" := convLink*/);
^
/root/JavaX-Caches/tmp_133720898/main.java:126: error: not a statement
td(ahref(convLink, hparagraphs(lambdaMap renderMsgForWorkerChat(lastMsgs)), target := "innerFrameSet", style := "text-decoration: none")), +style, /*class := "clickable-row", "data-href" := convLink*/);
^
/root/JavaX-Caches/tmp_133720898/main.java:126: error: ';' expected
td(ahref(convLink, hparagraphs(lambdaMap renderMsgForWorkerChat(lastMsgs)), target := "innerFrameSet", style := "text-decoration: none")), +style, /*class := "clickable-row", "data-href" := convLink*/);
^
/root/JavaX-Caches/tmp_133720898/main.java:127: error: illegal start of expression
}), class := "responstable");
^
/root/JavaX-Caches/tmp_133720898/main.java:127: error: expected
}), class := "responstable");
^
/root/JavaX-Caches/tmp_133720898/main.java:129: error: variable declaration not allowed here
if (poll) ret content;
^
/root/JavaX-Caches/tmp_133720898/main.java:133: error: ';' expected
ret hhtml(
^
/root/JavaX-Caches/tmp_133720898/main.java:141: error: ')' expected
+ hhidden(workerAvailableBox := 1)
^
/root/JavaX-Caches/tmp_133720898/main.java:136: error: not a statement
+ hbody(h3(botName)
^
/root/JavaX-Caches/tmp_133720898/main.java:143: error: ')' expected
+ hcheckboxWithText("workerAvailable", "I am available", auth.loggedIn.available, onclick := "form.submit()")
^
100 errors
only showing the first 100 errors, of 178 total; use -Xmaxerrs if you would like to see more