Wrote /root/JavaX-Caches/tmp_348444641/main.java - 2798 bytes (written=2798, should be 2798)
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_650636477 /root/JavaX-Caches/tmp_348444641/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_348444641/main.java:4: error: class, interface, or enum expected
srecord noeq RegionBorder_innerPoints(BWImage_FastRegions regions, int iRegion) extends AbstractSteppable {
^
/root/JavaX-Caches/tmp_348444641/main.java:6: error: class, interface, or enum expected
event foundPoint(Pt p);
^
/root/JavaX-Caches/tmp_348444641/main.java:7: error: class, interface, or enum expected
event traceDone;
^
/root/JavaX-Caches/tmp_348444641/main.java:9: error: class, interface, or enum expected
int w, x, y, dir;
^
/root/JavaX-Caches/tmp_348444641/main.java:10: error: class, interface, or enum expected
BWImage_FastRegions.RegionIterator it;
^
/root/JavaX-Caches/tmp_348444641/main.java:11: error: class, interface, or enum expected
BitSet seen;
^
/root/JavaX-Caches/tmp_348444641/main.java:12: error: class, interface, or enum expected
bool tracing;
^
/root/JavaX-Caches/tmp_348444641/main.java:13: error: class, interface, or enum expected
gettable bool tracingHole;
^
/root/JavaX-Caches/tmp_348444641/main.java:16: error: class, interface, or enum expected
static Pt[] directions = {
^
/root/JavaX-Caches/tmp_348444641/main.java:20: error: class, interface, or enum expected
void init {
^
/root/JavaX-Caches/tmp_348444641/main.java:22: error: class, interface, or enum expected
seen = new BitSet;
^
/root/JavaX-Caches/tmp_348444641/main.java:23: error: class, interface, or enum expected
it = regions.regionIterator(iRegion);
^
/root/JavaX-Caches/tmp_348444641/main.java:24: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_348444641/main.java:26: error: class, interface, or enum expected
public bool step() {
^
/root/JavaX-Caches/tmp_348444641/main.java:29: error: class, interface, or enum expected
if (tracing) {
^
/root/JavaX-Caches/tmp_348444641/main.java:31: error: class, interface, or enum expected
if (seen.get(pos)) {
^
/root/JavaX-Caches/tmp_348444641/main.java:33: error: class, interface, or enum expected
tracing = false;
^
/root/JavaX-Caches/tmp_348444641/main.java:34: error: class, interface, or enum expected
true;
^
/root/JavaX-Caches/tmp_348444641/main.java:35: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_348444641/main.java:37: error: class, interface, or enum expected
foundPoint(x, y);
^
/root/JavaX-Caches/tmp_348444641/main.java:39: error: class, interface, or enum expected
for (int turn = 3; turn <= 6; turn++) { // try left, straight, right, back
^
/root/JavaX-Caches/tmp_348444641/main.java:39: error: class, interface, or enum expected
for (int turn = 3; turn <= 6; turn++) { // try left, straight, right, back
^
/root/JavaX-Caches/tmp_348444641/main.java:39: error: class, interface, or enum expected
for (int turn = 3; turn <= 6; turn++) { // try left, straight, right, back
^
/root/JavaX-Caches/tmp_348444641/main.java:41: error: class, interface, or enum expected
Pt d = directions[newDir];
^
/root/JavaX-Caches/tmp_348444641/main.java:42: error: class, interface, or enum expected
int x2 = x+d.x, y2 = y+d.y;
^
/root/JavaX-Caches/tmp_348444641/main.java:43: error: class, interface, or enum expected
bool b = regions.inRegion(iRegion, x2, y2);
^
/root/JavaX-Caches/tmp_348444641/main.java:44: error: class, interface, or enum expected
ifdef RegionBorder_innerPoints_debug
^
/root/JavaX-Caches/tmp_348444641/main.java:46: error: class, interface, or enum expected
endifdef
^
/root/JavaX-Caches/tmp_348444641/main.java:48: error: class, interface, or enum expected
x = x2; y = y2; dir = newDir;
^
/root/JavaX-Caches/tmp_348444641/main.java:48: error: class, interface, or enum expected
x = x2; y = y2; dir = newDir;
^
/root/JavaX-Caches/tmp_348444641/main.java:49: error: class, interface, or enum expected
true;
^
/root/JavaX-Caches/tmp_348444641/main.java:50: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_348444641/main.java:54: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_348444641/main.java:58: error: class, interface, or enum expected
x = it.x(); y = it.y();
^
/root/JavaX-Caches/tmp_348444641/main.java:58: error: class, interface, or enum expected
x = it.x(); y = it.y();
^
/root/JavaX-Caches/tmp_348444641/main.java:60: error: class, interface, or enum expected
if (seen.get(y*w+x)) true; // seen pixel before
^
/root/JavaX-Caches/tmp_348444641/main.java:63: error: class, interface, or enum expected
if (!regions.inRegion(iRegion, x, y-1))
^
/root/JavaX-Caches/tmp_348444641/main.java:67: error: class, interface, or enum expected
if (!regions.inRegion(iRegion, x-1, y))
^
/root/JavaX-Caches/tmp_348444641/main.java:71: error: class, interface, or enum expected
if (!regions.inRegion(iRegion, x+1, y))
^
/root/JavaX-Caches/tmp_348444641/main.java:75: error: class, interface, or enum expected
if (!regions.inRegion(iRegion, x, y+1))
^
/root/JavaX-Caches/tmp_348444641/main.java:79: error: class, interface, or enum expected
true;
^
/root/JavaX-Caches/tmp_348444641/main.java:80: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_348444641/main.java:85: error: class, interface, or enum expected
set tracing;
^
/root/JavaX-Caches/tmp_348444641/main.java:86: error: class, interface, or enum expected
newTrace(tracingHole);
^
/root/JavaX-Caches/tmp_348444641/main.java:87: error: class, interface, or enum expected
set tracingHole;
^
/root/JavaX-Caches/tmp_348444641/main.java:88: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_348444641/main.java:90: error: class, interface, or enum expected
void foundPoint(int x, int y) { foundPoint(pt(x, y)); }
^
/root/JavaX-Caches/tmp_348444641/main.java:94: error: class, interface, or enum expected
onTraceDone(-> print("traceDone"));
^
/root/JavaX-Caches/tmp_348444641/main.java:95: error: class, interface, or enum expected
onFoundPoint(p -> print("foundPoint " + p));
^
/root/JavaX-Caches/tmp_348444641/main.java:96: error: class, interface, or enum expected
stepMaxWithStats(this, 10000);
^
/root/JavaX-Caches/tmp_348444641/main.java:97: error: class, interface, or enum expected
}
^
51 errors