Wrote /root/JavaX-Caches/tmp_538290347/main.java - 7547 bytes (written=7547, should be 7547)
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_407399932 /root/JavaX-Caches/tmp_538290347/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_538290347/main.java:7: error: class, interface, or enum expected
srecord noeq G22SkeletonToMesh(IImageRegion region) extends G22Mesh is Steppable {
^
/root/JavaX-Caches/tmp_538290347/main.java:9: error: class, interface, or enum expected
settable bool debugDroppingUnnecessaryAnchors;
^
/root/JavaX-Caches/tmp_538290347/main.java:10: error: class, interface, or enum expected
settable bool autoSimplify = true;
^
/root/JavaX-Caches/tmp_538290347/main.java:14: error: class, interface, or enum expected
ItIt regionIterator;
^
/root/JavaX-Caches/tmp_538290347/main.java:15: error: class, interface, or enum expected
new L queue;
^
/root/JavaX-Caches/tmp_538290347/main.java:16: error: class, interface, or enum expected
new PtSet pointsSeen;
^
/root/JavaX-Caches/tmp_538290347/main.java:19: error: class, interface, or enum expected
srecord noeq WorkItem(Anchor anchor, Pt p) {}
^
/root/JavaX-Caches/tmp_538290347/main.java:21: error: class, interface, or enum expected
public bool step() {
^
/root/JavaX-Caches/tmp_538290347/main.java:27: error: class, interface, or enum expected
if (nempty(queue)) {
^
/root/JavaX-Caches/tmp_538290347/main.java:30: error: class, interface, or enum expected
Pt p = work.p;
^
/root/JavaX-Caches/tmp_538290347/main.java:32: error: class, interface, or enum expected
new PtBuffer curvePoints;
^
/root/JavaX-Caches/tmp_538290347/main.java:33: error: class, interface, or enum expected
curvePoints.add(work.anchor.pt); // add anchor to path
^
/root/JavaX-Caches/tmp_538290347/main.java:34: error: class, interface, or enum expected
Anchor endAnchor = null;
^
/root/JavaX-Caches/tmp_538290347/main.java:36: error: class, interface, or enum expected
if (debug) print("Exploring from " + work.anchor.pt + " / " + p);
^
/root/JavaX-Caches/tmp_538290347/main.java:38: error: class, interface, or enum expected
while ping (true) {
^
/root/JavaX-Caches/tmp_538290347/main.java:40: error: class, interface, or enum expected
curvePoints.add(p);
^
/root/JavaX-Caches/tmp_538290347/main.java:43: error: class, interface, or enum expected
endAnchor = anchorMap.get(p);
^
/root/JavaX-Caches/tmp_538290347/main.java:44: error: class, interface, or enum expected
if (endAnchor != null) {
^
/root/JavaX-Caches/tmp_538290347/main.java:46: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_538290347/main.java:47: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:53: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_538290347/main.java:57: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_538290347/main.java:58: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:63: error: class, interface, or enum expected
if (l(branches) != 1) {
^
/root/JavaX-Caches/tmp_538290347/main.java:65: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_538290347/main.java:66: error: class, interface, or enum expected
} else
^
/root/JavaX-Caches/tmp_538290347/main.java:68: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:73: error: class, interface, or enum expected
addCurve(new Curve(work.anchor, endAnchor, curvePoints));
^
/root/JavaX-Caches/tmp_538290347/main.java:74: error: class, interface, or enum expected
true;
^
/root/JavaX-Caches/tmp_538290347/main.java:75: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:82: error: class, interface, or enum expected
if (!pointsSeen.add(p)) true;
^
/root/JavaX-Caches/tmp_538290347/main.java:85: error: class, interface, or enum expected
newAnchor(p);
^
/root/JavaX-Caches/tmp_538290347/main.java:86: error: class, interface, or enum expected
true;
^
/root/JavaX-Caches/tmp_538290347/main.java:87: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:92: error: class, interface, or enum expected
false;
^
/root/JavaX-Caches/tmp_538290347/main.java:93: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:97: error: class, interface, or enum expected
anchorMap.put(p, anchor);
^
/root/JavaX-Caches/tmp_538290347/main.java:101: error: class, interface, or enum expected
for (Pt p2 : unexploredPointsAround(p))
^
/root/JavaX-Caches/tmp_538290347/main.java:104: error: class, interface, or enum expected
ret anchor;
^
/root/JavaX-Caches/tmp_538290347/main.java:105: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:109: error: class, interface, or enum expected
for (int dir = 1; dir <= 8; dir++) {
^
/root/JavaX-Caches/tmp_538290347/main.java:109: error: class, interface, or enum expected
for (int dir = 1; dir <= 8; dir++) {
^
/root/JavaX-Caches/tmp_538290347/main.java:109: error: class, interface, or enum expected
for (int dir = 1; dir <= 8; dir++) {
^
/root/JavaX-Caches/tmp_538290347/main.java:111: error: class, interface, or enum expected
if (region.contains(p2) && !pointsSeen.contains(p2))
^
/root/JavaX-Caches/tmp_538290347/main.java:113: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:115: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:122: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:128: error: class, interface, or enum expected
for (Curve curve : cloneList(curves)) {
^
/root/JavaX-Caches/tmp_538290347/main.java:130: error: class, interface, or enum expected
if (curve.length() > 3) continue;
^
/root/JavaX-Caches/tmp_538290347/main.java:132: error: class, interface, or enum expected
if (debug) print("Removing short loop: " + curve);
^
/root/JavaX-Caches/tmp_538290347/main.java:133: error: class, interface, or enum expected
removeCurve(curve);
^
/root/JavaX-Caches/tmp_538290347/main.java:134: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:137: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:142: error: class, interface, or enum expected
for (Curve curve : cloneList(curves)) {
^
/root/JavaX-Caches/tmp_538290347/main.java:146: error: class, interface, or enum expected
bool keepStartAnchor = curve.start.arity() >= curve.end.arity();
^
/root/JavaX-Caches/tmp_538290347/main.java:149: error: class, interface, or enum expected
removeCurve(curve);
^
/root/JavaX-Caches/tmp_538290347/main.java:152: error: class, interface, or enum expected
if (keepStartAnchor)
^
/root/JavaX-Caches/tmp_538290347/main.java:154: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_538290347/main.java:156: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:158: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:162: error: class, interface, or enum expected
curve.start.outgoingCurves.remove(curve);
^
/root/JavaX-Caches/tmp_538290347/main.java:163: error: class, interface, or enum expected
curve.end.incomingCurves.remove(curve);
^
/root/JavaX-Caches/tmp_538290347/main.java:164: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:170: error: class, interface, or enum expected
for (Curve curve : a1.outgoingCurves) {
^
/root/JavaX-Caches/tmp_538290347/main.java:173: error: class, interface, or enum expected
curve.path.origin(a2.pt);
^
/root/JavaX-Caches/tmp_538290347/main.java:174: error: class, interface, or enum expected
curve.start = a2;
^
/root/JavaX-Caches/tmp_538290347/main.java:175: error: class, interface, or enum expected
a2.outgoingCurves.add(curve);
^
/root/JavaX-Caches/tmp_538290347/main.java:176: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:181: error: class, interface, or enum expected
curve.end = a2;
^
/root/JavaX-Caches/tmp_538290347/main.java:182: error: class, interface, or enum expected
a2.incomingCurves.add(curve);
^
/root/JavaX-Caches/tmp_538290347/main.java:183: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:186: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:191: error: class, interface, or enum expected
for (Anchor anchor : cloneValues(anchorMap)) {
^
/root/JavaX-Caches/tmp_538290347/main.java:193: error: class, interface, or enum expected
if (anchor.isRingAnchor()) continue;
^
/root/JavaX-Caches/tmp_538290347/main.java:196: error: class, interface, or enum expected
if (debugDroppingUnnecessaryAnchors) print("Dropping " + anchor);
^
/root/JavaX-Caches/tmp_538290347/main.java:199: error: class, interface, or enum expected
L curves = concatLists(anchor.incomingCurves, anchor.outgoingCurves);
^
/root/JavaX-Caches/tmp_538290347/main.java:202: error: class, interface, or enum expected
Set anchors = concatMapToSet(curves, c -> c.anchors());
^
/root/JavaX-Caches/tmp_538290347/main.java:203: error: class, interface, or enum expected
anchors.remove(this);
^
/root/JavaX-Caches/tmp_538290347/main.java:205: error: class, interface, or enum expected
if (debugDroppingUnnecessaryAnchors) printVarsInMultipleLines(+curves, +anchors);
^
/root/JavaX-Caches/tmp_538290347/main.java:210: error: class, interface, or enum expected
Curve curve1 = first(curves);
^
/root/JavaX-Caches/tmp_538290347/main.java:211: error: class, interface, or enum expected
removeCurve(curve1);
^
/root/JavaX-Caches/tmp_538290347/main.java:212: error: class, interface, or enum expected
L points1 = curve1.path.pointList();
^
/root/JavaX-Caches/tmp_538290347/main.java:213: error: class, interface, or enum expected
if (eq(first(points1), anchor.pt)) reverseInPlace(points1);
^
/root/JavaX-Caches/tmp_538290347/main.java:216: error: class, interface, or enum expected
Curve curve2 = second(curves);
^
/root/JavaX-Caches/tmp_538290347/main.java:217: error: class, interface, or enum expected
removeCurve(curve2);
^
/root/JavaX-Caches/tmp_538290347/main.java:218: error: class, interface, or enum expected
L points2 = curve2.path.pointList();
^
/root/JavaX-Caches/tmp_538290347/main.java:219: error: class, interface, or enum expected
if (!eq(first(points2), anchor.pt)) reverseInPlace(points2);
^
/root/JavaX-Caches/tmp_538290347/main.java:222: error: class, interface, or enum expected
assertEquals(anchor.pt, popLast(points1));
^
/root/JavaX-Caches/tmp_538290347/main.java:223: error: class, interface, or enum expected
L points = points1;
^
/root/JavaX-Caches/tmp_538290347/main.java:224: error: class, interface, or enum expected
addAll(points, points2);
^
/root/JavaX-Caches/tmp_538290347/main.java:226: error: class, interface, or enum expected
Anchor anchor1 = assertNotNull(anchorMap.get(first(points)));
^
/root/JavaX-Caches/tmp_538290347/main.java:227: error: class, interface, or enum expected
Anchor anchor2 = assertNotNull(anchorMap.get(last(points)));
^
/root/JavaX-Caches/tmp_538290347/main.java:229: error: class, interface, or enum expected
if (debugDroppingUnnecessaryAnchors) printVarsInMultipleLines(+anchor, +anchor1, +anchor2);
^
/root/JavaX-Caches/tmp_538290347/main.java:231: error: class, interface, or enum expected
anchorMap.remove(anchor.pt);
^
/root/JavaX-Caches/tmp_538290347/main.java:232: error: class, interface, or enum expected
addCurve(new Curve(anchor1, anchor2, points));
^
/root/JavaX-Caches/tmp_538290347/main.java:233: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:236: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_538290347/main.java:240: error: class, interface, or enum expected
}
^
98 errors