[INFO] cloning repository https://github.com/t-88/compression-algorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/t-88/compression-algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-88%2Fcompression-algorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-88%2Fcompression-algorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7305207fc988d2bc7b2e000c778352f585903752 [INFO] checking t-88/compression-algorithms against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-88%2Fcompression-algorithms" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/t-88/compression-algorithms [INFO] finished tweaking git repo https://github.com/t-88/compression-algorithms [INFO] tweaked toml for git repo https://github.com/t-88/compression-algorithms written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/t-88/compression-algorithms on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/t-88/compression-algorithms 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9941a65145f9514eaf801f1853f6fbe91d9cedb6c14389df40e1d97962629f1c [INFO] running `Command { std: "docker" "start" "-a" "9941a65145f9514eaf801f1853f6fbe91d9cedb6c14389df40e1d97962629f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9941a65145f9514eaf801f1853f6fbe91d9cedb6c14389df40e1d97962629f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9941a65145f9514eaf801f1853f6fbe91d9cedb6c14389df40e1d97962629f1c", kill_on_drop: false }` [INFO] [stdout] 9941a65145f9514eaf801f1853f6fbe91d9cedb6c14389df40e1d97962629f1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08ee6a17b809b2225c2b1941e9f36c1a55dda1f6b008aaedf63a3ddce60abf3f [INFO] running `Command { std: "docker" "start" "-a" "08ee6a17b809b2225c2b1941e9f36c1a55dda1f6b008aaedf63a3ddce60abf3f", kill_on_drop: false }` [INFO] [stderr] Checking compression v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/huffman_coding.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NodeType` is never used [INFO] [stdout] --> src/huffman_coding.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum NodeType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FreqNode` is never constructed [INFO] [stdout] --> src/huffman_coding.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FreqNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PriorityQueue` is never constructed [INFO] [stdout] --> src/huffman_coding.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct PriorityQueue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used [INFO] [stdout] --> src/huffman_coding.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl PriorityQueue { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 28 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn push(&mut self,data : FreqNode) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn pop(&mut self) -> FreqNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HuffmanCoder` is never constructed [INFO] [stdout] --> src/huffman_coding.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct HuffmanCoder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fill_encoding_table`, `display_table`, `encode`, `decode_char`, and `decode` are never used [INFO] [stdout] --> src/huffman_coding.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl HuffmanCoder { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 66 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn fill_encoding_table(&mut self,node : FreqNode,acc : String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn display_table(self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn encode(&mut self,msg : &String) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn decode_char(&self,msg : &String, idx : &mut usize,node : FreqNode) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn decode(&self,msg : String) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `huffman_coding_example` is never used [INFO] [stdout] --> src/examples.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn huffman_coding_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/huffman_coding.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NodeType` is never used [INFO] [stdout] --> src/huffman_coding.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum NodeType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FreqNode` is never constructed [INFO] [stdout] --> src/huffman_coding.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FreqNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PriorityQueue` is never constructed [INFO] [stdout] --> src/huffman_coding.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct PriorityQueue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used [INFO] [stdout] --> src/huffman_coding.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl PriorityQueue { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 28 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn push(&mut self,data : FreqNode) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn pop(&mut self) -> FreqNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HuffmanCoder` is never constructed [INFO] [stdout] --> src/huffman_coding.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct HuffmanCoder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `fill_encoding_table`, `display_table`, `encode`, `decode_char`, and `decode` are never used [INFO] [stdout] --> src/huffman_coding.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl HuffmanCoder { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 66 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn fill_encoding_table(&mut self,node : FreqNode,acc : String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn display_table(self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn encode(&mut self,msg : &String) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn decode_char(&self,msg : &String, idx : &mut usize,node : FreqNode) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn decode(&self,msg : String) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `huffman_coding_example` is never used [INFO] [stdout] --> src/examples.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn huffman_coding_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "08ee6a17b809b2225c2b1941e9f36c1a55dda1f6b008aaedf63a3ddce60abf3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08ee6a17b809b2225c2b1941e9f36c1a55dda1f6b008aaedf63a3ddce60abf3f", kill_on_drop: false }` [INFO] [stdout] 08ee6a17b809b2225c2b1941e9f36c1a55dda1f6b008aaedf63a3ddce60abf3f