Wrote /root/JavaX-Caches/tmp_710549674/main.java - 10204 bytes (written=10204, should be 10204)
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_2067912923 /root/JavaX-Caches/tmp_710549674/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_710549674/main.java:2: error: class, interface, or enum expected
sclass RuleEngine2 {
^
/root/JavaX-Caches/tmp_710549674/main.java:5: error: class, interface, or enum expected
bool isSplitRule; // splitter rather than simplifier
^
/root/JavaX-Caches/tmp_710549674/main.java:6: error: class, interface, or enum expected
bool callOnTree; // function takes GazelleTree rather than S
^
/root/JavaX-Caches/tmp_710549674/main.java:8: error: class, interface, or enum expected
O function() {
^
/root/JavaX-Caches/tmp_710549674/main.java:11: error: class, interface, or enum expected
assertNotNull(_function);
^
/root/JavaX-Caches/tmp_710549674/main.java:12: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:14: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:17: error: class, interface, or enum expected
abstract sclass QuickCheck {
^
/root/JavaX-Caches/tmp_710549674/main.java:18: error: class, interface, or enum expected
abstract bool check(S input);
^
/root/JavaX-Caches/tmp_710549674/main.java:19: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:24: error: class, interface, or enum expected
bool check(S input) { ret cic(input, string); }
^
/root/JavaX-Caches/tmp_710549674/main.java:24: error: class, interface, or enum expected
bool check(S input) { ret cic(input, string); }
^
/root/JavaX-Caches/tmp_710549674/main.java:29: error: class, interface, or enum expected
LS in;
^
/root/JavaX-Caches/tmp_710549674/main.java:30: error: class, interface, or enum expected
S out;
^
/root/JavaX-Caches/tmp_710549674/main.java:31: error: class, interface, or enum expected
LS comments;
^
/root/JavaX-Caches/tmp_710549674/main.java:32: error: class, interface, or enum expected
Set vars;
^
/root/JavaX-Caches/tmp_710549674/main.java:33: error: class, interface, or enum expected
L insWithType;
^
/root/JavaX-Caches/tmp_710549674/main.java:34: error: class, interface, or enum expected
LS outTypes;
^
/root/JavaX-Caches/tmp_710549674/main.java:35: error: class, interface, or enum expected
transient L inputMassagers; // func(S input) -> S for every in
^
/root/JavaX-Caches/tmp_710549674/main.java:36: error: class, interface, or enum expected
transient L checkerFunctions; // func(S input) -> SS for every in
^
/root/JavaX-Caches/tmp_710549674/main.java:37: error: class, interface, or enum expected
transient L matchers; // func(LS tokC, LS tokI, RuleEngine2_MatchedRule) -> SS for every in
^
/root/JavaX-Caches/tmp_710549674/main.java:38: error: class, interface, or enum expected
S text; // original text
^
/root/JavaX-Caches/tmp_710549674/main.java:39: error: class, interface, or enum expected
QuickCheck applicabilityQuickCheck;
^
/root/JavaX-Caches/tmp_710549674/main.java:40: error: class, interface, or enum expected
S purpose = "";
^
/root/JavaX-Caches/tmp_710549674/main.java:41: error: class, interface, or enum expected
Double qualityCutOff;
^
/root/JavaX-Caches/tmp_710549674/main.java:42: error: class, interface, or enum expected
bool avoidRecentlyUsedMappings;
^
/root/JavaX-Caches/tmp_710549674/main.java:46: error: class, interface, or enum expected
L mapMassagers;
^
/root/JavaX-Caches/tmp_710549674/main.java:48: error: class, interface, or enum expected
S asText() {
^
/root/JavaX-Caches/tmp_710549674/main.java:51: error: class, interface, or enum expected
ret join(" \n+ ", in) + " \n=> " + out;
^
/root/JavaX-Caches/tmp_710549674/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:56: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:60: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:64: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:68: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:70: error: class, interface, or enum expected
S outType() { ret first(outTypes); }
^
/root/JavaX-Caches/tmp_710549674/main.java:74: error: class, interface, or enum expected
pcall {
^
/root/JavaX-Caches/tmp_710549674/main.java:76: error: class, interface, or enum expected
if (s != null) qualityCutOff = parseDouble(s);
^
/root/JavaX-Caches/tmp_710549674/main.java:77: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:79: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:83: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:87: error: class, interface, or enum expected
int maxLevel = 100, maxOutLines = 10000;
^
/root/JavaX-Caches/tmp_710549674/main.java:88: error: class, interface, or enum expected
new L rules;
^
/root/JavaX-Caches/tmp_710549674/main.java:89: error: class, interface, or enum expected
bool printMappings, printGroupedData, printRejectedVars;
^
/root/JavaX-Caches/tmp_710549674/main.java:90: error: class, interface, or enum expected
Set facts = ciSet();
^
/root/JavaX-Caches/tmp_710549674/main.java:91: error: class, interface, or enum expected
transient F2 callFunctionOnString = func(S function, S s) -> O { callAndMake(function, s) };
^
/root/JavaX-Caches/tmp_710549674/main.java:92: error: class, interface, or enum expected
bool hasHelpers;
^
/root/JavaX-Caches/tmp_710549674/main.java:94: error: class, interface, or enum expected
*() {}
^
/root/JavaX-Caches/tmp_710549674/main.java:100: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:104: error: class, interface, or enum expected
rules.addAll(engine.rules);
^
/root/JavaX-Caches/tmp_710549674/main.java:105: error: class, interface, or enum expected
hasHelpers = engine.hasHelpers;
^
/root/JavaX-Caches/tmp_710549674/main.java:106: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:110: error: class, interface, or enum expected
for (T3 p : unnull(rulesWithCommentsAndID)) try {
^
/root/JavaX-Caches/tmp_710549674/main.java:112: error: class, interface, or enum expected
if (p2 != null)
^
/root/JavaX-Caches/tmp_710549674/main.java:115: error: class, interface, or enum expected
new SimplifyWithRule r;
^
/root/JavaX-Caches/tmp_710549674/main.java:116: error: class, interface, or enum expected
r.globalID = p.c;
^
/root/JavaX-Caches/tmp_710549674/main.java:117: error: class, interface, or enum expected
r.text = p.a;
^
/root/JavaX-Caches/tmp_710549674/main.java:118: error: class, interface, or enum expected
r.comments = lines(p.b);
^
/root/JavaX-Caches/tmp_710549674/main.java:119: error: class, interface, or enum expected
r.parseGeneralComments();
^
/root/JavaX-Caches/tmp_710549674/main.java:120: error: class, interface, or enum expected
S s = p.a;
^
/root/JavaX-Caches/tmp_710549674/main.java:121: error: class, interface, or enum expected
gazelle_parseInstruction(r);
^
/root/JavaX-Caches/tmp_710549674/main.java:122: error: class, interface, or enum expected
if (r._function == null) continue;
^
/root/JavaX-Caches/tmp_710549674/main.java:123: error: class, interface, or enum expected
rules.add(r);
^
/root/JavaX-Caches/tmp_710549674/main.java:124: error: class, interface, or enum expected
} catch e {
^
/root/JavaX-Caches/tmp_710549674/main.java:126: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:131: error: class, interface, or enum expected
rule = ai_rule_pair_expandPlusArrow(rule);
^
/root/JavaX-Caches/tmp_710549674/main.java:132: error: class, interface, or enum expected
LS conditions = tok_splitAtPlusAtBeginningOfLine(rule.a);
^
/root/JavaX-Caches/tmp_710549674/main.java:133: error: class, interface, or enum expected
new Rule r;
^
/root/JavaX-Caches/tmp_710549674/main.java:134: error: class, interface, or enum expected
r.globalID = globalID;
^
/root/JavaX-Caches/tmp_710549674/main.java:135: error: class, interface, or enum expected
r.text = text;
^
/root/JavaX-Caches/tmp_710549674/main.java:136: error: class, interface, or enum expected
r.comments = lines(comments);
^
/root/JavaX-Caches/tmp_710549674/main.java:137: error: class, interface, or enum expected
r.parseGeneralComments();
^
/root/JavaX-Caches/tmp_710549674/main.java:138: error: class, interface, or enum expected
r.in = conditions;
^
/root/JavaX-Caches/tmp_710549674/main.java:139: error: class, interface, or enum expected
r.insWithType = map(conditions, func(S s) -> GRuleLine { GRuleLine(s, "standard") });
^
/root/JavaX-Caches/tmp_710549674/main.java:143: error: class, interface, or enum expected
for (int i = 0; i < l(r.in); i++) {
^
/root/JavaX-Caches/tmp_710549674/main.java:143: error: class, interface, or enum expected
for (int i = 0; i < l(r.in); i++) {
^
/root/JavaX-Caches/tmp_710549674/main.java:143: error: class, interface, or enum expected
for (int i = 0; i < l(r.in); i++) {
^
/root/JavaX-Caches/tmp_710549674/main.java:145: error: class, interface, or enum expected
continue unless endsWith(s, "");
^
/root/JavaX-Caches/tmp_710549674/main.java:146: error: class, interface, or enum expected
if (eq(s, ""))
^
/root/JavaX-Caches/tmp_710549674/main.java:148: error: class, interface, or enum expected
else if (jmatch("* says: ", javaTokWithBrackets(s))) {
^
/root/JavaX-Caches/tmp_710549674/main.java:150: error: class, interface, or enum expected
r.setInputMassager(i, func(S s) -> S { new Matches m; ret jMatchStart("* says:", javaTokWithBrackets(s), m) ? m.get(0) + " says: " : s; });
^
/root/JavaX-Caches/tmp_710549674/main.java:150: error: class, interface, or enum expected
r.setInputMassager(i, func(S s) -> S { new Matches m; ret jMatchStart("* says:", javaTokWithBrackets(s), m) ? m.get(0) + " says: " : s; });
^
/root/JavaX-Caches/tmp_710549674/main.java:151: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:157: error: class, interface, or enum expected
for (int i = 0; i < l(r.in); i++)
^
/root/JavaX-Caches/tmp_710549674/main.java:157: error: class, interface, or enum expected
for (int i = 0; i < l(r.in); i++)
^
/root/JavaX-Caches/tmp_710549674/main.java:157: error: class, interface, or enum expected
for (int i = 0; i < l(r.in); i++)
^
/root/JavaX-Caches/tmp_710549674/main.java:161: error: class, interface, or enum expected
ret zipCodeTokensToCIMap_strict_withoutEquals(tokC, tokI);
^
/root/JavaX-Caches/tmp_710549674/main.java:162: error: class, interface, or enum expected
}});
^
/root/JavaX-Caches/tmp_710549674/main.java:163: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_710549674/main.java:168: error: class, interface, or enum expected
for (int i = 0; i < l(r.insWithType); i++)
^
/root/JavaX-Caches/tmp_710549674/main.java:168: error: class, interface, or enum expected
for (int i = 0; i < l(r.insWithType); i++)
^
/root/JavaX-Caches/tmp_710549674/main.java:171: error: class, interface, or enum expected
new Matches m;
^
/root/JavaX-Caches/tmp_710549674/main.java:172: error: class, interface, or enum expected
for (S s : r.comments) {
^
/root/JavaX-Caches/tmp_710549674/main.java:174: error: unclosed character literal
&& (startsWith($2, 'statement) || eq($2, 'condition)))
^
/root/JavaX-Caches/tmp_710549674/main.java:174: error: unclosed character literal
&& (startsWith($2, 'statement) || eq($2, 'condition)))
^
/root/JavaX-Caches/tmp_710549674/main.java:176: error: class, interface, or enum expected
else if (jMatchStart("out * =", s, m) && isInteger($1))
^
/root/JavaX-Caches/tmp_710549674/main.java:178: error: class, interface, or enum expected
else if (jMatchStart("out = ", s, m))
^
/root/JavaX-Caches/tmp_710549674/main.java:180: error: class, interface, or enum expected
else if (jMatchStart("in * :", s, m) && isInteger($1)) {
^
/root/JavaX-Caches/tmp_710549674/main.java:182: error: class, interface, or enum expected
S comment = m.rest();
^
/root/JavaX-Caches/tmp_710549674/main.java:183: error: class, interface, or enum expected
GRuleLine line = get(r.insWithType, i);
^
/root/JavaX-Caches/tmp_710549674/main.java:184: error: class, interface, or enum expected
if (line != null) {
^
100 errors
only showing the first 100 errors, of 110 total; use -Xmaxerrs if you would like to see more