[INFO] cloning repository https://github.com/Eson-Jia/huffman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Eson-Jia/huffman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEson-Jia%2Fhuffman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEson-Jia%2Fhuffman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b572356670f40e129dd93d40ba11d008b7ab4127 [INFO] checking Eson-Jia/huffman against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEson-Jia%2Fhuffman" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Eson-Jia/huffman on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Eson-Jia/huffman [INFO] finished tweaking git repo https://github.com/Eson-Jia/huffman [INFO] tweaked toml for git repo https://github.com/Eson-Jia/huffman written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Eson-Jia/huffman already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7df95dfdd643c5ddefc748889b3e183f14cb1437d0aa3d022aa92e61b903a95b [INFO] running `Command { std: "docker" "start" "-a" "7df95dfdd643c5ddefc748889b3e183f14cb1437d0aa3d022aa92e61b903a95b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7df95dfdd643c5ddefc748889b3e183f14cb1437d0aa3d022aa92e61b903a95b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df95dfdd643c5ddefc748889b3e183f14cb1437d0aa3d022aa92e61b903a95b", kill_on_drop: false }` [INFO] [stdout] 7df95dfdd643c5ddefc748889b3e183f14cb1437d0aa3d022aa92e61b903a95b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3eaa23582a8e07222d561080d4eec6795480318dcfa5f1369e59f24edd268a1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f3eaa23582a8e07222d561080d4eec6795480318dcfa5f1369e59f24edd268a1", kill_on_drop: false }` [INFO] [stderr] Checking huffman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found `1` [INFO] [stdout] --> src/bin/leetcode.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | let theSet = u32{1,21} [INFO] [stdout] | --- ^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `21` [INFO] [stdout] --> src/bin/leetcode.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | let theSet = u32{1,21} [INFO] [stdout] | --- ^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `for` [INFO] [stdout] --> src/bin/leetcode.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | let theSet = u32{1,21} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | for i in 0..s.len() { [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/leetcode.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found builtin type `u32` [INFO] [stdout] --> src/bin/leetcode.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | let theSet = u32{1,21} [INFO] [stdout] | ^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `String` [INFO] [stdout] --> src/bin/leetcode.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | if String[i]=="?"{ [INFO] [stdout] | ^^^^^^ help: use struct literal syntax instead: `String { vec: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `1` [INFO] [stdout] --> src/bin/leetcode.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | let theSet = u32{1,21} [INFO] [stdout] | --- ^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `21` [INFO] [stdout] --> src/bin/leetcode.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | let theSet = u32{1,21} [INFO] [stdout] | --- ^^ expected identifier [INFO] [stdout] | | [INFO] [stdout] | while parsing this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `for` [INFO] [stdout] --> src/bin/leetcode.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | let theSet = u32{1,21} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | for i in 0..s.len() { [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Solution` in this scope [INFO] [stdout] --> src/bin/leetcode.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | impl Solution { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found builtin type `u32` [INFO] [stdout] --> src/bin/leetcode.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | let theSet = u32{1,21} [INFO] [stdout] | ^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `String` [INFO] [stdout] --> src/bin/leetcode.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | if String[i]=="?"{ [INFO] [stdout] | ^^^^^^ help: use struct literal syntax instead: `String { vec: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputfile` [INFO] [stdout] --> src/bin/rwbinary.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let inputfile=param.next(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputfile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outputfile` [INFO] [stdout] --> src/bin/rwbinary.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let outputfile=param.next(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputfile` [INFO] [stdout] --> src/bin/rwbinary.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let inputfile=param.next(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputfile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outputfile` [INFO] [stdout] --> src/bin/rwbinary.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let outputfile=param.next(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/rwbinary.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | _outputfile.write(&mut buffer[..len]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/bin/rwbinary.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | _outputfile.write(&mut buffer[..len]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/bin/list.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn close(& mut self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush` [INFO] [stdout] --> src/bin/list.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn flush(& mut self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/bin/list.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn close(& mut self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flush` [INFO] [stdout] --> src/bin/list.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn flush(& mut self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/leetcode.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn modify_string(s: String) -> String { [INFO] [stdout] | ------ expected `String` because of return type [INFO] [stdout] ... [INFO] [stdout] 9 | "" [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/leetcode.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn modify_string(s: String) -> String { [INFO] [stdout] | ------ expected `String` because of return type [INFO] [stdout] ... [INFO] [stdout] 9 | "" [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] | help: try using a conversion method: `"".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `huffman` [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0423, E0574. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0423, E0574. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f3eaa23582a8e07222d561080d4eec6795480318dcfa5f1369e59f24edd268a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3eaa23582a8e07222d561080d4eec6795480318dcfa5f1369e59f24edd268a1", kill_on_drop: false }` [INFO] [stdout] f3eaa23582a8e07222d561080d4eec6795480318dcfa5f1369e59f24edd268a1