Wrote /root/JavaX-Caches/tmp_943421185/main.java - 7628 bytes (written=7628, should be 7628)
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_1149554999 /root/JavaX-Caches/tmp_943421185/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_943421185/main.java:5: error: class, interface, or enum expected
sinterface GameForAI {
^
/root/JavaX-Caches/tmp_943421185/main.java:7: error: class, interface, or enum expected
double submit(Submission data); // returns score (0-100)
^
/root/JavaX-Caches/tmp_943421185/main.java:8: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_943421185/main.java:10: error: class, interface, or enum expected
abstract sclass AI {
^
/root/JavaX-Caches/tmp_943421185/main.java:14: error: class, interface, or enum expected
RGBImage image;
^
/root/JavaX-Caches/tmp_943421185/main.java:15: error: class, interface, or enum expected
bool visualize = true;
^
/root/JavaX-Caches/tmp_943421185/main.java:17: error: class, interface, or enum expected
RGBImage image() { ret image; }
^
/root/JavaX-Caches/tmp_943421185/main.java:17: error: class, interface, or enum expected
RGBImage image() { ret image; }
^
/root/JavaX-Caches/tmp_943421185/main.java:18: error: class, interface, or enum expected
int w() { ret image.w(); }
^
/root/JavaX-Caches/tmp_943421185/main.java:19: error: class, interface, or enum expected
int h() { ret image.h(); }
^
/root/JavaX-Caches/tmp_943421185/main.java:20: error: class, interface, or enum expected
int round() { ret game.round(); }
^
/root/JavaX-Caches/tmp_943421185/main.java:21: error: class, interface, or enum expected
double submit(Submission data) { ret game.submit(data); }
^
/root/JavaX-Caches/tmp_943421185/main.java:22: error: class, interface, or enum expected
A initSubAI(A ai) { setOptAll(ai, +game, +image); ret ai; }
^
/root/JavaX-Caches/tmp_943421185/main.java:22: error: class, interface, or enum expected
A initSubAI(A ai) { setOptAll(ai, +game, +image); ret ai; }
^
/root/JavaX-Caches/tmp_943421185/main.java:25: error: class, interface, or enum expected
abstract void go();
^
/root/JavaX-Caches/tmp_943421185/main.java:27: error: class, interface, or enum expected
void done() {}
^
/root/JavaX-Caches/tmp_943421185/main.java:35: error: class, interface, or enum expected
static double targetScore = 99.0; // stop when this score is reached
^
/root/JavaX-Caches/tmp_943421185/main.java:36: error: class, interface, or enum expected
static int fps = 50;
^
/root/JavaX-Caches/tmp_943421185/main.java:37: error: class, interface, or enum expected
sS newImageText = "New Image";
^
/root/JavaX-Caches/tmp_943421185/main.java:38: error: class, interface, or enum expected
sS instruction = "Reproduce this image:";
^
/root/JavaX-Caches/tmp_943421185/main.java:39: error: class, interface, or enum expected
sS aiTitle = "AI";
^
/root/JavaX-Caches/tmp_943421185/main.java:40: error: class, interface, or enum expected
sbool showConsoleOnError;
^
/root/JavaX-Caches/tmp_943421185/main.java:42: error: class, interface, or enum expected
static int w, h;
^
/root/JavaX-Caches/tmp_943421185/main.java:43: error: class, interface, or enum expected
static new UserGame userGame;
^
/root/JavaX-Caches/tmp_943421185/main.java:44: error: class, interface, or enum expected
static int halfTime;
^
/root/JavaX-Caches/tmp_943421185/main.java:45: error: class, interface, or enum expected
static ImageSurface is, isUser, isRepro;
^
/root/JavaX-Caches/tmp_943421185/main.java:46: error: class, interface, or enum expected
static RGBImage img; // the main image
^
/root/JavaX-Caches/tmp_943421185/main.java:47: error: class, interface, or enum expected
static double[][] integralImage;
^
/root/JavaX-Caches/tmp_943421185/main.java:48: error: class, interface, or enum expected
static new HashMap words;
^
/root/JavaX-Caches/tmp_943421185/main.java:49: error: class, interface, or enum expected
static L solution;
^
/root/JavaX-Caches/tmp_943421185/main.java:50: error: class, interface, or enum expected
volatile sbool aiMode;
^
/root/JavaX-Caches/tmp_943421185/main.java:51: error: class, interface, or enum expected
static JLabel lblScore, lblTiming, lblInstruction;
^
/root/JavaX-Caches/tmp_943421185/main.java:52: error: class, interface, or enum expected
static new HashMap ais;
^
/root/JavaX-Caches/tmp_943421185/main.java:53: error: class, interface, or enum expected
static S winner;
^
/root/JavaX-Caches/tmp_943421185/main.java:54: error: class, interface, or enum expected
static JCheckBox keepRunning;
^
/root/JavaX-Caches/tmp_943421185/main.java:56: error: class, interface, or enum expected
svoid pGame {
^
/root/JavaX-Caches/tmp_943421185/main.java:58: error: class, interface, or enum expected
swing {
^
/root/JavaX-Caches/tmp_943421185/main.java:59: error: illegal character: '#'
thread { loadBinarySnippet(#1004373); } // preload applause animation
^
/root/JavaX-Caches/tmp_943421185/main.java:59: error: class, interface, or enum expected
thread { loadBinarySnippet(#1004373); } // preload applause animation
^
/root/JavaX-Caches/tmp_943421185/main.java:61: error: class, interface, or enum expected
lblScore = jcenteredBoldLabel();
^
/root/JavaX-Caches/tmp_943421185/main.java:62: error: class, interface, or enum expected
nextImage();
^
/root/JavaX-Caches/tmp_943421185/main.java:63: error: class, interface, or enum expected
addToWindowTop(is, withMargin(lblInstruction));
^
/root/JavaX-Caches/tmp_943421185/main.java:64: error: class, interface, or enum expected
addToWindow(is, withMargin(lblScore));
^
/root/JavaX-Caches/tmp_943421185/main.java:65: error: class, interface, or enum expected
for (final Class c : myNonAbstractClassesImplementing(AI)) {
^
/root/JavaX-Caches/tmp_943421185/main.java:65: error: class, interface, or enum expected
for (final Class c : myNonAbstractClassesImplementing(AI)) {
^
/root/JavaX-Caches/tmp_943421185/main.java:66: error: class, interface, or enum expected
final S name = shortClassName(c);
^
/root/JavaX-Caches/tmp_943421185/main.java:67: error: class, interface, or enum expected
final JButton btn = jbutton(name);
^
/root/JavaX-Caches/tmp_943421185/main.java:68: error: class, interface, or enum expected
final Runnable go = r {
^
/root/JavaX-Caches/tmp_943421185/main.java:70: error: class, interface, or enum expected
setText(btn, name + " Running...");
^
/root/JavaX-Caches/tmp_943421185/main.java:71: error: class, interface, or enum expected
final Runnable again = this;
^
/root/JavaX-Caches/tmp_943421185/main.java:72: error: class, interface, or enum expected
thread {
^
/root/JavaX-Caches/tmp_943421185/main.java:75: error: class, interface, or enum expected
S text = name + " scored " + formatScore(game.score) + " in " + n(game.step, "round");
^
/root/JavaX-Caches/tmp_943421185/main.java:76: error: class, interface, or enum expected
if (game.error != null)
^
/root/JavaX-Caches/tmp_943421185/main.java:78: error: class, interface, or enum expected
setText_noWait_sync(btn, text);
^
/root/JavaX-Caches/tmp_943421185/main.java:79: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_943421185/main.java:80: error: class, interface, or enum expected
if (isChecked(keepRunning)) again.run();
^
/root/JavaX-Caches/tmp_943421185/main.java:81: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_943421185/main.java:83: error: class, interface, or enum expected
onClick(btn, r { if (aiMode) setChecked(keepRunning, false); else go.run(); });
^
/root/JavaX-Caches/tmp_943421185/main.java:83: error: class, interface, or enum expected
onClick(btn, r { if (aiMode) setChecked(keepRunning, false); else go.run(); });
^
/root/JavaX-Caches/tmp_943421185/main.java:83: error: class, interface, or enum expected
onClick(btn, r { if (aiMode) setChecked(keepRunning, false); else go.run(); });
^
/root/JavaX-Caches/tmp_943421185/main.java:84: error: class, interface, or enum expected
addToWindow(is, withMargin(btn));
^
/root/JavaX-Caches/tmp_943421185/main.java:85: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_943421185/main.java:87: error: class, interface, or enum expected
titlePopupMenuItem(is, "Show Winner Code", f showWinnerCode);
^
/root/JavaX-Caches/tmp_943421185/main.java:88: error: class, interface, or enum expected
titlePopupMenuItem(is, "Restart AIs", r { restartAIs() });
^
/root/JavaX-Caches/tmp_943421185/main.java:89: error: class, interface, or enum expected
addToWindow(is, withMargin(jRightAlignedLine(keepRunning = jcheckbox("Keep AI Running", true))));
^
/root/JavaX-Caches/tmp_943421185/main.java:90: error: class, interface, or enum expected
addToWindow(is, withMargin(jbutton("Restart AIs", r { clearMapWithCleanUp(ais); })));
^
/root/JavaX-Caches/tmp_943421185/main.java:90: error: class, interface, or enum expected
addToWindow(is, withMargin(jbutton("Restart AIs", r { clearMapWithCleanUp(ais); })));
^
/root/JavaX-Caches/tmp_943421185/main.java:91: error: class, interface, or enum expected
addToWindow(is, withMargin(jbutton(newImageText, r {
^
/root/JavaX-Caches/tmp_943421185/main.java:93: error: class, interface, or enum expected
if (aiMode) showTheImage();
^
/root/JavaX-Caches/tmp_943421185/main.java:94: error: class, interface, or enum expected
restartAIs();
^
/root/JavaX-Caches/tmp_943421185/main.java:95: error: class, interface, or enum expected
})));
^
/root/JavaX-Caches/tmp_943421185/main.java:97: error: class, interface, or enum expected
packFrame(is);
^
/root/JavaX-Caches/tmp_943421185/main.java:98: error: class, interface, or enum expected
setFrameWidth(is, 400);
^
/root/JavaX-Caches/tmp_943421185/main.java:99: error: class, interface, or enum expected
centerTopFrame(is);
^
/root/JavaX-Caches/tmp_943421185/main.java:101: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_943421185/main.java:106: error: class, interface, or enum expected
w = img.w();
^
/root/JavaX-Caches/tmp_943421185/main.java:107: error: class, interface, or enum expected
h = img.h();
^
/root/JavaX-Caches/tmp_943421185/main.java:108: error: class, interface, or enum expected
integralImage = integralImage(img);
^
/root/JavaX-Caches/tmp_943421185/main.java:109: error: class, interface, or enum expected
if (aiMode) ret; // occasional updates only when AI is running
^
/root/JavaX-Caches/tmp_943421185/main.java:110: error: class, interface, or enum expected
showTheImage();
^
/root/JavaX-Caches/tmp_943421185/main.java:111: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_943421185/main.java:115: error: class, interface, or enum expected
is = showZoomedImage_centered(is, img, 1);
^
/root/JavaX-Caches/tmp_943421185/main.java:117: error: class, interface, or enum expected
if (first) {
^
/root/JavaX-Caches/tmp_943421185/main.java:120: error: class, interface, or enum expected
isUser = new ImageSurface(newBufferedImage(w, h, Color.white));
^
/root/JavaX-Caches/tmp_943421185/main.java:121: error: class, interface, or enum expected
JComponent form = makeTheForm(userGame);
^
/root/JavaX-Caches/tmp_943421185/main.java:123: error: class, interface, or enum expected
if (form != null) {
^
/root/JavaX-Caches/tmp_943421185/main.java:125: error: class, interface, or enum expected
addToWindow(is, form);
^
/root/JavaX-Caches/tmp_943421185/main.java:126: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_943421185/main.java:145: error: class, interface, or enum expected
new Best best;
^
/root/JavaX-Caches/tmp_943421185/main.java:146: error: class, interface, or enum expected
double score;
^
/root/JavaX-Caches/tmp_943421185/main.java:147: error: class, interface, or enum expected
Submission submitted; // what was submitted in this round
^
/root/JavaX-Caches/tmp_943421185/main.java:148: error: class, interface, or enum expected
Throwable error;
^
/root/JavaX-Caches/tmp_943421185/main.java:150: error: class, interface, or enum expected
public int round() { ret step; }
^
/root/JavaX-Caches/tmp_943421185/main.java:150: error: class, interface, or enum expected
public int round() { ret step; }
^
/root/JavaX-Caches/tmp_943421185/main.java:152: error: class, interface, or enum expected
public double submit(Submission data) {
^
/root/JavaX-Caches/tmp_943421185/main.java:154: error: class, interface, or enum expected
if (submitted != null) fail("No multi-submit please");
^
/root/JavaX-Caches/tmp_943421185/main.java:155: error: class, interface, or enum expected
submitted = data;
^
/root/JavaX-Caches/tmp_943421185/main.java:156: error: class, interface, or enum expected
double score = scoreSubmission(data);
^
/root/JavaX-Caches/tmp_943421185/main.java:158: error: class, interface, or enum expected
if (best.put(data, score))
^
/root/JavaX-Caches/tmp_943421185/main.java:160: error: class, interface, or enum expected
ret score;
^
100 errors
only showing the first 100 errors, of 151 total; use -Xmaxerrs if you would like to see more