Wrote /root/JavaX-Caches/tmp_1480348979/main.java - 45894 bytes (written=45894, should be 45894)
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_295916262 /root/JavaX-Caches/tmp_1480348979/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1480348979/main.java:1: error: class, interface, or enum expected
!636
^
/root/JavaX-Caches/tmp_1480348979/main.java:3: error: expected
!auto-import
^
/root/JavaX-Caches/tmp_1480348979/main.java:8: error: '{' expected
!class JavaTok
^
/root/JavaX-Caches/tmp_1480348979/main.java:12: error: class, interface, or enum expected
import java.math.*; // BigInteger
^
/root/JavaX-Caches/tmp_1480348979/main.java:14: error: class, interface, or enum expected
!include #2000470 // class _x16
^
/root/JavaX-Caches/tmp_1480348979/main.java:14: error: illegal character: '#'
!include #2000470 // class _x16
^
/root/JavaX-Caches/tmp_1480348979/main.java:37: error: '(' or '[' expected
new StringBuilder buf;
^
/root/JavaX-Caches/tmp_1480348979/main.java:60: error: illegal start of type
new StringBuilder buf;
^
/root/JavaX-Caches/tmp_1480348979/main.java:63: error: illegal start of type
new List translators;
^
/root/JavaX-Caches/tmp_1480348979/main.java:64: error: illegal start of type
new List varStack;
^
/root/JavaX-Caches/tmp_1480348979/main.java:127: error: class, interface, or enum expected
main {
^
/root/JavaX-Caches/tmp_1480348979/main.java:129: error: class, interface, or enum expected
static new HashMap casesByID;
^
/root/JavaX-Caches/tmp_1480348979/main.java:130: error: class, interface, or enum expected
static boolean testJava = true, showFails;
^
/root/JavaX-Caches/tmp_1480348979/main.java:131: error: class, interface, or enum expected
static new (Hash)Set parseErrors;
^
/root/JavaX-Caches/tmp_1480348979/main.java:132: error: class, interface, or enum expected
static int caseIdx;
^
/root/JavaX-Caches/tmp_1480348979/main.java:134: error: class, interface, or enum expected
psvm {
^
/root/JavaX-Caches/tmp_1480348979/main.java:136: error: class, interface, or enum expected
new List inputs;
^
/root/JavaX-Caches/tmp_1480348979/main.java:138: error: class, interface, or enum expected
for (int i = 0; i < args.length; i++) {
^
/root/JavaX-Caches/tmp_1480348979/main.java:138: error: class, interface, or enum expected
for (int i = 0; i < args.length; i++) {
^
/root/JavaX-Caches/tmp_1480348979/main.java:138: error: class, interface, or enum expected
for (int i = 0; i < args.length; i++) {
^
/root/JavaX-Caches/tmp_1480348979/main.java:140: error: class, interface, or enum expected
if (arg.equals("debug"))
^
/root/JavaX-Caches/tmp_1480348979/main.java:142: error: class, interface, or enum expected
else if (arg.equals("in"))
^
/root/JavaX-Caches/tmp_1480348979/main.java:144: error: class, interface, or enum expected
else if (arg.equals("-notestjava"))
^
/root/JavaX-Caches/tmp_1480348979/main.java:146: error: class, interface, or enum expected
else if (arg.equals("-testjava"))
^
/root/JavaX-Caches/tmp_1480348979/main.java:148: error: class, interface, or enum expected
else if (arg.equals("-showfails"))
^
/root/JavaX-Caches/tmp_1480348979/main.java:150: error: class, interface, or enum expected
else if (isSnippetID(arg))
^
/root/JavaX-Caches/tmp_1480348979/main.java:152: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_1480348979/main.java:154: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1480348979/main.java:159: error: class, interface, or enum expected
for (String snippetID : snippetIDs)
^
/root/JavaX-Caches/tmp_1480348979/main.java:162: error: class, interface, or enum expected
case.halfExamples.addAll(inputs);
^
/root/JavaX-Caches/tmp_1480348979/main.java:163: error: class, interface, or enum expected
} catch (Throwable e) {
^
/root/JavaX-Caches/tmp_1480348979/main.java:165: error: class, interface, or enum expected
parseErrors.add(snippetID);
^
/root/JavaX-Caches/tmp_1480348979/main.java:166: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1480348979/main.java:169: error: class, interface, or enum expected
for (caseIdx = 0; caseIdx < n; caseIdx++) {
^
/root/JavaX-Caches/tmp_1480348979/main.java:169: error: class, interface, or enum expected
for (caseIdx = 0; caseIdx < n; caseIdx++) {
^
/root/JavaX-Caches/tmp_1480348979/main.java:169: error: class, interface, or enum expected
for (caseIdx = 0; caseIdx < n; caseIdx++) {
^
/root/JavaX-Caches/tmp_1480348979/main.java:171: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_1480348979/main.java:173: error: class, interface, or enum expected
} catch (Throwable e) {
^
/root/JavaX-Caches/tmp_1480348979/main.java:175: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1480348979/main.java:178: error: class, interface, or enum expected
if (case.goodJava)
^
/root/JavaX-Caches/tmp_1480348979/main.java:180: error: class, interface, or enum expected
System.out.println((caseIdx+1) + " case(s) processed, " + solved + " solved.");
^
/root/JavaX-Caches/tmp_1480348979/main.java:181: error: class, interface, or enum expected
if (testJava && goodJava < solved)
^
/root/JavaX-Caches/tmp_1480348979/main.java:183: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1480348979/main.java:189: error: class, interface, or enum expected
if (solved != 0) {
^
/root/JavaX-Caches/tmp_1480348979/main.java:191: error: class, interface, or enum expected
System.out.print("Solved: ");
^
/root/JavaX-Caches/tmp_1480348979/main.java:192: error: class, interface, or enum expected
for (Case case : cases)
^
/root/JavaX-Caches/tmp_1480348979/main.java:195: error: class, interface, or enum expected
System.out.println();
^
/root/JavaX-Caches/tmp_1480348979/main.java:196: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1480348979/main.java:199: error: class, interface, or enum expected
System.out.print("Bad Java: ");
^
/root/JavaX-Caches/tmp_1480348979/main.java:200: error: class, interface, or enum expected
for (Case case : cases)
^
/root/JavaX-Caches/tmp_1480348979/main.java:203: error: class, interface, or enum expected
System.out.println();
^
/root/JavaX-Caches/tmp_1480348979/main.java:204: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1480348979/main.java:207: error: class, interface, or enum expected
System.out.print("Unsolved: ");
^
/root/JavaX-Caches/tmp_1480348979/main.java:208: error: class, interface, or enum expected
for (Case case : cases)
^
/root/JavaX-Caches/tmp_1480348979/main.java:211: error: class, interface, or enum expected
System.out.println();
^
/root/JavaX-Caches/tmp_1480348979/main.java:212: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1480348979/main.java:215: error: class, interface, or enum expected
for (String id : parseErrors)
^
/root/JavaX-Caches/tmp_1480348979/main.java:217: error: class, interface, or enum expected
System.out.println();
^
/root/JavaX-Caches/tmp_1480348979/main.java:218: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1480348979/main.java:220: error: class, interface, or enum expected
if (allSolved && testJava && goodJava < solved)
^
/root/JavaX-Caches/tmp_1480348979/main.java:222: error: class, interface, or enum expected
else {
^
/root/JavaX-Caches/tmp_1480348979/main.java:224: error: class, interface, or enum expected
if (testJava)
^
/root/JavaX-Caches/tmp_1480348979/main.java:227: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_1480348979/main.java:229: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_1480348979/main.java:231: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1480348979/main.java:237: error: illegal start of type
new List fullExamples;
^
/root/JavaX-Caches/tmp_1480348979/main.java:238: error: illegal start of type
new List halfExamples;
^
/root/JavaX-Caches/tmp_1480348979/main.java:257: error: expected
void add(Case case) {
^
/root/JavaX-Caches/tmp_1480348979/main.java:258: error: illegal start of expression
combined.add(case);
^
/root/JavaX-Caches/tmp_1480348979/main.java:258: error: illegal start of expression
combined.add(case);
^
/root/JavaX-Caches/tmp_1480348979/main.java:259: error: illegal start of expression
fullExamples.addAll(case.fullExamples);
^
/root/JavaX-Caches/tmp_1480348979/main.java:259: error: illegal start of expression
fullExamples.addAll(case.fullExamples);
^
/root/JavaX-Caches/tmp_1480348979/main.java:259: error: not a statement
fullExamples.addAll(case.fullExamples);
^
/root/JavaX-Caches/tmp_1480348979/main.java:259: error: ';' expected
fullExamples.addAll(case.fullExamples);
^
/root/JavaX-Caches/tmp_1480348979/main.java:260: error: illegal start of expression
halfExamples.addAll(case.halfExamples);
^
/root/JavaX-Caches/tmp_1480348979/main.java:260: error: illegal start of expression
halfExamples.addAll(case.halfExamples);
^
/root/JavaX-Caches/tmp_1480348979/main.java:260: error: not a statement
halfExamples.addAll(case.halfExamples);
^
/root/JavaX-Caches/tmp_1480348979/main.java:260: error: ';' expected
halfExamples.addAll(case.halfExamples);
^
/root/JavaX-Caches/tmp_1480348979/main.java:264: error: class, interface, or enum expected
static Case parse(String arg) tex {
^
/root/JavaX-Caches/tmp_1480348979/main.java:266: error: class, interface, or enum expected
String text;
^
/root/JavaX-Caches/tmp_1480348979/main.java:267: error: class, interface, or enum expected
if (arg != null) {
^
/root/JavaX-Caches/tmp_1480348979/main.java:271: error: class, interface, or enum expected
if (arg.startsWith("Combine")) {
^
/root/JavaX-Caches/tmp_1480348979/main.java:273: error: class, interface, or enum expected
case.combined = new ArrayList();
^
/root/JavaX-Caches/tmp_1480348979/main.java:274: error: class, interface, or enum expected
List tok = JavaTok.split(arg);
^
/root/JavaX-Caches/tmp_1480348979/main.java:275: error: class, interface, or enum expected
new List ids;
^
/root/JavaX-Caches/tmp_1480348979/main.java:276: error: class, interface, or enum expected
for (int i = 5; i < tok.size(); i += 6) { // skip # and "and"
^
/root/JavaX-Caches/tmp_1480348979/main.java:276: error: class, interface, or enum expected
for (int i = 5; i < tok.size(); i += 6) { // skip # and "and"
^
/root/JavaX-Caches/tmp_1480348979/main.java:276: error: class, interface, or enum expected
for (int i = 5; i < tok.size(); i += 6) { // skip # and "and"
^
/root/JavaX-Caches/tmp_1480348979/main.java:278: error: class, interface, or enum expected
case.id += " #" + tok.get(i);
^
/root/JavaX-Caches/tmp_1480348979/main.java:279: error: class, interface, or enum expected
cases.remove(case2);
^
/root/JavaX-Caches/tmp_1480348979/main.java:280: error: class, interface, or enum expected
case.add(case2);
^
/root/JavaX-Caches/tmp_1480348979/main.java:281: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1480348979/main.java:283: error: class, interface, or enum expected
return case;
^
/root/JavaX-Caches/tmp_1480348979/main.java:284: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_1480348979/main.java:286: error: class, interface, or enum expected
text = loadSnippet(arg);
^
/root/JavaX-Caches/tmp_1480348979/main.java:287: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1480348979/main.java:290: error: class, interface, or enum expected
text = loadTextFile("input/input.txt", null);
^
/root/JavaX-Caches/tmp_1480348979/main.java:291: error: class, interface, or enum expected
if (text == null) {
^
/root/JavaX-Caches/tmp_1480348979/main.java:294: error: class, interface, or enum expected
text = loadSnippet(case.id);
^
/root/JavaX-Caches/tmp_1480348979/main.java:295: error: class, interface, or enum expected
}
^
100 errors
only showing the first 100 errors, of 317 total; use -Xmaxerrs if you would like to see more