Wrote /root/JavaX-Caches/tmp_240327681/main.java - 3687 bytes (written=3687, should be 3687)
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_370242624 /root/JavaX-Caches/tmp_240327681/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_240327681/main.java:1: error: class, interface, or enum expected
concept TestScript {
^
/root/JavaX-Caches/tmp_240327681/main.java:3: error: class, interface, or enum expected
bool active;
^
/root/JavaX-Caches/tmp_240327681/main.java:4: error: class, interface, or enum expected
long lastRun;
^
/root/JavaX-Caches/tmp_240327681/main.java:5: error: class, interface, or enum expected
bool testedOK;
^
/root/JavaX-Caches/tmp_240327681/main.java:6: error: class, interface, or enum expected
S botLinePattern1, userLine1;
^
/root/JavaX-Caches/tmp_240327681/main.java:7: error: class, interface, or enum expected
S botLinePattern2, userLine2;
^
/root/JavaX-Caches/tmp_240327681/main.java:8: error: class, interface, or enum expected
S botLinePattern3, userLine3;
^
/root/JavaX-Caches/tmp_240327681/main.java:9: error: class, interface, or enum expected
S botLinePattern4, userLine4;
^
/root/JavaX-Caches/tmp_240327681/main.java:10: error: class, interface, or enum expected
S botLinePattern5, userLine5;
^
/root/JavaX-Caches/tmp_240327681/main.java:11: error: class, interface, or enum expected
S botLinePattern6, userLine6;
^
/root/JavaX-Caches/tmp_240327681/main.java:12: error: class, interface, or enum expected
S botLinePattern7, userLine7;
^
/root/JavaX-Caches/tmp_240327681/main.java:13: error: class, interface, or enum expected
S botLinePattern8, userLine8;
^
/root/JavaX-Caches/tmp_240327681/main.java:15: error: class, interface, or enum expected
int highestIndex() { ret 8; }
^
/root/JavaX-Caches/tmp_240327681/main.java:15: error: class, interface, or enum expected
int highestIndex() { ret 8; }
^
/root/JavaX-Caches/tmp_240327681/main.java:19: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_240327681/main.java:23: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_240327681/main.java:29: error: class, interface, or enum expected
bool requestAuthed = auth != null;
^
/root/JavaX-Caches/tmp_240327681/main.java:31: error: class, interface, or enum expected
if (startsWith(uri2, "/testscripts/")) {
^
/root/JavaX-Caches/tmp_240327681/main.java:32: error: unclosed character literal
if (!requestAuthed) ret serveAuthForm(params.get('uri));
^
/root/JavaX-Caches/tmp_240327681/main.java:33: error: class, interface, or enum expected
ret serveTestScriptingAdmin(uri, params);
^
/root/JavaX-Caches/tmp_240327681/main.java:34: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_240327681/main.java:40: error: class, interface, or enum expected
if (ewic(uri, "/run-test")) {
^
/root/JavaX-Caches/tmp_240327681/main.java:42: error: class, interface, or enum expected
TestScript script = getConcept TestScript(id);
^
/root/JavaX-Caches/tmp_240327681/main.java:43: error: class, interface, or enum expected
if (script == null) ret "Script " + id + " not found";
^
/root/JavaX-Caches/tmp_240327681/main.java:44: error: class, interface, or enum expected
S output = hijackPrint_tee_pcall(() -> runTestScript(script));
^
/root/JavaX-Caches/tmp_240327681/main.java:45: error: class, interface, or enum expected
S title = "Test results for script: " + script.scriptName;
^
/root/JavaX-Caches/tmp_240327681/main.java:47: error: class, interface, or enum expected
ret hhtml(hhead_title(title) + hbody(
^
/root/JavaX-Caches/tmp_240327681/main.java:51: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_240327681/main.java:55: error: class, interface, or enum expected
HCRUD crud = new(rawLink("testscripts"), data) {
^
/root/JavaX-Caches/tmp_240327681/main.java:63: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_240327681/main.java:68: error: class, interface, or enum expected
ret super.renderValue(field, value);
^
/root/JavaX-Caches/tmp_240327681/main.java:69: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_240327681/main.java:71: error: class, interface, or enum expected
crud.renderCmds = item -> crud.renderCmds_base(item)
^
/root/JavaX-Caches/tmp_240327681/main.java:73: error: class, interface, or enum expected
crud.cmdsLeft = true;
^
/root/JavaX-Caches/tmp_240327681/main.java:74: error: class, interface, or enum expected
crud.tableClass = "responstable";
^
/root/JavaX-Caches/tmp_240327681/main.java:75: error: class, interface, or enum expected
crud.uneditableFields = litset("lastRun", "testedOK");
^
/root/JavaX-Caches/tmp_240327681/main.java:76: error: class, interface, or enum expected
ret subBot_serveHTMLNoCache(crud.renderPage(params));
^
/root/JavaX-Caches/tmp_240327681/main.java:77: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_240327681/main.java:82: error: class, interface, or enum expected
tester.params.put("testMode", "1");
^
/root/JavaX-Caches/tmp_240327681/main.java:83: error: class, interface, or enum expected
tester.start();
^
/root/JavaX-Caches/tmp_240327681/main.java:85: error: class, interface, or enum expected
int i = 0;
^
/root/JavaX-Caches/tmp_240327681/main.java:86: error: class, interface, or enum expected
for (int idx = 1; idx <= script.highestIndex(); idx++) {
^
/root/JavaX-Caches/tmp_240327681/main.java:86: error: class, interface, or enum expected
for (int idx = 1; idx <= script.highestIndex(); idx++) {
^
/root/JavaX-Caches/tmp_240327681/main.java:86: error: class, interface, or enum expected
for (int idx = 1; idx <= script.highestIndex(); idx++) {
^
/root/JavaX-Caches/tmp_240327681/main.java:88: error: class, interface, or enum expected
if (nempty(pat)) {
^
/root/JavaX-Caches/tmp_240327681/main.java:90: error: class, interface, or enum expected
tester.waitForMessages(i+1);
^
/root/JavaX-Caches/tmp_240327681/main.java:91: error: class, interface, or enum expected
WebChatBotMsg msg = get(tester.msgs, i);
^
/root/JavaX-Caches/tmp_240327681/main.java:92: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_240327681/main.java:94: error: class, interface, or enum expected
assertTrue("fromBot", !msg.fromUser);
^
/root/JavaX-Caches/tmp_240327681/main.java:95: error: class, interface, or enum expected
} on fail {
^
/root/JavaX-Caches/tmp_240327681/main.java:97: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_240327681/main.java:99: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_240327681/main.java:102: error: class, interface, or enum expected
if (nempty(userLine)) {
^
/root/JavaX-Caches/tmp_240327681/main.java:104: error: class, interface, or enum expected
tester.sendMsg(userLine);
^
/root/JavaX-Caches/tmp_240327681/main.java:105: error: class, interface, or enum expected
++i;
^
/root/JavaX-Caches/tmp_240327681/main.java:106: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_240327681/main.java:110: error: class, interface, or enum expected
cset(script, testedOK := true);
^
/root/JavaX-Caches/tmp_240327681/main.java:111: error: class, interface, or enum expected
} catch print e {
^
/root/JavaX-Caches/tmp_240327681/main.java:113: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_240327681/main.java:115: error: class, interface, or enum expected
}
^
60 errors