Wrote /root/JavaX-Caches/tmp_237279003/main.java - 11840 bytes (written=11840, should be 11840)
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_494837524 /root/JavaX-Caches/tmp_237279003/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_237279003/main.java:1: error: class, interface, or enum expected
!7
^
/root/JavaX-Caches/tmp_237279003/main.java:9: error: class, interface, or enum expected
S name;
^
/root/JavaX-Caches/tmp_237279003/main.java:10: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_237279003/main.java:16: error: class, interface, or enum expected
S url;
^
/root/JavaX-Caches/tmp_237279003/main.java:17: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_237279003/main.java:21: error: class, interface, or enum expected
new Ref page;
^
/root/JavaX-Caches/tmp_237279003/main.java:22: error: class, interface, or enum expected
int count;
^
/root/JavaX-Caches/tmp_237279003/main.java:23: error: class, interface, or enum expected
S key, value;
^
/root/JavaX-Caches/tmp_237279003/main.java:24: error: class, interface, or enum expected
S ip;
^
/root/JavaX-Caches/tmp_237279003/main.java:25: error: class, interface, or enum expected
new Ref signer;
^
/root/JavaX-Caches/tmp_237279003/main.java:26: error: class, interface, or enum expected
S signerID; // global ID of signer
^
/root/JavaX-Caches/tmp_237279003/main.java:27: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_237279003/main.java:31: error: class, interface, or enum expected
S publicKey;
^
/root/JavaX-Caches/tmp_237279003/main.java:32: error: class, interface, or enum expected
bool trusted;
^
/root/JavaX-Caches/tmp_237279003/main.java:33: error: class, interface, or enum expected
S approvedBy;
^
/root/JavaX-Caches/tmp_237279003/main.java:34: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_237279003/main.java:38: error: class, interface, or enum expected
static int lines;
^
/root/JavaX-Caches/tmp_237279003/main.java:39: error: class, interface, or enum expected
sbool allowMultipleCasesInValues = true;
^
/root/JavaX-Caches/tmp_237279003/main.java:40: error: class, interface, or enum expected
static ConceptFieldIndexDesc idx_latestEntries, idx_latestCreatedPages, idx_latestChangedPages;
^
/root/JavaX-Caches/tmp_237279003/main.java:42: error: class, interface, or enum expected
sclass SliceDB {
^
/root/JavaX-Caches/tmp_237279003/main.java:44: error: class, interface, or enum expected
Concepts concepts;
^
/root/JavaX-Caches/tmp_237279003/main.java:45: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_237279003/main.java:48: error: unclosed character literal
dbIndexingCI(Page, 'url, Entry, 'key, Entry, 'value);
^
/root/JavaX-Caches/tmp_237279003/main.java:48: error: unclosed character literal
dbIndexingCI(Page, 'url, Entry, 'key, Entry, 'value);
^
/root/JavaX-Caches/tmp_237279003/main.java:48: error: unclosed character literal
dbIndexingCI(Page, 'url, Entry, 'key, Entry, 'value);
^
/root/JavaX-Caches/tmp_237279003/main.java:49: error: class, interface, or enum expected
dbIndexing(Signer, 'publicKey);
^
/root/JavaX-Caches/tmp_237279003/main.java:49: error: unclosed character literal
dbIndexing(Signer, 'publicKey);
^
/root/JavaX-Caches/tmp_237279003/main.java:50: error: class, interface, or enum expected
idx_latestCreatedPages = new ConceptFieldIndexDesc(Page, 'created);
^
/root/JavaX-Caches/tmp_237279003/main.java:50: error: unclosed character literal
idx_latestCreatedPages = new ConceptFieldIndexDesc(Page, 'created);
^
/root/JavaX-Caches/tmp_237279003/main.java:51: error: class, interface, or enum expected
idx_latestChangedPages = new ConceptFieldIndexDesc(Page, '_modified);
^
/root/JavaX-Caches/tmp_237279003/main.java:51: error: unclosed character literal
idx_latestChangedPages = new ConceptFieldIndexDesc(Page, '_modified);
^
/root/JavaX-Caches/tmp_237279003/main.java:52: error: class, interface, or enum expected
idx_latestEntries = new ConceptFieldIndexDesc(Entry, 'created);
^
/root/JavaX-Caches/tmp_237279003/main.java:52: error: unclosed character literal
idx_latestEntries = new ConceptFieldIndexDesc(Entry, 'created);
^
/root/JavaX-Caches/tmp_237279003/main.java:55: error: class, interface, or enum expected
PKIKeyPair machineKey = agiBot_trustedKeyForMachine();
^
/root/JavaX-Caches/tmp_237279003/main.java:56: error: class, interface, or enum expected
if (machineKey != null) {
^
/root/JavaX-Caches/tmp_237279003/main.java:58: error: class, interface, or enum expected
cset(uniq_sync(Signer, publicKey := machineKey.publicKey), trusted := true, approvedBy := "local");
^
/root/JavaX-Caches/tmp_237279003/main.java:59: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_237279003/main.java:62: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_237279003/main.java:66: error: class, interface, or enum expected
sbool hasPage(S url) { ret hasConceptWhereIC(Page, +url); }
^
/root/JavaX-Caches/tmp_237279003/main.java:69: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_237279003/main.java:72: error: class, interface, or enum expected
bool unnaturalName = nempty(name) && !eq(makeAGIDomain(name), page.url);
^
/root/JavaX-Caches/tmp_237279003/main.java:73: error: class, interface, or enum expected
ret unnaturalName ? name + " " + squareBracketed(page.url) : or2(name, unpackAGIDomainOpt(page.url));
^
/root/JavaX-Caches/tmp_237279003/main.java:74: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_237279003/main.java:81: error: class, interface, or enum expected
if (swic(uri, "/bot/", m)) ret serveBot("/" + m.rest(), params);
^
/root/JavaX-Caches/tmp_237279003/main.java:83: error: class, interface, or enum expected
S q = params.get('q);
^
/root/JavaX-Caches/tmp_237279003/main.java:83: error: unclosed character literal
S q = params.get('q);
^
/root/JavaX-Caches/tmp_237279003/main.java:84: error: class, interface, or enum expected
S domain = or2(params.get('domain), domain());
^
/root/JavaX-Caches/tmp_237279003/main.java:84: error: unclosed character literal
S domain = or2(params.get('domain), domain());
^
/root/JavaX-Caches/tmp_237279003/main.java:85: error: class, interface, or enum expected
if (nempty(q)) {
^
/root/JavaX-Caches/tmp_237279003/main.java:87: error: class, interface, or enum expected
if (l(domain) > maximumDomainPartLength()) // escape with "domain="
^
/root/JavaX-Caches/tmp_237279003/main.java:89: error: class, interface, or enum expected
ret hrefresh("http://" + domain + (eq(q, domain) ? "" : "/" + hquery(key := "read as", value := q)));
^
/root/JavaX-Caches/tmp_237279003/main.java:91: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_237279003/main.java:93: error: class, interface, or enum expected
Page page, bool newPage = unpair uniqCI2_sync(Page, +url);
^
/root/JavaX-Caches/tmp_237279003/main.java:94: error: class, interface, or enum expected
if (newPage) dbLog("New page", +url);
^
/root/JavaX-Caches/tmp_237279003/main.java:96: error: class, interface, or enum expected
S top = hcomment("new") + p(ahref("http://agi.blue", hsnippetimg(#1101682, width := 565/5, height := 800/5, title := "Robot by Peerro @ DeviantArt")))
^
/root/JavaX-Caches/tmp_237279003/main.java:96: error: illegal character: '#'
S top = hcomment("new") + p(ahref("http://agi.blue", hsnippetimg(#1101682, width := 565/5, height := 800/5, title := "Robot by Peerro @ DeviantArt")))
^
/root/JavaX-Caches/tmp_237279003/main.java:100: error: class, interface, or enum expected
if (eqicOneOf(url, "agi.blue", "www.agi.blue"))
^
/root/JavaX-Caches/tmp_237279003/main.java:103: error: unclosed character literal
+ hform(b("GIVE ME INPUT:") + "
" + htextinput('q) + " " + hsubmit("Ask"))
^
/root/JavaX-Caches/tmp_237279003/main.java:110: error: class, interface, or enum expected
S key = trim(params.get('key)), value = trim(params.get('value));
^
/root/JavaX-Caches/tmp_237279003/main.java:110: error: unclosed character literal
S key = trim(params.get('key)), value = trim(params.get('value));
^
/root/JavaX-Caches/tmp_237279003/main.java:110: error: unclosed character literal
S key = trim(params.get('key)), value = trim(params.get('value));
^
/root/JavaX-Caches/tmp_237279003/main.java:111: error: class, interface, or enum expected
L entries = GetEntriesAndPost().go(page, params).entries;
^
/root/JavaX-Caches/tmp_237279003/main.java:113: error: class, interface, or enum expected
S get = params.get('get);
^
/root/JavaX-Caches/tmp_237279003/main.java:113: error: unclosed character literal
S get = params.get('get);
^
/root/JavaX-Caches/tmp_237279003/main.java:114: error: class, interface, or enum expected
if (nempty(get))
^
/root/JavaX-Caches/tmp_237279003/main.java:117: error: class, interface, or enum expected
S key2 = key, value2 = value; if (nempty(key) && nempty(value)) key2 = value2 = ""; // input reset
^
/root/JavaX-Caches/tmp_237279003/main.java:117: error: class, interface, or enum expected
S key2 = key, value2 = value; if (nempty(key) && nempty(value)) key2 = value2 = ""; // input reset
^
/root/JavaX-Caches/tmp_237279003/main.java:119: error: class, interface, or enum expected
bool withHidden = eq(params.get('withHidden), "1");
^
/root/JavaX-Caches/tmp_237279003/main.java:119: error: unclosed character literal
bool withHidden = eq(params.get('withHidden), "1");
^
/root/JavaX-Caches/tmp_237279003/main.java:120: error: class, interface, or enum expected
new Set hide;
^
/root/JavaX-Caches/tmp_237279003/main.java:121: 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_237279003/main.java:121: 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_237279003/main.java:122: error: class, interface, or enum expected
new MultiMap mmMeta;
^
/root/JavaX-Caches/tmp_237279003/main.java:123: 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_237279003/main.java:124: error: class, interface, or enum expected
new MultiMap mm;
^
/root/JavaX-Caches/tmp_237279003/main.java:125: error: class, interface, or enum expected
for (Entry e : entries) mm.put(e.key, e.value);
^
/root/JavaX-Caches/tmp_237279003/main.java:127: 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_237279003/main.java:129: error: class, interface, or enum expected
ret hhtml(hhead_title(pageDisplayName(page)) + hbody(hfullcenterAndTopRight(
^
/root/JavaX-Caches/tmp_237279003/main.java:143: error: unclosed character literal
, hform(b("GIVE ME INPUT:") + " " + htextinput('q) + " " + hsubmit("Ask")))));
^
/root/JavaX-Caches/tmp_237279003/main.java:144: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_237279003/main.java:148: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_237279003/main.java:152: error: unclosed character literal
S q = params.get('q), url = params.get('url);
^
/root/JavaX-Caches/tmp_237279003/main.java:152: error: unclosed character literal
S q = params.get('q), url = params.get('url);
^
/root/JavaX-Caches/tmp_237279003/main.java:153: error: class, interface, or enum expected
if (nempty(q)) url = makeAGIDomain(q);
^
/root/JavaX-Caches/tmp_237279003/main.java:154: error: class, interface, or enum expected
if (eqic(uri, "/hello")) ret serveJSON("hello");
^
/root/JavaX-Caches/tmp_237279003/main.java:155: error: class, interface, or enum expected
if (eqic(uri, "/hasPage")) ret serveJSON(hasPage(url));
^
/root/JavaX-Caches/tmp_237279003/main.java:156: error: class, interface, or enum expected
if (eqic(uri, "/randomPageContaining")) {
^
/root/JavaX-Caches/tmp_237279003/main.java:158: error: class, interface, or enum expected
ret servePageToBot(random(filter(list(Page), p -> cic(p.url, q))), params);
^
/root/JavaX-Caches/tmp_237279003/main.java:159: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_237279003/main.java:162: error: class, interface, or enum expected
ret servePagesToBot(filter(list(Page), p -> ewic(p.url, q)), params);
^
/root/JavaX-Caches/tmp_237279003/main.java:163: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_237279003/main.java:166: error: unclosed character literal
S text = rtrim(params.get('text));
^
/root/JavaX-Caches/tmp_237279003/main.java:167: error: class, interface, or enum expected
S key = getSignerKey(text);
^
/root/JavaX-Caches/tmp_237279003/main.java:168: error: class, interface, or enum expected
if (empty(key)) ret subBot_serve500("Please include your public key");
^
/root/JavaX-Caches/tmp_237279003/main.java:169: error: class, interface, or enum expected
if (!isSignedWithKey(text, key)) ret subBot_serve500("Signature didn't verify");
^
/root/JavaX-Caches/tmp_237279003/main.java:170: error: class, interface, or enum expected
text = dropLastTwoLines(text); // drop signer + sig line
^
/root/JavaX-Caches/tmp_237279003/main.java:172: error: class, interface, or enum expected
Signer signer = uniq_sync Signer(publicKey := key);
^
/root/JavaX-Caches/tmp_237279003/main.java:174: error: class, interface, or enum expected
if (eqic(uri, "/makePhysicalSlice")) {
^
/root/JavaX-Caches/tmp_237279003/main.java:176: error: class, interface, or enum expected
Page page = findPageFromParams(jsonDecodeMap(text));
^
/root/JavaX-Caches/tmp_237279003/main.java:177: error: class, interface, or enum expected
if (page == null) ret subBot_serve500("Page not found");
^
100 errors
only showing the first 100 errors, of 165 total; use -Xmaxerrs if you would like to see more