Wrote /root/JavaX-Caches/tmp_855001399/main.java - 10635 bytes (written=10635, should be 10635) 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_1809257797 /root/JavaX-Caches/tmp_855001399/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_855001399/main.java:15: error: class, interface, or enum expected srecord noeq G22SkeletonToMesh<Img extends WidthAndHeight>(IImageRegion<Img> region) is Steppable { ^ /root/JavaX-Caches/tmp_855001399/main.java:17: error: class, interface, or enum expected settable bool debugDroppingUnnecessaryAnchors; ^ /root/JavaX-Caches/tmp_855001399/main.java:18: error: class, interface, or enum expected settable bool autoSimplify = true; ^ /root/JavaX-Caches/tmp_855001399/main.java:20: error: class, interface, or enum expected new LinkedHashMap<Pt, Anchor> anchorMap; // sorted by index ^ /root/JavaX-Caches/tmp_855001399/main.java:22: error: class, interface, or enum expected new Set<Curve> curves; // in no particular order ^ /root/JavaX-Caches/tmp_855001399/main.java:24: error: class, interface, or enum expected sclass Curve { ^ /root/JavaX-Caches/tmp_855001399/main.java:26: error: class, interface, or enum expected OnePathWithOrigin path; // origin = start.pt ^ /root/JavaX-Caches/tmp_855001399/main.java:28: error: class, interface, or enum expected *(Anchor *start, Anchor *end, L<Pt> points) { ^ /root/JavaX-Caches/tmp_855001399/main.java:30: error: class, interface, or enum expected start.outgoingCurves.add(this); ^ /root/JavaX-Caches/tmp_855001399/main.java:31: error: class, interface, or enum expected end.incomingCurves.add(this); ^ /root/JavaX-Caches/tmp_855001399/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:37: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:42: error: class, interface, or enum expected int length() { ret path.nSteps(); } ^ /root/JavaX-Caches/tmp_855001399/main.java:44: error: class, interface, or enum expected L<Anchor> anchors() { ret ll(start, end); } ^ /root/JavaX-Caches/tmp_855001399/main.java:49: error: class, interface, or enum expected Pt pt; ^ /root/JavaX-Caches/tmp_855001399/main.java:50: error: class, interface, or enum expected new L<Curve> outgoingCurves; ^ /root/JavaX-Caches/tmp_855001399/main.java:51: error: class, interface, or enum expected new L<Curve> incomingCurves; ^ /root/JavaX-Caches/tmp_855001399/main.java:53: error: class, interface, or enum expected *(int *index, Pt *pt) {} ^ /root/JavaX-Caches/tmp_855001399/main.java:55: error: class, interface, or enum expected int arity() { ret l(outgoingCurves) + l(incomingCurves); } ^ /root/JavaX-Caches/tmp_855001399/main.java:59: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:63: error: class, interface, or enum expected ret shortToString() + ", arity " + arity() ^ /root/JavaX-Caches/tmp_855001399/main.java:66: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:72: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:78: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:84: error: class, interface, or enum expected new L<WorkItem> queue; ^ /root/JavaX-Caches/tmp_855001399/main.java:85: error: class, interface, or enum expected new PtSet pointsSeen; ^ /root/JavaX-Caches/tmp_855001399/main.java:88: error: class, interface, or enum expected srecord noeq WorkItem(Anchor anchor, Pt p) {} ^ /root/JavaX-Caches/tmp_855001399/main.java:90: error: class, interface, or enum expected public bool step() { ^ /root/JavaX-Caches/tmp_855001399/main.java:96: error: class, interface, or enum expected if (nempty(queue)) { ^ /root/JavaX-Caches/tmp_855001399/main.java:99: error: class, interface, or enum expected Pt p = work.p; ^ /root/JavaX-Caches/tmp_855001399/main.java:101: error: class, interface, or enum expected new PtBuffer curvePoints; ^ /root/JavaX-Caches/tmp_855001399/main.java:102: error: class, interface, or enum expected curvePoints.add(work.anchor.pt); // add anchor to path ^ /root/JavaX-Caches/tmp_855001399/main.java:103: error: class, interface, or enum expected Anchor endAnchor = null; ^ /root/JavaX-Caches/tmp_855001399/main.java:105: error: class, interface, or enum expected if (debug) print("Exploring from " + work.anchor.pt + " / " + p); ^ /root/JavaX-Caches/tmp_855001399/main.java:107: error: class, interface, or enum expected while ping (true) { ^ /root/JavaX-Caches/tmp_855001399/main.java:109: error: class, interface, or enum expected curvePoints.add(p); ^ /root/JavaX-Caches/tmp_855001399/main.java:112: error: class, interface, or enum expected endAnchor = anchorMap.get(p); ^ /root/JavaX-Caches/tmp_855001399/main.java:113: error: class, interface, or enum expected if (endAnchor != null) { ^ /root/JavaX-Caches/tmp_855001399/main.java:115: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_855001399/main.java:116: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:122: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_855001399/main.java:126: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_855001399/main.java:127: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:132: error: class, interface, or enum expected if (l(branches) != 1) { ^ /root/JavaX-Caches/tmp_855001399/main.java:134: error: class, interface, or enum expected break; ^ /root/JavaX-Caches/tmp_855001399/main.java:135: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_855001399/main.java:137: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:142: error: class, interface, or enum expected addCurve(new Curve(work.anchor, endAnchor, curvePoints)); ^ /root/JavaX-Caches/tmp_855001399/main.java:143: error: class, interface, or enum expected true; ^ /root/JavaX-Caches/tmp_855001399/main.java:144: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:151: error: class, interface, or enum expected if (!pointsSeen.add(p)) true; ^ /root/JavaX-Caches/tmp_855001399/main.java:154: error: class, interface, or enum expected newAnchor(p); ^ /root/JavaX-Caches/tmp_855001399/main.java:155: error: class, interface, or enum expected true; ^ /root/JavaX-Caches/tmp_855001399/main.java:156: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:161: error: class, interface, or enum expected false; ^ /root/JavaX-Caches/tmp_855001399/main.java:162: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:166: error: class, interface, or enum expected anchorMap.put(p, anchor); ^ /root/JavaX-Caches/tmp_855001399/main.java:170: error: class, interface, or enum expected for (Pt p2 : unexploredPointsAround(p)) ^ /root/JavaX-Caches/tmp_855001399/main.java:173: error: class, interface, or enum expected ret anchor; ^ /root/JavaX-Caches/tmp_855001399/main.java:174: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:178: error: class, interface, or enum expected for (int dir = 1; dir <= 8; dir++) { ^ /root/JavaX-Caches/tmp_855001399/main.java:178: error: class, interface, or enum expected for (int dir = 1; dir <= 8; dir++) { ^ /root/JavaX-Caches/tmp_855001399/main.java:178: error: class, interface, or enum expected for (int dir = 1; dir <= 8; dir++) { ^ /root/JavaX-Caches/tmp_855001399/main.java:180: error: class, interface, or enum expected if (region.contains(p2) && !pointsSeen.contains(p2)) ^ /root/JavaX-Caches/tmp_855001399/main.java:182: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:184: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:186: error: class, interface, or enum expected Cl<Pt> anchorPts() { ret keys(anchorMap); } ^ /root/JavaX-Caches/tmp_855001399/main.java:187: error: class, interface, or enum expected Cl<Anchor> anchors() { ret values(anchorMap); } ^ /root/JavaX-Caches/tmp_855001399/main.java:194: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:200: error: class, interface, or enum expected for (Curve curve : cloneList(curves)) { ^ /root/JavaX-Caches/tmp_855001399/main.java:202: error: class, interface, or enum expected if (curve.length() > 3) continue; ^ /root/JavaX-Caches/tmp_855001399/main.java:204: error: class, interface, or enum expected if (debug) print("Removing short loop: " + curve); ^ /root/JavaX-Caches/tmp_855001399/main.java:205: error: class, interface, or enum expected removeCurve(curve); ^ /root/JavaX-Caches/tmp_855001399/main.java:206: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:209: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:214: error: class, interface, or enum expected for (Curve curve : cloneList(curves)) { ^ /root/JavaX-Caches/tmp_855001399/main.java:218: error: class, interface, or enum expected bool keepStartAnchor = curve.start.arity() >= curve.end.arity(); ^ /root/JavaX-Caches/tmp_855001399/main.java:221: error: class, interface, or enum expected removeCurve(curve); ^ /root/JavaX-Caches/tmp_855001399/main.java:224: error: class, interface, or enum expected if (keepStartAnchor) ^ /root/JavaX-Caches/tmp_855001399/main.java:226: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_855001399/main.java:228: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:230: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:234: error: class, interface, or enum expected curve.start.outgoingCurves.remove(curve); ^ /root/JavaX-Caches/tmp_855001399/main.java:235: error: class, interface, or enum expected curve.end.incomingCurves.remove(curve); ^ /root/JavaX-Caches/tmp_855001399/main.java:236: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:242: error: class, interface, or enum expected for (Curve curve : a1.outgoingCurves) { ^ /root/JavaX-Caches/tmp_855001399/main.java:245: error: class, interface, or enum expected curve.path.origin(a2.pt); ^ /root/JavaX-Caches/tmp_855001399/main.java:246: error: class, interface, or enum expected curve.start = a2; ^ /root/JavaX-Caches/tmp_855001399/main.java:247: error: class, interface, or enum expected a2.outgoingCurves.add(curve); ^ /root/JavaX-Caches/tmp_855001399/main.java:248: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:253: error: class, interface, or enum expected curve.end = a2; ^ /root/JavaX-Caches/tmp_855001399/main.java:254: error: class, interface, or enum expected a2.incomingCurves.add(curve); ^ /root/JavaX-Caches/tmp_855001399/main.java:255: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:258: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_855001399/main.java:263: error: class, interface, or enum expected for (Anchor anchor : cloneValues(anchorMap)) { ^ /root/JavaX-Caches/tmp_855001399/main.java:265: error: class, interface, or enum expected if (anchor.isRingAnchor()) continue; ^ /root/JavaX-Caches/tmp_855001399/main.java:268: error: class, interface, or enum expected if (debugDroppingUnnecessaryAnchors) print("Dropping " + anchor); ^ /root/JavaX-Caches/tmp_855001399/main.java:271: error: class, interface, or enum expected L<Curve> curves = concatLists(anchor.incomingCurves, anchor.outgoingCurves); ^ /root/JavaX-Caches/tmp_855001399/main.java:274: error: class, interface, or enum expected Set<Anchor> anchors = concatMapToSet(curves, c -> c.anchors()); ^ /root/JavaX-Caches/tmp_855001399/main.java:275: error: class, interface, or enum expected anchors.remove(this); ^ 100 errors only showing the first 100 errors, of 128 total; use -Xmaxerrs if you would like to see more