Wrote /root/JavaX-Caches/tmp_765810325/main.java - 5375 bytes (written=5375, should be 5375)
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_1004189135 /root/JavaX-Caches/tmp_765810325/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_765810325/main.java:1: error: class, interface, or enum expected
srecord noeq G22_RegionToSSIs_v2(IImageRegion region) extends Meta {
^
/root/JavaX-Caches/tmp_765810325/main.java:3: error: class, interface, or enum expected
L ssis;
^
/root/JavaX-Caches/tmp_765810325/main.java:4: error: class, interface, or enum expected
new L growingSSIs;
^
/root/JavaX-Caches/tmp_765810325/main.java:5: error: class, interface, or enum expected
settable bool withDiagonals;
^
/root/JavaX-Caches/tmp_765810325/main.java:6: error: class, interface, or enum expected
settable bool checkCoherence = true;
^
/root/JavaX-Caches/tmp_765810325/main.java:7: error: class, interface, or enum expected
settable bool checkStreaks = true;
^
/root/JavaX-Caches/tmp_765810325/main.java:9: error: class, interface, or enum expected
private int x1, y;
^
/root/JavaX-Caches/tmp_765810325/main.java:12: error: expected
settable int y1;
^
/root/JavaX-Caches/tmp_765810325/main.java:13: error: illegal start of type
new ShortBuffer data;
^
/root/JavaX-Caches/tmp_765810325/main.java:15: error: ';' expected
int y2() { ret y1+l(data)/2; }
^
/root/JavaX-Caches/tmp_765810325/main.java:15: error: not a statement
int y2() { ret y1+l(data)/2; }
^
/root/JavaX-Caches/tmp_765810325/main.java:18: error: ';' expected
ret addAndReturn(ssis, new SSI(y1, y2()).data(data.toArray())
^
/root/JavaX-Caches/tmp_765810325/main.java:18: error: not a statement
ret addAndReturn(ssis, new SSI(y1, y2()).data(data.toArray())
^
/root/JavaX-Caches/tmp_765810325/main.java:18: error: ';' expected
ret addAndReturn(ssis, new SSI(y1, y2()).data(data.toArray())
^
/root/JavaX-Caches/tmp_765810325/main.java:19: error: ';' expected
.color(color));
^
/root/JavaX-Caches/tmp_765810325/main.java:22: error: ';' expected
bool isEmpty() { ret data.isEmpty(); }
^
/root/JavaX-Caches/tmp_765810325/main.java:23: error: ';' expected
int lastx1() { ret data.get(l(data)-2); }
^
/root/JavaX-Caches/tmp_765810325/main.java:24: error: ';' expected
int lastx2() { ret data.get(l(data)-1); }
^
/root/JavaX-Caches/tmp_765810325/main.java:25: error: ';' expected
IntRange lastRange() { ret isEmpty() ? null : intRange(lastx1(), lastx2()); }
^
/root/JavaX-Caches/tmp_765810325/main.java:37: error: class, interface, or enum expected
void finishSSI(int iSSI) {
^
/root/JavaX-Caches/tmp_765810325/main.java:39: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765810325/main.java:43: error: class, interface, or enum expected
var ssi = new GrowingSSI().y1(y);
^
/root/JavaX-Caches/tmp_765810325/main.java:44: error: class, interface, or enum expected
ssi.add(range.start, range.end);
^
/root/JavaX-Caches/tmp_765810325/main.java:45: error: class, interface, or enum expected
ret addAndReturn(growingSSIs, iSSI, ssi);
^
/root/JavaX-Caches/tmp_765810325/main.java:46: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765810325/main.java:50: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765810325/main.java:52: error: class, interface, or enum expected
int diag() { ret withDiagonals ? 1 : 0; }
^
/root/JavaX-Caches/tmp_765810325/main.java:57: error: class, interface, or enum expected
color = region.color();
^
/root/JavaX-Caches/tmp_765810325/main.java:58: error: class, interface, or enum expected
ssis = new L;
^
/root/JavaX-Caches/tmp_765810325/main.java:59: error: class, interface, or enum expected
Rect r = region.bounds();
^
/root/JavaX-Caches/tmp_765810325/main.java:60: error: class, interface, or enum expected
int x1 = this.x1 = r.x1(), y1 = r.y1(), y2 = r.y2(), h = y2-y1, w = r.w;
^
/root/JavaX-Caches/tmp_765810325/main.java:61: error: class, interface, or enum expected
bool scaff = scaffoldingEnabled();
^
/root/JavaX-Caches/tmp_765810325/main.java:63: error: class, interface, or enum expected
for (y = y1; y < y2; y++) {
^
/root/JavaX-Caches/tmp_765810325/main.java:63: error: class, interface, or enum expected
for (y = y1; y < y2; y++) {
^
/root/JavaX-Caches/tmp_765810325/main.java:63: error: class, interface, or enum expected
for (y = y1; y < y2; y++) {
^
/root/JavaX-Caches/tmp_765810325/main.java:65: error: class, interface, or enum expected
L streaks = shiftIntRanges(x1, genericStreaks(w, x -> region.contains(x1+x, y)));
^
/root/JavaX-Caches/tmp_765810325/main.java:67: error: class, interface, or enum expected
var lastStreaks = lastStreaks();
^
/root/JavaX-Caches/tmp_765810325/main.java:68: error: class, interface, or enum expected
if (checkStreaks())
^
/root/JavaX-Caches/tmp_765810325/main.java:72: error: class, interface, or enum expected
int iStreak = 0, iSSI = 0;
^
/root/JavaX-Caches/tmp_765810325/main.java:73: error: class, interface, or enum expected
int nStreaks = l(streaks);
^
/root/JavaX-Caches/tmp_765810325/main.java:75: error: class, interface, or enum expected
if (scaff) printVars(+y, +lastStreaks, +streaks);
^
/root/JavaX-Caches/tmp_765810325/main.java:77: error: class, interface, or enum expected
while ping (iStreak < nStreaks) {
^
/root/JavaX-Caches/tmp_765810325/main.java:79: error: class, interface, or enum expected
var ssi = _get(growingSSIs, iSSI);
^
/root/JavaX-Caches/tmp_765810325/main.java:80: error: class, interface, or enum expected
if (scaff) printVars(+y, +iStreak, +iSSI, +range, ssi := ssi?.lastRange());
^
/root/JavaX-Caches/tmp_765810325/main.java:90: error: class, interface, or enum expected
if (ssi == null || range.end <= ssi.lastx1()-diag()) {
^
/root/JavaX-Caches/tmp_765810325/main.java:92: error: class, interface, or enum expected
++iStreak;
^
/root/JavaX-Caches/tmp_765810325/main.java:93: error: class, interface, or enum expected
continue;
^
/root/JavaX-Caches/tmp_765810325/main.java:94: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765810325/main.java:104: error: class, interface, or enum expected
continue;
^
/root/JavaX-Caches/tmp_765810325/main.java:105: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765810325/main.java:109: error: class, interface, or enum expected
while (jStreak < nStreaks && streaks.get(jStreak).start < ssi.lastx2()+diag())
^
/root/JavaX-Caches/tmp_765810325/main.java:111: error: class, interface, or enum expected
range = streaks.get(jStreak-1);
^
/root/JavaX-Caches/tmp_765810325/main.java:114: error: class, interface, or enum expected
int jSSI = iSSI+1;
^
/root/JavaX-Caches/tmp_765810325/main.java:115: error: class, interface, or enum expected
while (jSSI < l(growingSSIs)
^
/root/JavaX-Caches/tmp_765810325/main.java:119: error: class, interface, or enum expected
int nSSI = jSSI-iSSI, nStreak = jStreak-iStreak;
^
/root/JavaX-Caches/tmp_765810325/main.java:120: error: class, interface, or enum expected
if (scaff) printVars(+jStreak, +jSSI, +nSSI, +nStreak, +nStreaks, nSSIs := l(growingSSIs));
^
/root/JavaX-Caches/tmp_765810325/main.java:122: error: class, interface, or enum expected
if (scaff) printVars(+nSSI, +nStreak);
^
/root/JavaX-Caches/tmp_765810325/main.java:127: error: class, interface, or enum expected
if (nSSI == 1 && nStreak == 1) {
^
/root/JavaX-Caches/tmp_765810325/main.java:129: error: class, interface, or enum expected
iSSI = jSSI; iStreak = jStreak; continue;
^
/root/JavaX-Caches/tmp_765810325/main.java:129: error: class, interface, or enum expected
iSSI = jSSI; iStreak = jStreak; continue;
^
/root/JavaX-Caches/tmp_765810325/main.java:129: error: class, interface, or enum expected
iSSI = jSSI; iStreak = jStreak; continue;
^
/root/JavaX-Caches/tmp_765810325/main.java:130: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765810325/main.java:137: error: class, interface, or enum expected
while (iSSI < jSSI) {
^
/root/JavaX-Caches/tmp_765810325/main.java:139: error: class, interface, or enum expected
growingSSIs.get(iSSI++).add(range.start, range.end);
^
/root/JavaX-Caches/tmp_765810325/main.java:140: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765810325/main.java:142: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765810325/main.java:151: error: class, interface, or enum expected
while (jSSI-- > iSSI)
^
/root/JavaX-Caches/tmp_765810325/main.java:154: error: class, interface, or enum expected
while (iStreak < jStreak)
^
/root/JavaX-Caches/tmp_765810325/main.java:156: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765810325/main.java:161: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765810325/main.java:165: error: class, interface, or enum expected
ret ssis;
^
/root/JavaX-Caches/tmp_765810325/main.java:166: error: class, interface, or enum expected
}
^
72 errors