[INFO] cloning repository https://github.com/professionalowo/huffman-coding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/professionalowo/huffman-coding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprofessionalowo%2Fhuffman-coding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprofessionalowo%2Fhuffman-coding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74bfc28263a8587246c8f0959e8c19c0014e89a3 [INFO] checking professionalowo/huffman-coding against master#3350c1eb3fd8fe1bee1ed4c76944d707bd256876 for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprofessionalowo%2Fhuffman-coding" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/professionalowo/huffman-coding on toolchain 3350c1eb3fd8fe1bee1ed4c76944d707bd256876 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/professionalowo/huffman-coding [INFO] finished tweaking git repo https://github.com/professionalowo/huffman-coding [INFO] tweaked toml for git repo https://github.com/professionalowo/huffman-coding written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/professionalowo/huffman-coding 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" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64f1d40dc900eb87b1daf48b67a64a473ef878866459fbb147fcc894587d6872 [INFO] running `Command { std: "docker" "start" "-a" "64f1d40dc900eb87b1daf48b67a64a473ef878866459fbb147fcc894587d6872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64f1d40dc900eb87b1daf48b67a64a473ef878866459fbb147fcc894587d6872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64f1d40dc900eb87b1daf48b67a64a473ef878866459fbb147fcc894587d6872", kill_on_drop: false }` [INFO] [stdout] 64f1d40dc900eb87b1daf48b67a64a473ef878866459fbb147fcc894587d6872 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74b29f3a5fcb13725c85f1a0d070d862b68fc634ea4886fdfea4c3803772c995 [INFO] running `Command { std: "docker" "start" "-a" "74b29f3a5fcb13725c85f1a0d070d862b68fc634ea4886fdfea4c3803772c995", kill_on_drop: false }` [INFO] [stderr] Checking huffman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `node_data::NodeData` [INFO] [stdout] --> src/tree/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use node_data::NodeData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MinHeap` is never used [INFO] [stdout] --> src/tree/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub type MinHeap = BinaryHeap>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HuffmanTree` is never constructed [INFO] [stdout] --> src/tree/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct HuffmanTree { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HuffmanTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tree/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl HuffmanTree { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 30 | pub fn new(root: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new_root(root: Node) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn root(&self) -> Option<&Node> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn from_text(text: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn build_tree(heap: &mut MinHeap) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn combine_nodes(heap: &mut MinHeap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_node` is never used [INFO] [stdout] --> src/tree/mod.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_next_node(heap: &mut MinHeap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `freq_map` is never used [INFO] [stdout] --> src/tree/mod.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn freq_map(text: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_heap` is never used [INFO] [stdout] --> src/tree/mod.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) fn min_heap(text: &str) -> MinHeap { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Leaf` and `Node` are never constructed [INFO] [stdout] --> src/tree/node.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Node { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 6 | Leaf(NodeData), [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `leaf`, `node`, and `combine` are never used [INFO] [stdout] --> src/tree/node.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn leaf(data: NodeData) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn node(data: NodeData, left: Self, right: Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn combine(self, other: Self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `internal_seperator` and `internal` are never used [INFO] [stdout] --> src/tree/node_data.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 9 | impl NodeData { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 10 | pub(crate) const fn internal_seperator() -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub(crate) fn internal(freq: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_root`, `empty`, and `root` are never used [INFO] [stdout] --> src/tree/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl HuffmanTree { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new_root(root: Node) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn root(&self) -> Option<&Node> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `node` is never used [INFO] [stdout] --> src/tree/node.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn node(data: NodeData, left: Self, right: Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "74b29f3a5fcb13725c85f1a0d070d862b68fc634ea4886fdfea4c3803772c995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74b29f3a5fcb13725c85f1a0d070d862b68fc634ea4886fdfea4c3803772c995", kill_on_drop: false }` [INFO] [stdout] 74b29f3a5fcb13725c85f1a0d070d862b68fc634ea4886fdfea4c3803772c995