Wrote /root/JavaX-Caches/tmp_1987021913/main.java - 978 bytes (written=978, should be 978)
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_1776083135 /root/JavaX-Caches/tmp_1987021913/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1987021913/main.java:1: error: class, interface, or enum expected
please include function drawThoughtLine.
^
/root/JavaX-Caches/tmp_1987021913/main.java:3: error: illegal character: '#'
!include once #1010984 // drawThoughtLineText_shift
^
/root/JavaX-Caches/tmp_1987021913/main.java:11: error: class, interface, or enum expected
g.setColor(color);
^
/root/JavaX-Caches/tmp_1987021913/main.java:12: error: class, interface, or enum expected
g.setFont(sansSerif(20));
^
/root/JavaX-Caches/tmp_1987021913/main.java:14: error: class, interface, or enum expected
int w1 = img_minOfWidthAndHeight(img1);
^
/root/JavaX-Caches/tmp_1987021913/main.java:15: error: class, interface, or enum expected
int w2 = img_minOfWidthAndHeight(img2);
^
/root/JavaX-Caches/tmp_1987021913/main.java:16: error: class, interface, or enum expected
int sideShift = (w1-w2)/4;
^
/root/JavaX-Caches/tmp_1987021913/main.java:17: error: class, interface, or enum expected
int len = vectorLength(x2-x1, y2-y1);
^
/root/JavaX-Caches/tmp_1987021913/main.java:18: error: class, interface, or enum expected
int dx = iround(sideShift*(x2-x1)/len), dy = iround(sideShift*(y2-y1)/len);
^
/root/JavaX-Caches/tmp_1987021913/main.java:19: error: class, interface, or enum expected
x1 += dx; x2 += dx;
^
/root/JavaX-Caches/tmp_1987021913/main.java:19: error: class, interface, or enum expected
x1 += dx; x2 += dx;
^
/root/JavaX-Caches/tmp_1987021913/main.java:20: error: class, interface, or enum expected
y1 += dy; y2 += dy;
^
/root/JavaX-Caches/tmp_1987021913/main.java:20: error: class, interface, or enum expected
y1 += dy; y2 += dy;
^
/root/JavaX-Caches/tmp_1987021913/main.java:22: error: class, interface, or enum expected
FontMetrics fm = g.getFontMetrics();
^
/root/JavaX-Caches/tmp_1987021913/main.java:23: error: class, interface, or enum expected
int lineHeight = fm.getHeight();
^
/root/JavaX-Caches/tmp_1987021913/main.java:25: error: class, interface, or enum expected
float yshift = 0;
^
/root/JavaX-Caches/tmp_1987021913/main.java:26: error: class, interface, or enum expected
for (S line : reversed(lines(text))) {
^
/root/JavaX-Caches/tmp_1987021913/main.java:28: error: class, interface, or enum expected
yshift -= lineHeight;
^
/root/JavaX-Caches/tmp_1987021913/main.java:29: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1987021913/main.java:32: error: class, interface, or enum expected
}
^
20 errors