Wrote /root/JavaX-Caches/tmp_154195312/main.java - 6471 bytes (written=6471, should be 6471)
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:/root/.tinybrain/snippet-cache/1400546.jar:/root/.tinybrain/snippet-cache/1400547.jar:/root/.tinybrain/snippet-cache/1400548.jar:/root/.tinybrain/snippet-cache/1400555.jar -d /root/JavaX-Caches/tmp_1936858763 /root/JavaX-Caches/tmp_154195312/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_154195312/main.java:1: error: class, interface, or enum expected
persistable sclass G22NetworkElement > MetaWithChangeListeners {
^
/root/JavaX-Caches/tmp_154195312/main.java:6: error: class, interface, or enum expected
settable Rect bounds;
^
/root/JavaX-Caches/tmp_154195312/main.java:9: error: class, interface, or enum expected
settableWithVar S identifier;
^
/root/JavaX-Caches/tmp_154195312/main.java:12: error: class, interface, or enum expected
settableWithVar S code;
^
/root/JavaX-Caches/tmp_154195312/main.java:15: error: class, interface, or enum expected
Map properties = syncMap();
^
/root/JavaX-Caches/tmp_154195312/main.java:18: error: class, interface, or enum expected
settableWithVar bool codeVisible = true;
^
/root/JavaX-Caches/tmp_154195312/main.java:20: error: class, interface, or enum expected
{
^
/root/JavaX-Caches/tmp_154195312/main.java:21: error: class, interface, or enum expected
onChange(-> { network?.change(); });
^
/root/JavaX-Caches/tmp_154195312/main.java:22: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:24: error: '{' expected
class Port extends MetaWithChangeListeners is IUnstructured {
^
/root/JavaX-Caches/tmp_154195312/main.java:26: error: ';' expected
settableWithVar DoublePt position;
^
/root/JavaX-Caches/tmp_154195312/main.java:26: error: expected
settableWithVar DoublePt position;
^
/root/JavaX-Caches/tmp_154195312/main.java:29: error: ';' expected
settableWithVar S name;
^
/root/JavaX-Caches/tmp_154195312/main.java:29: error: expected
settableWithVar S name;
^
/root/JavaX-Caches/tmp_154195312/main.java:32: error: ';' expected
settableWithVar G22NetworkCable cable;
^
/root/JavaX-Caches/tmp_154195312/main.java:32: error: expected
settableWithVar G22NetworkCable cable;
^
/root/JavaX-Caches/tmp_154195312/main.java:35: error: ';' expected
settableWithVar bool isOutput;
^
/root/JavaX-Caches/tmp_154195312/main.java:35: error: expected
settableWithVar bool isOutput;
^
/root/JavaX-Caches/tmp_154195312/main.java:38: error: ';' expected
settableWithVar Class dataType;
^
/root/JavaX-Caches/tmp_154195312/main.java:38: error: expected
settableWithVar Class dataType;
^
/root/JavaX-Caches/tmp_154195312/main.java:40: error: ';' expected
G22NetworkElement element() { ret G22NetworkElement.this; }
^
/root/JavaX-Caches/tmp_154195312/main.java:40: error: not a statement
G22NetworkElement element() { ret G22NetworkElement.this; }
^
/root/JavaX-Caches/tmp_154195312/main.java:42: error: expected
toString {
^
/root/JavaX-Caches/tmp_154195312/main.java:44: error: not a statement
+ " " + quote(name) + " of type " + shortClassName(dataType);
^
/root/JavaX-Caches/tmp_154195312/main.java:50: error: not a statement
if (r == null) null;
^
/root/JavaX-Caches/tmp_154195312/main.java:52: error: ';' expected
ret rect(r.x+iround(position.x*r.w),
^
/root/JavaX-Caches/tmp_154195312/main.java:52: error: not a statement
ret rect(r.x+iround(position.x*r.w),
^
/root/JavaX-Caches/tmp_154195312/main.java:52: error: ';' expected
ret rect(r.x+iround(position.x*r.w),
^
/root/JavaX-Caches/tmp_154195312/main.java:53: error: not a statement
r.y+iround(position.y*r.h),
^
/root/JavaX-Caches/tmp_154195312/main.java:53: error: ';' expected
r.y+iround(position.y*r.h),
^
/root/JavaX-Caches/tmp_154195312/main.java:54: error: not a statement
size, size);
^
/root/JavaX-Caches/tmp_154195312/main.java:54: error: ';' expected
size, size);
^
/root/JavaX-Caches/tmp_154195312/main.java:54: error: not a statement
size, size);
^
/root/JavaX-Caches/tmp_154195312/main.java:54: error: ';' expected
size, size);
^
/root/JavaX-Caches/tmp_154195312/main.java:63: error: '(' expected
void disconnect {
^
/root/JavaX-Caches/tmp_154195312/main.java:64: error: illegal start of expression
cable?.remove();
^
/root/JavaX-Caches/tmp_154195312/main.java:64: error: not a statement
cable?.remove();
^
/root/JavaX-Caches/tmp_154195312/main.java:67: error: ';' expected
bool isConnected() { ret cable != null; }
^
/root/JavaX-Caches/tmp_154195312/main.java:69: error: '(' expected
public void _doneLoading {
^
/root/JavaX-Caches/tmp_154195312/main.java:70: error: illegal start of expression
onChange(-> element().change());
^
/root/JavaX-Caches/tmp_154195312/main.java:70: error: ';' expected
onChange(-> element().change());
^
/root/JavaX-Caches/tmp_154195312/main.java:74: error: class, interface, or enum expected
L ports = syncL();
^
/root/JavaX-Caches/tmp_154195312/main.java:76: error: class, interface, or enum expected
LASCompileResult newCompileResult() { ret new LASCompileResult; }
^
/root/JavaX-Caches/tmp_154195312/main.java:76: error: class, interface, or enum expected
LASCompileResult newCompileResult() { ret new LASCompileResult; }
^
/root/JavaX-Caches/tmp_154195312/main.java:79: error: class, interface, or enum expected
LASCompileResult compile(G22Utils g22utils) {
^
/root/JavaX-Caches/tmp_154195312/main.java:82: error: class, interface, or enum expected
var cr = compileResult;
^
/root/JavaX-Caches/tmp_154195312/main.java:83: error: class, interface, or enum expected
if (cr != null && eq(cr.script, code)) ret cr;
^
/root/JavaX-Caches/tmp_154195312/main.java:84: error: class, interface, or enum expected
cr = newCompileResult();
^
/root/JavaX-Caches/tmp_154195312/main.java:85: error: class, interface, or enum expected
var parser = g22utils.leftArrowParser();
^
/root/JavaX-Caches/tmp_154195312/main.java:86: error: class, interface, or enum expected
configureParser(parser);
^
/root/JavaX-Caches/tmp_154195312/main.java:87: error: class, interface, or enum expected
cr.script(code).parser(parser).compile();
^
/root/JavaX-Caches/tmp_154195312/main.java:88: error: class, interface, or enum expected
ret compileResult = cr;
^
/root/JavaX-Caches/tmp_154195312/main.java:89: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:93: error: class, interface, or enum expected
parser.addVar("instance");
^
/root/JavaX-Caches/tmp_154195312/main.java:94: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:98: error: class, interface, or enum expected
if (compiled == null) null;
^
/root/JavaX-Caches/tmp_154195312/main.java:99: error: class, interface, or enum expected
if (!compiled.runnable()) null;
^
/root/JavaX-Caches/tmp_154195312/main.java:100: error: class, interface, or enum expected
ret compiled!;
^
/root/JavaX-Caches/tmp_154195312/main.java:101: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:105: error: class, interface, or enum expected
if (script == null) ret;
^
/root/JavaX-Caches/tmp_154195312/main.java:107: error: class, interface, or enum expected
new FlexibleVarContext ctx;
^
/root/JavaX-Caches/tmp_154195312/main.java:108: error: class, interface, or enum expected
var f = script.getFunction("configure");
^
/root/JavaX-Caches/tmp_154195312/main.java:109: error: class, interface, or enum expected
if (f != null)
^
/root/JavaX-Caches/tmp_154195312/main.java:111: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:115: error: class, interface, or enum expected
if (script == null) null;
^
/root/JavaX-Caches/tmp_154195312/main.java:117: error: class, interface, or enum expected
new FlexibleVarContext ctx;
^
/root/JavaX-Caches/tmp_154195312/main.java:118: error: class, interface, or enum expected
for (port : ports)
^
/root/JavaX-Caches/tmp_154195312/main.java:121: error: class, interface, or enum expected
if (outputPort != null)
^
/root/JavaX-Caches/tmp_154195312/main.java:123: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:126: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:131: error: class, interface, or enum expected
for (port : ports)
^
/root/JavaX-Caches/tmp_154195312/main.java:134: error: class, interface, or enum expected
if (outputPort != null)
^
/root/JavaX-Caches/tmp_154195312/main.java:136: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:138: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:143: error: class, interface, or enum expected
for (port : ports)
^
/root/JavaX-Caches/tmp_154195312/main.java:146: error: class, interface, or enum expected
if (outputPort != null)
^
/root/JavaX-Caches/tmp_154195312/main.java:148: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:150: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:152: error: class, interface, or enum expected
toString { ret or2(identifier(), "Unnamed element"); }
^
/root/JavaX-Caches/tmp_154195312/main.java:156: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:160: error: class, interface, or enum expected
ports.add(port);
^
/root/JavaX-Caches/tmp_154195312/main.java:161: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:165: error: class, interface, or enum expected
Port p = getPort(name);
^
/root/JavaX-Caches/tmp_154195312/main.java:166: error: class, interface, or enum expected
if (p != null) ret;
^
/root/JavaX-Caches/tmp_154195312/main.java:167: error: class, interface, or enum expected
addPort(new Port().name(name).position(position));
^
/root/JavaX-Caches/tmp_154195312/main.java:168: error: class, interface, or enum expected
change();
^
/root/JavaX-Caches/tmp_154195312/main.java:169: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:173: error: class, interface, or enum expected
if (p != null) ret;
^
/root/JavaX-Caches/tmp_154195312/main.java:174: error: class, interface, or enum expected
addPort(new Port().name(name).position(position)
^
/root/JavaX-Caches/tmp_154195312/main.java:176: error: class, interface, or enum expected
change();
^
/root/JavaX-Caches/tmp_154195312/main.java:177: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:181: error: class, interface, or enum expected
if (p != null) ret;
^
/root/JavaX-Caches/tmp_154195312/main.java:182: error: class, interface, or enum expected
p = new Port().name(name).position(position)
^
/root/JavaX-Caches/tmp_154195312/main.java:184: error: class, interface, or enum expected
addPort(p);
^
/root/JavaX-Caches/tmp_154195312/main.java:185: error: class, interface, or enum expected
print("Made port " + p);
^
/root/JavaX-Caches/tmp_154195312/main.java:186: error: class, interface, or enum expected
change();
^
/root/JavaX-Caches/tmp_154195312/main.java:187: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:192: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:197: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_154195312/main.java:202: error: class, interface, or enum expected
}
^
100 errors
only showing the first 100 errors, of 117 total; use -Xmaxerrs if you would like to see more