Wrote /root/JavaX-Caches/tmp_678887914/main.java - 11959 bytes (written=11959, should be 11959)
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_794665121 /root/JavaX-Caches/tmp_678887914/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_678887914/main.java:2: error: class, interface, or enum expected
concept Worker {
^
/root/JavaX-Caches/tmp_678887914/main.java:5: error: class, interface, or enum expected
bool available;
^
/root/JavaX-Caches/tmp_678887914/main.java:6: error: class, interface, or enum expected
long lastOnline; // recent timestamp if online
^
/root/JavaX-Caches/tmp_678887914/main.java:8: error: class, interface, or enum expected
sS _fieldOrder = "loginName displayName";
^
/root/JavaX-Caches/tmp_678887914/main.java:10: error: class, interface, or enum expected
S renderAsHTML() {
^
/root/JavaX-Caches/tmp_678887914/main.java:12: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_678887914/main.java:17: error: class, interface, or enum expected
int workerLongPollMaxWait = 1000*30;
^
/root/JavaX-Caches/tmp_678887914/main.java:18: error: class, interface, or enum expected
long lastWorkerRequested; // timestamp for notification sound
^
/root/JavaX-Caches/tmp_678887914/main.java:20: error: class, interface, or enum expected
O html(S uri, SS params, Conversation conv, AuthedDialogID auth) null {
^
/root/JavaX-Caches/tmp_678887914/main.java:22: error: class, interface, or enum expected
bool requestAuthed = auth != null;
^
/root/JavaX-Caches/tmp_678887914/main.java:24: error: class, interface, or enum expected
if (startsWith(uri2, "/workers-admin/")) {
^
/root/JavaX-Caches/tmp_678887914/main.java:25: error: unclosed character literal
if (!requestAuthed) ret serveAuthForm(params.get('uri));
^
/root/JavaX-Caches/tmp_678887914/main.java:26: error: class, interface, or enum expected
ret serveWorkersAdmin(uri, params);
^
/root/JavaX-Caches/tmp_678887914/main.java:27: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_678887914/main.java:30: error: unclosed character literal
if (!requestAuthed) ret serveAuthForm(params.get('uri));
^
/root/JavaX-Caches/tmp_678887914/main.java:32: error: class, interface, or enum expected
if (nempty(params.get("turnBotOn")))
^
/root/JavaX-Caches/tmp_678887914/main.java:35: error: class, interface, or enum expected
ret serveWorkerPage(auth, conv, uri, params);
^
/root/JavaX-Caches/tmp_678887914/main.java:36: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_678887914/main.java:43: error: class, interface, or enum expected
if (eq(uri, "/workers-admin/change-image")) {
^
/root/JavaX-Caches/tmp_678887914/main.java:45: error: class, interface, or enum expected
Worker worker = getConcept Worker(id);
^
/root/JavaX-Caches/tmp_678887914/main.java:46: error: class, interface, or enum expected
File f = workerImageFile(id);
^
/root/JavaX-Caches/tmp_678887914/main.java:47: error: class, interface, or enum expected
S content;
^
/root/JavaX-Caches/tmp_678887914/main.java:49: error: class, interface, or enum expected
S b64 = params.get("base64");
^
/root/JavaX-Caches/tmp_678887914/main.java:50: error: class, interface, or enum expected
if (nempty(b64))
^
/root/JavaX-Caches/tmp_678887914/main.java:53: error: class, interface, or enum expected
if (worker == null) content = "Worker not found";
^
/root/JavaX-Caches/tmp_678887914/main.java:54: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_678887914/main.java:59: error: unclosed character literal
var file = $('#myUpload')[0].files[0];
^
/root/JavaX-Caches/tmp_678887914/main.java:59: error: unclosed character literal
var file = $('#myUpload')[0].files[0];
^
/root/JavaX-Caches/tmp_678887914/main.java:60: error: class, interface, or enum expected
var reader = new FileReader();
^
/root/JavaX-Caches/tmp_678887914/main.java:62: error: class, interface, or enum expected
reader.onloadend = function () {
^
/root/JavaX-Caches/tmp_678887914/main.java:63: error: class, interface, or enum expected
var b64 = reader.result.replace(/^data:.+;base64,/, '');
^
/root/JavaX-Caches/tmp_678887914/main.java:63: error: empty character literal
var b64 = reader.result.replace(/^data:.+;base64,/, '');
^
/root/JavaX-Caches/tmp_678887914/main.java:64: error: class, interface, or enum expected
$("#base64").val(b64);
^
/root/JavaX-Caches/tmp_678887914/main.java:65: error: class, interface, or enum expected
console.log("Got base64 data: " + b64.length);
^
/root/JavaX-Caches/tmp_678887914/main.java:66: error: class, interface, or enum expected
$("#submitForm").submit();
^
/root/JavaX-Caches/tmp_678887914/main.java:67: error: class, interface, or enum expected
};
^
/root/JavaX-Caches/tmp_678887914/main.java:69: error: class, interface, or enum expected
reader.readAsDataURL(file);
^
/root/JavaX-Caches/tmp_678887914/main.java:70: error: class, interface, or enum expected
return false;
^
/root/JavaX-Caches/tmp_678887914/main.java:71: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_678887914/main.java:81: error: class, interface, or enum expected
ret hhtml(hhead_title("Change worker image")
^
/root/JavaX-Caches/tmp_678887914/main.java:85: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_678887914/main.java:89: error: class, interface, or enum expected
HCRUD crud = new(rawLink("workers-admin"), data) {
^
/root/JavaX-Caches/tmp_678887914/main.java:93: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_678887914/main.java:95: error: class, interface, or enum expected
crud.uneditableFields = litset("available", "lastOnline");
^
/root/JavaX-Caches/tmp_678887914/main.java:97: error: class, interface, or enum expected
crud.postProcessTableRow = (item, rendered) -> {
^
/root/JavaX-Caches/tmp_678887914/main.java:99: error: class, interface, or enum expected
long id = parseLong(item.get("id"));
^
/root/JavaX-Caches/tmp_678887914/main.java:100: error: class, interface, or enum expected
File f = workerImageFile(id);
^
/root/JavaX-Caches/tmp_678887914/main.java:101: error: class, interface, or enum expected
ret mapPlus(rendered, "Image" :=
^
/root/JavaX-Caches/tmp_678887914/main.java:103: error: class, interface, or enum expected
};
^
/root/JavaX-Caches/tmp_678887914/main.java:104: 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_678887914/main.java:105: error: class, interface, or enum expected
crud.tableClass = "responstable";
^
/root/JavaX-Caches/tmp_678887914/main.java:106: error: class, interface, or enum expected
ret hsansserif() + hcss_responstable()
^
/root/JavaX-Caches/tmp_678887914/main.java:108: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_678887914/main.java:114: error: class, interface, or enum expected
if (eq(afterLastSlash(uri), "availableWorkers"))
^
/root/JavaX-Caches/tmp_678887914/main.java:117: error: class, interface, or enum expected
if (nempty(params.get('workerLogOut)))
^
/root/JavaX-Caches/tmp_678887914/main.java:117: error: unclosed character literal
if (nempty(params.get('workerLogOut)))
^
/root/JavaX-Caches/tmp_678887914/main.java:120: error: class, interface, or enum expected
if (auth.loggedIn != null && nempty(params.get('workerAvailableBox)))
^
/root/JavaX-Caches/tmp_678887914/main.java:120: error: unclosed character literal
if (auth.loggedIn != null && nempty(params.get('workerAvailableBox)))
^
/root/JavaX-Caches/tmp_678887914/main.java:121: error: unclosed character literal
if (cset_trueIfChanged(auth.loggedIn, available := nempty(params.get('workerAvailable))))
^
/root/JavaX-Caches/tmp_678887914/main.java:124: error: class, interface, or enum expected
if (nempty(params.get("acceptConversation"))) {
^
/root/JavaX-Caches/tmp_678887914/main.java:126: error: class, interface, or enum expected
conv.turnBotOff();
^
/root/JavaX-Caches/tmp_678887914/main.java:127: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_678887914/main.java:129: error: unclosed character literal
S loginID = params.get('workerLogIn);
^
/root/JavaX-Caches/tmp_678887914/main.java:130: error: class, interface, or enum expected
if (nempty(loginID))
^
/root/JavaX-Caches/tmp_678887914/main.java:133: error: class, interface, or enum expected
Map map = prependEmptyOptionForHSelect(mapToOrderedMap(conceptsSortedByFieldCI(Worker, 'loginName),
^
/root/JavaX-Caches/tmp_678887914/main.java:133: error: unclosed character literal
Map map = prependEmptyOptionForHSelect(mapToOrderedMap(conceptsSortedByFieldCI(Worker, 'loginName),
^
/root/JavaX-Caches/tmp_678887914/main.java:135: error: class, interface, or enum expected
if (auth.loggedIn == null)
^
/root/JavaX-Caches/tmp_678887914/main.java:142: error: class, interface, or enum expected
if (eq(afterLastSlash(uri), "conversation")) {
^
/root/JavaX-Caches/tmp_678887914/main.java:145: error: class, interface, or enum expected
S onOffURL = rawLink("worker/botOnOff" + hquery(+cookie) + "&on=");
^
/root/JavaX-Caches/tmp_678887914/main.java:146: error: class, interface, or enum expected
ret
^
/root/JavaX-Caches/tmp_678887914/main.java:159: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_678887914/main.java:163: error: class, interface, or enum expected
bool poll = eq("1", params.get("poll")); // poll mode?
^
/root/JavaX-Caches/tmp_678887914/main.java:164: error: class, interface, or enum expected
S content = "";
^
/root/JavaX-Caches/tmp_678887914/main.java:166: error: class, interface, or enum expected
if (poll) {
^
/root/JavaX-Caches/tmp_678887914/main.java:168: error: class, interface, or enum expected
vmBus_send chatBot_startingWorkerPoll(mc(), conv);
^
/root/JavaX-Caches/tmp_678887914/main.java:170: error: class, interface, or enum expected
long start = sysNow();
^
/root/JavaX-Caches/tmp_678887914/main.java:171: error: class, interface, or enum expected
L msgs;
^
/root/JavaX-Caches/tmp_678887914/main.java:172: error: class, interface, or enum expected
bool first = true;
^
/root/JavaX-Caches/tmp_678887914/main.java:173: error: class, interface, or enum expected
while (licensed() && sysNow() < start+workerLongPollMaxWait
^
/root/JavaX-Caches/tmp_678887914/main.java:177: error: class, interface, or enum expected
printVars_str(+lastWorkerRequested, +seenChange);
^
/root/JavaX-Caches/tmp_678887914/main.java:178: error: class, interface, or enum expected
if (lastWorkerRequested > seenChange)
^
/root/JavaX-Caches/tmp_678887914/main.java:180: error: class, interface, or enum expected
sendDesktopNotification("A worker is requested!", { action: function() { window.focus(); } });
^
/root/JavaX-Caches/tmp_678887914/main.java:181: error: class, interface, or enum expected
if (window.workerRequestedSound == null) {
^
/root/JavaX-Caches/tmp_678887914/main.java:183: error: class, interface, or enum expected
window.workerRequestedSound = new Audio("https://botcompany.de/files/1400404/worker-requested.mp3");
^
/root/JavaX-Caches/tmp_678887914/main.java:184: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_678887914/main.java:186: error: class, interface, or enum expected
window.workerRequestedSound.play();
^
/root/JavaX-Caches/tmp_678887914/main.java:187: error: class, interface, or enum expected
]]);
^
/root/JavaX-Caches/tmp_678887914/main.java:190: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_678887914/main.java:193: error: class, interface, or enum expected
L convos = sortByCalculatedFieldDesc(c -> c.lastMsgTime(),
^
/root/JavaX-Caches/tmp_678887914/main.java:196: error: class, interface, or enum expected
content +=
^
/root/JavaX-Caches/tmp_678887914/main.java:201: error: class, interface, or enum expected
S style = c == conv ? "background: #90EE90" : null;
^
/root/JavaX-Caches/tmp_678887914/main.java:202: error: class, interface, or enum expected
S convLink = rawLink("worker" + hquery(cookie := c.cookie));
^
/root/JavaX-Caches/tmp_678887914/main.java:203: error: class, interface, or enum expected
ret tag tr(
^
/root/JavaX-Caches/tmp_678887914/main.java:209: error: class, interface, or enum expected
}), class := "responstable");
^
/root/JavaX-Caches/tmp_678887914/main.java:209: error: expected
}), class := "responstable");
^
/root/JavaX-Caches/tmp_678887914/main.java:211: error: class, interface, or enum expected
if (poll) ret content;
^
/root/JavaX-Caches/tmp_678887914/main.java:213: error: class, interface, or enum expected
S incrementalURL = rawLink("worker/conversations?poll=1&lastChange=");
^
/root/JavaX-Caches/tmp_678887914/main.java:215: error: class, interface, or enum expected
ret hhtml(
^
/root/JavaX-Caches/tmp_678887914/main.java:226: error: unclosed character literal
document.removeEventListener('click', enableSounds);
^
/root/JavaX-Caches/tmp_678887914/main.java:226: error: unclosed character literal
document.removeEventListener('click', enableSounds);
^
100 errors
only showing the first 100 errors, of 126 total; use -Xmaxerrs if you would like to see more