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

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

/root/JavaX-Caches/tmp_86910626/main.java:3: error: class, interface, or enum expected concept BoxShot { ^ /root/JavaX-Caches/tmp_86910626/main.java:5: error: class, interface, or enum expected S imageMD5; ^ /root/JavaX-Caches/tmp_86910626/main.java:7: error: class, interface, or enum expected new RefL<TimeRange> timeRanges; ^ /root/JavaX-Caches/tmp_86910626/main.java:8: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_86910626/main.java:12: error: class, interface, or enum expected S comment; ^ /root/JavaX-Caches/tmp_86910626/main.java:13: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_86910626/main.java:17: error: class, interface, or enum expected new L<Rect> discouragedBoxes; ^ /root/JavaX-Caches/tmp_86910626/main.java:18: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_86910626/main.java:22: error: class, interface, or enum expected static int frameHeight = 100; ^ /root/JavaX-Caches/tmp_86910626/main.java:24: error: class, interface, or enum expected volatile bool recognizing = true; ^ /root/JavaX-Caches/tmp_86910626/main.java:25: error: class, interface, or enum expected JFrame frame; ^ /root/JavaX-Caches/tmp_86910626/main.java:26: error: class, interface, or enum expected SingleComponentPanel scp; ^ /root/JavaX-Caches/tmp_86910626/main.java:27: error: class, interface, or enum expected ImageSurface imageSurface; ^ /root/JavaX-Caches/tmp_86910626/main.java:28: error: class, interface, or enum expected FindURLBox1 finder; ^ /root/JavaX-Caches/tmp_86910626/main.java:29: error: class, interface, or enum expected S title = "Find URL Box"; ^ /root/JavaX-Caches/tmp_86910626/main.java:31: error: class, interface, or enum expected BoxShot shot; ^ /root/JavaX-Caches/tmp_86910626/main.java:32: error: class, interface, or enum expected TimeRange timeRange; ^ /root/JavaX-Caches/tmp_86910626/main.java:34: error: class, interface, or enum expected Evaluation > WrongResult {} // This seems to work as inner-inner class, just syntax enhancements get confused ^ /root/JavaX-Caches/tmp_86910626/main.java:42: error: class, interface, or enum expected print("Cleared PNG " + shot.id); ^ /root/JavaX-Caches/tmp_86910626/main.java:43: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_86910626/main.java:48: error: class, interface, or enum expected JComponent feedback = jRightAlignedLine( ^ /root/JavaX-Caches/tmp_86910626/main.java:53: error: class, interface, or enum expected scp = new SingleComponentPanel(jcenteredLabel("-")); ^ /root/JavaX-Caches/tmp_86910626/main.java:54: error: class, interface, or enum expected frame = showFrame(title, centerAndSouth(scp, feedback)); ^ /root/JavaX-Caches/tmp_86910626/main.java:55: error: class, interface, or enum expected setRecognizing(true); ^ /root/JavaX-Caches/tmp_86910626/main.java:56: error: class, interface, or enum expected frameInnerSize(frame, 500, frameHeight); ^ /root/JavaX-Caches/tmp_86910626/main.java:57: error: class, interface, or enum expected moveToBottomRightCorner(frame); ^ /root/JavaX-Caches/tmp_86910626/main.java:58: error: class, interface, or enum expected frame.setAlwaysOnTop(true); ^ /root/JavaX-Caches/tmp_86910626/main.java:60: error: class, interface, or enum expected awtCalcRegularly(frame, 200, 0, r { calc() }); ^ /root/JavaX-Caches/tmp_86910626/main.java:61: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_86910626/main.java:62: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_86910626/main.java:66: error: class, interface, or enum expected finder.encouragedBoxes = uniq(Boxes).encouragedBoxes; ^ /root/JavaX-Caches/tmp_86910626/main.java:67: error: class, interface, or enum expected finder.discouragedBoxes = uniq(Boxes).discouragedBoxes; ^ /root/JavaX-Caches/tmp_86910626/main.java:68: error: class, interface, or enum expected final bool b = finder.go(); ^ /root/JavaX-Caches/tmp_86910626/main.java:69: error: class, interface, or enum expected awt { ^ /root/JavaX-Caches/tmp_86910626/main.java:72: error: class, interface, or enum expected S since = ""; ^ /root/JavaX-Caches/tmp_86910626/main.java:73: error: class, interface, or enum expected if (shot != null && timeRange != null) ^ /root/JavaX-Caches/tmp_86910626/main.java:75: error: class, interface, or enum expected S text = "URL box found in " + finder.recogTime + " ms (" + img.w() + "*" + img.h() + " px" + since + ")"; ^ /root/JavaX-Caches/tmp_86910626/main.java:76: error: class, interface, or enum expected if (imageSurface == null) { ^ /root/JavaX-Caches/tmp_86910626/main.java:78: error: class, interface, or enum expected scp.setComponent(jSection(text, new JScrollPane(imageSurface))); ^ /root/JavaX-Caches/tmp_86910626/main.java:79: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_86910626/main.java:81: error: class, interface, or enum expected setSectionTitle(imageSurface, text); ^ /root/JavaX-Caches/tmp_86910626/main.java:82: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_86910626/main.java:85: error: class, interface, or enum expected shot = findConcept(BoxShot, +imageMD5); ^ /root/JavaX-Caches/tmp_86910626/main.java:86: error: class, interface, or enum expected if (shot == null) { ^ /root/JavaX-Caches/tmp_86910626/main.java:88: error: class, interface, or enum expected logStructure(getProgramFile("md5-png.log"), ^ /root/JavaX-Caches/tmp_86910626/main.java:90: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_86910626/main.java:92: error: class, interface, or enum expected if (shot.timeRanges.contains(timeRange)) ^ /root/JavaX-Caches/tmp_86910626/main.java:94: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_86910626/main.java:96: error: class, interface, or enum expected shot.change(); ^ /root/JavaX-Caches/tmp_86910626/main.java:97: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_86910626/main.java:99: error: class, interface, or enum expected timeRange = null; ^ /root/JavaX-Caches/tmp_86910626/main.java:100: error: class, interface, or enum expected if (imageSurface != null) { ^ /root/JavaX-Caches/tmp_86910626/main.java:102: error: class, interface, or enum expected scp.setComponent(jcenteredLabel("URL box not found (" + finder.recogTime + " ms)")); ^ /root/JavaX-Caches/tmp_86910626/main.java:103: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_86910626/main.java:107: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_86910626/main.java:111: error: class, interface, or enum expected if (addOrMoveToStart(uniq(Boxes).encouragedBoxes, shot.r)) ^ /root/JavaX-Caches/tmp_86910626/main.java:113: error: class, interface, or enum expected feedback(new GoodResult); ^ /root/JavaX-Caches/tmp_86910626/main.java:114: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_86910626/main.java:119: error: class, interface, or enum expected feedback(new WrongResult); ^ /root/JavaX-Caches/tmp_86910626/main.java:120: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_86910626/main.java:124: error: class, interface, or enum expected uniq(Boxes).discouragedBoxes.clear(); ^ /root/JavaX-Caches/tmp_86910626/main.java:125: error: class, interface, or enum expected uniq(Boxes).change(); ^ /root/JavaX-Caches/tmp_86910626/main.java:126: error: class, interface, or enum expected finder.reset(); ^ /root/JavaX-Caches/tmp_86910626/main.java:127: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_86910626/main.java:129: error: class, interface, or enum expected void feedback(final Evaluation ev) { ^ /root/JavaX-Caches/tmp_86910626/main.java:131: error: class, interface, or enum expected thread "Feedback" { ^ /root/JavaX-Caches/tmp_86910626/main.java:134: error: class, interface, or enum expected mainConcepts.save(); ^ /root/JavaX-Caches/tmp_86910626/main.java:135: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_86910626/main.java:140: error: class, interface, or enum expected frameIcon(frame, b ? #1006287 : #1006286); ^ /root/JavaX-Caches/tmp_86910626/main.java:140: error: illegal character: '#' frameIcon(frame, b ? #1006287 : #1006286); ^ /root/JavaX-Caches/tmp_86910626/main.java:140: error: illegal character: '#' frameIcon(frame, b ? #1006287 : #1006286); ^ /root/JavaX-Caches/tmp_86910626/main.java:141: error: class, interface, or enum expected setFrameTitle(frame, (b ? "[Watching] " : " [Paused] ") ^ /root/JavaX-Caches/tmp_86910626/main.java:143: error: class, interface, or enum expected } ^ 73 errors