Wrote /root/JavaX-Caches/tmp_798704821/main.java - 8561 bytes (written=8561, should be 8561)
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_1724127758 /root/JavaX-Caches/tmp_798704821/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_798704821/main.java:1: error: class, interface, or enum expected
srecord noeq G22MeshMapper_v2(G22Mesh mesh1, G22Mesh mesh2) {
^
/root/JavaX-Caches/tmp_798704821/main.java:13: error: class, interface, or enum expected
G22MeshMapping mm;
^
/root/JavaX-Caches/tmp_798704821/main.java:14: error: class, interface, or enum expected
settable L debugOutput;
^
/root/JavaX-Caches/tmp_798704821/main.java:17: error: class, interface, or enum expected
settable float contrast = 0.25f;
^
/root/JavaX-Caches/tmp_798704821/main.java:18: error: class, interface, or enum expected
settable int brightness = 128;
^
/root/JavaX-Caches/tmp_798704821/main.java:22: error: class, interface, or enum expected
MultiMap anchorsByArity2;
^
/root/JavaX-Caches/tmp_798704821/main.java:27: error: class, interface, or enum expected
settable O rejectedBecause;
^
/root/JavaX-Caches/tmp_798704821/main.java:29: error: class, interface, or enum expected
bool rejected() { ret rejectedBecause != null; }
^
/root/JavaX-Caches/tmp_798704821/main.java:29: error: class, interface, or enum expected
bool rejected() { ret rejectedBecause != null; }
^
/root/JavaX-Caches/tmp_798704821/main.java:34: error: class, interface, or enum expected
S sig1, sig2;
^
/root/JavaX-Caches/tmp_798704821/main.java:35: error: class, interface, or enum expected
Anchor anchor1; // first anchor to map
^
/root/JavaX-Caches/tmp_798704821/main.java:37: error: class, interface, or enum expected
G22MeshMapping get() { ret mm; }
^
/root/JavaX-Caches/tmp_798704821/main.java:37: error: class, interface, or enum expected
G22MeshMapping get() { ret mm; }
^
/root/JavaX-Caches/tmp_798704821/main.java:41: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_798704821/main.java:44: error: '{' expected
class Search extends VStackComputableWithStep is IMakeEmptyClone {
^
/root/JavaX-Caches/tmp_798704821/main.java:47: error: not a statement
public selfType makeEmptyClone() { ret new selfType; }
^
/root/JavaX-Caches/tmp_798704821/main.java:47: error: ';' expected
public selfType makeEmptyClone() { ret new selfType; }
^
/root/JavaX-Caches/tmp_798704821/main.java:47: error: '(' or '[' expected
public selfType makeEmptyClone() { ret new selfType; }
^
/root/JavaX-Caches/tmp_798704821/main.java:50: error: ';' expected
cast stack to BStack>;
^
/root/JavaX-Caches/tmp_798704821/main.java:50: error: ';' expected
cast stack to BStack>;
^
/root/JavaX-Caches/tmp_798704821/main.java:50: error: illegal start of type
cast stack to BStack>;
^
/root/JavaX-Caches/tmp_798704821/main.java:50: error: illegal start of expression
cast stack to BStack>;
^
/root/JavaX-Caches/tmp_798704821/main.java:50: error: illegal start of expression
cast stack to BStack>;
^
/root/JavaX-Caches/tmp_798704821/main.java:77: error: illegal start of expression
stack.temp(-> add(debugOutput, print("Unmapping anchor")));
^
/root/JavaX-Caches/tmp_798704821/main.java:77: error: ';' expected
stack.temp(-> add(debugOutput, print("Unmapping anchor")));
^
/root/JavaX-Caches/tmp_798704821/main.java:82: error: '(' or '[' expected
stack.call(new Step2);
^
/root/JavaX-Caches/tmp_798704821/main.java:88: error: expected
stack.return();
^
/root/JavaX-Caches/tmp_798704821/main.java:88: error: not a statement
stack.return();
^
/root/JavaX-Caches/tmp_798704821/main.java:88: error: -> expected
stack.return();
^
/root/JavaX-Caches/tmp_798704821/main.java:93: error: '{' expected
class Step2 extends VStackComputableWithStep is IMakeEmptyClone {
^
/root/JavaX-Caches/tmp_798704821/main.java:100: error: not a statement
public selfType makeEmptyClone() { ret new selfType; }
^
/root/JavaX-Caches/tmp_798704821/main.java:100: error: ';' expected
public selfType makeEmptyClone() { ret new selfType; }
^
/root/JavaX-Caches/tmp_798704821/main.java:100: error: '(' or '[' expected
public selfType makeEmptyClone() { ret new selfType; }
^
/root/JavaX-Caches/tmp_798704821/main.java:103: error: ';' expected
cast stack to BStack>;
^
/root/JavaX-Caches/tmp_798704821/main.java:103: error: ';' expected
cast stack to BStack>;
^
/root/JavaX-Caches/tmp_798704821/main.java:103: error: illegal start of type
cast stack to BStack>;
^
/root/JavaX-Caches/tmp_798704821/main.java:103: error: illegal start of expression
cast stack to BStack>;
^
/root/JavaX-Caches/tmp_798704821/main.java:103: error: illegal start of expression
cast stack to BStack>;
^
/root/JavaX-Caches/tmp_798704821/main.java:107: error: ')' expected
print("mesh1.curves: " + map identityHashCode(mesh1.curves()));
^
/root/JavaX-Caches/tmp_798704821/main.java:107: error: ';' expected
print("mesh1.curves: " + map identityHashCode(mesh1.curves()));
^
/root/JavaX-Caches/tmp_798704821/main.java:108: error: ')' expected
print("mapped: " + map identityHashCode(keys(mm.curveMap)));
^
/root/JavaX-Caches/tmp_798704821/main.java:108: error: ';' expected
print("mapped: " + map identityHashCode(keys(mm.curveMap)));
^
/root/JavaX-Caches/tmp_798704821/main.java:109: error: ')' expected
print("mapped (backward map): " + map identityHashCode(keys(mm.curveBackwardMap)));
^
/root/JavaX-Caches/tmp_798704821/main.java:109: error: ';' expected
print("mapped (backward map): " + map identityHashCode(keys(mm.curveBackwardMap)));
^
/root/JavaX-Caches/tmp_798704821/main.java:114: error: ';' expected
ret with stack.return(change);
^
/root/JavaX-Caches/tmp_798704821/main.java:114: error: variable declaration not allowed here
ret with stack.return(change);
^
/root/JavaX-Caches/tmp_798704821/main.java:114: error: expected
ret with stack.return(change);
^
/root/JavaX-Caches/tmp_798704821/main.java:114: error: not a statement
ret with stack.return(change);
^
/root/JavaX-Caches/tmp_798704821/main.java:124: error: ')' expected
assertTrue("mesh2 contains curve1mapping", mesh2.containsCurve(curve1mapping!));
^
/root/JavaX-Caches/tmp_798704821/main.java:125: error: not a statement
ret; // continue loop
^
/root/JavaX-Caches/tmp_798704821/main.java:135: error: not a statement
ret; // continue loop;
^
/root/JavaX-Caches/tmp_798704821/main.java:138: error: '(' or '[' expected
new L possibleCurves;
^
/root/JavaX-Caches/tmp_798704821/main.java:144: error: bad initializer for for-loop
for (curve2 : start2.curves())
^
/root/JavaX-Caches/tmp_798704821/main.java:161: error: bad initializer for for-loop
for (c2 : a2.curves()) {
^
/root/JavaX-Caches/tmp_798704821/main.java:189: error: ';' expected
ret with stack.ret(false);
^
/root/JavaX-Caches/tmp_798704821/main.java:196: error: not a statement
ret;
^
/root/JavaX-Caches/tmp_798704821/main.java:200: error: ')' expected
stack.temp(mm.tempMapCurve(curve1, c2!, c2.flipped));
^
/root/JavaX-Caches/tmp_798704821/main.java:200: error: not a statement
stack.temp(mm.tempMapCurve(curve1, c2!, c2.flipped));
^
/root/JavaX-Caches/tmp_798704821/main.java:200: error: ';' expected
stack.temp(mm.tempMapCurve(curve1, c2!, c2.flipped));
^
/root/JavaX-Caches/tmp_798704821/main.java:201: error: illegal start of expression
stack.temp(-> add(debugOutput, "Unmapping curve"));
^
/root/JavaX-Caches/tmp_798704821/main.java:201: error: ';' expected
stack.temp(-> add(debugOutput, "Unmapping curve"));
^
/root/JavaX-Caches/tmp_798704821/main.java:211: error: class, interface, or enum expected
protected void prechecks {
^
/root/JavaX-Caches/tmp_798704821/main.java:213: error: class, interface, or enum expected
sig1 = mesh1.signature();
^
/root/JavaX-Caches/tmp_798704821/main.java:214: error: class, interface, or enum expected
sig2 = mesh1.signature();
^
/root/JavaX-Caches/tmp_798704821/main.java:215: error: class, interface, or enum expected
if (!eq(sig1, sig2))
^
/root/JavaX-Caches/tmp_798704821/main.java:217: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_798704821/main.java:221: error: class, interface, or enum expected
ret -> rejectedBecause(null);
^
/root/JavaX-Caches/tmp_798704821/main.java:222: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_798704821/main.java:227: error: class, interface, or enum expected
O error = mm.validityError();
^
/root/JavaX-Caches/tmp_798704821/main.java:228: error: class, interface, or enum expected
addIfNotNull(debugOutput, error);
^
/root/JavaX-Caches/tmp_798704821/main.java:231: error: class, interface, or enum expected
var img1 = mesh1.getBufferedImage();
^
/root/JavaX-Caches/tmp_798704821/main.java:232: error: class, interface, or enum expected
var img2 = mesh2.getBufferedImage();
^
/root/JavaX-Caches/tmp_798704821/main.java:233: error: class, interface, or enum expected
for (img : ll(img1, img2))
^
/root/JavaX-Caches/tmp_798704821/main.java:236: error: class, interface, or enum expected
mm.drawMappedPartOfMesh1(createGraphics(img1));
^
/root/JavaX-Caches/tmp_798704821/main.java:237: error: class, interface, or enum expected
mm.drawMappedPartOfMesh2(createGraphics(img2));
^
/root/JavaX-Caches/tmp_798704821/main.java:238: error: class, interface, or enum expected
addPair(debugOutput, img1, img2);
^
/root/JavaX-Caches/tmp_798704821/main.java:239: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_798704821/main.java:245: error: class, interface, or enum expected
var img1 = mesh1.getBufferedImage();
^
/root/JavaX-Caches/tmp_798704821/main.java:246: error: class, interface, or enum expected
var img2 = mesh2.getBufferedImage();
^
/root/JavaX-Caches/tmp_798704821/main.java:247: error: class, interface, or enum expected
for (img : ll(img1, img2))
^
/root/JavaX-Caches/tmp_798704821/main.java:250: error: class, interface, or enum expected
new G22VisualizeMeshes().drawCurve(createGraphics(img1), c1);
^
/root/JavaX-Caches/tmp_798704821/main.java:251: error: class, interface, or enum expected
for (curve : possibleCurves) {
^
/root/JavaX-Caches/tmp_798704821/main.java:253: error: class, interface, or enum expected
if (curve.flipped)
^
/root/JavaX-Caches/tmp_798704821/main.java:255: error: class, interface, or enum expected
vm.drawCurve(createGraphics(img2), curve!);
^
/root/JavaX-Caches/tmp_798704821/main.java:256: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_798704821/main.java:259: error: class, interface, or enum expected
addPair(debugOutput, img1, img2);
^
/root/JavaX-Caches/tmp_798704821/main.java:260: error: class, interface, or enum expected
}
^
87 errors