Wrote /root/JavaX-Caches/tmp_744922209/main.java - 4445 bytes (written=4445, should be 4445)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 1.8 -target 1.8 -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_1813280293 /root/JavaX-Caches/tmp_744922209/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_744922209/main.java:1: error: class, interface, or enum expected
!752
^
/root/JavaX-Caches/tmp_744922209/main.java:5: error: class, interface, or enum expected
concepts.
^
/root/JavaX-Caches/tmp_744922209/main.java:9: error: class, interface, or enum expected
S name;
^
/root/JavaX-Caches/tmp_744922209/main.java:10: error: class, interface, or enum expected
S md5; // md5 of RGBImage
^
/root/JavaX-Caches/tmp_744922209/main.java:12: error: class, interface, or enum expected
*() {}
^
/root/JavaX-Caches/tmp_744922209/main.java:13: error: class, interface, or enum expected
*(int *imageID, S *name) { _doneLoading(); change(); }
^
/root/JavaX-Caches/tmp_744922209/main.java:13: error: class, interface, or enum expected
*(int *imageID, S *name) { _doneLoading(); change(); }
^
/root/JavaX-Caches/tmp_744922209/main.java:18: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:23: error: class, interface, or enum expected
p {
^
/root/JavaX-Caches/tmp_744922209/main.java:25: error: class, interface, or enum expected
concepts();
^
/root/JavaX-Caches/tmp_744922209/main.java:26: error: class, interface, or enum expected
for (ImageMeta meta)
^
/root/JavaX-Caches/tmp_744922209/main.java:28: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:32: error: class, interface, or enum expected
S md5 = "error";
^
/root/JavaX-Caches/tmp_744922209/main.java:33: error: class, interface, or enum expected
pcall {
^
/root/JavaX-Caches/tmp_744922209/main.java:35: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:37: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:44: error: class, interface, or enum expected
uri = dropPrefix("/", uri);
^
/root/JavaX-Caches/tmp_744922209/main.java:46: error: class, interface, or enum expected
if (eq(uri, "setp0rn")) {
^
/root/JavaX-Caches/tmp_744922209/main.java:48: error: class, interface, or enum expected
ret "OK";
^
/root/JavaX-Caches/tmp_744922209/main.java:49: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:53: error: class, interface, or enum expected
ret "OK";
^
/root/JavaX-Caches/tmp_744922209/main.java:54: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:58: error: class, interface, or enum expected
if (uri.endsWith("p") && isInteger(dropLast(uri))) {
^
/root/JavaX-Caches/tmp_744922209/main.java:60: error: class, interface, or enum expected
uri = dropLast(uri);
^
/root/JavaX-Caches/tmp_744922209/main.java:61: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:65: error: class, interface, or enum expected
File file = imageFile(id);
^
/root/JavaX-Caches/tmp_744922209/main.java:66: error: class, interface, or enum expected
if (!p0rnOK && isPornFlag(id))
^
/root/JavaX-Caches/tmp_744922209/main.java:68: error: class, interface, or enum expected
ret call(getMainBot(), "serveFile", file, "image/png");
^
/root/JavaX-Caches/tmp_744922209/main.java:69: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:73: error: class, interface, or enum expected
bool jpg = uri.startsWith("jpg/");
^
/root/JavaX-Caches/tmp_744922209/main.java:74: error: class, interface, or enum expected
if (jpg) uri = dropPrefix("jpg/", uri);
^
/root/JavaX-Caches/tmp_744922209/main.java:75: error: class, interface, or enum expected
ImageMeta meta = findConcept(ImageMeta, md5 := uri);
^
/root/JavaX-Caches/tmp_744922209/main.java:76: error: class, interface, or enum expected
if (meta == null)
^
/root/JavaX-Caches/tmp_744922209/main.java:78: error: class, interface, or enum expected
if (jpg)
^
/root/JavaX-Caches/tmp_744922209/main.java:80: error: class, interface, or enum expected
ret call(getMainBot(), "serveFile_maxCache", imageFile(meta.imageID), "image/png");
^
/root/JavaX-Caches/tmp_744922209/main.java:81: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:85: error: class, interface, or enum expected
ImageMeta meta = findConcept(ImageMeta, md5 := uri);
^
/root/JavaX-Caches/tmp_744922209/main.java:86: error: class, interface, or enum expected
ret meta == null ? "Not found" : str(meta.imageID);
^
/root/JavaX-Caches/tmp_744922209/main.java:87: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:91: error: class, interface, or enum expected
S name = params.get("name");
^
/root/JavaX-Caches/tmp_744922209/main.java:93: error: class, interface, or enum expected
SS files = getUploadFiles();
^
/root/JavaX-Caches/tmp_744922209/main.java:94: error: class, interface, or enum expected
print("got files: " + l(files));
^
/root/JavaX-Caches/tmp_744922209/main.java:95: error: class, interface, or enum expected
int id;
^
/root/JavaX-Caches/tmp_744922209/main.java:96: error: class, interface, or enum expected
S data = params.get("data");
^
/root/JavaX-Caches/tmp_744922209/main.java:97: error: class, interface, or enum expected
if (data != null) {
^
/root/JavaX-Caches/tmp_744922209/main.java:99: error: class, interface, or enum expected
id = newImageID();
^
/root/JavaX-Caches/tmp_744922209/main.java:100: error: class, interface, or enum expected
saveBinaryFile(imageFile(id), hexToBytes(data));
^
/root/JavaX-Caches/tmp_744922209/main.java:101: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_744922209/main.java:103: error: class, interface, or enum expected
String originalName = params.get("thefile");
^
/root/JavaX-Caches/tmp_744922209/main.java:104: error: class, interface, or enum expected
name = or2(name, originalName);
^
/root/JavaX-Caches/tmp_744922209/main.java:105: error: class, interface, or enum expected
assertNotNull(tmpfile);
^
/root/JavaX-Caches/tmp_744922209/main.java:106: error: class, interface, or enum expected
File tmp = new File(tmpfile);
^
/root/JavaX-Caches/tmp_744922209/main.java:107: error: class, interface, or enum expected
long l = tmp.length();
^
/root/JavaX-Caches/tmp_744922209/main.java:108: error: class, interface, or enum expected
if (l == 0) ret "Empty file, exiting";
^
/root/JavaX-Caches/tmp_744922209/main.java:109: error: class, interface, or enum expected
id = newImageID();
^
/root/JavaX-Caches/tmp_744922209/main.java:110: error: class, interface, or enum expected
copyFile(tmp, imageFile(id));
^
/root/JavaX-Caches/tmp_744922209/main.java:111: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:113: error: class, interface, or enum expected
ret "OK:
" + himg(rawLink(str(id)));
^
/root/JavaX-Caches/tmp_744922209/main.java:114: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:125: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:131: error: class, interface, or enum expected
for (File f : listFiles(imagesDir())) try {
^
/root/JavaX-Caches/tmp_744922209/main.java:133: error: class, interface, or enum expected
if (!isInteger(s)) continue;
^
/root/JavaX-Caches/tmp_744922209/main.java:134: error: class, interface, or enum expected
int id = parseInt(s);
^
/root/JavaX-Caches/tmp_744922209/main.java:135: error: class, interface, or enum expected
if (!isPornFlag(id))
^
/root/JavaX-Caches/tmp_744922209/main.java:137: error: class, interface, or enum expected
} catch e {
^
/root/JavaX-Caches/tmp_744922209/main.java:139: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:141: error: class, interface, or enum expected
ret p(n(ids, "N0n-p0rn image") + ":") + ul(map(ids, func(int id) {
^
/root/JavaX-Caches/tmp_744922209/main.java:143: error: class, interface, or enum expected
S title = or2(getString(meta, "name"), "Untitled");
^
/root/JavaX-Caches/tmp_744922209/main.java:144: error: class, interface, or enum expected
S linkText = "#" + id + " - " + htmlencode(title);
^
/root/JavaX-Caches/tmp_744922209/main.java:145: error: class, interface, or enum expected
S s = ahref(rawLink(str(id)), linkText);
^
/root/JavaX-Caches/tmp_744922209/main.java:146: error: class, interface, or enum expected
if (meta != null)
^
/root/JavaX-Caches/tmp_744922209/main.java:148: error: class, interface, or enum expected
ret s;
^
/root/JavaX-Caches/tmp_744922209/main.java:149: error: class, interface, or enum expected
})) + p(ahref(pageLink("/uploadform"), "Upload."));
^
/root/JavaX-Caches/tmp_744922209/main.java:150: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:153: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:158: error: class, interface, or enum expected
int i = id++;
^
/root/JavaX-Caches/tmp_744922209/main.java:159: error: class, interface, or enum expected
save("id");
^
/root/JavaX-Caches/tmp_744922209/main.java:160: error: class, interface, or enum expected
ret i;
^
/root/JavaX-Caches/tmp_744922209/main.java:161: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:165: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:169: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_744922209/main.java:173: error: class, interface, or enum expected
}
^
83 errors