Wrote /root/JavaX-Caches/tmp_1880483411/main.java - 5498 bytes (written=5498, should be 5498)
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 -d /root/JavaX-Caches/tmp_969782641 /root/JavaX-Caches/tmp_1880483411/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1880483411/main.java:1: error: class, interface, or enum expected
scope test_BStack
^
/root/JavaX-Caches/tmp_1880483411/main.java:10: error: illegal character: '#'
sclass #OneBranch extends VStackComputableWithStep {
^
/root/JavaX-Caches/tmp_1880483411/main.java:13: error: class, interface, or enum expected
void step(VStack stack) {
^
/root/JavaX-Caches/tmp_1880483411/main.java:16: error: class, interface, or enum expected
if (step == 0) {
^
/root/JavaX-Caches/tmp_1880483411/main.java:18: error: class, interface, or enum expected
stack.options(this,
^
/root/JavaX-Caches/tmp_1880483411/main.java:21: error: class, interface, or enum expected
} else
^
/root/JavaX-Caches/tmp_1880483411/main.java:23: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1880483411/main.java:26: error: illegal character: '#'
sclass #OneBranch3Options extends VStackComputableWithStep {
^
/root/JavaX-Caches/tmp_1880483411/main.java:29: error: class, interface, or enum expected
void step(VStack stack) {
^
/root/JavaX-Caches/tmp_1880483411/main.java:32: error: class, interface, or enum expected
if (step == 0) {
^
/root/JavaX-Caches/tmp_1880483411/main.java:34: error: class, interface, or enum expected
stack.options(this,
^
/root/JavaX-Caches/tmp_1880483411/main.java:38: error: class, interface, or enum expected
} else
^
/root/JavaX-Caches/tmp_1880483411/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1880483411/main.java:43: error: illegal character: '#'
sclass #NoOptions extends VStackComputableWithStep {
^
/root/JavaX-Caches/tmp_1880483411/main.java:47: error: class, interface, or enum expected
stack.options(this, ll()); // No options should cause error
^
/root/JavaX-Caches/tmp_1880483411/main.java:48: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1880483411/main.java:51: error: illegal character: '#'
sclass #TwoBranches extends VStackComputableWithStep {
^
/root/JavaX-Caches/tmp_1880483411/main.java:54: error: class, interface, or enum expected
void step(VStack stack) {
^
/root/JavaX-Caches/tmp_1880483411/main.java:57: error: class, interface, or enum expected
if (step == 0) {
^
/root/JavaX-Caches/tmp_1880483411/main.java:59: error: class, interface, or enum expected
print("Creating options at step 0 (black/white)");
^
/root/JavaX-Caches/tmp_1880483411/main.java:60: error: class, interface, or enum expected
stack.options(this,
^
/root/JavaX-Caches/tmp_1880483411/main.java:63: error: class, interface, or enum expected
} else if (step == 1) {
^
/root/JavaX-Caches/tmp_1880483411/main.java:65: error: class, interface, or enum expected
print("Creating options at step 1 (circle/square)");
^
/root/JavaX-Caches/tmp_1880483411/main.java:66: error: class, interface, or enum expected
stack.options(this,
^
/root/JavaX-Caches/tmp_1880483411/main.java:69: error: class, interface, or enum expected
} else
^
/root/JavaX-Caches/tmp_1880483411/main.java:71: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1880483411/main.java:74: error: illegal character: '#'
sclass #TwoBranches3Options extends VStackComputableWithStep {
^
/root/JavaX-Caches/tmp_1880483411/main.java:77: error: class, interface, or enum expected
void step(VStack stack) {
^
/root/JavaX-Caches/tmp_1880483411/main.java:80: error: class, interface, or enum expected
if (step == 0) {
^
/root/JavaX-Caches/tmp_1880483411/main.java:82: error: class, interface, or enum expected
print("Creating options at step 0 (black/white/gray)");
^
/root/JavaX-Caches/tmp_1880483411/main.java:83: error: class, interface, or enum expected
stack.options(this,
^
/root/JavaX-Caches/tmp_1880483411/main.java:87: error: class, interface, or enum expected
} else if (step == 1) {
^
/root/JavaX-Caches/tmp_1880483411/main.java:89: error: class, interface, or enum expected
print("Creating options at step 1 (circle/square/triangle)");
^
/root/JavaX-Caches/tmp_1880483411/main.java:90: error: class, interface, or enum expected
stack.options(this,
^
/root/JavaX-Caches/tmp_1880483411/main.java:94: error: class, interface, or enum expected
} else
^
/root/JavaX-Caches/tmp_1880483411/main.java:96: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1880483411/main.java:99: error: illegal character: '#'
srecord noeq #TwoBranchesWithUndos(LS things) extends VStackComputableWithStep {
^
/root/JavaX-Caches/tmp_1880483411/main.java:102: error: class, interface, or enum expected
void step(VStack stack) {
^
/root/JavaX-Caches/tmp_1880483411/main.java:105: error: class, interface, or enum expected
if (step == 0) {
^
/root/JavaX-Caches/tmp_1880483411/main.java:107: error: class, interface, or enum expected
print("Creating options at step 0 (black/white)");
^
/root/JavaX-Caches/tmp_1880483411/main.java:108: error: class, interface, or enum expected
stack.options(this,
^
/root/JavaX-Caches/tmp_1880483411/main.java:111: error: class, interface, or enum expected
} else if (step == 1) {
^
/root/JavaX-Caches/tmp_1880483411/main.java:113: error: class, interface, or enum expected
step = 2;
^
/root/JavaX-Caches/tmp_1880483411/main.java:114: error: class, interface, or enum expected
} else if (step == 2) {
^
/root/JavaX-Caches/tmp_1880483411/main.java:116: error: class, interface, or enum expected
print("Creating options at step 2 (circle/square)");
^
/root/JavaX-Caches/tmp_1880483411/main.java:117: error: class, interface, or enum expected
stack.options(this,
^
/root/JavaX-Caches/tmp_1880483411/main.java:120: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_1880483411/main.java:122: error: class, interface, or enum expected
stack.return("A " + color + " " + shape);
^
/root/JavaX-Caches/tmp_1880483411/main.java:123: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1880483411/main.java:129: error: class, interface, or enum expected
test_BStack_twoBranches();
^
/root/JavaX-Caches/tmp_1880483411/main.java:130: error: class, interface, or enum expected
test_BStack_undos();
^
/root/JavaX-Caches/tmp_1880483411/main.java:131: error: class, interface, or enum expected
test_BStack_oneBranch3Options();
^
/root/JavaX-Caches/tmp_1880483411/main.java:132: error: class, interface, or enum expected
test_BStack_twoBranches3Options();
^
/root/JavaX-Caches/tmp_1880483411/main.java:133: error: class, interface, or enum expected
test_BStack_noOptions();
^
/root/JavaX-Caches/tmp_1880483411/main.java:134: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1880483411/main.java:140: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1880483411/main.java:146: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1880483411/main.java:153: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1880483411/main.java:161: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1880483411/main.java:166: error: class, interface, or enum expected
var stack = new BStack<>(new TwoBranchesWithUndos(things));
^
/root/JavaX-Caches/tmp_1880483411/main.java:167: error: class, interface, or enum expected
for (S color : ll("black", "white"))
^
/root/JavaX-Caches/tmp_1880483411/main.java:169: error: illegal escape character
assertEqualsVerbose("A \*color*/ \*shape*/", stack.nextResultWithPrintStruct(10));
^
/root/JavaX-Caches/tmp_1880483411/main.java:169: error: illegal escape character
assertEqualsVerbose("A \*color*/ \*shape*/", stack.nextResultWithPrintStruct(10));
^
/root/JavaX-Caches/tmp_1880483411/main.java:170: error: class, interface, or enum expected
assertEqualsVerbose(ll(color, shape), things);
^
/root/JavaX-Caches/tmp_1880483411/main.java:171: error: class, interface, or enum expected
stack = stack.backtrack();
^
/root/JavaX-Caches/tmp_1880483411/main.java:172: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1880483411/main.java:174: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1880483411/main.java:177: error: expected
assertInnerExceptionOfTypeVerbose(BStack.NoOptionsException.class,
^
/root/JavaX-Caches/tmp_1880483411/main.java:179: error: class, interface, or enum expected
}
^
69 errors