Wrote /root/JavaX-Caches/tmp_959885056/main.java - 5170 bytes (written=5170, should be 5170)
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_1118106765 /root/JavaX-Caches/tmp_959885056/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_959885056/main.java:4: error: class, interface, or enum expected
srecord noeq G22MeshMapping(G22Mesh mesh1, G22Mesh mesh2) {
^
/root/JavaX-Caches/tmp_959885056/main.java:10: error: class, interface, or enum expected
Curve get() { ret curve; }
^
/root/JavaX-Caches/tmp_959885056/main.java:12: error: class, interface, or enum expected
Anchor start() { ret curve.anchor(flipped); }
^
/root/JavaX-Caches/tmp_959885056/main.java:13: error: class, interface, or enum expected
Anchor end() { ret curve.anchor(!flipped); }
^
/root/JavaX-Caches/tmp_959885056/main.java:20: error: class, interface, or enum expected
new LinkedHashMap curveMap;
^
/root/JavaX-Caches/tmp_959885056/main.java:21: error: class, interface, or enum expected
new LinkedHashMap curveBackwardMap;
^
/root/JavaX-Caches/tmp_959885056/main.java:25: error: class, interface, or enum expected
void validityCheck() {
^
/root/JavaX-Caches/tmp_959885056/main.java:32: error: class, interface, or enum expected
for (a1, a2 : anchorMap) {
^
/root/JavaX-Caches/tmp_959885056/main.java:34: error: class, interface, or enum expected
assertAnchorInMesh(a2, +mesh2);
^
/root/JavaX-Caches/tmp_959885056/main.java:35: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:39: error: class, interface, or enum expected
assertTrue(c2 + " is in mesh2", mesh2.containsCurve(c2!));
^
/root/JavaX-Caches/tmp_959885056/main.java:43: error: class, interface, or enum expected
assertEquals("Start point", c2.start(), getAnchorMapping(c1.start));
^
/root/JavaX-Caches/tmp_959885056/main.java:44: error: class, interface, or enum expected
assertEquals("End point", c2.end(), getAnchorMapping(c1.end));
^
/root/JavaX-Caches/tmp_959885056/main.java:45: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:51: error: class, interface, or enum expected
null;
^
/root/JavaX-Caches/tmp_959885056/main.java:52: error: class, interface, or enum expected
} catch e {
^
/root/JavaX-Caches/tmp_959885056/main.java:54: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:57: error: class, interface, or enum expected
bool isValid() { ret validityError() == null; }
^
/root/JavaX-Caches/tmp_959885056/main.java:65: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:69: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:73: error: class, interface, or enum expected
assertAnchorInMesh(a2, +mesh2);
^
/root/JavaX-Caches/tmp_959885056/main.java:74: error: class, interface, or enum expected
ret tempMapPut(anchorMap, a1, a2);
^
/root/JavaX-Caches/tmp_959885056/main.java:75: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:79: error: class, interface, or enum expected
assertAnchorInMesh(a2, +mesh2);
^
/root/JavaX-Caches/tmp_959885056/main.java:80: error: class, interface, or enum expected
anchorMap.put(a1, a2);
^
/root/JavaX-Caches/tmp_959885056/main.java:81: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:86: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:91: error: class, interface, or enum expected
var forwardMapping = new MappedCurve(c2, flipped);
^
/root/JavaX-Caches/tmp_959885056/main.java:92: error: class, interface, or enum expected
var backwardMapping = new MappedCurve(c1, flipped);
^
/root/JavaX-Caches/tmp_959885056/main.java:93: error: class, interface, or enum expected
closers.add(tempMapPut(curveMap, c1, forwardMapping));
^
/root/JavaX-Caches/tmp_959885056/main.java:94: error: class, interface, or enum expected
closers.add(tempMapPut(curveBackwardMap, c2, backwardMapping));
^
/root/JavaX-Caches/tmp_959885056/main.java:97: error: class, interface, or enum expected
closers.add(tempMapAnchor(c1.start, forwardMapping.start());
^
/root/JavaX-Caches/tmp_959885056/main.java:98: error: class, interface, or enum expected
closers.add(tempMapAnchor(c1.end, forwardMapping.end());
^
/root/JavaX-Caches/tmp_959885056/main.java:99: error: class, interface, or enum expected
ret combineAutoCloseables(closers);
^
/root/JavaX-Caches/tmp_959885056/main.java:100: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:104: error: class, interface, or enum expected
var backwardMapping = new MappedCurve(c1, flipped);
^
/root/JavaX-Caches/tmp_959885056/main.java:105: error: class, interface, or enum expected
curveMap.put(c1, forwardMapping);
^
/root/JavaX-Caches/tmp_959885056/main.java:106: error: class, interface, or enum expected
curveBackwardMap.put(c2, backwardMapping);
^
/root/JavaX-Caches/tmp_959885056/main.java:109: error: class, interface, or enum expected
mapAnchor(c1.start, forwardMapping.start());
^
/root/JavaX-Caches/tmp_959885056/main.java:110: error: class, interface, or enum expected
mapAnchor(c1.end, forwardMapping.end());
^
/root/JavaX-Caches/tmp_959885056/main.java:111: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:117: error: class, interface, or enum expected
ret anchorMap.inverseGet(a);
^
/root/JavaX-Caches/tmp_959885056/main.java:118: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:122: error: class, interface, or enum expected
ret curveBackwardMap.get(c);
^
/root/JavaX-Caches/tmp_959885056/main.java:123: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:127: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:131: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:135: error: class, interface, or enum expected
ret map(mesh1.anchorList(), a -> idx.get(get(a)));
^
/root/JavaX-Caches/tmp_959885056/main.java:136: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:140: error: class, interface, or enum expected
ret map(mesh1.curveList(), a -> {
^
/root/JavaX-Caches/tmp_959885056/main.java:142: error: class, interface, or enum expected
ret c == null ?: idx.get(c!);
^
/root/JavaX-Caches/tmp_959885056/main.java:143: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_959885056/main.java:144: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:149: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:154: error: class, interface, or enum expected
for (curve : keys(curveMap))
^
/root/JavaX-Caches/tmp_959885056/main.java:156: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_959885056/main.java:161: error: class, interface, or enum expected
for (curve : values(curveMap)) {
^
/root/JavaX-Caches/tmp_959885056/main.java:163: error: class, interface, or enum expected
if (curve.flipped)
^
/root/JavaX-Caches/tmp_959885056/main.java:165: error: class, interface, or enum expected
vm.drawCurve(g, curve!);
^
/root/JavaX-Caches/tmp_959885056/main.java:166: error: class, interface, or enum expected
}
^
60 errors