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

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

/root/JavaX-Caches/tmp_1408287864/main.java:1: error: class, interface, or enum expected srecord noeq G22MeshMapper_v2(G22Mesh mesh1, G22Mesh mesh2) { ^ /root/JavaX-Caches/tmp_1408287864/main.java:12: error: class, interface, or enum expected G22MeshMapping mm; ^ /root/JavaX-Caches/tmp_1408287864/main.java:16: error: class, interface, or enum expected MultiMap<Int, Anchor> anchorsByArity2; ^ /root/JavaX-Caches/tmp_1408287864/main.java:21: error: class, interface, or enum expected settable O rejectedBecause; ^ /root/JavaX-Caches/tmp_1408287864/main.java:23: error: class, interface, or enum expected bool rejected() { ret rejectedBecause != null; } ^ /root/JavaX-Caches/tmp_1408287864/main.java:23: error: class, interface, or enum expected bool rejected() { ret rejectedBecause != null; } ^ /root/JavaX-Caches/tmp_1408287864/main.java:28: error: class, interface, or enum expected S sig1, sig2; ^ /root/JavaX-Caches/tmp_1408287864/main.java:29: error: class, interface, or enum expected Anchor anchor1; // first anchor to map ^ /root/JavaX-Caches/tmp_1408287864/main.java:31: error: class, interface, or enum expected G22MeshMapping get() { ret mm; } ^ /root/JavaX-Caches/tmp_1408287864/main.java:31: error: class, interface, or enum expected G22MeshMapping get() { ret mm; } ^ /root/JavaX-Caches/tmp_1408287864/main.java:36: error: class, interface, or enum expected while (search_step2()); ^ /root/JavaX-Caches/tmp_1408287864/main.java:37: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1408287864/main.java:41: error: class, interface, or enum expected prechecks(); if (rejected()) ret; ^ /root/JavaX-Caches/tmp_1408287864/main.java:44: error: class, interface, or enum expected mm = new G22MeshMapping(mesh1, mesh2); ^ /root/JavaX-Caches/tmp_1408287864/main.java:46: error: class, interface, or enum expected anchorsByArity2 = multiMapIndex(mesh2.anchors(), a -> a.arity()); ^ /root/JavaX-Caches/tmp_1408287864/main.java:50: error: class, interface, or enum expected Anchor anchor1 = chooseAnchor1AtRandom ? random(mesh1.anchors()) : first(mesh1.anchors()); ^ /root/JavaX-Caches/tmp_1408287864/main.java:54: error: class, interface, or enum expected L<Anchor> options = anchorsByArity2.get(anchor1.arity()); ^ /root/JavaX-Caches/tmp_1408287864/main.java:57: error: class, interface, or enum expected Anchor anchor2 = random(options); ^ /root/JavaX-Caches/tmp_1408287864/main.java:58: error: class, interface, or enum expected print("G22MeshMapper_v2 step1: Connecting " + anchor1 + " to " + anchor2); ^ /root/JavaX-Caches/tmp_1408287864/main.java:59: error: class, interface, or enum expected mapAnchor(anchor1, anchor2); ^ /root/JavaX-Caches/tmp_1408287864/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1408287864/main.java:65: error: class, interface, or enum expected for (curve1 : mesh1.curves()) { ^ /root/JavaX-Caches/tmp_1408287864/main.java:70: error: class, interface, or enum expected print("Looking to match " + curve1); ^ /root/JavaX-Caches/tmp_1408287864/main.java:73: error: class, interface, or enum expected Anchor start2 = mm.get(curve1.start); ^ /root/JavaX-Caches/tmp_1408287864/main.java:74: error: class, interface, or enum expected Anchor end2 = mm.get(curve1.end); ^ /root/JavaX-Caches/tmp_1408287864/main.java:77: error: class, interface, or enum expected if (start2 == null && end2 == null) ^ /root/JavaX-Caches/tmp_1408287864/main.java:81: error: class, interface, or enum expected bool startAtEnd = end2 != null; ^ /root/JavaX-Caches/tmp_1408287864/main.java:82: error: class, interface, or enum expected Anchor a1 = curve1.anchor(startAtEnd); ^ /root/JavaX-Caches/tmp_1408287864/main.java:83: error: class, interface, or enum expected Anchor a1other = curve1.anchor(!startAtEnd); ^ /root/JavaX-Caches/tmp_1408287864/main.java:84: error: class, interface, or enum expected Anchor a2 = mm.get(curve1.anchor(startAtEnd)); ^ /root/JavaX-Caches/tmp_1408287864/main.java:86: error: class, interface, or enum expected print(+a1); ^ /root/JavaX-Caches/tmp_1408287864/main.java:87: error: class, interface, or enum expected print(+a2); ^ /root/JavaX-Caches/tmp_1408287864/main.java:88: error: class, interface, or enum expected print(+a1other); ^ /root/JavaX-Caches/tmp_1408287864/main.java:90: error: class, interface, or enum expected new L<Curve> possibleCurves; ^ /root/JavaX-Caches/tmp_1408287864/main.java:91: error: class, interface, or enum expected for (c2 : a2.curves()) { ^ /root/JavaX-Caches/tmp_1408287864/main.java:96: error: class, interface, or enum expected Anchor a3 = c2.anchorOpposite(a2); ^ /root/JavaX-Caches/tmp_1408287864/main.java:97: error: class, interface, or enum expected print(+a3); ^ /root/JavaX-Caches/tmp_1408287864/main.java:98: error: class, interface, or enum expected int arity1 = a3.arity(), arity2 = a1other.arity(); ^ /root/JavaX-Caches/tmp_1408287864/main.java:99: error: class, interface, or enum expected if (arity1 != arity2) ^ /root/JavaX-Caches/tmp_1408287864/main.java:103: error: class, interface, or enum expected possibleCurves.add(c2); ^ /root/JavaX-Caches/tmp_1408287864/main.java:104: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1408287864/main.java:108: error: class, interface, or enum expected pnl(possibleCurves); ^ /root/JavaX-Caches/tmp_1408287864/main.java:109: error: class, interface, or enum expected if (empty(possibleCurves)) ^ /root/JavaX-Caches/tmp_1408287864/main.java:113: error: class, interface, or enum expected Curve c2 = random(possibleCurves); ^ /root/JavaX-Caches/tmp_1408287864/main.java:114: error: class, interface, or enum expected bool flipped = c2.start() != a2; ^ /root/JavaX-Caches/tmp_1408287864/main.java:115: error: class, interface, or enum expected print("Mapping curve " + curve1 + " to " + c2); ^ /root/JavaX-Caches/tmp_1408287864/main.java:116: error: class, interface, or enum expected mm.mapCurve(curve1, c2, flipped); ^ /root/JavaX-Caches/tmp_1408287864/main.java:117: error: class, interface, or enum expected set change; ^ /root/JavaX-Caches/tmp_1408287864/main.java:118: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1408287864/main.java:121: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1408287864/main.java:125: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1408287864/main.java:128: error: '{' expected class Search extends VStackComputableWithStep<Void> is IMakeEmptyClone { ^ /root/JavaX-Caches/tmp_1408287864/main.java:131: error: not a statement public selfType makeEmptyClone() { ret new selfType; } ^ /root/JavaX-Caches/tmp_1408287864/main.java:131: error: ';' expected public selfType makeEmptyClone() { ret new selfType; } ^ /root/JavaX-Caches/tmp_1408287864/main.java:131: error: '(' or '[' expected public selfType makeEmptyClone() { ret new selfType; } ^ /root/JavaX-Caches/tmp_1408287864/main.java:134: error: ';' expected cast stack to BStack<?>; ^ /root/JavaX-Caches/tmp_1408287864/main.java:134: error: ';' expected cast stack to BStack<?>; ^ /root/JavaX-Caches/tmp_1408287864/main.java:134: error: illegal start of type cast stack to BStack<?>; ^ /root/JavaX-Caches/tmp_1408287864/main.java:134: error: illegal start of expression cast stack to BStack<?>; ^ /root/JavaX-Caches/tmp_1408287864/main.java:134: error: illegal start of expression cast stack to BStack<?>; ^ /root/JavaX-Caches/tmp_1408287864/main.java:162: error: '(' or '[' expected stack.call(new Step2); ^ /root/JavaX-Caches/tmp_1408287864/main.java:168: error: <identifier> expected stack.return(); ^ /root/JavaX-Caches/tmp_1408287864/main.java:168: error: not a statement stack.return(); ^ /root/JavaX-Caches/tmp_1408287864/main.java:168: error: -> expected stack.return(); ^ /root/JavaX-Caches/tmp_1408287864/main.java:173: error: '{' expected class Step2 extends VStackComputableWithStep<Bool> is IMakeEmptyClone { ^ /root/JavaX-Caches/tmp_1408287864/main.java:179: error: not a statement public selfType makeEmptyClone() { ret new selfType; } ^ /root/JavaX-Caches/tmp_1408287864/main.java:179: error: ';' expected public selfType makeEmptyClone() { ret new selfType; } ^ /root/JavaX-Caches/tmp_1408287864/main.java:179: error: '(' or '[' expected public selfType makeEmptyClone() { ret new selfType; } ^ /root/JavaX-Caches/tmp_1408287864/main.java:182: error: ';' expected cast stack to BStack<?>; ^ /root/JavaX-Caches/tmp_1408287864/main.java:182: error: ';' expected cast stack to BStack<?>; ^ /root/JavaX-Caches/tmp_1408287864/main.java:182: error: illegal start of type cast stack to BStack<?>; ^ /root/JavaX-Caches/tmp_1408287864/main.java:182: error: illegal start of expression cast stack to BStack<?>; ^ /root/JavaX-Caches/tmp_1408287864/main.java:182: error: illegal start of expression cast stack to BStack<?>; ^ /root/JavaX-Caches/tmp_1408287864/main.java:189: error: ';' expected ret with stack.return(change); ^ /root/JavaX-Caches/tmp_1408287864/main.java:189: error: variable declaration not allowed here ret with stack.return(change); ^ /root/JavaX-Caches/tmp_1408287864/main.java:189: error: <identifier> expected ret with stack.return(change); ^ /root/JavaX-Caches/tmp_1408287864/main.java:189: error: not a statement ret with stack.return(change); ^ /root/JavaX-Caches/tmp_1408287864/main.java:198: error: not a statement ret; // continue loop ^ /root/JavaX-Caches/tmp_1408287864/main.java:208: error: not a statement ret; // continue loop; ^ /root/JavaX-Caches/tmp_1408287864/main.java:221: error: '(' or '[' expected new L<Curve> possibleCurves; ^ /root/JavaX-Caches/tmp_1408287864/main.java:222: error: bad initializer for for-loop for (c2 : a2.curves()) { ^ /root/JavaX-Caches/tmp_1408287864/main.java:247: error: ';' expected ret with stack.ret(false); ^ /root/JavaX-Caches/tmp_1408287864/main.java:254: error: not a statement ret; ^ /root/JavaX-Caches/tmp_1408287864/main.java:267: error: class, interface, or enum expected protected void prechecks { ^ /root/JavaX-Caches/tmp_1408287864/main.java:269: error: class, interface, or enum expected sig1 = mesh1.signature(); ^ /root/JavaX-Caches/tmp_1408287864/main.java:270: error: class, interface, or enum expected sig2 = mesh1.signature(); ^ /root/JavaX-Caches/tmp_1408287864/main.java:271: error: class, interface, or enum expected if (!eq(sig1, sig2)) ^ /root/JavaX-Caches/tmp_1408287864/main.java:273: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1408287864/main.java:277: error: class, interface, or enum expected ret -> rejectedBecause(null); ^ /root/JavaX-Caches/tmp_1408287864/main.java:278: error: class, interface, or enum expected } ^ 90 errors