Wrote /root/JavaX-Caches/tmp_1133990113/main.java - 7362 bytes (written=7362, should be 7362) 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_962454090 /root/JavaX-Caches/tmp_1133990113/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_1133990113/main.java:1: error: class, interface, or enum expected !7 ^ /root/JavaX-Caches/tmp_1133990113/main.java:5: error: class, interface, or enum expected sS _fieldOrder = "globalID input output variables flags comment"; ^ /root/JavaX-Caches/tmp_1133990113/main.java:7: error: class, interface, or enum expected Set<S> vars() { ret asCISet(tok_splitAtComma(variables)); } ^ /root/JavaX-Caches/tmp_1133990113/main.java:7: error: class, interface, or enum expected Set<S> vars() { ret asCISet(tok_splitAtComma(variables)); } ^ /root/JavaX-Caches/tmp_1133990113/main.java:8: error: class, interface, or enum expected Set<S> flags() { ret asCISet(tok_splitAtComma(flags)); } ^ /root/JavaX-Caches/tmp_1133990113/main.java:13: error: class, interface, or enum expected S input, output; ^ /root/JavaX-Caches/tmp_1133990113/main.java:14: error: class, interface, or enum expected SS mapping; ^ /root/JavaX-Caches/tmp_1133990113/main.java:15: error: class, interface, or enum expected Bool good; ^ /root/JavaX-Caches/tmp_1133990113/main.java:16: error: class, interface, or enum expected sS _fieldOrder = "globalID rule good input output mapping"; ^ /root/JavaX-Caches/tmp_1133990113/main.java:17: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:21: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:25: error: class, interface, or enum expected indexConceptFields(PossibleExample, 'rule); ^ /root/JavaX-Caches/tmp_1133990113/main.java:25: error: unclosed character literal indexConceptFields(PossibleExample, 'rule); ^ /root/JavaX-Caches/tmp_1133990113/main.java:26: error: class, interface, or enum expected indexConceptFieldsCI(Input, 'input, Rule, 'input, PossibleExample, 'input); ^ /root/JavaX-Caches/tmp_1133990113/main.java:26: error: unclosed character literal indexConceptFieldsCI(Input, 'input, Rule, 'input, PossibleExample, 'input); ^ /root/JavaX-Caches/tmp_1133990113/main.java:26: error: unclosed character literal indexConceptFieldsCI(Input, 'input, Rule, 'input, PossibleExample, 'input); ^ /root/JavaX-Caches/tmp_1133990113/main.java:26: error: unclosed character literal indexConceptFieldsCI(Input, 'input, Rule, 'input, PossibleExample, 'input); ^ /root/JavaX-Caches/tmp_1133990113/main.java:27: error: class, interface, or enum expected indexConceptFieldsOrdered(Rule, 'globalID); ^ /root/JavaX-Caches/tmp_1133990113/main.java:27: error: unclosed character literal indexConceptFieldsOrdered(Rule, 'globalID); ^ /root/JavaX-Caches/tmp_1133990113/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:34: error: class, interface, or enum expected PossibleExample goodExample = random(objectsWhere(examples, good := true)); ^ /root/JavaX-Caches/tmp_1133990113/main.java:35: error: class, interface, or enum expected map.put("Example Input" := goodExample != null ? goodExample.input : null); ^ /root/JavaX-Caches/tmp_1133990113/main.java:36: error: class, interface, or enum expected map.put("Example Output" := goodExample != null ? goodExample.output : null); ^ /root/JavaX-Caches/tmp_1133990113/main.java:37: error: class, interface, or enum expected map.put("Possible Examples" := l(examples)); ^ /root/JavaX-Caches/tmp_1133990113/main.java:38: error: class, interface, or enum expected replaceKey(map, "input", "Pattern"); ^ /root/JavaX-Caches/tmp_1133990113/main.java:39: error: class, interface, or enum expected replaceMap(map, putKeysFirst(map, "globalID", "Example Input", "Example Output", "Pattern")); ^ /root/JavaX-Caches/tmp_1133990113/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:43: error: unclosed character literal ret conceptsSortedByFieldCI(Rule, 'input); ^ /root/JavaX-Caches/tmp_1133990113/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:50: error: class, interface, or enum expected if (eq(field, 'globalID)) ^ /root/JavaX-Caches/tmp_1133990113/main.java:50: error: unclosed character literal if (eq(field, 'globalID)) ^ /root/JavaX-Caches/tmp_1133990113/main.java:52: error: class, interface, or enum expected if (eqOneOf(field, 'input, "Pattern")) ^ /root/JavaX-Caches/tmp_1133990113/main.java:52: error: unclosed character literal if (eqOneOf(field, 'input, "Pattern")) ^ /root/JavaX-Caches/tmp_1133990113/main.java:54: error: class, interface, or enum expected ret html; ^ /root/JavaX-Caches/tmp_1133990113/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:57: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:60: error: <identifier> expected ret new HCRUD(new HCRUD_Concepts<Input>(Input.class) { ^ /root/JavaX-Caches/tmp_1133990113/main.java:62: error: ')' expected map.put("Possible Examples" := l(conceptsWhereCI PossibleExample(input := i.input))); ^ /root/JavaX-Caches/tmp_1133990113/main.java:62: error: ')' expected map.put("Possible Examples" := l(conceptsWhereCI PossibleExample(input := i.input))); ^ /root/JavaX-Caches/tmp_1133990113/main.java:62: error: ')' expected map.put("Possible Examples" := l(conceptsWhereCI PossibleExample(input := i.input))); ^ /root/JavaX-Caches/tmp_1133990113/main.java:62: error: not a statement map.put("Possible Examples" := l(conceptsWhereCI PossibleExample(input := i.input))); ^ /root/JavaX-Caches/tmp_1133990113/main.java:62: error: ';' expected map.put("Possible Examples" := l(conceptsWhereCI PossibleExample(input := i.input))); ^ /root/JavaX-Caches/tmp_1133990113/main.java:64: error: ')' expected appendQueryToURL("admin", cmd := "processInput", inputID := i.id), ^ /root/JavaX-Caches/tmp_1133990113/main.java:64: error: illegal start of expression appendQueryToURL("admin", cmd := "processInput", inputID := i.id), ^ /root/JavaX-Caches/tmp_1133990113/main.java:64: error: ';' expected appendQueryToURL("admin", cmd := "processInput", inputID := i.id), ^ /root/JavaX-Caches/tmp_1133990113/main.java:67: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_1133990113/main.java:68: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:71: error: <identifier> expected ret new HCRUD(new HCRUD_Concepts<PossibleExample>(PossibleExample.class) { ^ /root/JavaX-Caches/tmp_1133990113/main.java:74: error: ')' expected map.put(rule := HTML(ahref(rawLink(e.rule.globalIDStr()), e.rule.globalID()))); ^ /root/JavaX-Caches/tmp_1133990113/main.java:74: error: ';' expected map.put(rule := HTML(ahref(rawLink(e.rule.globalIDStr()), e.rule.globalID()))); ^ /root/JavaX-Caches/tmp_1133990113/main.java:75: error: ')' expected map.put(Cmds := HTML( ^ /root/JavaX-Caches/tmp_1133990113/main.java:76: error: ')' expected ahref(appendQueryToURL(rawLink(uri), cmd := "markGood", exampleID := e.id), "good") + " " + ^ /root/JavaX-Caches/tmp_1133990113/main.java:76: error: illegal start of expression ahref(appendQueryToURL(rawLink(uri), cmd := "markGood", exampleID := e.id), "good") + " " + ^ /root/JavaX-Caches/tmp_1133990113/main.java:76: error: ';' expected ahref(appendQueryToURL(rawLink(uri), cmd := "markGood", exampleID := e.id), "good") + " " + ^ /root/JavaX-Caches/tmp_1133990113/main.java:77: error: ')' expected ahref(appendQueryToURL(rawLink(uri), cmd := "markBad", exampleID := e.id), "bad"))); ^ /root/JavaX-Caches/tmp_1133990113/main.java:77: error: illegal start of expression ahref(appendQueryToURL(rawLink(uri), cmd := "markBad", exampleID := e.id), "bad"))); ^ /root/JavaX-Caches/tmp_1133990113/main.java:77: error: ';' expected ahref(appendQueryToURL(rawLink(uri), cmd := "markBad", exampleID := e.id), "bad"))); ^ /root/JavaX-Caches/tmp_1133990113/main.java:79: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_1133990113/main.java:80: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:84: error: class, interface, or enum expected bool authed = webAuthed(params); ^ /root/JavaX-Caches/tmp_1133990113/main.java:86: error: class, interface, or enum expected if (empty(uri = dropSlashPrefix(uri))) ^ /root/JavaX-Caches/tmp_1133990113/main.java:91: error: class, interface, or enum expected if (eqic(uri, "wordClassExamples")) ^ /root/JavaX-Caches/tmp_1133990113/main.java:95: error: class, interface, or enum expected if (possibleGlobalID(uri)) { ^ /root/JavaX-Caches/tmp_1133990113/main.java:97: error: class, interface, or enum expected if (r == null) ret subBot_serve404("Rule not found"); ^ /root/JavaX-Caches/tmp_1133990113/main.java:98: error: class, interface, or enum expected S html = htitle_h1("Rule " + r.globalID) ^ /root/JavaX-Caches/tmp_1133990113/main.java:101: error: class, interface, or enum expected HCRUD peCRUD = possibleExamplesCRUD(uri); ^ /root/JavaX-Caches/tmp_1133990113/main.java:102: error: class, interface, or enum expected ((HCRUD_Concepts) peCRUD.data).addFilter(rule := r); ^ /root/JavaX-Caches/tmp_1133990113/main.java:103: error: class, interface, or enum expected html += h3("Possible Examples") ^ /root/JavaX-Caches/tmp_1133990113/main.java:108: error: class, interface, or enum expected ret html; ^ /root/JavaX-Caches/tmp_1133990113/main.java:109: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:112: error: class, interface, or enum expected if (swic_slash(uri, "admin", m)) ^ /root/JavaX-Caches/tmp_1133990113/main.java:115: error: class, interface, or enum expected HMultiCRUD multi = new(rawLink("admin"), Rule, Input, PossibleExample) { ^ /root/JavaX-Caches/tmp_1133990113/main.java:118: error: class, interface, or enum expected if (eq(className, "Input")) ret inputsCRUD(); ^ /root/JavaX-Caches/tmp_1133990113/main.java:119: error: class, interface, or enum expected if (eq(className, "PossibleExample")) ret possibleExamplesCRUD(_uri); ^ /root/JavaX-Caches/tmp_1133990113/main.java:120: error: class, interface, or enum expected null; ^ /root/JavaX-Caches/tmp_1133990113/main.java:121: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:125: error: class, interface, or enum expected if (mutationRights) ^ /root/JavaX-Caches/tmp_1133990113/main.java:127: error: class, interface, or enum expected l.add(ahref(rawLink("wordClassExamples"), "word class examples")); ^ /root/JavaX-Caches/tmp_1133990113/main.java:128: error: class, interface, or enum expected ret l; ^ /root/JavaX-Caches/tmp_1133990113/main.java:129: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:132: error: class, interface, or enum expected multi.downloadRights = authed; ^ /root/JavaX-Caches/tmp_1133990113/main.java:133: error: class, interface, or enum expected HAbstractRenderable.MakeFrame mf = multi.makeFrame; ^ /root/JavaX-Caches/tmp_1133990113/main.java:134: error: class, interface, or enum expected multi.makeFrame = (title, contents) -> mf.makeFrame(title, contents) + p(small(sysNow()-startTime + " ms"), align := "right"); ^ /root/JavaX-Caches/tmp_1133990113/main.java:136: error: class, interface, or enum expected S cmd = params.get('cmd); ^ /root/JavaX-Caches/tmp_1133990113/main.java:136: error: unclosed character literal S cmd = params.get('cmd); ^ /root/JavaX-Caches/tmp_1133990113/main.java:137: error: class, interface, or enum expected if (nempty(cmd)) { ^ /root/JavaX-Caches/tmp_1133990113/main.java:139: error: class, interface, or enum expected if (eqOneOf(cmd, "markGood", "markBad")) { ^ /root/JavaX-Caches/tmp_1133990113/main.java:140: error: unclosed character literal PossibleExample e = getConcept(PossibleExample, parseLong(params.get('exampleID))); ^ /root/JavaX-Caches/tmp_1133990113/main.java:141: error: class, interface, or enum expected cset(e, good := eq(cmd, "markGood")); ^ /root/JavaX-Caches/tmp_1133990113/main.java:142: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:145: error: unclosed character literal Input i = getConcept(Input, toLong(params.get('inputID))); ^ /root/JavaX-Caches/tmp_1133990113/main.java:146: error: class, interface, or enum expected ret serveText(hijackPrint_tee_pcall(() -> processInput(i.input))); ^ /root/JavaX-Caches/tmp_1133990113/main.java:147: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:153: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:155: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:159: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:162: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1133990113/main.java:167: error: class, interface, or enum expected print("Combining input " + quote(input) + " with rule " + quote(r.input)); ^ /root/JavaX-Caches/tmp_1133990113/main.java:168: error: class, interface, or enum expected ITokenizer tokenizer = r.flags().contains("keep punctuation") ^ /root/JavaX-Caches/tmp_1133990113/main.java:172: error: class, interface, or enum expected for (SS mapping : arbitraryVarsFlexMatchIC_tok_iterator(r.vars(), Tok(tokenizer, r.input), Tok(tokenizer, input))) { ^ 100 errors only showing the first 100 errors, of 112 total; use -Xmaxerrs if you would like to see more