[INFO] cloning repository https://github.com/ggujjula/compression_examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ggujjula/compression_examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggujjula%2Fcompression_examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggujjula%2Fcompression_examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82a912a4cec25d6fb2c2f1598f8ab8cb1850a9eb [INFO] checking ggujjula/compression_examples against try#3a4cb0edb4040379c037e06efeb5409e44be7b77 for pr-146377 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggujjula%2Fcompression_examples" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ggujjula/compression_examples [INFO] finished tweaking git repo https://github.com/ggujjula/compression_examples [INFO] tweaked toml for git repo https://github.com/ggujjula/compression_examples written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ggujjula/compression_examples on toolchain 3a4cb0edb4040379c037e06efeb5409e44be7b77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ggujjula/compression_examples already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dfea19a2845e1e7ba4e3f7a63c5c317ad8b1654a30bf65f900a9fb3309c1699 [INFO] running `Command { std: "docker" "start" "-a" "2dfea19a2845e1e7ba4e3f7a63c5c317ad8b1654a30bf65f900a9fb3309c1699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dfea19a2845e1e7ba4e3f7a63c5c317ad8b1654a30bf65f900a9fb3309c1699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dfea19a2845e1e7ba4e3f7a63c5c317ad8b1654a30bf65f900a9fb3309c1699", kill_on_drop: false }` [INFO] [stdout] 2dfea19a2845e1e7ba4e3f7a63c5c317ad8b1654a30bf65f900a9fb3309c1699 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fb012d25cfe0d188ed97147536656bf19704b99d868e87cc7188b83d5356743 [INFO] running `Command { std: "docker" "start" "-a" "5fb012d25cfe0d188ed97147536656bf19704b99d868e87cc7188b83d5356743", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking compression_examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lz77.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | fn compress(input: impl Read, output: impl Write) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/lz77.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | fn compress(input: impl Read, output: impl Write) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lz77.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | fn decompress(input: impl Read, output: impl Write) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/lz77.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | fn decompress(input: impl Read, output: impl Write) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/huffman.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | let retval = HuffmanTreeNode::new(v); [INFO] [stdout] | -------------------- ^ expected `&CharFrequencies<_>`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&CharFrequencies<_>` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/huffman.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(freq: &CharFrequencies) -> Self { [INFO] [stdout] | ^^^ ------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/huffman.rs:188:43 [INFO] [stdout] | [INFO] [stdout] 188 | let retval = HuffmanTreeNode::new(v); [INFO] [stdout] | -------------------- ^ expected `&CharFrequencies<_>`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&CharFrequencies<_>` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/huffman.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(freq: &CharFrequencies) -> Self { [INFO] [stdout] | ^^^ ------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lz77.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | fn compress(input: impl Read, output: impl Write) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/lz77.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | fn compress(input: impl Read, output: impl Write) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lz77.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | fn decompress(input: impl Read, output: impl Write) -> IoResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/lz77.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | fn decompress(input: impl Read, output: impl Write) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `compression_examples` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5fb012d25cfe0d188ed97147536656bf19704b99d868e87cc7188b83d5356743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fb012d25cfe0d188ed97147536656bf19704b99d868e87cc7188b83d5356743", kill_on_drop: false }` [INFO] [stdout] 5fb012d25cfe0d188ed97147536656bf19704b99d868e87cc7188b83d5356743