Wrote /root/JavaX-Caches/tmp_1436296983/main.java - 18221 bytes (written=18221, should be 18221)
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_1497297295 /root/JavaX-Caches/tmp_1436296983/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1436296983/main.java:1: error: class, interface, or enum expected
!636
^
/root/JavaX-Caches/tmp_1436296983/main.java:3: error: expected
!auto-import
^
/root/JavaX-Caches/tmp_1436296983/main.java:8: error: '{' expected
!class JavaTok
^
/root/JavaX-Caches/tmp_1436296983/main.java:31: error: '(' or '[' expected
new StringBuilder buf;
^
/root/JavaX-Caches/tmp_1436296983/main.java:82: error: class, interface, or enum expected
main {
^
/root/JavaX-Caches/tmp_1436296983/main.java:85: error: class, interface, or enum expected
psvm {
^
/root/JavaX-Caches/tmp_1436296983/main.java:88: error: class, interface, or enum expected
for (int i = 0; i < args.length; i++) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:88: error: class, interface, or enum expected
for (int i = 0; i < args.length; i++) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:88: error: class, interface, or enum expected
for (int i = 0; i < args.length; i++) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:90: error: class, interface, or enum expected
if (arg.equals("debug"))
^
/root/JavaX-Caches/tmp_1436296983/main.java:92: error: class, interface, or enum expected
else if (isSnippetID(arg))
^
/root/JavaX-Caches/tmp_1436296983/main.java:94: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_1436296983/main.java:96: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:100: error: class, interface, or enum expected
int solved = 0, n = cases.size();
^
/root/JavaX-Caches/tmp_1436296983/main.java:101: error: class, interface, or enum expected
for (int i = 0; i < n; i++) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:101: error: class, interface, or enum expected
for (int i = 0; i < n; i++) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:101: error: class, interface, or enum expected
for (int i = 0; i < n; i++) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:104: error: class, interface, or enum expected
} catch (Throwable e) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:106: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:109: error: class, interface, or enum expected
System.out.println((i+1) + " case(s) processed, " + solved + " solved.");
^
/root/JavaX-Caches/tmp_1436296983/main.java:110: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:116: error: class, interface, or enum expected
if (!allSolved) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:118: error: class, interface, or enum expected
System.out.print("Unsolved: ");
^
/root/JavaX-Caches/tmp_1436296983/main.java:119: error: class, interface, or enum expected
for (Case case : cases)
^
/root/JavaX-Caches/tmp_1436296983/main.java:122: error: class, interface, or enum expected
System.out.println();
^
/root/JavaX-Caches/tmp_1436296983/main.java:123: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:126: error: class, interface, or enum expected
System.out.print("Solved: ");
^
/root/JavaX-Caches/tmp_1436296983/main.java:127: error: class, interface, or enum expected
for (Case case : cases)
^
/root/JavaX-Caches/tmp_1436296983/main.java:130: error: class, interface, or enum expected
System.out.println();
^
/root/JavaX-Caches/tmp_1436296983/main.java:131: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:133: error: class, interface, or enum expected
System.out.println(allSolved ? "ALL SOLVED (" + solved + ")" : "Solved " + solved + " out of " + n + ".");
^
/root/JavaX-Caches/tmp_1436296983/main.java:134: error: class, interface, or enum expected
print ""
^
/root/JavaX-Caches/tmp_1436296983/main.java:145: error: class, interface, or enum expected
static void parse(String arg) tex {
^
/root/JavaX-Caches/tmp_1436296983/main.java:147: error: class, interface, or enum expected
String text;
^
/root/JavaX-Caches/tmp_1436296983/main.java:148: error: class, interface, or enum expected
if (arg != null) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:150: error: class, interface, or enum expected
text = loadSnippet(arg);
^
/root/JavaX-Caches/tmp_1436296983/main.java:151: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_1436296983/main.java:153: error: class, interface, or enum expected
text = loadTextFile("input/input.txt", null);
^
/root/JavaX-Caches/tmp_1436296983/main.java:154: error: class, interface, or enum expected
if (text == null) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:157: error: class, interface, or enum expected
text = loadSnippet(case.id);
^
/root/JavaX-Caches/tmp_1436296983/main.java:158: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:165: error: class, interface, or enum expected
return;
^
/root/JavaX-Caches/tmp_1436296983/main.java:166: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:171: error: class, interface, or enum expected
new StringBuilder buf;
^
/root/JavaX-Caches/tmp_1436296983/main.java:172: error: class, interface, or enum expected
for (int i = 1; i < lines.size(); i++) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:172: error: class, interface, or enum expected
for (int i = 1; i < lines.size(); i++) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:172: error: class, interface, or enum expected
for (int i = 1; i < lines.size(); i++) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:174: error: class, interface, or enum expected
buf.append("Out: " + quote(lines.get(i)) + "\n");
^
/root/JavaX-Caches/tmp_1436296983/main.java:175: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:177: error: class, interface, or enum expected
for (int i = lines.size(); i < lines.size()+numAsking; i++)
^
/root/JavaX-Caches/tmp_1436296983/main.java:177: error: class, interface, or enum expected
for (int i = lines.size(); i < lines.size()+numAsking; i++)
^
/root/JavaX-Caches/tmp_1436296983/main.java:177: error: class, interface, or enum expected
for (int i = lines.size(); i < lines.size()+numAsking; i++)
^
/root/JavaX-Caches/tmp_1436296983/main.java:179: error: class, interface, or enum expected
text = buf.toString();
^
/root/JavaX-Caches/tmp_1436296983/main.java:180: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:183: error: class, interface, or enum expected
String in = null, out = null;
^
/root/JavaX-Caches/tmp_1436296983/main.java:185: error: class, interface, or enum expected
for (String line : toLines(text)) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:189: error: class, interface, or enum expected
in = unquote(line.substring(line.indexOf(':')+1).trim());
^
/root/JavaX-Caches/tmp_1436296983/main.java:190: error: class, interface, or enum expected
out = null;
^
/root/JavaX-Caches/tmp_1436296983/main.java:191: error: class, interface, or enum expected
} else if (line.startsWith("O")) { // "Out: " or "O: "
^
/root/JavaX-Caches/tmp_1436296983/main.java:193: error: class, interface, or enum expected
System.out.println(quote(in) + " => " + quote(out));
^
/root/JavaX-Caches/tmp_1436296983/main.java:194: error: class, interface, or enum expected
case.fullExamples.add(new String[] {in, out});
^
/root/JavaX-Caches/tmp_1436296983/main.java:195: error: class, interface, or enum expected
in = out = null;
^
/root/JavaX-Caches/tmp_1436296983/main.java:196: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:201: error: class, interface, or enum expected
cases.add(case);
^
/root/JavaX-Caches/tmp_1436296983/main.java:202: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:207: error: class, interface, or enum expected
int splitPoint = case.fullExamples.size()-1;
^
/root/JavaX-Caches/tmp_1436296983/main.java:208: error: class, interface, or enum expected
System.out.println("Full examples: " + case.fullExamples.size() + ", splitPoint: " + splitPoint);
^
/root/JavaX-Caches/tmp_1436296983/main.java:209: error: class, interface, or enum expected
case.examples1 = case.fullExamples.subList(0, splitPoint);
^
/root/JavaX-Caches/tmp_1436296983/main.java:210: error: class, interface, or enum expected
case.examples2 = case.fullExamples.subList(splitPoint, case.fullExamples.size());
^
/root/JavaX-Caches/tmp_1436296983/main.java:212: error: class, interface, or enum expected
Learner learner = findOKLearner(case);
^
/root/JavaX-Caches/tmp_1436296983/main.java:213: error: class, interface, or enum expected
if (learner == null)
^
/root/JavaX-Caches/tmp_1436296983/main.java:218: error: class, interface, or enum expected
Code code = new Code();
^
/root/JavaX-Caches/tmp_1436296983/main.java:219: error: class, interface, or enum expected
learner.toJava(code);
^
/root/JavaX-Caches/tmp_1436296983/main.java:220: error: class, interface, or enum expected
System.out.println("Java:");
^
/root/JavaX-Caches/tmp_1436296983/main.java:221: error: class, interface, or enum expected
System.out.println(indent(" ", code.getTranslators()));
^
/root/JavaX-Caches/tmp_1436296983/main.java:222: error: class, interface, or enum expected
System.out.println(indent(" ", code.buf.toString()));
^
/root/JavaX-Caches/tmp_1436296983/main.java:223: error: class, interface, or enum expected
for (String in : case.halfExamples) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:225: error: class, interface, or enum expected
System.out.println(quote(in) + " =>! " + quote((String) out));
^
/root/JavaX-Caches/tmp_1436296983/main.java:226: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:234: error: class, interface, or enum expected
} catch (Throwable e) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:236: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:238: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:242: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_1436296983/main.java:245: error: class, interface, or enum expected
learner.processInOut(e[0], e[1]);
^
/root/JavaX-Caches/tmp_1436296983/main.java:246: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:251: error: class, interface, or enum expected
String out = (String) learner.processIn(e[0]);
^
/root/JavaX-Caches/tmp_1436296983/main.java:252: error: class, interface, or enum expected
if (!e[1].equals(out)) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:254: error: class, interface, or enum expected
return false;
^
/root/JavaX-Caches/tmp_1436296983/main.java:255: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:258: error: class, interface, or enum expected
} catch (Throwable e) {
^
/root/JavaX-Caches/tmp_1436296983/main.java:260: error: class, interface, or enum expected
silentException(e);
^
/root/JavaX-Caches/tmp_1436296983/main.java:261: error: class, interface, or enum expected
return false;
^
/root/JavaX-Caches/tmp_1436296983/main.java:262: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1436296983/main.java:271: error: class, interface, or enum expected
list.add(new LPrefixSuffix());
^
/root/JavaX-Caches/tmp_1436296983/main.java:272: error: class, interface, or enum expected
list.add(new LSplitInput(new LOutPattern()));
^
/root/JavaX-Caches/tmp_1436296983/main.java:273: error: class, interface, or enum expected
list.add(new LInputPattern());
^
/root/JavaX-Caches/tmp_1436296983/main.java:274: error: class, interface, or enum expected
list.add(new LFixed());
^
/root/JavaX-Caches/tmp_1436296983/main.java:275: error: class, interface, or enum expected
list.add(new LBoth(new RFJavaTok(), new LEach(new LFixedFunction(new EscapeCase()))));
^
/root/JavaX-Caches/tmp_1436296983/main.java:276: error: class, interface, or enum expected
list.add(new LCharShift());
^
/root/JavaX-Caches/tmp_1436296983/main.java:277: error: class, interface, or enum expected
return list;
^
100 errors
only showing the first 100 errors, of 120 total; use -Xmaxerrs if you would like to see more