Wrote /root/JavaX-Caches/tmp_1969384041/main.java - 3383 bytes (written=3383, should be 3383)
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_409313039 /root/JavaX-Caches/tmp_1969384041/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1969384041/main.java:3: error: class, interface, or enum expected
sclass ImageFinder {
^
/root/JavaX-Caches/tmp_1969384041/main.java:5: error: class, interface, or enum expected
L clips = synchroList();
^
/root/JavaX-Caches/tmp_1969384041/main.java:7: error: class, interface, or enum expected
float similarity = 0.999f;
^
/root/JavaX-Caches/tmp_1969384041/main.java:8: error: class, interface, or enum expected
int maxCopiesPerClip = 100;
^
/root/JavaX-Caches/tmp_1969384041/main.java:9: error: class, interface, or enum expected
Int maxTotal; // max total clips found per screenshot
^
/root/JavaX-Caches/tmp_1969384041/main.java:11: error: class, interface, or enum expected
bool quickSearch_clipBufferedImage = true;
^
/root/JavaX-Caches/tmp_1969384041/main.java:12: error: class, interface, or enum expected
bool fullSearch = true;
^
/root/JavaX-Caches/tmp_1969384041/main.java:14: error: class, interface, or enum expected
*() {}
^
/root/JavaX-Caches/tmp_1969384041/main.java:16: error: class, interface, or enum expected
*(Screenshot screenshot, L clips) { this(ll(screenshot), clips); }
^
/root/JavaX-Caches/tmp_1969384041/main.java:21: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1969384041/main.java:25: error: class, interface, or enum expected
new Var screen;
^
/root/JavaX-Caches/tmp_1969384041/main.java:33: error: class, interface, or enum expected
quickSearch(screenshot, screen);
^
/root/JavaX-Caches/tmp_1969384041/main.java:34: error: class, interface, or enum expected
if (fullSearch && !foundEnough(screenshot))
^
/root/JavaX-Caches/tmp_1969384041/main.java:37: error: class, interface, or enum expected
print(" Searching " + clip.description);
^
/root/JavaX-Caches/tmp_1969384041/main.java:38: error: class, interface, or enum expected
if (!screenshot.hasImage()) continue;
^
/root/JavaX-Caches/tmp_1969384041/main.java:39: error: class, interface, or enum expected
if (!screen.has())
^
/root/JavaX-Caches/tmp_1969384041/main.java:41: error: class, interface, or enum expected
bwRawImageSearch_verbose = true;
^
/root/JavaX-Caches/tmp_1969384041/main.java:42: error: class, interface, or enum expected
bwRawImageSearch_maxEntries = maxCopiesPerClip;
^
/root/JavaX-Caches/tmp_1969384041/main.java:43: error: class, interface, or enum expected
for (FoundImg fi : bwRawImageSearch(screen.v, clip.img, similarity)) {
^
/root/JavaX-Caches/tmp_1969384041/main.java:45: error: class, interface, or enum expected
if (foundEnough(screenshot)) break it;
^
/root/JavaX-Caches/tmp_1969384041/main.java:46: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1969384041/main.java:48: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1969384041/main.java:50: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1969384041/main.java:54: error: class, interface, or enum expected
for (Found found : reversed(list(Found)))
^
/root/JavaX-Caches/tmp_1969384041/main.java:57: error: class, interface, or enum expected
for (Clip clip : keys(lastPosition)) pcall {
^
/root/JavaX-Caches/tmp_1969384041/main.java:59: error: class, interface, or enum expected
if (findConcept(FullySearched, +screenshot, +clip) != null) continue;
^
/root/JavaX-Caches/tmp_1969384041/main.java:60: error: class, interface, or enum expected
Rect pos = lastPosition.get(clip);
^
/root/JavaX-Caches/tmp_1969384041/main.java:61: error: class, interface, or enum expected
print(" Quick-Searching " + clip.description + " at " + struct(pos));
^
/root/JavaX-Caches/tmp_1969384041/main.java:62: error: class, interface, or enum expected
BWImage pat = clip.img;
^
/root/JavaX-Caches/tmp_1969384041/main.java:63: error: class, interface, or enum expected
int wp = pat.getWidth(), hp = pat.getHeight();
^
/root/JavaX-Caches/tmp_1969384041/main.java:64: error: class, interface, or enum expected
float maxError = (1f-similarity)*wp*hp;
^
/root/JavaX-Caches/tmp_1969384041/main.java:65: error: class, interface, or enum expected
float diff;
^
/root/JavaX-Caches/tmp_1969384041/main.java:66: error: class, interface, or enum expected
if (quickSearch_clipBufferedImage) {
^
/root/JavaX-Caches/tmp_1969384041/main.java:69: error: class, interface, or enum expected
diff = bwImageSectionsSimilarity(big, pat, 0, 0, maxError);
^
/root/JavaX-Caches/tmp_1969384041/main.java:70: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_1969384041/main.java:73: error: class, interface, or enum expected
diff = bwImageSectionsSimilarity(screen.v, pat, pos.x, pos.y, maxError);
^
/root/JavaX-Caches/tmp_1969384041/main.java:74: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1969384041/main.java:77: error: class, interface, or enum expected
FoundImg fi = new FoundImg(pos, sim);
^
/root/JavaX-Caches/tmp_1969384041/main.java:78: error: class, interface, or enum expected
print(" Found!");
^
/root/JavaX-Caches/tmp_1969384041/main.java:79: error: class, interface, or enum expected
uniq(Found, +screenshot, +clip, +fi);
^
/root/JavaX-Caches/tmp_1969384041/main.java:80: error: class, interface, or enum expected
if (foundEnough(screenshot)) break;
^
/root/JavaX-Caches/tmp_1969384041/main.java:81: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1969384041/main.java:87: error: class, interface, or enum expected
}
^
43 errors