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

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

/root/JavaX-Caches/tmp_1874083628/main.java:1: error: class, interface, or enum expected !7 ^ /root/JavaX-Caches/tmp_1874083628/main.java:6: error: class, interface, or enum expected makeByServer = () -> new ByServer; ^ /root/JavaX-Caches/tmp_1874083628/main.java:7: error: class, interface, or enum expected useAGIBlueForDropPunctuation = false; ^ /root/JavaX-Caches/tmp_1874083628/main.java:8: error: class, interface, or enum expected preprocessAtSelfToMyName = false; ^ /root/JavaX-Caches/tmp_1874083628/main.java:9: error: class, interface, or enum expected dropPunctuation = false; ^ /root/JavaX-Caches/tmp_1874083628/main.java:10: error: class, interface, or enum expected print("Total rules in all guilds: " + totalRuleCount()); ^ /root/JavaX-Caches/tmp_1874083628/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1874083628/main.java:15: error: class, interface, or enum expected S text; ^ /root/JavaX-Caches/tmp_1874083628/main.java:17: error: class, interface, or enum expected *() {} *(S *text) {} ^ /root/JavaX-Caches/tmp_1874083628/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1874083628/main.java:25: error: illegal start of type new L<Rule> rules; ^ /root/JavaX-Caches/tmp_1874083628/main.java:26: error: illegal start of type new Set<Long> priorityChannels; // where we always respond ^ /root/JavaX-Caches/tmp_1874083628/main.java:29: error: illegal start of type new SimpleFactStore factStore; ^ /root/JavaX-Caches/tmp_1874083628/main.java:31: error: as of release 9, '_' is a keyword, and may not be used as an identifier synchronized S processSimplifiedLine(S s, O... _) { ^ /root/JavaX-Caches/tmp_1874083628/main.java:32: error: '{' expected try answer super.processSimplifiedLine(s, _); ^ /root/JavaX-Caches/tmp_1874083628/main.java:32: error: not a statement try answer super.processSimplifiedLine(s, _); ^ /root/JavaX-Caches/tmp_1874083628/main.java:32: error: ';' expected try answer super.processSimplifiedLine(s, _); ^ /root/JavaX-Caches/tmp_1874083628/main.java:32: error: as of release 9, '_' is a keyword, and may not be used as an identifier try answer super.processSimplifiedLine(s, _); ^ /root/JavaX-Caches/tmp_1874083628/main.java:34: error: '{' expected try answer factStore_cmds(factStore, s, authed(_)); ^ /root/JavaX-Caches/tmp_1874083628/main.java:34: error: ';' expected try answer factStore_cmds(factStore, s, authed(_)); ^ /root/JavaX-Caches/tmp_1874083628/main.java:34: error: not a statement try answer factStore_cmds(factStore, s, authed(_)); ^ /root/JavaX-Caches/tmp_1874083628/main.java:34: error: ';' expected try answer factStore_cmds(factStore, s, authed(_)); ^ /root/JavaX-Caches/tmp_1874083628/main.java:34: error: not a statement try answer factStore_cmds(factStore, s, authed(_)); ^ /root/JavaX-Caches/tmp_1874083628/main.java:34: error: ';' expected try answer factStore_cmds(factStore, s, authed(_)); ^ /root/JavaX-Caches/tmp_1874083628/main.java:34: error: as of release 9, '_' is a keyword, and may not be used as an identifier try answer factStore_cmds(factStore, s, authed(_)); ^ /root/JavaX-Caches/tmp_1874083628/main.java:34: error: ';' expected try answer factStore_cmds(factStore, s, authed(_)); ^ /root/JavaX-Caches/tmp_1874083628/main.java:35: error: '{' expected try answer philosophyBotWithFactStore_discordAnswer( ^ /root/JavaX-Caches/tmp_1874083628/main.java:35: error: ';' expected try answer philosophyBotWithFactStore_discordAnswer( ^ /root/JavaX-Caches/tmp_1874083628/main.java:36: error: ';' expected ai_weightChangeBot_theory(), factStore, s, _); ^ /root/JavaX-Caches/tmp_1874083628/main.java:36: error: not a statement ai_weightChangeBot_theory(), factStore, s, _); ^ /root/JavaX-Caches/tmp_1874083628/main.java:36: error: ';' expected ai_weightChangeBot_theory(), factStore, s, _); ^ /root/JavaX-Caches/tmp_1874083628/main.java:36: error: not a statement ai_weightChangeBot_theory(), factStore, s, _); ^ /root/JavaX-Caches/tmp_1874083628/main.java:36: error: ';' expected ai_weightChangeBot_theory(), factStore, s, _); ^ /root/JavaX-Caches/tmp_1874083628/main.java:36: error: as of release 9, '_' is a keyword, and may not be used as an identifier ai_weightChangeBot_theory(), factStore, s, _); ^ /root/JavaX-Caches/tmp_1874083628/main.java:36: error: ';' expected ai_weightChangeBot_theory(), factStore, s, _); ^ /root/JavaX-Caches/tmp_1874083628/main.java:38: error: ';' expected long channelID = longPar channelID(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:38: error: as of release 9, '_' is a keyword, and may not be used as an identifier long channelID = longPar channelID(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:40: error: '(' or '[' expected new Matches m; ^ /root/JavaX-Caches/tmp_1874083628/main.java:43: error: not a statement else if (!contains(priorityChannels, channelID)) null; ^ /root/JavaX-Caches/tmp_1874083628/main.java:44: error: ';' expected optPar Message msg; ^ /root/JavaX-Caches/tmp_1874083628/main.java:44: error: not a statement optPar Message msg; ^ /root/JavaX-Caches/tmp_1874083628/main.java:51: error: not a statement if (!attachment.download(file)) ret "Couldn't download attachment"; ^ /root/JavaX-Caches/tmp_1874083628/main.java:51: error: ';' expected if (!attachment.download(file)) ret "Couldn't download attachment"; ^ /root/JavaX-Caches/tmp_1874083628/main.java:56: error: '(' or '[' expected new LPairS toImport; // (globalID, text) ^ /root/JavaX-Caches/tmp_1874083628/main.java:65: error: ';' expected Map<GlobalID, Rule> existing = indexByField globalID(rules); ^ /root/JavaX-Caches/tmp_1874083628/main.java:84: error: ';' expected ret found + ". Had: " + oldCount + ". Added: " + added + ". Updated: " + updated + ". New count: " + l(rules); ^ /root/JavaX-Caches/tmp_1874083628/main.java:84: error: not a statement ret found + ". Had: " + oldCount + ". Added: " + added + ". Updated: " + updated + ". New count: " + l(rules); ^ /root/JavaX-Caches/tmp_1874083628/main.java:90: error: '(' expected if "on * say *|on * or * say *|on keyword * and * say *|on keyword * or * say *|on keyword * say *|on *, image-google X|on *, google X|when <*> comes online, say *|on bot keyword * and keyword *, say *" { ^ /root/JavaX-Caches/tmp_1874083628/main.java:90: error: ')' expected if "on * say *|on * or * say *|on keyword * and * say *|on keyword * or * say *|on keyword * say *|on *, image-google X|on *, google X|when <*> comes online, say *|on bot keyword * and keyword *, say *" { ^ /root/JavaX-Caches/tmp_1874083628/main.java:91: error: ')' expected Rule r = firstWhereIC(rules, text := s); ^ /root/JavaX-Caches/tmp_1874083628/main.java:91: error: not a statement Rule r = firstWhereIC(rules, text := s); ^ /root/JavaX-Caches/tmp_1874083628/main.java:91: error: ';' expected Rule r = firstWhereIC(rules, text := s); ^ /root/JavaX-Caches/tmp_1874083628/main.java:92: error: not a statement if (r != null) ret "Rule exists: " + r.globalID; ^ /root/JavaX-Caches/tmp_1874083628/main.java:92: error: ';' expected if (r != null) ret "Rule exists: " + r.globalID; ^ /root/JavaX-Caches/tmp_1874083628/main.java:92: error: not a statement if (r != null) ret "Rule exists: " + r.globalID; ^ /root/JavaX-Caches/tmp_1874083628/main.java:95: error: not a statement ret "Rule added with ID " + r.globalID; ^ /root/JavaX-Caches/tmp_1874083628/main.java:95: error: ';' expected ret "Rule added with ID " + r.globalID; ^ /root/JavaX-Caches/tmp_1874083628/main.java:95: error: not a statement ret "Rule added with ID " + r.globalID; ^ /root/JavaX-Caches/tmp_1874083628/main.java:98: error: '(' expected if "rules" ^ /root/JavaX-Caches/tmp_1874083628/main.java:98: error: ')' expected if "rules" ^ /root/JavaX-Caches/tmp_1874083628/main.java:99: error: ';' expected ret or2(lines(map(r -> renderRule(r), rules)), "No rules defined yet"); ^ /root/JavaX-Caches/tmp_1874083628/main.java:99: error: variable declaration not allowed here ret or2(lines(map(r -> renderRule(r), rules)), "No rules defined yet"); ^ /root/JavaX-Caches/tmp_1874083628/main.java:99: error: ';' expected ret or2(lines(map(r -> renderRule(r), rules)), "No rules defined yet"); ^ /root/JavaX-Caches/tmp_1874083628/main.java:101: error: '(' expected if "rules as file" { ^ /root/JavaX-Caches/tmp_1874083628/main.java:101: error: ')' expected if "rules as file" { ^ /root/JavaX-Caches/tmp_1874083628/main.java:105: error: not a statement null; ^ /root/JavaX-Caches/tmp_1874083628/main.java:108: error: '(' expected if "delete rule *|delete rule with id *" { ^ /root/JavaX-Caches/tmp_1874083628/main.java:108: error: ')' expected if "delete rule *|delete rule with id *" { ^ /root/JavaX-Caches/tmp_1874083628/main.java:109: error: '{' expected try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:109: error: ';' expected try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:109: error: as of release 9, '_' is a keyword, and may not be used as an identifier try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:109: error: ';' expected try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:110: error: ')' expected Rule r = firstWhere(rules, globalID := GlobalID($1)); ^ /root/JavaX-Caches/tmp_1874083628/main.java:110: error: ';' expected Rule r = firstWhere(rules, globalID := GlobalID($1)); ^ /root/JavaX-Caches/tmp_1874083628/main.java:111: error: not a statement if (r == null) ret "Rule " + $1 + " not found"; ^ /root/JavaX-Caches/tmp_1874083628/main.java:111: error: ';' expected if (r == null) ret "Rule " + $1 + " not found"; ^ /root/JavaX-Caches/tmp_1874083628/main.java:111: error: not a statement if (r == null) ret "Rule " + $1 + " not found"; ^ /root/JavaX-Caches/tmp_1874083628/main.java:114: error: not a statement ret "Rule deleted, " + nRule(rules) + " remain"; ^ /root/JavaX-Caches/tmp_1874083628/main.java:114: error: ';' expected ret "Rule deleted, " + nRule(rules) + " remain"; ^ /root/JavaX-Caches/tmp_1874083628/main.java:114: error: not a statement ret "Rule deleted, " + nRule(rules) + " remain"; ^ /root/JavaX-Caches/tmp_1874083628/main.java:109: error: 'try' without 'catch', 'finally' or resource declarations try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:117: error: '(' expected if "delete all rules" { ^ /root/JavaX-Caches/tmp_1874083628/main.java:117: error: ')' expected if "delete all rules" { ^ /root/JavaX-Caches/tmp_1874083628/main.java:119: error: '{' expected try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:119: error: ';' expected try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:119: error: as of release 9, '_' is a keyword, and may not be used as an identifier try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:119: error: ';' expected try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:122: error: not a statement ret "All rules deleted"; ^ /root/JavaX-Caches/tmp_1874083628/main.java:122: error: ';' expected ret "All rules deleted"; ^ /root/JavaX-Caches/tmp_1874083628/main.java:119: error: 'try' without 'catch', 'finally' or resource declarations try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:125: error: '(' expected if "priority channel on" { ^ /root/JavaX-Caches/tmp_1874083628/main.java:125: error: ')' expected if "priority channel on" { ^ /root/JavaX-Caches/tmp_1874083628/main.java:126: error: '{' expected try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:126: error: ';' expected try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:126: error: as of release 9, '_' is a keyword, and may not be used as an identifier try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:126: error: ';' expected try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:128: error: not a statement ret "OK"; ^ /root/JavaX-Caches/tmp_1874083628/main.java:128: error: ';' expected ret "OK"; ^ /root/JavaX-Caches/tmp_1874083628/main.java:126: error: 'try' without 'catch', 'finally' or resource declarations try answer checkAuth(_); ^ /root/JavaX-Caches/tmp_1874083628/main.java:131: error: '(' expected if "priority channel off" { ^ 100 errors only showing the first 100 errors, of 296 total; use -Xmaxerrs if you would like to see more