Wrote /root/JavaX-Caches/tmp_1704958256/main.java - 5001 bytes (written=5001, should be 5001)
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/1400445.jar -d /root/JavaX-Caches/tmp_1307442380 /root/JavaX-Caches/tmp_1704958256/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1704958256/main.java:1: error: class, interface, or enum expected
abstract sclass DynShardedDiscordHopper > DynPrintLogAndEnabled {
^
/root/JavaX-Caches/tmp_1704958256/main.java:2: error: illegal character: '#'
!include #1034049 // Sharded Discord with JDA 4.0
^
/root/JavaX-Caches/tmp_1704958256/main.java:4: error: class, interface, or enum expected
bool discordEnabled() { ret enabled; }
^
/root/JavaX-Caches/tmp_1704958256/main.java:5: error: class, interface, or enum expected
bool printToModule() { true; }
^
/root/JavaX-Caches/tmp_1704958256/main.java:8: error: class, interface, or enum expected
long preferredChannelID;
^
/root/JavaX-Caches/tmp_1704958256/main.java:10: error: class, interface, or enum expected
transient double minutesToKeepRecordedAnswers = 60.0;
^
/root/JavaX-Caches/tmp_1704958256/main.java:11: error: class, interface, or enum expected
L recordedAnswers = syncList();
^
/root/JavaX-Caches/tmp_1704958256/main.java:13: error: class, interface, or enum expected
sclass RecordedAnswer {
^
/root/JavaX-Caches/tmp_1704958256/main.java:15: error: class, interface, or enum expected
long questionMsgID, answerMsgID, channelID;
^
/root/JavaX-Caches/tmp_1704958256/main.java:16: error: class, interface, or enum expected
S questionText, answerText;
^
/root/JavaX-Caches/tmp_1704958256/main.java:18: error: class, interface, or enum expected
toString { ret stdToString(this); }
^
/root/JavaX-Caches/tmp_1704958256/main.java:18: error: class, interface, or enum expected
toString { ret stdToString(this); }
^
/root/JavaX-Caches/tmp_1704958256/main.java:22: error: class, interface, or enum expected
transient new L onDiscordStarted;
^
/root/JavaX-Caches/tmp_1704958256/main.java:23: error: class, interface, or enum expected
transient L> onDiscordEvent = syncList();
^
/root/JavaX-Caches/tmp_1704958256/main.java:25: error: class, interface, or enum expected
ListenerAdapter genericListener() {
^
/root/JavaX-Caches/tmp_1704958256/main.java:27: error: class, interface, or enum expected
public void onGenericEvent(Event e) enter {
^
/root/JavaX-Caches/tmp_1704958256/main.java:29: error: class, interface, or enum expected
pcallFAll(onDiscordEvent, e);
^
/root/JavaX-Caches/tmp_1704958256/main.java:30: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:32: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:36: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:40: error: class, interface, or enum expected
minFrameSize(f, 300, 300);
^
/root/JavaX-Caches/tmp_1704958256/main.java:41: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:46: error: class, interface, or enum expected
startMe();
^
/root/JavaX-Caches/tmp_1704958256/main.java:47: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:52: error: class, interface, or enum expected
O module = map.get('module);
^
/root/JavaX-Caches/tmp_1704958256/main.java:52: error: unclosed character literal
O module = map.get('module);
^
/root/JavaX-Caches/tmp_1704958256/main.java:53: error: class, interface, or enum expected
if (!dm_isMe(module)) ret;
^
/root/JavaX-Caches/tmp_1704958256/main.java:54: error: class, interface, or enum expected
S s = getString content(map);
^
/root/JavaX-Caches/tmp_1704958256/main.java:56: error: class, interface, or enum expected
long channelID = toLong(map.get('channelID));
^
/root/JavaX-Caches/tmp_1704958256/main.java:56: error: unclosed character literal
long channelID = toLong(map.get('channelID));
^
/root/JavaX-Caches/tmp_1704958256/main.java:57: error: class, interface, or enum expected
if (channelID != 0 && preferredChannelID == 0)
^
/root/JavaX-Caches/tmp_1704958256/main.java:60: error: class, interface, or enum expected
cleanRecordedAnswers();
^
/root/JavaX-Caches/tmp_1704958256/main.java:62: error: class, interface, or enum expected
S answer = answer(s, map);
^
/root/JavaX-Caches/tmp_1704958256/main.java:63: error: class, interface, or enum expected
sendReply(map, answer);
^
/root/JavaX-Caches/tmp_1704958256/main.java:64: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_1704958256/main.java:65: error: class, interface, or enum expected
if (!enabled) ret;
^
/root/JavaX-Caches/tmp_1704958256/main.java:66: error: class, interface, or enum expected
print("Starting Discord");
^
/root/JavaX-Caches/tmp_1704958256/main.java:67: error: class, interface, or enum expected
startDiscord();
^
/root/JavaX-Caches/tmp_1704958256/main.java:68: error: class, interface, or enum expected
print("Started Discord");
^
/root/JavaX-Caches/tmp_1704958256/main.java:69: error: class, interface, or enum expected
discord.addEventListener(genericListener());
^
/root/JavaX-Caches/tmp_1704958256/main.java:70: error: class, interface, or enum expected
pcallFAll(onDiscordStarted);
^
/root/JavaX-Caches/tmp_1704958256/main.java:71: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:75: error: class, interface, or enum expected
cleanRecordedAnswers();
^
/root/JavaX-Caches/tmp_1704958256/main.java:76: error: class, interface, or enum expected
new RecordedAnswer a;
^
/root/JavaX-Caches/tmp_1704958256/main.java:77: error: class, interface, or enum expected
if (minutesToKeepRecordedAnswers > 0) {
^
/root/JavaX-Caches/tmp_1704958256/main.java:79: error: class, interface, or enum expected
a.questionMsgID = getLong msgID(map);
^
/root/JavaX-Caches/tmp_1704958256/main.java:80: error: class, interface, or enum expected
a.channelID = getLong channelID(map);
^
/root/JavaX-Caches/tmp_1704958256/main.java:81: error: class, interface, or enum expected
a.questionText = getString content(map);
^
/root/JavaX-Caches/tmp_1704958256/main.java:82: error: class, interface, or enum expected
a.answerText = answer;
^
/root/JavaX-Caches/tmp_1704958256/main.java:83: error: class, interface, or enum expected
print("Recording answer : " + a);
^
/root/JavaX-Caches/tmp_1704958256/main.java:84: error: class, interface, or enum expected
recordedAnswers.add(a);
^
/root/JavaX-Caches/tmp_1704958256/main.java:85: error: class, interface, or enum expected
change();
^
/root/JavaX-Caches/tmp_1704958256/main.java:86: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:88: error: unclosed character literal
dm_rcall reply(map.get('module), map, answer, (IVF1) msg -> {
^
/root/JavaX-Caches/tmp_1704958256/main.java:90: error: class, interface, or enum expected
change();
^
/root/JavaX-Caches/tmp_1704958256/main.java:91: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_1704958256/main.java:92: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:98: error: class, interface, or enum expected
if (eq(s, "!ip address"))
^
/root/JavaX-Caches/tmp_1704958256/main.java:101: error: class, interface, or enum expected
LS tokens = extractPossibleDiscordTokens(s);
^
/root/JavaX-Caches/tmp_1704958256/main.java:102: error: class, interface, or enum expected
for unnull (S token : tokens) {
^
/root/JavaX-Caches/tmp_1704958256/main.java:106: error: class, interface, or enum expected
S answer = "That's a Discord token!";
^
/root/JavaX-Caches/tmp_1704958256/main.java:107: error: class, interface, or enum expected
if (contains(concatLists((LLS) vmBus_queryAll activeDiscordTokens()), token))
^
/root/JavaX-Caches/tmp_1704958256/main.java:109: error: class, interface, or enum expected
else {
^
/root/JavaX-Caches/tmp_1704958256/main.java:111: error: class, interface, or enum expected
dm_showNewModuleWithParams(dm_moduleLibID(), discordToken := token);
^
/root/JavaX-Caches/tmp_1704958256/main.java:112: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:114: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:117: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:119: error: class, interface, or enum expected
S atSelf() { ret discordAt(discordBotID); }
^
/root/JavaX-Caches/tmp_1704958256/main.java:122: error: class, interface, or enum expected
S atExclamSelf() { ret discordAtExclam(discordBotID); }
^
/root/JavaX-Caches/tmp_1704958256/main.java:124: error: class, interface, or enum expected
void onDiscordStarted(Runnable r) { onDiscordStarted.add(r); }
^
/root/JavaX-Caches/tmp_1704958256/main.java:129: error: class, interface, or enum expected
dm_reloadOnFieldChange enabled();
^
/root/JavaX-Caches/tmp_1704958256/main.java:130: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:134: error: class, interface, or enum expected
bool change;
^
/root/JavaX-Caches/tmp_1704958256/main.java:135: error: class, interface, or enum expected
synchronized(recordedAnswers) {
^
/root/JavaX-Caches/tmp_1704958256/main.java:139: error: class, interface, or enum expected
recordedAnswers.remove(a);
^
/root/JavaX-Caches/tmp_1704958256/main.java:140: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:142: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:144: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:149: error: class, interface, or enum expected
temp enter(); dm_stringFieldDialog discordToken();
^
/root/JavaX-Caches/tmp_1704958256/main.java:150: error: class, interface, or enum expected
}));
^
/root/JavaX-Caches/tmp_1704958256/main.java:152: error: class, interface, or enum expected
addToContainer(buttons, jPopDownButton_noText(
^
/root/JavaX-Caches/tmp_1704958256/main.java:156: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1704958256/main.java:158: error: class, interface, or enum expected
bool warnOnDelete() { true; }
^
/root/JavaX-Caches/tmp_1704958256/main.java:164: error: class, interface, or enum expected
print("Migrated to new module " + moduleID + ", disabling me");
^
/root/JavaX-Caches/tmp_1704958256/main.java:165: error: class, interface, or enum expected
setEnabled(false);
^
/root/JavaX-Caches/tmp_1704958256/main.java:166: error: class, interface, or enum expected
dm_reload(); // actually disable Discord
^
/root/JavaX-Caches/tmp_1704958256/main.java:167: error: class, interface, or enum expected
ret moduleID;
^
/root/JavaX-Caches/tmp_1704958256/main.java:168: error: class, interface, or enum expected
}
^
88 errors