Wrote /root/JavaX-Caches/tmp_1682203679/main.java - 663371 bytes (written=663371, should be 663371)
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:/root/.tinybrain/snippet-cache/1019849.jar:/root/.tinybrain/snippet-cache/1400185.jar -d /root/JavaX-Caches/tmp_1553129438 /root/JavaX-Caches/tmp_1682203679/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1682203679/main.java:273: error: cannot find symbol
final MessageChannel ch = e.getChannel();
^
symbol: variable e
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:276: error: incompatible types: JDA cannot be converted to boolean
if (bot) {
^
/root/JavaX-Caches/tmp_1682203679/main.java:283: error: cannot find symbol
AutoCloseable __10 = tempSetTL(respondingTo, msg);
^
symbol: variable msg
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:285: error: cannot find symbol
String userForModulesManager = "discord user " + userID;
^
symbol: variable userID
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:286: error: bad operand type JDA for unary operator '!'
if (!bot) {
^
/root/JavaX-Caches/tmp_1682203679/main.java:289: error: cannot find symbol
if (eqic(p.b, "stop module") && nempty(p.a) && matchX2(p.a, content)) {
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:297: error: cannot find symbol
if (swicOneOf(content, "!eval ", "!fresh ", "!real-eval", "!safe-eval ") || eqic(content, "!fresh")) {
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:297: error: cannot find symbol
if (swicOneOf(content, "!eval ", "!fresh ", "!real-eval", "!safe-eval ") || eqic(content, "!fresh")) {
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:299: error: cannot find symbol
boolean authed = dm_discord_userCanEval(userID);
^
symbol: variable userID
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:300: error: cannot find symbol
if (swic_trim(content, "!safe-eval ", m)) {
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:301: error: cannot find symbol
content = "!eval " + m.rest();
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:304: error: cannot find symbol
if (regexpMatches("![a-z\\-]+\\s+again", content)) {
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:305: error: cannot find symbol
GazelleLine last = dm_discord_nextToLastEvalByUser(userID);
^
symbol: variable userID
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:310: error: cannot find symbol
content = replaceSuffix("again", afterSpace(last.text), content);
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:310: error: cannot find symbol
content = replaceSuffix("again", afterSpace(last.text), content);
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:330: error: cannot find symbol
}, content, "safetyCheck", safetyCheck);
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:334: error: cannot find symbol
if (eqic(content, "!rule")) {
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:335: error: cannot find symbol
List lines = linesInChannelBy(channelID, userID);
^
symbol: variable userID
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:337: error: cannot find symbol
content = "!rule " + nextToLast(lines);
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:341: error: cannot find symbol
content = "!rule " + nextToNextToLast(lines) + " => " + nextToLast(lines);
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:344: error: cannot find symbol
if (swicOneOf(content, m, "!rule ", "!rule\n")) {
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:350: error: cannot find symbol
s = assertNotNull("No last line in channel", nextToLast(linesInChannelBy(channelID, userID))) + "\n" + s;
^
symbol: variable userID
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:352: error: cannot find symbol
if (cic(pairB(tok_splitAtDoubleArrow_pair(s)), userName)) {
^
symbol: variable userName
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:353: error: cannot find symbol
s = optCurly(userName) + " says: " + s;
^
symbol: variable userName
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:371: error: cannot find symbol
if (swic_trim(content, "!phrase ", m)) {
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:378: error: bad operand types for binary operator '&&'
if (bot && !selfTalk)
^
first type: JDA
second type: boolean
/root/JavaX-Caches/tmp_1682203679/main.java:386: error: cannot find symbol
if (swic_trim(content, "!withBad ", m)) {
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:388: error: cannot find symbol
content = m.rest();
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:391: error: cannot find symbol
if (swic_trim(content, "!preprocess ", m)) {
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:393: error: cannot find symbol
content = m.rest();
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:396: error: cannot find symbol
if (swic_trim(content, "!debug ", m)) {
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:398: error: cannot find symbol
content = m.rest();
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:401: error: cannot find symbol
if (swic(content, "!using[", m)) {
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:404: error: cannot find symbol
content = trimSubstring(m.rest(), i + 1);
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:407: error: cannot find symbol
print("debug=" + debug + ", content=" + content);
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:418: error: cannot find symbol
Object[] params = litmapparams("userName", userName, "skipBad", skipBad, "preContext", preContext, "badComments", mechCISet("Knock-out rule comments"), "acceptablePurposes", nempty(purpose) ? litciset(purpose) : acceptablePurposes, "respondingToHuman", !bot, "debug", debug, "userID", userID, "contextMaker", contextCache, "debugPreprocessing", true, "sendToModules", new F1>() {
^
symbol: variable userName
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:418: error: bad operand type JDA for unary operator '!'
Object[] params = litmapparams("userName", userName, "skipBad", skipBad, "preContext", preContext, "badComments", mechCISet("Knock-out rule comments"), "acceptablePurposes", nempty(purpose) ? litciset(purpose) : acceptablePurposes, "respondingToHuman", !bot, "debug", debug, "userID", userID, "contextMaker", contextCache, "debugPreprocessing", true, "sendToModules", new F1>() {
^
/root/JavaX-Caches/tmp_1682203679/main.java:418: error: cannot find symbol
Object[] params = litmapparams("userName", userName, "skipBad", skipBad, "preContext", preContext, "badComments", mechCISet("Knock-out rule comments"), "acceptablePurposes", nempty(purpose) ? litciset(purpose) : acceptablePurposes, "respondingToHuman", !bot, "debug", debug, "userID", userID, "contextMaker", contextCache, "debugPreprocessing", true, "sendToModules", new F1>() {
^
symbol: variable userID
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:433: error: cannot find symbol
postText(lines_rtrim(takeFirst(10, gazelle_preprocess(content, params))));
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:438: error: cannot find symbol
l = gazelle_postprocess(dm_gazelle_reasonAboutChatInput_v2(userName, content, params));
^
symbol: variable userName
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:438: error: cannot find symbol
l = gazelle_postprocess(dm_gazelle_reasonAboutChatInput_v2(userName, content, params));
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:440: error: cannot find symbol
l = gazelle_reason_repeat(content, params);
^
symbol: variable content
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:448: error: cannot find symbol
dm_gazelle_addTempFact(t.line, "discord msg " + msgID);
^
symbol: variable msgID
location: class DiscordBot
/root/JavaX-Caches/tmp_1682203679/main.java:462: error: cannot find symbol
Gazelle_ReasoningForLine reasoning = nu(Gazelle_ReasoningForLine.class, "outMsgID", msg2.getIdLong(), "outText", out, "inMsgID", msg.getIdLong(), "inUserID", userID, "inChannelID", channelID, "inText", originalContent, "tree", t, "treeIndex", _idx);
^
symbol: variable userID
/root/JavaX-Caches/tmp_1682203679/main.java:462: error: cannot find symbol
Gazelle_ReasoningForLine reasoning = nu(Gazelle_ReasoningForLine.class, "outMsgID", msg2.getIdLong(), "outText", out, "inMsgID", msg.getIdLong(), "inUserID", userID, "inChannelID", channelID, "inText", originalContent, "tree", t, "treeIndex", _idx);
^
symbol: variable originalContent
/root/JavaX-Caches/tmp_1682203679/main.java:462: error: cannot find symbol
Gazelle_ReasoningForLine reasoning = nu(Gazelle_ReasoningForLine.class, "outMsgID", msg2.getIdLong(), "outText", out, "inMsgID", msg.getIdLong(), "inUserID", userID, "inChannelID", channelID, "inText", originalContent, "tree", t, "treeIndex", _idx);
^
symbol: variable msg
/root/JavaX-Caches/tmp_1682203679/main.java:484: error: cannot find symbol
Gazelle_ReasoningForLine reasoning = nu(Gazelle_ReasoningForLine.class, "outMsgID", msg2.getIdLong(), "outText", out, "inMsgID", msg.getIdLong(), "inUserID", userID, "inChannelID", channelID, "inText", originalContent, "tree", t, "treeIndex", _idx);
^
symbol: variable userID
/root/JavaX-Caches/tmp_1682203679/main.java:484: error: cannot find symbol
Gazelle_ReasoningForLine reasoning = nu(Gazelle_ReasoningForLine.class, "outMsgID", msg2.getIdLong(), "outText", out, "inMsgID", msg.getIdLong(), "inUserID", userID, "inChannelID", channelID, "inText", originalContent, "tree", t, "treeIndex", _idx);
^
symbol: variable originalContent
/root/JavaX-Caches/tmp_1682203679/main.java:484: error: cannot find symbol
Gazelle_ReasoningForLine reasoning = nu(Gazelle_ReasoningForLine.class, "outMsgID", msg2.getIdLong(), "outText", out, "inMsgID", msg.getIdLong(), "inUserID", userID, "inChannelID", channelID, "inText", originalContent, "tree", t, "treeIndex", _idx);
^
symbol: variable msg
49 errors