Wrote /root/JavaX-Caches/tmp_482465040/main.java - 7484 bytes (written=7484, should be 7484)
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_2024505254 /root/JavaX-Caches/tmp_482465040/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_482465040/main.java:1: error: class, interface, or enum expected
sS botUserName = "celestia";
^
/root/JavaX-Caches/tmp_482465040/main.java:2: error: class, interface, or enum expected
sS logFile = "slack.log";
^
/root/JavaX-Caches/tmp_482465040/main.java:4: error: class, interface, or enum expected
static new ThreadLocal dedicated;
^
/root/JavaX-Caches/tmp_482465040/main.java:5: error: class, interface, or enum expected
static new ThreadLocal channel;
^
/root/JavaX-Caches/tmp_482465040/main.java:6: error: class, interface, or enum expected
static new ThreadLocal slackUserName;
^
/root/JavaX-Caches/tmp_482465040/main.java:8: error: class, interface, or enum expected
static int maxAnswerLength = 1000, shortenTo = 200;
^
/root/JavaX-Caches/tmp_482465040/main.java:10: error: class, interface, or enum expected
sbool actuallyPost = true;
^
/root/JavaX-Caches/tmp_482465040/main.java:11: error: class, interface, or enum expected
static int slackSpeed = 5000, slackTimeout = 20000;
^
/root/JavaX-Caches/tmp_482465040/main.java:13: error: class, interface, or enum expected
static int historySuckSize = 1;
^
/root/JavaX-Caches/tmp_482465040/main.java:14: error: class, interface, or enum expected
sbool checkReactions = false;
^
/root/JavaX-Caches/tmp_482465040/main.java:16: error: class, interface, or enum expected
static new L actionsAfterPost;
^
/root/JavaX-Caches/tmp_482465040/main.java:18: error: class, interface, or enum expected
static new L channels;
^
/root/JavaX-Caches/tmp_482465040/main.java:27: error: illegal start of type
new Map userInfos;
^
/root/JavaX-Caches/tmp_482465040/main.java:65: error: not a statement
pcall { slackSmile(token, channelID, msg.ts); }
^
/root/JavaX-Caches/tmp_482465040/main.java:65: error: ';' expected
pcall { slackSmile(token, channelID, msg.ts); }
^
/root/JavaX-Caches/tmp_482465040/main.java:67: error: not a statement
pcall { slackReact(token, channelID, msg.ts, "thinking_face"); }
^
/root/JavaX-Caches/tmp_482465040/main.java:67: error: ';' expected
pcall { slackReact(token, channelID, msg.ts, "thinking_face"); }
^
/root/JavaX-Caches/tmp_482465040/main.java:66: error: 'else' without 'if'
else
^
/root/JavaX-Caches/tmp_482465040/main.java:78: error: '(' expected
} catch e {
^
/root/JavaX-Caches/tmp_482465040/main.java:78: error: expected
} catch e {
^
/root/JavaX-Caches/tmp_482465040/main.java:110: error: not a statement
if (userID == null) ret null;
^
/root/JavaX-Caches/tmp_482465040/main.java:110: error: ';' expected
if (userID == null) ret null;
^
/root/JavaX-Caches/tmp_482465040/main.java:112: error: not a statement
if (userInfo == null) pcall {
^
/root/JavaX-Caches/tmp_482465040/main.java:112: error: ';' expected
if (userInfo == null) pcall {
^
/root/JavaX-Caches/tmp_482465040/main.java:121: error: ';' expected
ret userInfo == null ? null : (S) userInfo.get("name");
^
/root/JavaX-Caches/tmp_482465040/main.java:121: error: not a statement
ret userInfo == null ? null : (S) userInfo.get("name");
^
/root/JavaX-Caches/tmp_482465040/main.java:121: error: ';' expected
ret userInfo == null ? null : (S) userInfo.get("name");
^
/root/JavaX-Caches/tmp_482465040/main.java:178: error: class, interface, or enum expected
static boolean slackBot_inited;
^
/root/JavaX-Caches/tmp_482465040/main.java:180: error: class, interface, or enum expected
static void initSlackBot() {
^
/root/JavaX-Caches/tmp_482465040/main.java:182: error: class, interface, or enum expected
slackBot_inited = true;
^
/root/JavaX-Caches/tmp_482465040/main.java:184: error: class, interface, or enum expected
Channel c;
^
/root/JavaX-Caches/tmp_482465040/main.java:186: error: class, interface, or enum expected
c = new Channel;
^
/root/JavaX-Caches/tmp_482465040/main.java:187: error: class, interface, or enum expected
c.channelName = "buildingcoolstuff, #bot";
^
/root/JavaX-Caches/tmp_482465040/main.java:188: error: class, interface, or enum expected
c.channelID = "C4XAPALRG";
^
/root/JavaX-Caches/tmp_482465040/main.java:189: error: class, interface, or enum expected
c.token = celestiaToken();
^
/root/JavaX-Caches/tmp_482465040/main.java:190: error: class, interface, or enum expected
c.postAsUser = true;
^
/root/JavaX-Caches/tmp_482465040/main.java:191: error: class, interface, or enum expected
c.dedicated = true;
^
/root/JavaX-Caches/tmp_482465040/main.java:192: error: class, interface, or enum expected
channels.add(c);
^
/root/JavaX-Caches/tmp_482465040/main.java:194: error: class, interface, or enum expected
c = new Channel;
^
/root/JavaX-Caches/tmp_482465040/main.java:195: error: class, interface, or enum expected
c.channelName = "buildingcoolstuff, #general";
^
/root/JavaX-Caches/tmp_482465040/main.java:196: error: class, interface, or enum expected
c.channelID = "C4XTX60LF";
^
/root/JavaX-Caches/tmp_482465040/main.java:197: error: class, interface, or enum expected
c.token = celestiaToken();
^
/root/JavaX-Caches/tmp_482465040/main.java:198: error: class, interface, or enum expected
c.postAsUser = true;
^
/root/JavaX-Caches/tmp_482465040/main.java:199: error: class, interface, or enum expected
c.dedicated = false;
^
/root/JavaX-Caches/tmp_482465040/main.java:200: error: class, interface, or enum expected
channels.add(c);
^
/root/JavaX-Caches/tmp_482465040/main.java:201: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_482465040/main.java:204: error: class, interface, or enum expected
for (int i = l(msgs)-1; i >= 0; i--)
^
/root/JavaX-Caches/tmp_482465040/main.java:204: error: class, interface, or enum expected
for (int i = l(msgs)-1; i >= 0; i--)
^
/root/JavaX-Caches/tmp_482465040/main.java:206: error: class, interface, or enum expected
ret -1;
^
/root/JavaX-Caches/tmp_482465040/main.java:207: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_482465040/main.java:211: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_482465040/main.java:215: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_482465040/main.java:217: error: class, interface, or enum expected
while licensed {
^
/root/JavaX-Caches/tmp_482465040/main.java:219: error: class, interface, or enum expected
for (Channel c : channels) pcall {
^
/root/JavaX-Caches/tmp_482465040/main.java:221: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_482465040/main.java:223: error: class, interface, or enum expected
if (now() > lastPrinted + 60*1000) {
^
/root/JavaX-Caches/tmp_482465040/main.java:225: error: class, interface, or enum expected
print("Slack loop still going. " + unixTime());
^
/root/JavaX-Caches/tmp_482465040/main.java:226: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_482465040/main.java:230: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_482465040/main.java:237: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_482465040/main.java:242: error: class, interface, or enum expected
}
^
61 errors