[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] testing ggujjula/compression_examples against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggujjula%2Fcompression_examples" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ggujjula/compression_examples on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50560cb8af0eef6ad5de56b06003736ed2e902a46c85e2cf7d686295421a64e5 [INFO] running `Command { std: "docker" "start" "-a" "50560cb8af0eef6ad5de56b06003736ed2e902a46c85e2cf7d686295421a64e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50560cb8af0eef6ad5de56b06003736ed2e902a46c85e2cf7d686295421a64e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50560cb8af0eef6ad5de56b06003736ed2e902a46c85e2cf7d686295421a64e5", kill_on_drop: false }` [INFO] [stdout] 50560cb8af0eef6ad5de56b06003736ed2e902a46c85e2cf7d686295421a64e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c76315d4fd0ebf0d15b221ad6ceee8601f95f087a7219cf693dfb1dda054f0cf [INFO] running `Command { std: "docker" "start" "-a" "c76315d4fd0ebf0d15b221ad6ceee8601f95f087a7219cf693dfb1dda054f0cf", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.52s [INFO] running `Command { std: "docker" "inspect" "c76315d4fd0ebf0d15b221ad6ceee8601f95f087a7219cf693dfb1dda054f0cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c76315d4fd0ebf0d15b221ad6ceee8601f95f087a7219cf693dfb1dda054f0cf", kill_on_drop: false }` [INFO] [stdout] c76315d4fd0ebf0d15b221ad6ceee8601f95f087a7219cf693dfb1dda054f0cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6e1c29cec9155541254890feaed7b229c0c47f86e7377b066cbd8415edc5070 [INFO] running `Command { std: "docker" "start" "-a" "b6e1c29cec9155541254890feaed7b229c0c47f86e7377b066cbd8415edc5070", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [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] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling compression_examples v0.1.0 (/opt/rustwide/workdir) [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" "b6e1c29cec9155541254890feaed7b229c0c47f86e7377b066cbd8415edc5070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e1c29cec9155541254890feaed7b229c0c47f86e7377b066cbd8415edc5070", kill_on_drop: false }` [INFO] [stdout] b6e1c29cec9155541254890feaed7b229c0c47f86e7377b066cbd8415edc5070