Wrote /root/JavaX-Caches/tmp_2071649147/main.java - 3041 bytes (written=3041, should be 3041)
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_2028537843 /root/JavaX-Caches/tmp_2071649147/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_2071649147/main.java:1: error: class, interface, or enum expected
!7
^
/root/JavaX-Caches/tmp_2071649147/main.java:5: error: class, interface, or enum expected
sS standardCredentials() { ret ""; } // public snippets only
^
/root/JavaX-Caches/tmp_2071649147/main.java:5: error: class, interface, or enum expected
sS standardCredentials() { ret ""; } // public snippets only
^
/root/JavaX-Caches/tmp_2071649147/main.java:12: error: class, interface, or enum expected
html {
^
/root/JavaX-Caches/tmp_2071649147/main.java:16: error: class, interface, or enum expected
S snippetID = fsI(uri);
^
/root/JavaX-Caches/tmp_2071649147/main.java:17: error: class, interface, or enum expected
if (!isSnippetPublic(snippetID)) fail("Snippet not public: " + snippetID);
^
/root/JavaX-Caches/tmp_2071649147/main.java:18: error: class, interface, or enum expected
S transpiledSrc = getServerTranspiled2(snippetID);
^
/root/JavaX-Caches/tmp_2071649147/main.java:22: error: class, interface, or enum expected
S md5 = params.get('md5);
^
/root/JavaX-Caches/tmp_2071649147/main.java:22: error: unclosed character literal
S md5 = params.get('md5);
^
/root/JavaX-Caches/tmp_2071649147/main.java:23: error: class, interface, or enum expected
S srcMD5 = md5(transpiledSrc);
^
/root/JavaX-Caches/tmp_2071649147/main.java:24: error: class, interface, or enum expected
if (md5 != null && !eq(md5, srcMD5)) ret "md5 mismatch";
^
/root/JavaX-Caches/tmp_2071649147/main.java:26: error: class, interface, or enum expected
File jar = computations.get(srcMD5/*, snippetID)*/, -> {
^
/root/JavaX-Caches/tmp_2071649147/main.java:28: error: class, interface, or enum expected
int i = transpiledSrc.indexOf('\n');
^
/root/JavaX-Caches/tmp_2071649147/main.java:29: error: class, interface, or enum expected
S libs = transpiledSrc.substring(0, Math.max(0, i));
^
/root/JavaX-Caches/tmp_2071649147/main.java:30: error: class, interface, or enum expected
printVars(+snippetID, +libs);
^
/root/JavaX-Caches/tmp_2071649147/main.java:31: error: class, interface, or enum expected
transpiledSrc = transpiledSrc.substring(i+1);
^
/root/JavaX-Caches/tmp_2071649147/main.java:32: error: class, interface, or enum expected
S javaTarget = or(params.get('javaTarget), defaultJavaTarget);
^
/root/JavaX-Caches/tmp_2071649147/main.java:32: error: unclosed character literal
S javaTarget = or(params.get('javaTarget), defaultJavaTarget);
^
/root/JavaX-Caches/tmp_2071649147/main.java:33: error: class, interface, or enum expected
CompilerBot.verbose = true;
^
/root/JavaX-Caches/tmp_2071649147/main.java:34: error: class, interface, or enum expected
ret CompilerBot.compile(transpiledSrc, libs, javaTarget, snippetID);
^
/root/JavaX-Caches/tmp_2071649147/main.java:35: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_2071649147/main.java:37: error: class, interface, or enum expected
bool withLibs = eq("1", params.get("withLibs"));
^
/root/JavaX-Caches/tmp_2071649147/main.java:38: error: class, interface, or enum expected
if (withLibs) {
^
/root/JavaX-Caches/tmp_2071649147/main.java:40: error: class, interface, or enum expected
if (nempty(srcAndLibs.b)) {
^
/root/JavaX-Caches/tmp_2071649147/main.java:42: error: class, interface, or enum expected
if (fileLength(jar2) <= 22) {
^
/root/JavaX-Caches/tmp_2071649147/main.java:47: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2071649147/main.java:49: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2071649147/main.java:53: error: class, interface, or enum expected
if (noCompiler) {
^
/root/JavaX-Caches/tmp_2071649147/main.java:55: error: class, interface, or enum expected
if (fileLength(jar2) <= 22) {
^
/root/JavaX-Caches/tmp_2071649147/main.java:57: error: class, interface, or enum expected
zip2zip(jar, jarOut);
^
/root/JavaX-Caches/tmp_2071649147/main.java:58: error: class, interface, or enum expected
zip2zip(pathToJavaxJar(), jarOut, name -> !
^
/root/JavaX-Caches/tmp_2071649147/main.java:60: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2071649147/main.java:62: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2071649147/main.java:65: error: class, interface, or enum expected
if (withX30) {
^
/root/JavaX-Caches/tmp_2071649147/main.java:67: error: class, interface, or enum expected
if (fileLength(jar2) <= 22) {
^
/root/JavaX-Caches/tmp_2071649147/main.java:69: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2071649147/main.java:71: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2071649147/main.java:75: error: class, interface, or enum expected
bool dynamicObjectOnly = eq("dynamicObjectOnly", params.get("mode"));
^
/root/JavaX-Caches/tmp_2071649147/main.java:76: error: class, interface, or enum expected
if (dynamicObjectOnly) {
^
/root/JavaX-Caches/tmp_2071649147/main.java:78: error: class, interface, or enum expected
if (fileLength(jar2) <= 22) {
^
/root/JavaX-Caches/tmp_2071649147/main.java:80: error: class, interface, or enum expected
bool withSrc = !noSrc;
^
/root/JavaX-Caches/tmp_2071649147/main.java:81: error: class, interface, or enum expected
zip2zip(jar, jarOut, name -> withSrc || !endsWith(name, ".java"));
^
/root/JavaX-Caches/tmp_2071649147/main.java:82: error: class, interface, or enum expected
zip2zip(pathToJavaxJar(), jarOut, name -> contains(name, "DynamicObject"));
^
/root/JavaX-Caches/tmp_2071649147/main.java:83: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2071649147/main.java:85: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2071649147/main.java:88: error: class, interface, or enum expected
ret subBot_serveFileWithName(jar, psI(snippetID) + ".jar", "application/java-archive");
^
/root/JavaX-Caches/tmp_2071649147/main.java:89: error: class, interface, or enum expected
}
^
47 errors