Wrote /root/JavaX-Caches/tmp_461031725/main.java - 1199 bytes (written=1199, should be 1199)
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_1064393079 /root/JavaX-Caches/tmp_461031725/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_461031725/main.java:1: error: class, interface, or enum expected
static int copyFileToPhone_chunkSize = 500000; // see #1004128
^
/root/JavaX-Caches/tmp_461031725/main.java:3: error: class, interface, or enum expected
static void copyFileToPhone(S localPath, S destPath, bool withContinue) {
^
/root/JavaX-Caches/tmp_461031725/main.java:5: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_461031725/main.java:9: error: class, interface, or enum expected
if (destPath.endsWith("/")) destPath += f.getName();
^
/root/JavaX-Caches/tmp_461031725/main.java:11: error: class, interface, or enum expected
long i = 0;
^
/root/JavaX-Caches/tmp_461031725/main.java:12: error: class, interface, or enum expected
long len = f.length();
^
/root/JavaX-Caches/tmp_461031725/main.java:13: error: class, interface, or enum expected
DialogIO io = talkTo(gateway(), 4999);
^
/root/JavaX-Caches/tmp_461031725/main.java:14: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_461031725/main.java:17: error: class, interface, or enum expected
if (i == len) { print("File fully copied"); ret; }
^
/root/JavaX-Caches/tmp_461031725/main.java:17: error: class, interface, or enum expected
if (i == len) { print("File fully copied"); ret; }
^
/root/JavaX-Caches/tmp_461031725/main.java:17: error: class, interface, or enum expected
if (i == len) { print("File fully copied"); ret; }
^
/root/JavaX-Caches/tmp_461031725/main.java:21: error: class, interface, or enum expected
for (; i < len; i += copyFileToPhone_chunkSize) {
^
/root/JavaX-Caches/tmp_461031725/main.java:21: error: class, interface, or enum expected
for (; i < len; i += copyFileToPhone_chunkSize) {
^
/root/JavaX-Caches/tmp_461031725/main.java:21: error: class, interface, or enum expected
for (; i < len; i += copyFileToPhone_chunkSize) {
^
/root/JavaX-Caches/tmp_461031725/main.java:23: error: class, interface, or enum expected
long j = min(len, i+copyFileToPhone_chunkSize);
^
/root/JavaX-Caches/tmp_461031725/main.java:24: error: class, interface, or enum expected
byte[] data = loadBinaryFileChunk(f, i, toInt(j-i));
^
/root/JavaX-Caches/tmp_461031725/main.java:25: error: class, interface, or enum expected
S answer = io.ask(forward("Awareness", "write file * bin from * data *",
^
/root/JavaX-Caches/tmp_461031725/main.java:27: error: class, interface, or enum expected
assertTrue(answer, match("OK", answer));
^
/root/JavaX-Caches/tmp_461031725/main.java:28: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_461031725/main.java:31: error: class, interface, or enum expected
}
^
20 errors