Wrote /root/JavaX-Caches/tmp_1642739119/main.java - 16189 bytes (written=16189, should be 16189)
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_2134349899 /root/JavaX-Caches/tmp_1642739119/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1642739119/main.java:1: error: class, interface, or enum expected
switchable double bot_maxPollSeconds = 600;
^
/root/JavaX-Caches/tmp_1642739119/main.java:2: error: class, interface, or enum expected
switchable int bot_pollInterval = 500;
^
/root/JavaX-Caches/tmp_1642739119/main.java:4: error: class, interface, or enum expected
Class extends Concept> defaultCRUDClass() {
^
/root/JavaX-Caches/tmp_1642739119/main.java:6: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:11: error: class, interface, or enum expected
S uri = dropTrailingSlashIfNemptyAfterwards(req.uri);
^
/root/JavaX-Caches/tmp_1642739119/main.java:13: error: class, interface, or enum expected
if (eq(uri, "/admin"))
^
/root/JavaX-Caches/tmp_1642739119/main.java:16: error: class, interface, or enum expected
if (eq(uri, "/latestPost")) {
^
/root/JavaX-Caches/tmp_1642739119/main.java:18: error: class, interface, or enum expected
if (post == null) ret serve404("No posts in database");
^
/root/JavaX-Caches/tmp_1642739119/main.java:19: error: class, interface, or enum expected
ret servePost(post, req);
^
/root/JavaX-Caches/tmp_1642739119/main.java:20: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:24: error: class, interface, or enum expected
if (post == null) ret serve404("No posts in database");
^
/root/JavaX-Caches/tmp_1642739119/main.java:25: error: class, interface, or enum expected
ret servePost(post, req);
^
/root/JavaX-Caches/tmp_1642739119/main.java:26: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:30: error: class, interface, or enum expected
framer().navBeforeTitle = true;
^
/root/JavaX-Caches/tmp_1642739119/main.java:31: error: class, interface, or enum expected
framer().title = "Root Posts";
^
/root/JavaX-Caches/tmp_1642739119/main.java:32: error: class, interface, or enum expected
framer().add(ul(lmap postToHTMLWithDate(posts)));
^
/root/JavaX-Caches/tmp_1642739119/main.java:33: error: class, interface, or enum expected
ret framer().render();
^
/root/JavaX-Caches/tmp_1642739119/main.java:34: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:38: error: class, interface, or enum expected
framer().navBeforeTitle = true;
^
/root/JavaX-Caches/tmp_1642739119/main.java:39: error: class, interface, or enum expected
framer().title = "All Posts";
^
/root/JavaX-Caches/tmp_1642739119/main.java:40: error: class, interface, or enum expected
framer().add(ul(lmap postToHTMLWithDate(posts)));
^
/root/JavaX-Caches/tmp_1642739119/main.java:41: error: class, interface, or enum expected
ret framer().render();
^
/root/JavaX-Caches/tmp_1642739119/main.java:42: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:46: error: class, interface, or enum expected
framer().navBeforeTitle = true;
^
/root/JavaX-Caches/tmp_1642739119/main.java:47: error: class, interface, or enum expected
framer().title = "Latest Posts & Replies";
^
/root/JavaX-Caches/tmp_1642739119/main.java:48: error: class, interface, or enum expected
framer().add(ul(lmap postToHTMLWithDate(posts)));
^
/root/JavaX-Caches/tmp_1642739119/main.java:49: error: class, interface, or enum expected
ret framer().render();
^
/root/JavaX-Caches/tmp_1642739119/main.java:50: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:54: error: class, interface, or enum expected
framer().navBeforeTitle = true;
^
/root/JavaX-Caches/tmp_1642739119/main.java:55: error: class, interface, or enum expected
framer().title = "Latest Modified Posts & Replies";
^
/root/JavaX-Caches/tmp_1642739119/main.java:56: error: class, interface, or enum expected
framer().add(ul(lmap postToHTMLWithDate(posts)));
^
/root/JavaX-Caches/tmp_1642739119/main.java:57: error: class, interface, or enum expected
ret framer().render();
^
/root/JavaX-Caches/tmp_1642739119/main.java:58: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:62: error: class, interface, or enum expected
framer().navBeforeTitle = true;
^
/root/JavaX-Caches/tmp_1642739119/main.java:63: error: class, interface, or enum expected
framer().title = "Main Posts";
^
/root/JavaX-Caches/tmp_1642739119/main.java:64: error: class, interface, or enum expected
framer().add(ul(lmap postToHTMLWithDate(posts)));
^
/root/JavaX-Caches/tmp_1642739119/main.java:65: error: class, interface, or enum expected
ret framer().render();
^
/root/JavaX-Caches/tmp_1642739119/main.java:66: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:70: error: class, interface, or enum expected
ret serveHTMLPost(id);
^
/root/JavaX-Caches/tmp_1642739119/main.java:71: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:75: error: class, interface, or enum expected
UserPost post = getConcept UserPost(id);
^
/root/JavaX-Caches/tmp_1642739119/main.java:76: error: class, interface, or enum expected
if (post == null) ret serve404("Post not found");
^
/root/JavaX-Caches/tmp_1642739119/main.java:78: error: class, interface, or enum expected
HTMLFramer1 framer = framer();
^
/root/JavaX-Caches/tmp_1642739119/main.java:79: error: class, interface, or enum expected
framer.title = "[" + post.id + "] " + or2(post.title, shorten(post.text));
^
/root/JavaX-Caches/tmp_1642739119/main.java:80: error: class, interface, or enum expected
framer.add(hcomment("Post begins here") + "\n" + post.text + "\n" + hcomment("Post ends here"));
^
/root/JavaX-Caches/tmp_1642739119/main.java:82: error: class, interface, or enum expected
ret framer.render();
^
/root/JavaX-Caches/tmp_1642739119/main.java:83: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:87: error: class, interface, or enum expected
UserPost post = getConcept UserPost(id);
^
/root/JavaX-Caches/tmp_1642739119/main.java:88: error: class, interface, or enum expected
if (post == null) ret serve404("Post not found");
^
/root/JavaX-Caches/tmp_1642739119/main.java:89: error: class, interface, or enum expected
ret serveWithContentType(post.text, "text/css");
^
/root/JavaX-Caches/tmp_1642739119/main.java:90: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:94: error: class, interface, or enum expected
S q = trim(req.params.get("q"));
^
/root/JavaX-Caches/tmp_1642739119/main.java:95: error: class, interface, or enum expected
framer().title = joinNemptiesWithColon("Search", q);
^
/root/JavaX-Caches/tmp_1642739119/main.java:96: error: class, interface, or enum expected
framer().add(hcomment("cookie: " + req.webRequest.cookie()));
^
/root/JavaX-Caches/tmp_1642739119/main.java:97: error: class, interface, or enum expected
framer().add(hform(hinputfield(+q, autofocus := true) + " " + hsubmit("Search")));
^
/root/JavaX-Caches/tmp_1642739119/main.java:98: error: class, interface, or enum expected
framer().add(p(small("Search help: If you search for multiple words, they can appear in any order in the text. An underscore matches any character. Plus means space. Post titles, texts and types are searched.")));
^
/root/JavaX-Caches/tmp_1642739119/main.java:100: error: class, interface, or enum expected
if (nempty(q)) {
^
/root/JavaX-Caches/tmp_1642739119/main.java:102: error: class, interface, or enum expected
long id = parseLongOpt_pcall(q);
^
/root/JavaX-Caches/tmp_1642739119/main.java:103: error: class, interface, or enum expected
for (UserPost post)
^
/root/JavaX-Caches/tmp_1642739119/main.java:109: error: class, interface, or enum expected
L posts = searcher!;
^
/root/JavaX-Caches/tmp_1642739119/main.java:110: error: class, interface, or enum expected
framer().add(p(b(addPlusToCount(searcher.maxResults, l(posts), nPosts(posts))
^
/root/JavaX-Caches/tmp_1642739119/main.java:112: error: class, interface, or enum expected
framer().add(ul(lmap postToHTMLWithDate(posts)));
^
/root/JavaX-Caches/tmp_1642739119/main.java:113: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:116: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:121: error: class, interface, or enum expected
if (post == null) ret serveJSON(ll());
^
/root/JavaX-Caches/tmp_1642739119/main.java:122: error: class, interface, or enum expected
Cl refs = referencingPosts(post);
^
/root/JavaX-Caches/tmp_1642739119/main.java:127: error: class, interface, or enum expected
ret serveJSON(map(refs, p -> litorderedmap(
^
/root/JavaX-Caches/tmp_1642739119/main.java:133: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:137: error: class, interface, or enum expected
UserPost post = getConcept UserPost(id);
^
/root/JavaX-Caches/tmp_1642739119/main.java:138: error: class, interface, or enum expected
if (post == null) ret serve404("Post not found");
^
/root/JavaX-Caches/tmp_1642739119/main.java:139: error: class, interface, or enum expected
if (!canEditPost(post)) ret "You are not authorized to do this";
^
/root/JavaX-Caches/tmp_1642739119/main.java:140: error: class, interface, or enum expected
touchConcept(post);
^
/root/JavaX-Caches/tmp_1642739119/main.java:141: error: class, interface, or enum expected
ret hscript([[setTimeout('history.go(-1)', 1000);]]) + "Post " + post.id + " touched";
^
/root/JavaX-Caches/tmp_1642739119/main.java:141: error: unclosed character literal
ret hscript([[setTimeout('history.go(-1)', 1000);]]) + "Post " + post.id + " touched";
^
/root/JavaX-Caches/tmp_1642739119/main.java:141: error: unclosed character literal
ret hscript([[setTimeout('history.go(-1)', 1000);]]) + "Post " + post.id + " touched";
^
/root/JavaX-Caches/tmp_1642739119/main.java:141: error: class, interface, or enum expected
ret hscript([[setTimeout('history.go(-1)', 1000);]]) + "Post " + post.id + " touched";
^
/root/JavaX-Caches/tmp_1642739119/main.java:142: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:146: error: class, interface, or enum expected
UserPost post = getConcept UserPost(id);
^
/root/JavaX-Caches/tmp_1642739119/main.java:147: error: class, interface, or enum expected
if (post == null) ret serve404("Post not found");
^
/root/JavaX-Caches/tmp_1642739119/main.java:148: error: class, interface, or enum expected
if (!canEditPost(post)) ret "You are not authorized to do this";
^
/root/JavaX-Caches/tmp_1642739119/main.java:149: error: class, interface, or enum expected
cset(post, hidden := true);
^
/root/JavaX-Caches/tmp_1642739119/main.java:150: error: class, interface, or enum expected
ret hrefresh(postLink(post));
^
/root/JavaX-Caches/tmp_1642739119/main.java:151: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:155: error: class, interface, or enum expected
UserPost post = getConcept UserPost(id);
^
/root/JavaX-Caches/tmp_1642739119/main.java:156: error: class, interface, or enum expected
if (post == null) ret serve404("Post not found");
^
/root/JavaX-Caches/tmp_1642739119/main.java:157: error: class, interface, or enum expected
if (!canEditPost(post)) ret "You are not authorized to do this";
^
/root/JavaX-Caches/tmp_1642739119/main.java:158: error: class, interface, or enum expected
cset(post, hidden := false);
^
/root/JavaX-Caches/tmp_1642739119/main.java:159: error: class, interface, or enum expected
ret hrefresh(postLink(post));
^
/root/JavaX-Caches/tmp_1642739119/main.java:160: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:164: error: class, interface, or enum expected
UserPost post = getConcept UserPost(id);
^
/root/JavaX-Caches/tmp_1642739119/main.java:165: error: class, interface, or enum expected
if (post == null) ret serve404("Post not found");
^
/root/JavaX-Caches/tmp_1642739119/main.java:166: error: class, interface, or enum expected
UserPost codePost = optCast UserPost(first(post.postRefs));
^
/root/JavaX-Caches/tmp_1642739119/main.java:167: error: class, interface, or enum expected
if (codePost == null) ret "Code post not found";
^
/root/JavaX-Caches/tmp_1642739119/main.java:168: error: class, interface, or enum expected
if (!canEditPost(codePost)) ret "You are not authorized to do this";
^
/root/JavaX-Caches/tmp_1642739119/main.java:171: error: class, interface, or enum expected
uniqCI UserPost(creator := currentUser(), text := "Mark safe", postRefs := ll(post));
^
/root/JavaX-Caches/tmp_1642739119/main.java:173: error: class, interface, or enum expected
sleepSeconds(6); // allow bot to react
^
/root/JavaX-Caches/tmp_1642739119/main.java:176: error: class, interface, or enum expected
touchConcept(codePost);
^
/root/JavaX-Caches/tmp_1642739119/main.java:177: error: class, interface, or enum expected
ret hrefresh(postLink(codePost));
^
/root/JavaX-Caches/tmp_1642739119/main.java:178: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1642739119/main.java:182: error: class, interface, or enum expected
for (Conversation c)
^
100 errors
only showing the first 100 errors, of 225 total; use -Xmaxerrs if you would like to see more