Wrote /root/JavaX-Caches/tmp_1522546205/main.java - 15282 bytes (written=15282, should be 15282)
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_2088454837 /root/JavaX-Caches/tmp_1522546205/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1522546205/main.java:1: error: class, interface, or enum expected
do not include class And.
^
/root/JavaX-Caches/tmp_1522546205/main.java:1: error: '{' expected
do not include class And.
^
/root/JavaX-Caches/tmp_1522546205/main.java:5: error: class, interface, or enum expected
static int maxTypos = 1;
^
/root/JavaX-Caches/tmp_1522546205/main.java:7: error: class, interface, or enum expected
sS adminTitle = "Chat Bot Admin";
^
/root/JavaX-Caches/tmp_1522546205/main.java:8: error: class, interface, or enum expected
sS shortLink; // catchy link to admin if available
^
/root/JavaX-Caches/tmp_1522546205/main.java:9: error: class, interface, or enum expected
sbool enableWorkerChat;
^
/root/JavaX-Caches/tmp_1522546205/main.java:11: error: class, interface, or enum expected
sS embedderLink; // where chat bot will go
^
/root/JavaX-Caches/tmp_1522546205/main.java:12: error: class, interface, or enum expected
sS goDaddyEmbedCode;
^
/root/JavaX-Caches/tmp_1522546205/main.java:14: error: class, interface, or enum expected
static Cache> consistencyCheckResult = new(lambda0 consistencyCheck);
^
/root/JavaX-Caches/tmp_1522546205/main.java:16: error: class, interface, or enum expected
concept Category {
^
/root/JavaX-Caches/tmp_1522546205/main.java:18: error: class, interface, or enum expected
S name;
^
/root/JavaX-Caches/tmp_1522546205/main.java:19: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:23: error: class, interface, or enum expected
S code;
^
/root/JavaX-Caches/tmp_1522546205/main.java:24: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:28: error: class, interface, or enum expected
S language;
^
/root/JavaX-Caches/tmp_1522546205/main.java:29: error: class, interface, or enum expected
S questions; // line by line
^
/root/JavaX-Caches/tmp_1522546205/main.java:30: error: class, interface, or enum expected
S patterns; // to be determined
^
/root/JavaX-Caches/tmp_1522546205/main.java:31: error: class, interface, or enum expected
S answers; // one answer, or "random { answers separated by empty lines }"
^
/root/JavaX-Caches/tmp_1522546205/main.java:32: error: class, interface, or enum expected
S category; // "business", "smalltalk"
^
/root/JavaX-Caches/tmp_1522546205/main.java:34: error: class, interface, or enum expected
transient MMOPattern parsedPattern;
^
/root/JavaX-Caches/tmp_1522546205/main.java:36: error: class, interface, or enum expected
sS _fieldOrder = "language category index questions patterns answers";
^
/root/JavaX-Caches/tmp_1522546205/main.java:38: error: class, interface, or enum expected
void change {
^
/root/JavaX-Caches/tmp_1522546205/main.java:40: error: class, interface, or enum expected
super.change();
^
/root/JavaX-Caches/tmp_1522546205/main.java:41: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:46: error: class, interface, or enum expected
ret parsedPattern;
^
/root/JavaX-Caches/tmp_1522546205/main.java:47: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:56: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:60: error: class, interface, or enum expected
dbIndexing(Language, 'index, Category, 'index);
^
/root/JavaX-Caches/tmp_1522546205/main.java:60: error: unclosed character literal
dbIndexing(Language, 'index, Category, 'index);
^
/root/JavaX-Caches/tmp_1522546205/main.java:60: error: unclosed character literal
dbIndexing(Language, 'index, Category, 'index);
^
/root/JavaX-Caches/tmp_1522546205/main.java:61: error: class, interface, or enum expected
indexSingletonConcept(Defaults);
^
/root/JavaX-Caches/tmp_1522546205/main.java:62: error: class, interface, or enum expected
indexSingletonConcept(Settings);
^
/root/JavaX-Caches/tmp_1522546205/main.java:65: error: class, interface, or enum expected
cset(conceptsWhere QA(language := null), language := 'en);
^
/root/JavaX-Caches/tmp_1522546205/main.java:65: error: unclosed character literal
cset(conceptsWhere QA(language := null), language := 'en);
^
/root/JavaX-Caches/tmp_1522546205/main.java:66: error: class, interface, or enum expected
uniq(Language, code := 'en);
^
/root/JavaX-Caches/tmp_1522546205/main.java:66: error: unclosed character literal
uniq(Language, code := 'en);
^
/root/JavaX-Caches/tmp_1522546205/main.java:67: error: class, interface, or enum expected
removeConceptsWhere(Language, code := 'de);
^
/root/JavaX-Caches/tmp_1522546205/main.java:67: error: unclosed character literal
removeConceptsWhere(Language, code := 'de);
^
/root/JavaX-Caches/tmp_1522546205/main.java:70: error: class, interface, or enum expected
int i = 0;
^
/root/JavaX-Caches/tmp_1522546205/main.java:71: error: class, interface, or enum expected
for (S category : ll("business", "smalltalk"))
^
/root/JavaX-Caches/tmp_1522546205/main.java:73: error: class, interface, or enum expected
cset(conceptsWhere QA(category := null), category := "business");
^
/root/JavaX-Caches/tmp_1522546205/main.java:75: error: class, interface, or enum expected
onConceptsChange(r { consistencyCheckResult.clear(); });
^
/root/JavaX-Caches/tmp_1522546205/main.java:75: error: class, interface, or enum expected
onConceptsChange(r { consistencyCheckResult.clear(); });
^
/root/JavaX-Caches/tmp_1522546205/main.java:76: error: class, interface, or enum expected
reindexQAs();
^
/root/JavaX-Caches/tmp_1522546205/main.java:77: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:82: error: class, interface, or enum expected
ret serveText(unnull(answer(params.get("q"), "en")));
^
/root/JavaX-Caches/tmp_1522546205/main.java:83: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:89: error: class, interface, or enum expected
if (eq(uri, "/demo"))
^
/root/JavaX-Caches/tmp_1522546205/main.java:92: error: class, interface, or enum expected
if (eq(uri, "/download"))
^
/root/JavaX-Caches/tmp_1522546205/main.java:95: error: class, interface, or enum expected
if (eq(uri, "/embedCode"))
^
/root/JavaX-Caches/tmp_1522546205/main.java:110: error: class, interface, or enum expected
if (eq(uri, "/dbUploads/import")) {
^
/root/JavaX-Caches/tmp_1522546205/main.java:112: error: class, interface, or enum expected
DBUpload dbUpload = getConcept DBUpload(id);
^
/root/JavaX-Caches/tmp_1522546205/main.java:113: error: class, interface, or enum expected
if (dbUpload == null) ret "Not found";
^
/root/JavaX-Caches/tmp_1522546205/main.java:115: error: class, interface, or enum expected
Map qaMap = cast safeUnstructure(dbUpload.text);
^
/root/JavaX-Caches/tmp_1522546205/main.java:116: error: class, interface, or enum expected
Map existingByPattern = indexByFieldCI patterns(list(QA));
^
/root/JavaX-Caches/tmp_1522546205/main.java:117: error: class, interface, or enum expected
new LS msgs;
^
/root/JavaX-Caches/tmp_1522546205/main.java:118: error: class, interface, or enum expected
msgs.add("Importing...");
^
/root/JavaX-Caches/tmp_1522546205/main.java:120: error: class, interface, or enum expected
for (S _qaID : startingWith_dropPrefix("qa_", keys(params))) {
^
/root/JavaX-Caches/tmp_1522546205/main.java:122: error: class, interface, or enum expected
virtual QA qa = qaMap.get(qaID);
^
/root/JavaX-Caches/tmp_1522546205/main.java:123: error: class, interface, or enum expected
if (qa == null) continue;
^
/root/JavaX-Caches/tmp_1522546205/main.java:125: error: class, interface, or enum expected
S patterns = getString patterns(qa), answers = getString answers(qa);
^
/root/JavaX-Caches/tmp_1522546205/main.java:126: error: class, interface, or enum expected
QA existing = existingByPattern.get(patterns);
^
/root/JavaX-Caches/tmp_1522546205/main.java:127: error: class, interface, or enum expected
if (existing != null) {
^
/root/JavaX-Caches/tmp_1522546205/main.java:129: error: class, interface, or enum expected
msgs.add("Answers are " + (eq(answers, existing.answers) ? "identical" : "different"));
^
/root/JavaX-Caches/tmp_1522546205/main.java:130: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_1522546205/main.java:132: error: class, interface, or enum expected
copyFields(qa, imported, "index", "language", "questions", "patterns", "answers", "category");
^
/root/JavaX-Caches/tmp_1522546205/main.java:133: error: class, interface, or enum expected
msgs.add("Imported item " + qaID + " as " + imported.id + " (patterns: " + patterns + ")");
^
/root/JavaX-Caches/tmp_1522546205/main.java:134: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:138: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:142: error: class, interface, or enum expected
DBUpload dbUpload = getConcept DBUpload(id);
^
/root/JavaX-Caches/tmp_1522546205/main.java:144: error: class, interface, or enum expected
S contents;
^
/root/JavaX-Caches/tmp_1522546205/main.java:145: error: class, interface, or enum expected
if (dbUpload == null)
^
/root/JavaX-Caches/tmp_1522546205/main.java:147: error: class, interface, or enum expected
else {
^
/root/JavaX-Caches/tmp_1522546205/main.java:149: error: class, interface, or enum expected
Map qaMap = cast safeUnstructure(dbUpload.text);
^
/root/JavaX-Caches/tmp_1522546205/main.java:152: error: class, interface, or enum expected
qaMap = filterByValuePredicate(qaMap, c -> dynShortNameIs QA(c));
^
/root/JavaX-Caches/tmp_1522546205/main.java:153: error: class, interface, or enum expected
qaMap = mapSortedByFunctionOnValue(qaMap, c -> neqic(getString category(c), "smalltalk"));
^
/root/JavaX-Caches/tmp_1522546205/main.java:155: error: class, interface, or enum expected
for (long qaID, O c : qaMap) {
^
/root/JavaX-Caches/tmp_1522546205/main.java:157: error: class, interface, or enum expected
data.add(litorderedmap(
^
/root/JavaX-Caches/tmp_1522546205/main.java:165: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:172: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:175: error: class, interface, or enum expected
ret hhtml(hhead_title_decode(title)
^
/root/JavaX-Caches/tmp_1522546205/main.java:180: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:187: error: class, interface, or enum expected
ret super.getRenderer(field);
^
/root/JavaX-Caches/tmp_1522546205/main.java:188: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:191: error: class, interface, or enum expected
HCRUD crud = new(rawLink("dbUploads"), data) {
^
/root/JavaX-Caches/tmp_1522546205/main.java:194: error: class, interface, or enum expected
ret hhtml(hhead_title_decode(title)
^
/root/JavaX-Caches/tmp_1522546205/main.java:198: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:202: error: class, interface, or enum expected
ret joinNemptiesWithVBar(super.renderCmds(item), ahref(baseLink + "/view?id=" + urlencode(str(id)), "View questions"));
^
/root/JavaX-Caches/tmp_1522546205/main.java:203: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:206: error: class, interface, or enum expected
crud.tableClass = "responstable";
^
/root/JavaX-Caches/tmp_1522546205/main.java:207: error: class, interface, or enum expected
ret hsansserif() + hcss_responstable() + crud.renderPage(params);
^
/root/JavaX-Caches/tmp_1522546205/main.java:208: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:213: error: class, interface, or enum expected
S itemName() { ret "question"; }
^
/root/JavaX-Caches/tmp_1522546205/main.java:218: error: class, interface, or enum expected
if (eq(field, "index"))
^
/root/JavaX-Caches/tmp_1522546205/main.java:220: error: class, interface, or enum expected
if (eq(field, "patterns"))
^
/root/JavaX-Caches/tmp_1522546205/main.java:222: error: class, interface, or enum expected
if (eq(field, "answers"))
^
/root/JavaX-Caches/tmp_1522546205/main.java:224: error: class, interface, or enum expected
null;
^
/root/JavaX-Caches/tmp_1522546205/main.java:225: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1522546205/main.java:228: error: unclosed character literal
if (eqOneOf(field, 'questions, 'answers))
^
100 errors
only showing the first 100 errors, of 210 total; use -Xmaxerrs if you would like to see more