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

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

/root/JavaX-Caches/tmp_1274805350/main.java:1: error: class, interface, or enum expected !include once #1028249 // LineComp_PairIndex_v2 [dev.] ^ /root/JavaX-Caches/tmp_1274805350/main.java:1: error: illegal character: '#' !include once #1028249 // LineComp_PairIndex_v2 [dev.] ^ /root/JavaX-Caches/tmp_1274805350/main.java:6: error: class, interface, or enum expected replace Encodings with Map<S, L<Int>>. ^ /root/JavaX-Caches/tmp_1274805350/main.java:9: error: class, interface, or enum expected abstract sclass Chunk { ^ /root/JavaX-Caches/tmp_1274805350/main.java:10: error: class, interface, or enum expected abstract S text(L<Chunk> chunks); ^ /root/JavaX-Caches/tmp_1274805350/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1274805350/main.java:14: error: class, interface, or enum expected CPair(IntPair p) { i1 = p.a; i2 = p.b; } ^ /root/JavaX-Caches/tmp_1274805350/main.java:14: error: class, interface, or enum expected CPair(IntPair p) { i1 = p.a; i2 = p.b; } ^ /root/JavaX-Caches/tmp_1274805350/main.java:18: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1274805350/main.java:22: error: class, interface, or enum expected S text(L<Chunk> chunks) { ret s; } ^ /root/JavaX-Caches/tmp_1274805350/main.java:26: error: class, interface, or enum expected bool sortLines = true; ^ /root/JavaX-Caches/tmp_1274805350/main.java:27: error: class, interface, or enum expected bool verify = true; ^ /root/JavaX-Caches/tmp_1274805350/main.java:29: error: class, interface, or enum expected Map<S, LS> textIDToLines; ^ /root/JavaX-Caches/tmp_1274805350/main.java:30: error: class, interface, or enum expected LS allUniqueLines; ^ /root/JavaX-Caches/tmp_1274805350/main.java:31: error: class, interface, or enum expected new L<Chunk> chunks; ^ /root/JavaX-Caches/tmp_1274805350/main.java:32: error: class, interface, or enum expected int primChunks; ^ /root/JavaX-Caches/tmp_1274805350/main.java:33: error: class, interface, or enum expected Map<S, Int> lineIndex; ^ /root/JavaX-Caches/tmp_1274805350/main.java:34: error: class, interface, or enum expected Encodings finalEncodings; ^ /root/JavaX-Caches/tmp_1274805350/main.java:35: error: class, interface, or enum expected new Map<IntPair, Int> existingPairsIndex; ^ /root/JavaX-Caches/tmp_1274805350/main.java:38: error: class, interface, or enum expected *(SS texts) { ^ /root/JavaX-Caches/tmp_1274805350/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1274805350/main.java:42: error: class, interface, or enum expected LS myToLines(S s) { ret toLines_nOnly_reversible(s); } ^ /root/JavaX-Caches/tmp_1274805350/main.java:43: error: class, interface, or enum expected S myFromLines(LS l) { ret fromLines_rtrim(l); } ^ /root/JavaX-Caches/tmp_1274805350/main.java:47: error: class, interface, or enum expected if (verboseCompressionSteps) print("Uniquifying " + nLines(allLines)); ^ /root/JavaX-Caches/tmp_1274805350/main.java:48: error: class, interface, or enum expected allUniqueLines = uniquify(allLines); ^ /root/JavaX-Caches/tmp_1274805350/main.java:49: error: class, interface, or enum expected if (verboseCompressionSteps) print("Have " + n2(allUniqueLines, "unique line")); ^ /root/JavaX-Caches/tmp_1274805350/main.java:50: error: class, interface, or enum expected allLines = null; // allow me to forget ^ /root/JavaX-Caches/tmp_1274805350/main.java:51: error: class, interface, or enum expected if (sortLines) sortInPlace(allUniqueLines); ^ /root/JavaX-Caches/tmp_1274805350/main.java:52: error: class, interface, or enum expected if (verboseCompressionSteps) print("Sorted " + nLines(allUniqueLines)); ^ /root/JavaX-Caches/tmp_1274805350/main.java:53: error: class, interface, or enum expected for (S line : allUniqueLines) ^ /root/JavaX-Caches/tmp_1274805350/main.java:55: error: class, interface, or enum expected primChunks = l(chunks); ^ /root/JavaX-Caches/tmp_1274805350/main.java:56: error: class, interface, or enum expected lineIndex = listIndex(collect s(chunks)); ^ /root/JavaX-Caches/tmp_1274805350/main.java:59: error: class, interface, or enum expected Encodings simpleEncodings = mapValues(textIDToLines, ^ /root/JavaX-Caches/tmp_1274805350/main.java:62: error: class, interface, or enum expected if (verboseCompressionSteps) print("Have simple encodings"); ^ /root/JavaX-Caches/tmp_1274805350/main.java:64: error: class, interface, or enum expected finalEncodings = compressPairs_v3(simpleEncodings); ^ /root/JavaX-Caches/tmp_1274805350/main.java:65: error: class, interface, or enum expected if (verbose || verify) printAndCheckEncodings(finalEncodings); ^ /root/JavaX-Caches/tmp_1274805350/main.java:66: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1274805350/main.java:70: error: class, interface, or enum expected saveTextFile(f, out); ^ /root/JavaX-Caches/tmp_1274805350/main.java:72: error: class, interface, or enum expected if (verify) checkDecompression(f, textIDToLines); ^ /root/JavaX-Caches/tmp_1274805350/main.java:73: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1274805350/main.java:77: error: class, interface, or enum expected temp BufferedReader reader = bufferedUtf8Reader(file); ^ /root/JavaX-Caches/tmp_1274805350/main.java:78: error: class, interface, or enum expected LineCompReader lcr = new(reader); ^ /root/JavaX-Caches/tmp_1274805350/main.java:79: error: class, interface, or enum expected assertEquals(keysList(textIDToLines), asList(lcr.versions())); ^ /root/JavaX-Caches/tmp_1274805350/main.java:80: error: class, interface, or enum expected for (S version : keys(textIDToLines)) ^ /root/JavaX-Caches/tmp_1274805350/main.java:82: error: class, interface, or enum expected if (verbose) print("Decompression OK for " + nVersions(textIDToLines)); ^ /root/JavaX-Caches/tmp_1274805350/main.java:83: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1274805350/main.java:85: error: class, interface, or enum expected S asText() { ret exportEncoding(finalEncodings); } ^ /root/JavaX-Caches/tmp_1274805350/main.java:89: error: class, interface, or enum expected buf.add("LINECOMP " + primChunks); // magic signature ^ /root/JavaX-Caches/tmp_1274805350/main.java:90: error: class, interface, or enum expected for (Chunk c : chunks) { ^ /root/JavaX-Caches/tmp_1274805350/main.java:93: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1274805350/main.java:95: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1274805350/main.java:98: error: class, interface, or enum expected ret lines_rtrim(buf); ^ /root/JavaX-Caches/tmp_1274805350/main.java:99: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1274805350/main.java:106: error: class, interface, or enum expected pairIndex.verbose = verboseCompressionSteps; ^ /root/JavaX-Caches/tmp_1274805350/main.java:107: error: class, interface, or enum expected for (S version, L<Int> l : encodings) ^ /root/JavaX-Caches/tmp_1274805350/main.java:110: error: class, interface, or enum expected IntPair toCompress; ^ /root/JavaX-Caches/tmp_1274805350/main.java:112: error: class, interface, or enum expected while ping ((toCompress = pairIndex.mostPopularDuplicate()) != null) { ^ /root/JavaX-Caches/tmp_1274805350/main.java:115: error: class, interface, or enum expected int count = pairIndex.getCount(toCompress); ^ /root/JavaX-Caches/tmp_1274805350/main.java:116: error: class, interface, or enum expected Int idx = makeCPair(toCompress); ^ /root/JavaX-Caches/tmp_1274805350/main.java:117: error: class, interface, or enum expected int dups = pairIndex.numberOfDuplicates(); ^ /root/JavaX-Caches/tmp_1274805350/main.java:118: error: class, interface, or enum expected if (verboseCompressionSteps) print("Compressing pair " + toCompress + " (count=" + count + ") -> " + idx + ", " + (dups-1) + " remaining"); ^ /root/JavaX-Caches/tmp_1274805350/main.java:119: error: class, interface, or enum expected pairIndex.replacePair(toCompress.a, toCompress.b, idx); ^ /root/JavaX-Caches/tmp_1274805350/main.java:120: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1274805350/main.java:124: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1274805350/main.java:129: error: class, interface, or enum expected if (idx == null) ^ /root/JavaX-Caches/tmp_1274805350/main.java:131: error: class, interface, or enum expected ret idx; ^ /root/JavaX-Caches/tmp_1274805350/main.java:132: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1274805350/main.java:137: error: class, interface, or enum expected assertEquals(myFromLines(textIDToLines.get(id)), decode(encoded)); ^ /root/JavaX-Caches/tmp_1274805350/main.java:138: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1274805350/main.java:143: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1274805350/main.java:147: error: class, interface, or enum expected } ^ 71 errors