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

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

/root/JavaX-Caches/tmp_1038573548/main.java:1: error: class, interface, or enum expected !7 ^ /root/JavaX-Caches/tmp_1038573548/main.java:5: error: class, interface, or enum expected concept PhysicalSlice { new Ref<Page> slicePage; } ^ /root/JavaX-Caches/tmp_1038573548/main.java:9: error: class, interface, or enum expected S globalID = aGlobalID(); ^ /root/JavaX-Caches/tmp_1038573548/main.java:10: error: class, interface, or enum expected S url; ^ /root/JavaX-Caches/tmp_1038573548/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1038573548/main.java:15: error: class, interface, or enum expected new Ref<Page> page; ^ /root/JavaX-Caches/tmp_1038573548/main.java:16: error: class, interface, or enum expected int count; ^ /root/JavaX-Caches/tmp_1038573548/main.java:17: error: class, interface, or enum expected S key, value; ^ /root/JavaX-Caches/tmp_1038573548/main.java:18: error: class, interface, or enum expected S ip; ^ /root/JavaX-Caches/tmp_1038573548/main.java:19: error: class, interface, or enum expected new Ref<Signer> signer; ^ /root/JavaX-Caches/tmp_1038573548/main.java:20: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1038573548/main.java:24: error: class, interface, or enum expected S publicKey; ^ /root/JavaX-Caches/tmp_1038573548/main.java:25: error: class, interface, or enum expected bool trusted; ^ /root/JavaX-Caches/tmp_1038573548/main.java:26: error: class, interface, or enum expected S approvedBy; ^ /root/JavaX-Caches/tmp_1038573548/main.java:27: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1038573548/main.java:31: error: class, interface, or enum expected Page slicePage; ^ /root/JavaX-Caches/tmp_1038573548/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1038573548/main.java:36: error: class, interface, or enum expected static int lines; ^ /root/JavaX-Caches/tmp_1038573548/main.java:37: error: class, interface, or enum expected sbool allowMultipleCasesInValues = true; ^ /root/JavaX-Caches/tmp_1038573548/main.java:38: error: class, interface, or enum expected static ConceptFieldIndexDesc idx_latestEntries, idx_latestCreatedPages, idx_latestChangedPages; ^ /root/JavaX-Caches/tmp_1038573548/main.java:40: error: class, interface, or enum expected p { ^ /root/JavaX-Caches/tmp_1038573548/main.java:41: error: unclosed character literal dbIndexingCI(Page, 'url, Entry, 'key, Entry, 'value); ^ /root/JavaX-Caches/tmp_1038573548/main.java:41: error: unclosed character literal dbIndexingCI(Page, 'url, Entry, 'key, Entry, 'value); ^ /root/JavaX-Caches/tmp_1038573548/main.java:41: error: unclosed character literal dbIndexingCI(Page, 'url, Entry, 'key, Entry, 'value); ^ /root/JavaX-Caches/tmp_1038573548/main.java:42: error: class, interface, or enum expected dbIndexing(Signer, 'publicKey); ^ /root/JavaX-Caches/tmp_1038573548/main.java:42: error: unclosed character literal dbIndexing(Signer, 'publicKey); ^ /root/JavaX-Caches/tmp_1038573548/main.java:43: error: class, interface, or enum expected dbIndexing(Session, 'cookie); ^ /root/JavaX-Caches/tmp_1038573548/main.java:43: error: unclosed character literal dbIndexing(Session, 'cookie); ^ /root/JavaX-Caches/tmp_1038573548/main.java:44: error: class, interface, or enum expected idx_latestCreatedPages = new ConceptFieldIndexDesc(Page, 'created); ^ /root/JavaX-Caches/tmp_1038573548/main.java:44: error: unclosed character literal idx_latestCreatedPages = new ConceptFieldIndexDesc(Page, 'created); ^ /root/JavaX-Caches/tmp_1038573548/main.java:45: error: class, interface, or enum expected idx_latestChangedPages = new ConceptFieldIndexDesc(Page, '_modified); ^ /root/JavaX-Caches/tmp_1038573548/main.java:45: error: unclosed character literal idx_latestChangedPages = new ConceptFieldIndexDesc(Page, '_modified); ^ /root/JavaX-Caches/tmp_1038573548/main.java:46: error: class, interface, or enum expected idx_latestEntries = new ConceptFieldIndexDesc(Entry, 'created); ^ /root/JavaX-Caches/tmp_1038573548/main.java:46: error: unclosed character literal idx_latestEntries = new ConceptFieldIndexDesc(Entry, 'created); ^ /root/JavaX-Caches/tmp_1038573548/main.java:49: error: class, interface, or enum expected PKIKeyPair machineKey = agiBot_trustedKeyForMachine(); ^ /root/JavaX-Caches/tmp_1038573548/main.java:50: error: class, interface, or enum expected if (machineKey != null) { ^ /root/JavaX-Caches/tmp_1038573548/main.java:52: error: class, interface, or enum expected cset(uniq_sync(Signer, publicKey := machineKey.publicKey), trusted := true, approvedBy := "local"); ^ /root/JavaX-Caches/tmp_1038573548/main.java:53: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1038573548/main.java:56: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1038573548/main.java:60: error: class, interface, or enum expected sbool hasPage(S url) { ret hasConceptWhereIC(Page, +url); } ^ /root/JavaX-Caches/tmp_1038573548/main.java:63: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1038573548/main.java:66: error: class, interface, or enum expected bool unnaturalName = nempty(name) && !eq(makeAGIDomain(name), page.url); ^ /root/JavaX-Caches/tmp_1038573548/main.java:67: error: class, interface, or enum expected ret unnaturalName ? name + " " + squareBracketed(page.url) : or2(name, unpackAGIDomainOpt(page.url)); ^ /root/JavaX-Caches/tmp_1038573548/main.java:68: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1038573548/main.java:74: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1038573548/main.java:78: error: class, interface, or enum expected Session session; ^ /root/JavaX-Caches/tmp_1038573548/main.java:80: error: class, interface, or enum expected O serve(S uri, SS params) { ^ /root/JavaX-Caches/tmp_1038573548/main.java:83: error: class, interface, or enum expected cookie = cookieFromUser(); ^ /root/JavaX-Caches/tmp_1038573548/main.java:84: error: class, interface, or enum expected if (cookie != null) ^ /root/JavaX-Caches/tmp_1038573548/main.java:86: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1038573548/main.java:89: error: class, interface, or enum expected if (swic(uri, "/bot/", m)) ret serveBot("/" + m.rest(), params); ^ /root/JavaX-Caches/tmp_1038573548/main.java:91: error: class, interface, or enum expected S q = params.get('q); ^ /root/JavaX-Caches/tmp_1038573548/main.java:91: error: unclosed character literal S q = params.get('q); ^ /root/JavaX-Caches/tmp_1038573548/main.java:92: error: class, interface, or enum expected S domain = or2(params.get('domain), domain()); ^ /root/JavaX-Caches/tmp_1038573548/main.java:92: error: unclosed character literal S domain = or2(params.get('domain), domain()); ^ /root/JavaX-Caches/tmp_1038573548/main.java:93: error: class, interface, or enum expected if (nempty(q)) { ^ /root/JavaX-Caches/tmp_1038573548/main.java:95: error: class, interface, or enum expected if (l(domain) > maximumDomainPartLength()) // escape with "domain=" ^ /root/JavaX-Caches/tmp_1038573548/main.java:97: error: class, interface, or enum expected ret hrefresh("http://" + domain + (eq(q, domain) ? "" : "/" + hquery(key := "read as", value := q))); ^ /root/JavaX-Caches/tmp_1038573548/main.java:99: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1038573548/main.java:101: error: class, interface, or enum expected Page page, bool newPage = unpair uniqCI2_sync(Page, +url); ^ /root/JavaX-Caches/tmp_1038573548/main.java:102: error: class, interface, or enum expected if (newPage) dbLog("New page", +url); ^ /root/JavaX-Caches/tmp_1038573548/main.java:104: error: class, interface, or enum expected S top = hcomment("cookie: " + takeFirst(4, session.cookie)) + p(ahref("http://agi.blue", hsnippetimg(#1101682, width := 565/5, height := 800/5, title := "Robot by Peerro @ DeviantArt"))) ^ /root/JavaX-Caches/tmp_1038573548/main.java:104: error: illegal character: '#' S top = hcomment("cookie: " + takeFirst(4, session.cookie)) + p(ahref("http://agi.blue", hsnippetimg(#1101682, width := 565/5, height := 800/5, title := "Robot by Peerro @ DeviantArt"))) ^ /root/JavaX-Caches/tmp_1038573548/main.java:108: error: class, interface, or enum expected if (eqicOneOf(url, "agi.blue", "www.agi.blue")) ^ /root/JavaX-Caches/tmp_1038573548/main.java:111: error: unclosed character literal + hform(b("GIVE ME INPUT:") + "<br><br>" + htextinput('q) + " " + hsubmit("Ask")) ^ /root/JavaX-Caches/tmp_1038573548/main.java:116: error: class, interface, or enum expected S key = trim(params.get('key)), value = trim(params.get('value)); ^ /root/JavaX-Caches/tmp_1038573548/main.java:116: error: unclosed character literal S key = trim(params.get('key)), value = trim(params.get('value)); ^ /root/JavaX-Caches/tmp_1038573548/main.java:116: error: unclosed character literal S key = trim(params.get('key)), value = trim(params.get('value)); ^ /root/JavaX-Caches/tmp_1038573548/main.java:117: error: class, interface, or enum expected L<Entry> entries = GetEntriesAndPost().go(page, params).entries; ^ /root/JavaX-Caches/tmp_1038573548/main.java:119: error: class, interface, or enum expected S get = params.get('get); ^ /root/JavaX-Caches/tmp_1038573548/main.java:119: error: unclosed character literal S get = params.get('get); ^ /root/JavaX-Caches/tmp_1038573548/main.java:120: error: class, interface, or enum expected if (nempty(get)) ^ /root/JavaX-Caches/tmp_1038573548/main.java:123: error: class, interface, or enum expected S key2 = key, value2 = value; if (nempty(key) && nempty(value)) key2 = value2 = ""; // input reset ^ /root/JavaX-Caches/tmp_1038573548/main.java:123: error: class, interface, or enum expected S key2 = key, value2 = value; if (nempty(key) && nempty(value)) key2 = value2 = ""; // input reset ^ /root/JavaX-Caches/tmp_1038573548/main.java:125: error: class, interface, or enum expected bool withHidden = eq(params.get('withHidden), "1"); ^ /root/JavaX-Caches/tmp_1038573548/main.java:125: error: unclosed character literal bool withHidden = eq(params.get('withHidden), "1"); ^ /root/JavaX-Caches/tmp_1038573548/main.java:126: error: class, interface, or enum expected new Set<Int> hide; ^ /root/JavaX-Caches/tmp_1038573548/main.java:127: error: class, interface, or enum expected if (!withHidden) for (Entry e : entries) if (eqic(e.key, 'hide) && isSquareBracketedInt(e.value)) addAll(hide, e.count, parseInt(unSquareBracket(e.value))); ^ /root/JavaX-Caches/tmp_1038573548/main.java:127: error: unclosed character literal if (!withHidden) for (Entry e : entries) if (eqic(e.key, 'hide) && isSquareBracketedInt(e.value)) addAll(hide, e.count, parseInt(unSquareBracket(e.value))); ^ /root/JavaX-Caches/tmp_1038573548/main.java:128: error: class, interface, or enum expected new MultiMap<Int, S> mmMeta; ^ /root/JavaX-Caches/tmp_1038573548/main.java:129: error: class, interface, or enum expected for (Entry e : entries) if (isSquareBracketedInt(e.key)) mmMeta.put(parseInt(unSquareBracket(e.key)), e.value); ^ /root/JavaX-Caches/tmp_1038573548/main.java:130: error: class, interface, or enum expected new MultiMap<S> mm; ^ /root/JavaX-Caches/tmp_1038573548/main.java:131: error: class, interface, or enum expected for (Entry e : entries) mm.put(e.key, e.value); ^ /root/JavaX-Caches/tmp_1038573548/main.java:133: error: class, interface, or enum expected S name = or2(/* ouch */ last(mm.get("read as")), /* end ouch */ unpackAGIDomain(page.url), page.url); ^ /root/JavaX-Caches/tmp_1038573548/main.java:135: error: class, interface, or enum expected L<Entry> valueRefs = conceptsWhereIC Entry(value := name); ^ /root/JavaX-Caches/tmp_1038573548/main.java:136: error: class, interface, or enum expected Set<Page> valueRefPages = asSet(ccollect page(valueRefs)); ^ /root/JavaX-Caches/tmp_1038573548/main.java:137: error: class, interface, or enum expected valueRefPages.remove(page); ^ /root/JavaX-Caches/tmp_1038573548/main.java:139: error: class, interface, or enum expected S mainContents = ^ /root/JavaX-Caches/tmp_1038573548/main.java:154: error: class, interface, or enum expected S sideContents = ^ /root/JavaX-Caches/tmp_1038573548/main.java:155: error: unclosed character literal hform(b("GIVE ME INPUT:") + " " + htextinput('q) + " " + hsubmit("Ask")) ^ /root/JavaX-Caches/tmp_1038573548/main.java:162: error: class, interface, or enum expected ret hhtml(hhead_title(pageDisplayName(page)) + hbody( ^ /root/JavaX-Caches/tmp_1038573548/main.java:163: error: unclosed character literal tag('table, tr( ^ /root/JavaX-Caches/tmp_1038573548/main.java:164: error: unclosed character literal td(mainContents, align := 'center, valign := 'top) + ^ /root/JavaX-Caches/tmp_1038573548/main.java:164: error: unclosed character literal td(mainContents, align := 'center, valign := 'top) + ^ /root/JavaX-Caches/tmp_1038573548/main.java:165: error: unclosed character literal td(sideContents, align := 'right, valign := 'top)), ^ /root/JavaX-Caches/tmp_1038573548/main.java:165: error: unclosed character literal td(sideContents, align := 'right, valign := 'top)), ^ /root/JavaX-Caches/tmp_1038573548/main.java:167: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1038573548/main.java:172: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1038573548/main.java:176: error: unclosed character literal S q = params.get('q), url = params.get('url); ^ /root/JavaX-Caches/tmp_1038573548/main.java:176: error: unclosed character literal S q = params.get('q), url = params.get('url); ^ 100 errors only showing the first 100 errors, of 183 total; use -Xmaxerrs if you would like to see more