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

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

/root/JavaX-Caches/tmp_399563809/main.java:7: error: class, interface, or enum expected static L<SlackMsg> slackReadTalkingBots(int limit) { ^ /root/JavaX-Caches/tmp_399563809/main.java:9: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_399563809/main.java:13: error: class, interface, or enum expected S token = loadSecretTextFileMandatory("#1001889", "relp-slack-botstuff-token").trim(); ^ /root/JavaX-Caches/tmp_399563809/main.java:14: error: class, interface, or enum expected S url = "https://slack.com/api/channels.history"; ^ /root/JavaX-Caches/tmp_399563809/main.java:15: error: class, interface, or enum expected S postData = "token=" + urlencode(token) + "&channel=" + urlencode(channelID) + "&count=" + limit ^ /root/JavaX-Caches/tmp_399563809/main.java:17: error: class, interface, or enum expected S data = doPost(postData, url); ^ /root/JavaX-Caches/tmp_399563809/main.java:18: error: class, interface, or enum expected Map map = cast jsonDecode(data); ^ /root/JavaX-Caches/tmp_399563809/main.java:19: error: class, interface, or enum expected assertTrue(map.get("ok")); ^ /root/JavaX-Caches/tmp_399563809/main.java:20: error: class, interface, or enum expected List<Map> _msgs = cast map.get("messages"); ^ /root/JavaX-Caches/tmp_399563809/main.java:21: error: class, interface, or enum expected new L<SlackMsg> msgs; ^ /root/JavaX-Caches/tmp_399563809/main.java:22: error: class, interface, or enum expected for (Map msg : reversedList(_msgs)) { ^ /root/JavaX-Caches/tmp_399563809/main.java:24: error: class, interface, or enum expected m.type = (S) msg.get("type"); ^ /root/JavaX-Caches/tmp_399563809/main.java:25: error: class, interface, or enum expected m.user = (S) msg.get("user"); ^ /root/JavaX-Caches/tmp_399563809/main.java:26: error: class, interface, or enum expected m.botName = (S) msg.get("username"); ^ /root/JavaX-Caches/tmp_399563809/main.java:27: error: class, interface, or enum expected m.text = (S) msg.get("text"); ^ /root/JavaX-Caches/tmp_399563809/main.java:28: error: class, interface, or enum expected m.ts = (S) msg.get("ts"); ^ /root/JavaX-Caches/tmp_399563809/main.java:29: error: class, interface, or enum expected m.reactions = msg.get("reactions"); ^ /root/JavaX-Caches/tmp_399563809/main.java:30: error: class, interface, or enum expected msgs.add(m); ^ /root/JavaX-Caches/tmp_399563809/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_399563809/main.java:34: error: class, interface, or enum expected ret msgs; ^ /root/JavaX-Caches/tmp_399563809/main.java:35: error: class, interface, or enum expected } ^ 21 errors