Wrote /root/JavaX-Caches/tmp_1912049644/main.java - 4836 bytes (written=4836, should be 4836)
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_1753300128 /root/JavaX-Caches/tmp_1912049644/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1912049644/main.java:1: error: class, interface, or enum expected
sclass G22CriticalPixelSearch is Steppable {
^
/root/JavaX-Caches/tmp_1912049644/main.java:4: error: class, interface, or enum expected
settable bool keepAllEntries;
^
/root/JavaX-Caches/tmp_1912049644/main.java:5: error: class, interface, or enum expected
settable bool sortPixelsFirst = true;
^
/root/JavaX-Caches/tmp_1912049644/main.java:8: error: class, interface, or enum expected
int w, h;
^
/root/JavaX-Caches/tmp_1912049644/main.java:9: error: class, interface, or enum expected
Iterator pixelIterator;
^
/root/JavaX-Caches/tmp_1912049644/main.java:12: error: class, interface, or enum expected
new Best bestPixel;
^
/root/JavaX-Caches/tmp_1912049644/main.java:13: error: class, interface, or enum expected
Entry bestEntry;
^
/root/JavaX-Caches/tmp_1912049644/main.java:14: error: class, interface, or enum expected
Pt lastPixelLookedAt;
^
/root/JavaX-Caches/tmp_1912049644/main.java:15: error: class, interface, or enum expected
Entry lastEntry;
^
/root/JavaX-Caches/tmp_1912049644/main.java:16: error: class, interface, or enum expected
Entry[] pixelEntries;
^
/root/JavaX-Caches/tmp_1912049644/main.java:17: error: class, interface, or enum expected
float[] pixelScores;
^
/root/JavaX-Caches/tmp_1912049644/main.java:18: error: class, interface, or enum expected
int nPixelsTested;
^
/root/JavaX-Caches/tmp_1912049644/main.java:21: error: class, interface, or enum expected
CompactHashSet subSets;
^
/root/JavaX-Caches/tmp_1912049644/main.java:23: error: class, interface, or enum expected
*() {}
^
/root/JavaX-Caches/tmp_1912049644/main.java:30: error: ';' expected
gettable L darkMasks;
^
/root/JavaX-Caches/tmp_1912049644/main.java:30: error: expected
gettable L darkMasks;
^
/root/JavaX-Caches/tmp_1912049644/main.java:31: error: ';' expected
gettable L brightMasks;
^
/root/JavaX-Caches/tmp_1912049644/main.java:31: error: expected
gettable L brightMasks;
^
/root/JavaX-Caches/tmp_1912049644/main.java:35: error: ';' expected
simplyCached IG22MasksHolder darkHolder() {
^
/root/JavaX-Caches/tmp_1912049644/main.java:35: error: invalid method declaration; return type required
simplyCached IG22MasksHolder darkHolder() {
^
/root/JavaX-Caches/tmp_1912049644/main.java:36: error: not a statement
ret new G22HashedMasks(darkMasks, darkGhost);
^
/root/JavaX-Caches/tmp_1912049644/main.java:36: error: ';' expected
ret new G22HashedMasks(darkMasks, darkGhost);
^
/root/JavaX-Caches/tmp_1912049644/main.java:39: error: ';' expected
simplyCached IG22MasksHolder brightHolder() {
^
/root/JavaX-Caches/tmp_1912049644/main.java:39: error: invalid method declaration; return type required
simplyCached IG22MasksHolder brightHolder() {
^
/root/JavaX-Caches/tmp_1912049644/main.java:40: error: not a statement
ret new G22HashedMasks(brightMasks, brightGhost);
^
/root/JavaX-Caches/tmp_1912049644/main.java:40: error: ';' expected
ret new G22HashedMasks(brightMasks, brightGhost);
^
/root/JavaX-Caches/tmp_1912049644/main.java:43: error: '(' expected
void calcGhosts {
^
/root/JavaX-Caches/tmp_1912049644/main.java:45: error: ')' expected
darkGhost = new G22GhostImage(lmapMethod image(darkMasks));
^
/root/JavaX-Caches/tmp_1912049644/main.java:45: error: ';' expected
darkGhost = new G22GhostImage(lmapMethod image(darkMasks));
^
/root/JavaX-Caches/tmp_1912049644/main.java:48: error: ')' expected
brightGhost = new G22GhostImage(lmapMethod image(brightMasks));
^
/root/JavaX-Caches/tmp_1912049644/main.java:48: error: ';' expected
brightGhost = new G22GhostImage(lmapMethod image(brightMasks));
^
/root/JavaX-Caches/tmp_1912049644/main.java:53: error: expected
toString {
^
/root/JavaX-Caches/tmp_1912049644/main.java:54: error: ';' expected
ret commaCombine(
^
/root/JavaX-Caches/tmp_1912049644/main.java:55: error: not a statement
"Split at " + pixel,
^
/root/JavaX-Caches/tmp_1912049644/main.java:55: error: ';' expected
"Split at " + pixel,
^
/root/JavaX-Caches/tmp_1912049644/main.java:56: error: ';' expected
"dark=" + darkHolder().renderCountAndCertainty(),
^
/root/JavaX-Caches/tmp_1912049644/main.java:57: error: ';' expected
"bright=" + brightHolder().renderCountAndCertainty());
^
/root/JavaX-Caches/tmp_1912049644/main.java:61: error: class, interface, or enum expected
public bool step() {
^
/root/JavaX-Caches/tmp_1912049644/main.java:65: error: class, interface, or enum expected
meta-for w also as h { w = masksHolder.maskSize().w(); }
^
/root/JavaX-Caches/tmp_1912049644/main.java:65: error: class, interface, or enum expected
meta-for w also as h { w = masksHolder.maskSize().w(); }
^
/root/JavaX-Caches/tmp_1912049644/main.java:67: error: class, interface, or enum expected
pixelScores = new float[w*h];
^
/root/JavaX-Caches/tmp_1912049644/main.java:68: error: class, interface, or enum expected
arrayfill(pixelScores, -1);
^
/root/JavaX-Caches/tmp_1912049644/main.java:69: error: class, interface, or enum expected
pixelIterator = makePixelIterator();
^
/root/JavaX-Caches/tmp_1912049644/main.java:70: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1912049644/main.java:73: error: class, interface, or enum expected
lastPixelLookedAt = pixelIterator.next();
^
/root/JavaX-Caches/tmp_1912049644/main.java:74: error: class, interface, or enum expected
testPixel(lastPixelLookedAt);
^
/root/JavaX-Caches/tmp_1912049644/main.java:75: error: class, interface, or enum expected
true;
^
/root/JavaX-Caches/tmp_1912049644/main.java:76: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1912049644/main.java:78: error: class, interface, or enum expected
int idx(Pt p) { ret p.y*w+p.x; }
^
/root/JavaX-Caches/tmp_1912049644/main.java:82: error: class, interface, or enum expected
Entry e = null;
^
/root/JavaX-Caches/tmp_1912049644/main.java:83: error: class, interface, or enum expected
++nPixelsTested;
^
/root/JavaX-Caches/tmp_1912049644/main.java:86: error: class, interface, or enum expected
float ghostBrightness = masksHolder.ghost().getFloatPixel(p);
^
/root/JavaX-Caches/tmp_1912049644/main.java:87: error: class, interface, or enum expected
if (ghostBrightness == 0 || ghostBrightness == 1)
^
/root/JavaX-Caches/tmp_1912049644/main.java:90: error: class, interface, or enum expected
else {
^
/root/JavaX-Caches/tmp_1912049644/main.java:94: error: class, interface, or enum expected
e.pixel = p;
^
/root/JavaX-Caches/tmp_1912049644/main.java:95: error: class, interface, or enum expected
lastEntry = e;
^
/root/JavaX-Caches/tmp_1912049644/main.java:96: error: class, interface, or enum expected
if (keepAllEntries)
^
/root/JavaX-Caches/tmp_1912049644/main.java:99: error: class, interface, or enum expected
L masks = wideningListCast(masksHolder.masks());
^
/root/JavaX-Caches/tmp_1912049644/main.java:100: error: class, interface, or enum expected
int n = l(masks);
^
/root/JavaX-Caches/tmp_1912049644/main.java:103: error: class, interface, or enum expected
byte[] brightBits = byteArrayForNBits(n);
^
/root/JavaX-Caches/tmp_1912049644/main.java:106: error: class, interface, or enum expected
for i to n:
^
/root/JavaX-Caches/tmp_1912049644/main.java:110: error: class, interface, or enum expected
subSets?.add(new HashedByteArray(brightBits));
^
/root/JavaX-Caches/tmp_1912049644/main.java:112: error: class, interface, or enum expected
var splitMasks = filterAntiFilterByBitSet(masks, brightBits);
^
/root/JavaX-Caches/tmp_1912049644/main.java:113: error: class, interface, or enum expected
e.brightMasks = splitMasks.a;
^
/root/JavaX-Caches/tmp_1912049644/main.java:114: error: class, interface, or enum expected
e.darkMasks = splitMasks.b;
^
/root/JavaX-Caches/tmp_1912049644/main.java:115: error: class, interface, or enum expected
e.calcGhosts();
^
/root/JavaX-Caches/tmp_1912049644/main.java:117: error: class, interface, or enum expected
score = scoreEntry(e);
^
/root/JavaX-Caches/tmp_1912049644/main.java:118: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1912049644/main.java:121: error: class, interface, or enum expected
if (score > 0 && bestPixel.put(p, score))
^
/root/JavaX-Caches/tmp_1912049644/main.java:123: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1912049644/main.java:127: error: class, interface, or enum expected
double c2 = e.brightGhost.certainty();
^
/root/JavaX-Caches/tmp_1912049644/main.java:130: error: class, interface, or enum expected
ret min(c1, c2);
^
/root/JavaX-Caches/tmp_1912049644/main.java:131: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1912049644/main.java:135: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1912049644/main.java:139: error: class, interface, or enum expected
double max = bestPixel.score();
^
/root/JavaX-Caches/tmp_1912049644/main.java:140: error: class, interface, or enum expected
ret bwImageFromFunction(w, h,
^
/root/JavaX-Caches/tmp_1912049644/main.java:142: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1912049644/main.java:146: error: class, interface, or enum expected
ret new G22PixelSplitMasks()
^
/root/JavaX-Caches/tmp_1912049644/main.java:150: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1912049644/main.java:154: error: class, interface, or enum expected
G22PixelSplitMasks> split = splitMasksHolder();
^
/root/JavaX-Caches/tmp_1912049644/main.java:155: error: class, interface, or enum expected
if (split == null) ret masksHolder;
^
/root/JavaX-Caches/tmp_1912049644/main.java:156: error: class, interface, or enum expected
split.transformSubHolders(subHolder
^
/root/JavaX-Caches/tmp_1912049644/main.java:158: error: class, interface, or enum expected
ret split;
^
/root/JavaX-Caches/tmp_1912049644/main.java:159: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1912049644/main.java:163: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1912049644/main.java:169: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_1912049644/main.java:171: error: class, interface, or enum expected
}
^
87 errors