Wrote /root/JavaX-Caches/tmp_578771029/main.java - 11534 bytes (written=11534, should be 11534)
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_369613550 /root/JavaX-Caches/tmp_578771029/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_578771029/main.java:1: error: class, interface, or enum expected
sS mainBotID;
^
/root/JavaX-Caches/tmp_578771029/main.java:2: error: class, interface, or enum expected
static int maxTypos = 1;
^
/root/JavaX-Caches/tmp_578771029/main.java:4: error: class, interface, or enum expected
sS adminTitle = "Chat Bot Admin";
^
/root/JavaX-Caches/tmp_578771029/main.java:5: error: class, interface, or enum expected
sS shortLink; // catchy link to admin if available
^
/root/JavaX-Caches/tmp_578771029/main.java:6: error: class, interface, or enum expected
sbool enableWorkerChat;
^
/root/JavaX-Caches/tmp_578771029/main.java:8: error: class, interface, or enum expected
sS embedderLink; // where chat bot will go
^
/root/JavaX-Caches/tmp_578771029/main.java:9: error: class, interface, or enum expected
sS goDaddyEmbedCode;
^
/root/JavaX-Caches/tmp_578771029/main.java:11: error: class, interface, or enum expected
static Cache> consistencyCheckResult = new(lambda0 consistencyCheck);
^
/root/JavaX-Caches/tmp_578771029/main.java:13: error: class, interface, or enum expected
concept Category {
^
/root/JavaX-Caches/tmp_578771029/main.java:15: error: class, interface, or enum expected
S name;
^
/root/JavaX-Caches/tmp_578771029/main.java:16: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:20: error: class, interface, or enum expected
S code;
^
/root/JavaX-Caches/tmp_578771029/main.java:21: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:25: error: class, interface, or enum expected
S language;
^
/root/JavaX-Caches/tmp_578771029/main.java:26: error: class, interface, or enum expected
S questions; // line by line
^
/root/JavaX-Caches/tmp_578771029/main.java:27: error: class, interface, or enum expected
S patterns; // to be determined
^
/root/JavaX-Caches/tmp_578771029/main.java:28: error: class, interface, or enum expected
S answers; // one answer, or "random { answers separated by empty lines }"
^
/root/JavaX-Caches/tmp_578771029/main.java:29: error: class, interface, or enum expected
S category; // "business", "smalltalk"
^
/root/JavaX-Caches/tmp_578771029/main.java:31: error: class, interface, or enum expected
transient MMOPattern parsedPattern;
^
/root/JavaX-Caches/tmp_578771029/main.java:33: error: class, interface, or enum expected
sS _fieldOrder = "language category index questions patterns answers";
^
/root/JavaX-Caches/tmp_578771029/main.java:35: error: class, interface, or enum expected
void change {
^
/root/JavaX-Caches/tmp_578771029/main.java:37: error: class, interface, or enum expected
super.change();
^
/root/JavaX-Caches/tmp_578771029/main.java:38: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:43: error: class, interface, or enum expected
ret parsedPattern;
^
/root/JavaX-Caches/tmp_578771029/main.java:44: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:49: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:53: error: class, interface, or enum expected
bool botOn, botAutoOpen;
^
/root/JavaX-Caches/tmp_578771029/main.java:54: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:58: error: class, interface, or enum expected
dbIndexing(Language, 'index, Category, 'index);
^
/root/JavaX-Caches/tmp_578771029/main.java:58: error: unclosed character literal
dbIndexing(Language, 'index, Category, 'index);
^
/root/JavaX-Caches/tmp_578771029/main.java:58: error: unclosed character literal
dbIndexing(Language, 'index, Category, 'index);
^
/root/JavaX-Caches/tmp_578771029/main.java:59: error: class, interface, or enum expected
indexSingletonConcept(Defaults);
^
/root/JavaX-Caches/tmp_578771029/main.java:60: error: class, interface, or enum expected
indexSingletonConcept(Settings);
^
/root/JavaX-Caches/tmp_578771029/main.java:63: error: class, interface, or enum expected
cset(conceptsWhere QA(language := null), language := 'en);
^
/root/JavaX-Caches/tmp_578771029/main.java:63: error: unclosed character literal
cset(conceptsWhere QA(language := null), language := 'en);
^
/root/JavaX-Caches/tmp_578771029/main.java:64: error: class, interface, or enum expected
uniq(Language, code := 'en);
^
/root/JavaX-Caches/tmp_578771029/main.java:64: error: unclosed character literal
uniq(Language, code := 'en);
^
/root/JavaX-Caches/tmp_578771029/main.java:65: error: class, interface, or enum expected
removeConceptsWhere(Language, code := 'de);
^
/root/JavaX-Caches/tmp_578771029/main.java:65: error: unclosed character literal
removeConceptsWhere(Language, code := 'de);
^
/root/JavaX-Caches/tmp_578771029/main.java:68: error: class, interface, or enum expected
int i = 0;
^
/root/JavaX-Caches/tmp_578771029/main.java:69: error: class, interface, or enum expected
for (S category : ll("business", "smalltalk"))
^
/root/JavaX-Caches/tmp_578771029/main.java:71: error: class, interface, or enum expected
cset(conceptsWhere QA(category := null), category := "business");
^
/root/JavaX-Caches/tmp_578771029/main.java:73: error: class, interface, or enum expected
onConceptsChange(r { consistencyCheckResult.clear(); });
^
/root/JavaX-Caches/tmp_578771029/main.java:73: error: class, interface, or enum expected
onConceptsChange(r { consistencyCheckResult.clear(); });
^
/root/JavaX-Caches/tmp_578771029/main.java:74: error: class, interface, or enum expected
reindexQAs();
^
/root/JavaX-Caches/tmp_578771029/main.java:75: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:80: error: class, interface, or enum expected
ret serveText(unnull(answer(params.get("q"), "en")));
^
/root/JavaX-Caches/tmp_578771029/main.java:81: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:87: error: class, interface, or enum expected
if (eq(uri, "/demo"))
^
/root/JavaX-Caches/tmp_578771029/main.java:90: error: class, interface, or enum expected
if (eq(uri, "/download"))
^
/root/JavaX-Caches/tmp_578771029/main.java:93: error: class, interface, or enum expected
if (eq(uri, "/embedCode"))
^
/root/JavaX-Caches/tmp_578771029/main.java:108: error: class, interface, or enum expected
HCRUD_Concepts data = new HCRUD_Concepts(QA) {
^
/root/JavaX-Caches/tmp_578771029/main.java:109: error: class, interface, or enum expected
S itemName() { ret "question"; }
^
/root/JavaX-Caches/tmp_578771029/main.java:114: error: class, interface, or enum expected
if (eq(field, "index"))
^
/root/JavaX-Caches/tmp_578771029/main.java:116: error: class, interface, or enum expected
if (eq(field, "patterns"))
^
/root/JavaX-Caches/tmp_578771029/main.java:118: error: class, interface, or enum expected
if (eq(field, "answers"))
^
/root/JavaX-Caches/tmp_578771029/main.java:120: error: class, interface, or enum expected
null;
^
/root/JavaX-Caches/tmp_578771029/main.java:121: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:124: error: unclosed character literal
if (eqOneOf(field, 'questions, 'answers))
^
/root/JavaX-Caches/tmp_578771029/main.java:124: error: unclosed character literal
if (eqOneOf(field, 'questions, 'answers))
^
/root/JavaX-Caches/tmp_578771029/main.java:126: error: class, interface, or enum expected
if (eq(field, 'patterns))
^
/root/JavaX-Caches/tmp_578771029/main.java:126: error: unclosed character literal
if (eq(field, 'patterns))
^
/root/JavaX-Caches/tmp_578771029/main.java:128: error: class, interface, or enum expected
if (eq(field, 'language))
^
/root/JavaX-Caches/tmp_578771029/main.java:128: error: unclosed character literal
if (eq(field, 'language))
^
/root/JavaX-Caches/tmp_578771029/main.java:129: error: unclosed character literal
ret new ComboBox(collect code(conceptsSortedByField(Language, 'index)));
^
/root/JavaX-Caches/tmp_578771029/main.java:130: error: class, interface, or enum expected
if (eq(field, 'category))
^
/root/JavaX-Caches/tmp_578771029/main.java:130: error: unclosed character literal
if (eq(field, 'category))
^
/root/JavaX-Caches/tmp_578771029/main.java:131: error: unclosed character literal
ret new ComboBox(collect name(conceptsSortedByField(Category, 'index)));
^
/root/JavaX-Caches/tmp_578771029/main.java:132: error: class, interface, or enum expected
ret super.getRenderer(field);
^
/root/JavaX-Caches/tmp_578771029/main.java:133: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:138: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:142: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:145: error: unclosed character literal
S language = cast map.get('language);
^
/root/JavaX-Caches/tmp_578771029/main.java:146: error: class, interface, or enum expected
if (language != null) cset(uniq(Defaults), lastLanguage := language);
^
/root/JavaX-Caches/tmp_578771029/main.java:147: error: class, interface, or enum expected
ret super.createObject(map);
^
/root/JavaX-Caches/tmp_578771029/main.java:148: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:150: error: class, interface, or enum expected
data.onCreateOrUpdate.add(qa -> reindexQAs());
^
/root/JavaX-Caches/tmp_578771029/main.java:152: error: class, interface, or enum expected
HCRUD crud = new(rawLink(), data) {
^
/root/JavaX-Caches/tmp_578771029/main.java:155: error: class, interface, or enum expected
ret hhtml(hhead_title_decode(title)
^
/root/JavaX-Caches/tmp_578771029/main.java:159: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:163: error: class, interface, or enum expected
ret (empty(scorer.errors)
^
/root/JavaX-Caches/tmp_578771029/main.java:167: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:171: error: class, interface, or enum expected
ret p("Error: " + htmlEncode2(error.msg) + " " +
^
/root/JavaX-Caches/tmp_578771029/main.java:174: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:179: error: class, interface, or enum expected
if (eqGet(params, action := 'reindex)) {
^
/root/JavaX-Caches/tmp_578771029/main.java:179: error: unclosed character literal
if (eqGet(params, action := 'reindex)) {
^
/root/JavaX-Caches/tmp_578771029/main.java:180: error: unclosed character literal
long id = parseLong(params.get('id));
^
/root/JavaX-Caches/tmp_578771029/main.java:181: error: class, interface, or enum expected
int newIndex = parseInt(params.get('newIndex));
^
/root/JavaX-Caches/tmp_578771029/main.java:181: error: unclosed character literal
int newIndex = parseInt(params.get('newIndex));
^
/root/JavaX-Caches/tmp_578771029/main.java:182: error: class, interface, or enum expected
QA qa = getConcept(QA, id);
^
/root/JavaX-Caches/tmp_578771029/main.java:183: error: class, interface, or enum expected
if (qa == null) ret crud.refreshWithMsgs("Item not found");
^
/root/JavaX-Caches/tmp_578771029/main.java:184: error: class, interface, or enum expected
cset(qa, index := newIndex);
^
/root/JavaX-Caches/tmp_578771029/main.java:185: error: class, interface, or enum expected
reindexQAs();
^
/root/JavaX-Caches/tmp_578771029/main.java:186: error: class, interface, or enum expected
ret crud.refreshWithMsgs("Index of item " + qa.id + " changed");
^
/root/JavaX-Caches/tmp_578771029/main.java:187: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:191: error: class, interface, or enum expected
ret crud.refreshWithMsgs("Bot turned on!");
^
/root/JavaX-Caches/tmp_578771029/main.java:192: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:196: error: class, interface, or enum expected
ret crud.refreshWithMsgs("Bot turned off!");
^
/root/JavaX-Caches/tmp_578771029/main.java:197: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_578771029/main.java:201: error: class, interface, or enum expected
ret crud.refreshWithMsgs("Bot auto-open turned " + onOff(botAutoOpen()) + "!");
^
100 errors
only showing the first 100 errors, of 165 total; use -Xmaxerrs if you would like to see more