[INFO] cloning repository https://github.com/piedshag/huffman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/piedshag/huffman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiedshag%2Fhuffman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiedshag%2Fhuffman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1aed5667a02513ef36f62892967297dc090a6aa7 [INFO] checking piedshag/huffman against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiedshag%2Fhuffman" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/piedshag/huffman on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/piedshag/huffman [INFO] finished tweaking git repo https://github.com/piedshag/huffman [INFO] tweaked toml for git repo https://github.com/piedshag/huffman written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/piedshag/huffman 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8710c11246867b9096ac68ed97db61d09c88d6daee64493d4b72782db3fb7f4 [INFO] running `Command { std: "docker" "start" "-a" "d8710c11246867b9096ac68ed97db61d09c88d6daee64493d4b72782db3fb7f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8710c11246867b9096ac68ed97db61d09c88d6daee64493d4b72782db3fb7f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8710c11246867b9096ac68ed97db61d09c88d6daee64493d4b72782db3fb7f4", kill_on_drop: false }` [INFO] [stdout] d8710c11246867b9096ac68ed97db61d09c88d6daee64493d4b72782db3fb7f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57bfd9d942abfc3077a80fa8c29d7a26a15c82e88cc507e8b0c8f83a901a6a29 [INFO] running `Command { std: "docker" "start" "-a" "57bfd9d942abfc3077a80fa8c29d7a26a15c82e88cc507e8b0c8f83a901a6a29", kill_on_drop: false }` [INFO] [stderr] Checking huffman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `NodeRef` is never used [INFO] [stdout] --> src/lib.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type NodeRef = Option>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HuffmanCodes` is never used [INFO] [stdout] --> src/lib.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type HuffmanCodes = HashMap; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/lib.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 32 | fn new(weight: i64, symbol: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HuffmanCode` is never constructed [INFO] [stdout] --> src/lib.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct HuffmanCode { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HuffmanCode` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `bits`, and `clear` are never used [INFO] [stdout] --> src/lib.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl HuffmanCode { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 55 | fn push(mut self, bit: u8) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn bits(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_huffman` is never used [INFO] [stdout] --> src/lib.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn generate_huffman(s: &str) -> HuffmanCodes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_codes` is never used [INFO] [stdout] --> src/lib.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn create_codes(code: HuffmanCode, mut root: Node, codes: &mut HuffmanCodes) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress` is never used [INFO] [stdout] --> src/lib.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn compress(s: &str, huffman_codes: &HuffmanCodes) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress` is never used [INFO] [stdout] --> src/lib.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn decompress(compressed: &[u8], huffman_codes: &HuffmanCodes, output_len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "57bfd9d942abfc3077a80fa8c29d7a26a15c82e88cc507e8b0c8f83a901a6a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57bfd9d942abfc3077a80fa8c29d7a26a15c82e88cc507e8b0c8f83a901a6a29", kill_on_drop: false }` [INFO] [stdout] 57bfd9d942abfc3077a80fa8c29d7a26a15c82e88cc507e8b0c8f83a901a6a29