Wrote /root/JavaX-Caches/tmp_697162728/main.java - 3399 bytes (written=3399, should be 3399) 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:/root/.tinybrain/snippet-cache/1400533.jar -d /root/JavaX-Caches/tmp_1485729169 /root/JavaX-Caches/tmp_697162728/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_697162728/main.java:1: error: class, interface, or enum expected !7 ^ /root/JavaX-Caches/tmp_697162728/main.java:5: error: class, interface, or enum expected sS standardCredentials() { ret ""; } // public snippets only ^ /root/JavaX-Caches/tmp_697162728/main.java:5: error: class, interface, or enum expected sS standardCredentials() { ret ""; } // public snippets only ^ /root/JavaX-Caches/tmp_697162728/main.java:12: error: class, interface, or enum expected html { ^ /root/JavaX-Caches/tmp_697162728/main.java:16: error: class, interface, or enum expected S snippetID = fsI(uri); ^ /root/JavaX-Caches/tmp_697162728/main.java:17: error: class, interface, or enum expected if (!isSnippetPublic(snippetID)) fail("Snippet not public: " + snippetID); ^ /root/JavaX-Caches/tmp_697162728/main.java:18: error: class, interface, or enum expected S transpiledSrc = getServerTranspiled2(snippetID); ^ /root/JavaX-Caches/tmp_697162728/main.java:22: error: class, interface, or enum expected S md5 = params.get('md5); ^ /root/JavaX-Caches/tmp_697162728/main.java:22: error: unclosed character literal S md5 = params.get('md5); ^ /root/JavaX-Caches/tmp_697162728/main.java:23: error: class, interface, or enum expected S srcMD5 = md5(transpiledSrc); ^ /root/JavaX-Caches/tmp_697162728/main.java:24: error: class, interface, or enum expected if (md5 != null && !eq(md5, srcMD5)) ret "md5 mismatch"; ^ /root/JavaX-Caches/tmp_697162728/main.java:25: error: class, interface, or enum expected bool forceCompilation = eq(params.get("forceCompilation"), "1"); ^ /root/JavaX-Caches/tmp_697162728/main.java:27: error: class, interface, or enum expected File jar = computations.get(srcMD5/*, snippetID)*/, -> { ^ /root/JavaX-Caches/tmp_697162728/main.java:30: error: class, interface, or enum expected new CompilerBot2 bot; ^ /root/JavaX-Caches/tmp_697162728/main.java:31: error: class, interface, or enum expected bot.forceCompilation = forceCompilation; ^ /root/JavaX-Caches/tmp_697162728/main.java:32: error: class, interface, or enum expected ret bot.compileSnippet(snippetID); ^ /root/JavaX-Caches/tmp_697162728/main.java:33: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_697162728/main.java:35: error: class, interface, or enum expected bool forceRepackage = eq("1", params.get("repackage")); ^ /root/JavaX-Caches/tmp_697162728/main.java:36: error: class, interface, or enum expected bool withLibs = eq("1", params.get("withLibs")); ^ /root/JavaX-Caches/tmp_697162728/main.java:37: error: class, interface, or enum expected bool noCompiler = eq("1", params.get("noCompiler")); ^ /root/JavaX-Caches/tmp_697162728/main.java:38: error: class, interface, or enum expected bool withX30 = eq("1", params.get("withX30")); ^ /root/JavaX-Caches/tmp_697162728/main.java:39: error: class, interface, or enum expected bool noSrc = eq("1", params.get("noSrc")); ^ /root/JavaX-Caches/tmp_697162728/main.java:40: error: class, interface, or enum expected bool dynamicObjectOnly = eq("dynamicObjectOnly", params.get("mode")); ^ /root/JavaX-Caches/tmp_697162728/main.java:41: error: class, interface, or enum expected S fileNameForBrowser = or2(params.get("filename"), psI(snippetID) + ".jar"); ^ /root/JavaX-Caches/tmp_697162728/main.java:43: error: class, interface, or enum expected File jar2 = jar; ^ /root/JavaX-Caches/tmp_697162728/main.java:44: error: class, interface, or enum expected if (withLibs) jar2 = appendToBaseFileName(jar2, ".with-libs"); ^ /root/JavaX-Caches/tmp_697162728/main.java:45: error: class, interface, or enum expected if (noCompiler) jar2 = appendToBaseFileName(jar2, ".no-compiler"); ^ /root/JavaX-Caches/tmp_697162728/main.java:46: error: class, interface, or enum expected if (dynamicObjectOnly) jar2 = appendToBaseFileName(jar2, ".dynamicObjectOnly"); ^ /root/JavaX-Caches/tmp_697162728/main.java:47: error: class, interface, or enum expected if (noSrc) jar2 = appendToBaseFileName(jar2, ".noSrc"); ^ /root/JavaX-Caches/tmp_697162728/main.java:49: error: class, interface, or enum expected if (!eq(jar, jar2)) { ^ /root/JavaX-Caches/tmp_697162728/main.java:52: error: class, interface, or enum expected new Set<S> entries; ^ /root/JavaX-Caches/tmp_697162728/main.java:54: error: class, interface, or enum expected text2zip(jarOut, "source.txt", f2s(jar2)); ^ /root/JavaX-Caches/tmp_697162728/main.java:56: error: class, interface, or enum expected bool withSrc = !noSrc; ^ /root/JavaX-Caches/tmp_697162728/main.java:58: error: class, interface, or enum expected zip2zip_collectFiles(jar, jarOut, entries, name -> withSrc || !endsWith(name, ".java")); ^ /root/JavaX-Caches/tmp_697162728/main.java:60: error: class, interface, or enum expected if (withLibs) { ^ /root/JavaX-Caches/tmp_697162728/main.java:62: error: class, interface, or enum expected fOr (S libID : srcAndLibs.b) { ^ /root/JavaX-Caches/tmp_697162728/main.java:65: error: class, interface, or enum expected if (fileExists(fixer)) { ^ /root/JavaX-Caches/tmp_697162728/main.java:67: error: class, interface, or enum expected zip2zip_collectFiles(fixer, jarOut, entries); ^ /root/JavaX-Caches/tmp_697162728/main.java:68: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_697162728/main.java:74: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_697162728/main.java:79: error: class, interface, or enum expected else if (noCompiler) ^ /root/JavaX-Caches/tmp_697162728/main.java:82: error: class, interface, or enum expected else if (dynamicObjectOnly) ^ /root/JavaX-Caches/tmp_697162728/main.java:84: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_697162728/main.java:87: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_697162728/main.java:90: error: class, interface, or enum expected ret subBot_serveFileWithName(jar, fileNameForBrowser, "application/java-archive"); ^ /root/JavaX-Caches/tmp_697162728/main.java:91: error: class, interface, or enum expected } ^ 46 errors