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

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

/root/JavaX-Caches/tmp_1245188840/main.java:1: error: class, interface, or enum expected srecord noeq G22ChallengePanel(G22Challenge challenge) extends HasChangeListeners is Swingable { ^ /root/JavaX-Caches/tmp_1245188840/main.java:5: error: class, interface, or enum expected transient DynamicHStack imagesPanel; ^ /root/JavaX-Caches/tmp_1245188840/main.java:6: error: class, interface, or enum expected transient L<Entry> entries = syncL(); ^ /root/JavaX-Caches/tmp_1245188840/main.java:7: error: class, interface, or enum expected transient JComponent imagesSection; ^ /root/JavaX-Caches/tmp_1245188840/main.java:8: error: class, interface, or enum expected transient GazelleV_LeftArrowScript.Script parsedScript; ^ /root/JavaX-Caches/tmp_1245188840/main.java:9: error: class, interface, or enum expected settableWithChange Set<Class> solutionTypes = syncSet(); ^ /root/JavaX-Caches/tmp_1245188840/main.java:10: error: class, interface, or enum expected transient JButton btnShowSolutions; ^ /root/JavaX-Caches/tmp_1245188840/main.java:11: error: class, interface, or enum expected transient G22LAScriptIDE<G22RecognizerScript> recognizerIDE; ^ /root/JavaX-Caches/tmp_1245188840/main.java:13: error: class, interface, or enum expected transient settable G22Utils g22utils; ^ /root/JavaX-Caches/tmp_1245188840/main.java:14: error: class, interface, or enum expected settable bool autoRunChallenge; ^ /root/JavaX-Caches/tmp_1245188840/main.java:15: error: class, interface, or enum expected settable double timeoutToMakeAnImage = 10.0; ^ /root/JavaX-Caches/tmp_1245188840/main.java:16: error: class, interface, or enum expected settable double timeoutToRecognizeAnImage = 10.0; ^ /root/JavaX-Caches/tmp_1245188840/main.java:17: error: class, interface, or enum expected settable int imagesToPaint = 3; ^ /root/JavaX-Caches/tmp_1245188840/main.java:18: error: class, interface, or enum expected settable int interval = 100; ^ /root/JavaX-Caches/tmp_1245188840/main.java:19: error: class, interface, or enum expected settable int imageDisplaySize = 100; ^ /root/JavaX-Caches/tmp_1245188840/main.java:20: error: class, interface, or enum expected settable Color imageBorderColor1 = Color.green; ^ /root/JavaX-Caches/tmp_1245188840/main.java:21: error: class, interface, or enum expected settable Color imageBorderColor2 = Color.red; ^ /root/JavaX-Caches/tmp_1245188840/main.java:22: error: class, interface, or enum expected settable int imageBorderSize = 1; ^ /root/JavaX-Caches/tmp_1245188840/main.java:24: error: class, interface, or enum expected void init { ^ /root/JavaX-Caches/tmp_1245188840/main.java:28: error: class, interface, or enum expected recognizerIDE.modifyIDE = ide -> { ^ /root/JavaX-Caches/tmp_1245188840/main.java:31: error: class, interface, or enum expected var script = compileResult.parsedScript; ^ /root/JavaX-Caches/tmp_1245188840/main.java:32: error: class, interface, or enum expected if (script == null) ret; ^ /root/JavaX-Caches/tmp_1245188840/main.java:34: error: class, interface, or enum expected var bg = g22utils.backgroundProcessesUI(); ^ /root/JavaX-Caches/tmp_1245188840/main.java:35: error: class, interface, or enum expected temp bg?.tempAdd("Run recognizer on " + challenge); ^ /root/JavaX-Caches/tmp_1245188840/main.java:37: error: class, interface, or enum expected new FlexibleVarContext ctx; ^ /root/JavaX-Caches/tmp_1245188840/main.java:39: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1245188840/main.java:41: error: class, interface, or enum expected long time = sysNow(); ^ /root/JavaX-Caches/tmp_1245188840/main.java:42: error: class, interface, or enum expected for (Entry entry : filter(entries, e -> e.image != null)) { ^ /root/JavaX-Caches/tmp_1245188840/main.java:44: error: class, interface, or enum expected var result = okOrError(-> ^ /root/JavaX-Caches/tmp_1245188840/main.java:48: error: class, interface, or enum expected results.add(result); ^ /root/JavaX-Caches/tmp_1245188840/main.java:49: error: class, interface, or enum expected entry.computerResult(result); ^ /root/JavaX-Caches/tmp_1245188840/main.java:50: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1245188840/main.java:52: error: class, interface, or enum expected ide.showScriptResult(OKOrError.ok("Got " + nResults(results) + " in " + formatSeconds(time, 3) + " s")); ^ /root/JavaX-Caches/tmp_1245188840/main.java:53: error: class, interface, or enum expected } catch print e { ^ /root/JavaX-Caches/tmp_1245188840/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1245188840/main.java:57: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_1245188840/main.java:58: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1245188840/main.java:63: error: class, interface, or enum expected imagesPanel = (DynamicHStack) dynamicHStack().spacing(20); ^ /root/JavaX-Caches/tmp_1245188840/main.java:64: error: class, interface, or enum expected awtCalcEvery(imagesPanel, interval, r _paintAnImage); ^ /root/JavaX-Caches/tmp_1245188840/main.java:66: error: class, interface, or enum expected ret withCenteredBoldTitle("Challenge: " + challenge, ^ /root/JavaX-Caches/tmp_1245188840/main.java:84: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1245188840/main.java:88: error: class, interface, or enum expected if (l(entries) >= imagesToPaint) ret; ^ /root/JavaX-Caches/tmp_1245188840/main.java:90: error: class, interface, or enum expected int index = l(entries)+1; ^ /root/JavaX-Caches/tmp_1245188840/main.java:91: error: class, interface, or enum expected Entry entry = new(index, (int) (randomSeed+index-1)); ^ /root/JavaX-Caches/tmp_1245188840/main.java:92: error: class, interface, or enum expected entries.add(entry); ^ /root/JavaX-Caches/tmp_1245188840/main.java:94: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1245188840/main.java:97: error: class, interface, or enum expected var cleared = challenge.clearedForAutoRun(); ^ /root/JavaX-Caches/tmp_1245188840/main.java:98: error: class, interface, or enum expected parsedScript = parser.parse(cleared?!); ^ /root/JavaX-Caches/tmp_1245188840/main.java:99: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1245188840/main.java:102: error: class, interface, or enum expected var returnedObject = evalWithTimeoutOrTypedException(timeoutToMakeAnImage, -> { ^ /root/JavaX-Caches/tmp_1245188840/main.java:104: error: class, interface, or enum expected ret parsedScript.get(ctx); ^ /root/JavaX-Caches/tmp_1245188840/main.java:105: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_1245188840/main.java:109: error: class, interface, or enum expected if (returnedObject == null) ^ /root/JavaX-Caches/tmp_1245188840/main.java:111: error: class, interface, or enum expected if (returnedObject == null) ^ /root/JavaX-Caches/tmp_1245188840/main.java:116: error: class, interface, or enum expected if (returnedObject instanceof MakesBufferedImage ^ /root/JavaX-Caches/tmp_1245188840/main.java:120: error: class, interface, or enum expected if (returnedObject cast BufferedImage) { ^ /root/JavaX-Caches/tmp_1245188840/main.java:122: error: class, interface, or enum expected updateSolutionType(entry.solution); ^ /root/JavaX-Caches/tmp_1245188840/main.java:123: error: class, interface, or enum expected addImage(entry, returnedObject); ^ /root/JavaX-Caches/tmp_1245188840/main.java:124: error: class, interface, or enum expected } else if (returnedObject == null) ^ /root/JavaX-Caches/tmp_1245188840/main.java:126: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1245188840/main.java:128: error: class, interface, or enum expected } catch print e { ^ /root/JavaX-Caches/tmp_1245188840/main.java:130: error: class, interface, or enum expected addImage(entry, null, jSmallErrorView(e)); ^ /root/JavaX-Caches/tmp_1245188840/main.java:131: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_1245188840/main.java:133: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1245188840/main.java:138: error: class, interface, or enum expected addAndRevalidate(imagesPanel, component); ^ /root/JavaX-Caches/tmp_1245188840/main.java:139: error: class, interface, or enum expected setSectionTitle(imagesSection, firstToUpper(nImages(entries)) + " calculated"); ^ /root/JavaX-Caches/tmp_1245188840/main.java:140: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1245188840/main.java:144: error: class, interface, or enum expected addImage(entry, image, new EntryComponent(entry).visualize()); ^ /root/JavaX-Caches/tmp_1245188840/main.java:145: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1245188840/main.java:149: error: class, interface, or enum expected *(Entry *entry) { entry.entryComponent(this); } ^ /root/JavaX-Caches/tmp_1245188840/main.java:152: error: class, interface, or enum expected SingleComponentPanel scpComputerResult = singleComponentPanel(); ^ /root/JavaX-Caches/tmp_1245188840/main.java:153: error: class, interface, or enum expected SingleComponentPanel scpCheckmark = singleComponentPanel(); ^ /root/JavaX-Caches/tmp_1245188840/main.java:155: error: class, interface, or enum expected visualize { ^ /root/JavaX-Caches/tmp_1245188840/main.java:157: error: class, interface, or enum expected double scale = calcFitScale(image, imageDisplaySize); ^ /root/JavaX-Caches/tmp_1245188840/main.java:158: error: class, interface, or enum expected var image2 = scaleImageWithOp(image, scale, ^ /root/JavaX-Caches/tmp_1245188840/main.java:160: error: class, interface, or enum expected for (color : ll(imageBorderColor1, imageBorderColor2)) ^ /root/JavaX-Caches/tmp_1245188840/main.java:162: error: class, interface, or enum expected S toolTip = "Image " + n2(entry.index) + " of " + challenge + " (seed " + n2(entry.seed) + ", " + image.getWidth() + "*" + image.getHeight() + " px)"; ^ /root/JavaX-Caches/tmp_1245188840/main.java:163: error: class, interface, or enum expected JButton b = withToolTip(toolTip, jimageButton(image2)); ^ /root/JavaX-Caches/tmp_1245188840/main.java:164: error: class, interface, or enum expected setMargin(10, b); ^ /root/JavaX-Caches/tmp_1245188840/main.java:165: error: class, interface, or enum expected ret centerAndSouthWithMargin(b, ^ /root/JavaX-Caches/tmp_1245188840/main.java:167: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1245188840/main.java:171: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1245188840/main.java:173: error: class, interface, or enum expected } catch e { ^ /root/JavaX-Caches/tmp_1245188840/main.java:175: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1245188840/main.java:177: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1245188840/main.java:181: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1245188840/main.java:189: error: class, interface, or enum expected scpCheckmark.set(entry.computerIsCorrect() ? jImage_scaledToHeight(32, checkmarkIconID(), "Computer is correct!!") : null); ^ /root/JavaX-Caches/tmp_1245188840/main.java:190: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1245188840/main.java:196: error: ';' expected settable BufferedImage image; ^ /root/JavaX-Caches/tmp_1245188840/main.java:196: error: <identifier> expected settable BufferedImage image; ^ /root/JavaX-Caches/tmp_1245188840/main.java:197: error: ';' expected settable Throwable error; ^ /root/JavaX-Caches/tmp_1245188840/main.java:197: error: <identifier> expected settable Throwable error; ^ /root/JavaX-Caches/tmp_1245188840/main.java:198: error: ';' expected settable O solution; ^ /root/JavaX-Caches/tmp_1245188840/main.java:198: error: <identifier> expected settable O solution; ^ /root/JavaX-Caches/tmp_1245188840/main.java:200: error: ';' expected settable bool calculating = true; ^ /root/JavaX-Caches/tmp_1245188840/main.java:200: error: <identifier> expected settable bool calculating = true; ^ /root/JavaX-Caches/tmp_1245188840/main.java:201: error: ';' expected settable JComponent component; ^ /root/JavaX-Caches/tmp_1245188840/main.java:201: error: <identifier> expected settable JComponent component; ^ /root/JavaX-Caches/tmp_1245188840/main.java:202: error: ';' expected settable EntryComponent entryComponent; ^ /root/JavaX-Caches/tmp_1245188840/main.java:202: error: <identifier> expected settable EntryComponent entryComponent; ^ 100 errors only showing the first 100 errors, of 121 total; use -Xmaxerrs if you would like to see more