Wrote /root/JavaX-Caches/tmp_753324206/main.java - 13125 bytes (written=13125, should be 13125)
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_1582613585 /root/JavaX-Caches/tmp_753324206/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_753324206/main.java:2: error: class, interface, or enum expected
concept Worker {
^
/root/JavaX-Caches/tmp_753324206/main.java:5: error: class, interface, or enum expected
bool available;
^
/root/JavaX-Caches/tmp_753324206/main.java:6: error: class, interface, or enum expected
long lastOnline; // recent timestamp if online
^
/root/JavaX-Caches/tmp_753324206/main.java:8: error: class, interface, or enum expected
sS _fieldOrder = "loginName displayName";
^
/root/JavaX-Caches/tmp_753324206/main.java:10: error: class, interface, or enum expected
S renderAsHTML() {
^
/root/JavaX-Caches/tmp_753324206/main.java:12: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_753324206/main.java:17: error: class, interface, or enum expected
int workerLongPollMaxWait = 1000*30;
^
/root/JavaX-Caches/tmp_753324206/main.java:18: error: class, interface, or enum expected
long lastWorkerRequested; // timestamp for notification sound
^
/root/JavaX-Caches/tmp_753324206/main.java:20: error: class, interface, or enum expected
O html(S uri, SS params, Conversation conv, AuthedDialogID auth) null {
^
/root/JavaX-Caches/tmp_753324206/main.java:22: error: class, interface, or enum expected
bool requestAuthed = auth != null;
^
/root/JavaX-Caches/tmp_753324206/main.java:24: error: class, interface, or enum expected
if (startsWith(uri2, "/workers-admin/")) {
^
/root/JavaX-Caches/tmp_753324206/main.java:25: error: unclosed character literal
if (!requestAuthed) ret serveAuthForm(params.get('uri));
^
/root/JavaX-Caches/tmp_753324206/main.java:26: error: class, interface, or enum expected
ret serveWorkersAdmin(uri, params);
^
/root/JavaX-Caches/tmp_753324206/main.java:27: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_753324206/main.java:33: error: class, interface, or enum expected
if (!requestAuthed) ret serveAuthForm(params.get('uri));
^
/root/JavaX-Caches/tmp_753324206/main.java:33: error: unclosed character literal
if (!requestAuthed) ret serveAuthForm(params.get('uri));
^
/root/JavaX-Caches/tmp_753324206/main.java:35: error: class, interface, or enum expected
if (nempty(params.get("turnBotOn")))
^
/root/JavaX-Caches/tmp_753324206/main.java:38: error: class, interface, or enum expected
ret serveWorkerPage(auth, conv, uri, params);
^
/root/JavaX-Caches/tmp_753324206/main.java:39: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_753324206/main.java:46: error: class, interface, or enum expected
if (eq(uri, "/workers-admin/change-image")) {
^
/root/JavaX-Caches/tmp_753324206/main.java:48: error: class, interface, or enum expected
Worker worker = getConcept Worker(id);
^
/root/JavaX-Caches/tmp_753324206/main.java:49: error: class, interface, or enum expected
File f = workerImageFile(id);
^
/root/JavaX-Caches/tmp_753324206/main.java:50: error: class, interface, or enum expected
S content;
^
/root/JavaX-Caches/tmp_753324206/main.java:52: error: class, interface, or enum expected
S b64 = params.get("base64");
^
/root/JavaX-Caches/tmp_753324206/main.java:53: error: class, interface, or enum expected
if (nempty(b64))
^
/root/JavaX-Caches/tmp_753324206/main.java:56: error: class, interface, or enum expected
if (worker == null) content = "Worker not found";
^
/root/JavaX-Caches/tmp_753324206/main.java:57: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_753324206/main.java:62: error: unclosed character literal
var file = $('#myUpload')[0].files[0];
^
/root/JavaX-Caches/tmp_753324206/main.java:62: error: unclosed character literal
var file = $('#myUpload')[0].files[0];
^
/root/JavaX-Caches/tmp_753324206/main.java:63: error: class, interface, or enum expected
var reader = new FileReader();
^
/root/JavaX-Caches/tmp_753324206/main.java:65: error: class, interface, or enum expected
reader.onloadend = function () {
^
/root/JavaX-Caches/tmp_753324206/main.java:66: error: class, interface, or enum expected
var b64 = reader.result.replace(/^data:.+;base64,/, '');
^
/root/JavaX-Caches/tmp_753324206/main.java:66: error: empty character literal
var b64 = reader.result.replace(/^data:.+;base64,/, '');
^
/root/JavaX-Caches/tmp_753324206/main.java:67: error: class, interface, or enum expected
$("#base64").val(b64);
^
/root/JavaX-Caches/tmp_753324206/main.java:68: error: class, interface, or enum expected
console.log("Got base64 data: " + b64.length);
^
/root/JavaX-Caches/tmp_753324206/main.java:69: error: class, interface, or enum expected
$("#submitForm").submit();
^
/root/JavaX-Caches/tmp_753324206/main.java:70: error: class, interface, or enum expected
};
^
/root/JavaX-Caches/tmp_753324206/main.java:72: error: class, interface, or enum expected
reader.readAsDataURL(file);
^
/root/JavaX-Caches/tmp_753324206/main.java:73: error: class, interface, or enum expected
return false;
^
/root/JavaX-Caches/tmp_753324206/main.java:74: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_753324206/main.java:85: error: class, interface, or enum expected
ret hhtml(hhead_title("Change worker image")
^
/root/JavaX-Caches/tmp_753324206/main.java:89: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_753324206/main.java:93: error: class, interface, or enum expected
HCRUD crud = new(rawLink("workers-admin"), data) {
^
/root/JavaX-Caches/tmp_753324206/main.java:97: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_753324206/main.java:99: error: class, interface, or enum expected
crud.unshownFields = litset("available", "lastOnline", "away");
^
/root/JavaX-Caches/tmp_753324206/main.java:101: error: class, interface, or enum expected
crud.postProcessTableRow = (item, rendered) -> {
^
/root/JavaX-Caches/tmp_753324206/main.java:103: error: class, interface, or enum expected
long id = parseLong(item.get("id"));
^
/root/JavaX-Caches/tmp_753324206/main.java:104: error: class, interface, or enum expected
File f = workerImageFile(id);
^
/root/JavaX-Caches/tmp_753324206/main.java:105: error: class, interface, or enum expected
ret mapPlus(rendered, "Image" :=
^
/root/JavaX-Caches/tmp_753324206/main.java:107: error: class, interface, or enum expected
};
^
/root/JavaX-Caches/tmp_753324206/main.java:108: error: class, interface, or enum expected
crud.renderCmds = item -> crud.renderCmds_base(item) + " | " + ahref(rawLink("workers-admin/change-image" + hquery(id := item.get("id"))), "Change image...");
^
/root/JavaX-Caches/tmp_753324206/main.java:109: error: class, interface, or enum expected
crud.tableClass = "responstable";
^
/root/JavaX-Caches/tmp_753324206/main.java:110: error: class, interface, or enum expected
ret hsansserif() + hcss_responstable()
^
/root/JavaX-Caches/tmp_753324206/main.java:112: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_753324206/main.java:117: error: class, interface, or enum expected
S uri2 = afterLastSlash(uri);
^
/root/JavaX-Caches/tmp_753324206/main.java:119: error: class, interface, or enum expected
if (eq(uri2, "availableWorkers"))
^
/root/JavaX-Caches/tmp_753324206/main.java:122: error: class, interface, or enum expected
if (nempty(params.get('workerLogOut)))
^
/root/JavaX-Caches/tmp_753324206/main.java:122: error: unclosed character literal
if (nempty(params.get('workerLogOut)))
^
/root/JavaX-Caches/tmp_753324206/main.java:125: error: class, interface, or enum expected
if (auth.loggedIn != null && nempty(params.get('workerAvailableBox)))
^
/root/JavaX-Caches/tmp_753324206/main.java:125: error: unclosed character literal
if (auth.loggedIn != null && nempty(params.get('workerAvailableBox)))
^
/root/JavaX-Caches/tmp_753324206/main.java:126: error: unclosed character literal
if (cset_trueIfChanged(auth.loggedIn, available := nempty(params.get('workerAvailable))))
^
/root/JavaX-Caches/tmp_753324206/main.java:129: error: class, interface, or enum expected
if (nempty(params.get("acceptConversation"))) {
^
/root/JavaX-Caches/tmp_753324206/main.java:132: error: class, interface, or enum expected
conv.turnBotOff();
^
/root/JavaX-Caches/tmp_753324206/main.java:133: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_753324206/main.java:136: error: unclosed character literal
S loginID = params.get('workerLogIn);
^
/root/JavaX-Caches/tmp_753324206/main.java:137: error: class, interface, or enum expected
if (nempty(loginID))
^
/root/JavaX-Caches/tmp_753324206/main.java:140: error: class, interface, or enum expected
Map map = prependEmptyOptionForHSelect(mapToOrderedMap(conceptsSortedByFieldCI(Worker, 'loginName),
^
/root/JavaX-Caches/tmp_753324206/main.java:140: error: unclosed character literal
Map map = prependEmptyOptionForHSelect(mapToOrderedMap(conceptsSortedByFieldCI(Worker, 'loginName),
^
/root/JavaX-Caches/tmp_753324206/main.java:142: error: class, interface, or enum expected
if (auth.loggedIn == null)
^
/root/JavaX-Caches/tmp_753324206/main.java:149: error: class, interface, or enum expected
if (eq(uri2, "conversation")) {
^
/root/JavaX-Caches/tmp_753324206/main.java:152: error: class, interface, or enum expected
S onOffURL = rawLink("worker/botOnOff" + hquery(+cookie) + "&on=");
^
/root/JavaX-Caches/tmp_753324206/main.java:153: error: class, interface, or enum expected
ret
^
/root/JavaX-Caches/tmp_753324206/main.java:166: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_753324206/main.java:170: error: class, interface, or enum expected
bool poll = eq("1", params.get("poll")); // poll mode?
^
/root/JavaX-Caches/tmp_753324206/main.java:171: error: class, interface, or enum expected
S content = "";
^
/root/JavaX-Caches/tmp_753324206/main.java:173: error: class, interface, or enum expected
if (poll) {
^
/root/JavaX-Caches/tmp_753324206/main.java:175: error: class, interface, or enum expected
vmBus_send chatBot_startingWorkerPoll(mc(), conv);
^
/root/JavaX-Caches/tmp_753324206/main.java:177: error: class, interface, or enum expected
long start = sysNow();
^
/root/JavaX-Caches/tmp_753324206/main.java:178: error: class, interface, or enum expected
L msgs;
^
/root/JavaX-Caches/tmp_753324206/main.java:179: error: class, interface, or enum expected
bool first = true;
^
/root/JavaX-Caches/tmp_753324206/main.java:180: error: class, interface, or enum expected
while (licensed() && sysNow() < start+workerLongPollMaxWait
^
/root/JavaX-Caches/tmp_753324206/main.java:184: error: class, interface, or enum expected
printVars_str(+lastWorkerRequested, +seenChange);
^
/root/JavaX-Caches/tmp_753324206/main.java:185: error: class, interface, or enum expected
if (lastWorkerRequested > seenChange)
^
/root/JavaX-Caches/tmp_753324206/main.java:187: error: class, interface, or enum expected
window.parent.parent.frames[0].sendDesktopNotification("A worker is requested!", { action: function() { window.focus(); } });
^
/root/JavaX-Caches/tmp_753324206/main.java:188: error: class, interface, or enum expected
window.parent.parent.frames[0].playWorkerRequestedSound();
^
/root/JavaX-Caches/tmp_753324206/main.java:189: error: class, interface, or enum expected
]]);
^
/root/JavaX-Caches/tmp_753324206/main.java:192: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_753324206/main.java:195: error: class, interface, or enum expected
L convos = sortByCalculatedFieldDesc(c -> c.lastMsgTime(),
^
/root/JavaX-Caches/tmp_753324206/main.java:198: error: class, interface, or enum expected
content +=
^
/root/JavaX-Caches/tmp_753324206/main.java:203: error: class, interface, or enum expected
S style = c == conv ? "background: #90EE90" : null;
^
/root/JavaX-Caches/tmp_753324206/main.java:204: error: class, interface, or enum expected
S convLink = rawLink("worker/innerFrameSet" + hquery(cookie := c.cookie));
^
/root/JavaX-Caches/tmp_753324206/main.java:205: error: class, interface, or enum expected
ret tag tr(
^
/root/JavaX-Caches/tmp_753324206/main.java:211: error: class, interface, or enum expected
}), class := "responstable");
^
/root/JavaX-Caches/tmp_753324206/main.java:211: error: expected
}), class := "responstable");
^
/root/JavaX-Caches/tmp_753324206/main.java:213: error: class, interface, or enum expected
if (poll) ret content;
^
/root/JavaX-Caches/tmp_753324206/main.java:215: error: class, interface, or enum expected
S incrementalURL = rawLink("worker/conversations?poll=1&lastChange=");
^
/root/JavaX-Caches/tmp_753324206/main.java:217: error: class, interface, or enum expected
ret hhtml(
^
/root/JavaX-Caches/tmp_753324206/main.java:239: error: class, interface, or enum expected
if (!lastChange)
^
/root/JavaX-Caches/tmp_753324206/main.java:241: error: class, interface, or enum expected
else {
^
/root/JavaX-Caches/tmp_753324206/main.java:243: error: class, interface, or enum expected
console.log("Loading " + url);
^
100 errors
only showing the first 100 errors, of 132 total; use -Xmaxerrs if you would like to see more