[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 try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/t-88/compression-algorithms on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b80580d6c018162229e2b29596a38fe82df3dc7bf389825ba6c75175b1fce1d [INFO] running `Command { std: "docker" "start" "-a" "0b80580d6c018162229e2b29596a38fe82df3dc7bf389825ba6c75175b1fce1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b80580d6c018162229e2b29596a38fe82df3dc7bf389825ba6c75175b1fce1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b80580d6c018162229e2b29596a38fe82df3dc7bf389825ba6c75175b1fce1d", kill_on_drop: false }` [INFO] [stdout] 0b80580d6c018162229e2b29596a38fe82df3dc7bf389825ba6c75175b1fce1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c730751c45bf12492ea86064cad29e02e60fb238858db45cbf779b6b3facbe1f [INFO] running `Command { std: "docker" "start" "-a" "c730751c45bf12492ea86064cad29e02e60fb238858db45cbf779b6b3facbe1f", 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.24s [INFO] running `Command { std: "docker" "inspect" "c730751c45bf12492ea86064cad29e02e60fb238858db45cbf779b6b3facbe1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c730751c45bf12492ea86064cad29e02e60fb238858db45cbf779b6b3facbe1f", kill_on_drop: false }` [INFO] [stdout] c730751c45bf12492ea86064cad29e02e60fb238858db45cbf779b6b3facbe1f