[INFO] cloning repository https://github.com/ArchismanKarmakar/Huffman-Encoding-Compression-Algorithm-in-RUST [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArchismanKarmakar/Huffman-Encoding-Compression-Algorithm-in-RUST" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArchismanKarmakar%2FHuffman-Encoding-Compression-Algorithm-in-RUST", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArchismanKarmakar%2FHuffman-Encoding-Compression-Algorithm-in-RUST'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 507f7f0765636d191e0d5f59a56d3f66dae4bcf0 [INFO] checking ArchismanKarmakar/Huffman-Encoding-Compression-Algorithm-in-RUST/507f7f0765636d191e0d5f59a56d3f66dae4bcf0 against master#0f6e1ae67854c3c44726e8376144c16b465fe7c6 for pr-129392 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArchismanKarmakar%2FHuffman-Encoding-Compression-Algorithm-in-RUST" "/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/ArchismanKarmakar/Huffman-Encoding-Compression-Algorithm-in-RUST on toolchain 0f6e1ae67854c3c44726e8376144c16b465fe7c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f6e1ae67854c3c44726e8376144c16b465fe7c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ArchismanKarmakar/Huffman-Encoding-Compression-Algorithm-in-RUST [INFO] finished tweaking git repo https://github.com/ArchismanKarmakar/Huffman-Encoding-Compression-Algorithm-in-RUST [INFO] tweaked toml for git repo https://github.com/ArchismanKarmakar/Huffman-Encoding-Compression-Algorithm-in-RUST written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ArchismanKarmakar/Huffman-Encoding-Compression-Algorithm-in-RUST 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" "+0f6e1ae67854c3c44726e8376144c16b465fe7c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+0f6e1ae67854c3c44726e8376144c16b465fe7c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7edcb8e74b5001d3b457beeaf27f734b810aa75c629288414b9548ac8c677f0 [INFO] running `Command { std: "docker" "start" "-a" "e7edcb8e74b5001d3b457beeaf27f734b810aa75c629288414b9548ac8c677f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7edcb8e74b5001d3b457beeaf27f734b810aa75c629288414b9548ac8c677f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7edcb8e74b5001d3b457beeaf27f734b810aa75c629288414b9548ac8c677f0", kill_on_drop: false }` [INFO] [stdout] e7edcb8e74b5001d3b457beeaf27f734b810aa75c629288414b9548ac8c677f0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+0f6e1ae67854c3c44726e8376144c16b465fe7c6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] becf9e7a3add92e078dd781259a07d1fd53d327f96ae6c0c9998b13ee6f8ebda [INFO] running `Command { std: "docker" "start" "-a" "becf9e7a3add92e078dd781259a07d1fd53d327f96ae6c0c9998b13ee6f8ebda", kill_on_drop: false }` [INFO] [stderr] Checking huffman-compression-rust v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/huffman.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/huffman.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/huffman.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::{BinaryHeap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/huffman.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/huffman.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::{BinaryHeap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/huffman.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/huffman.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | let mut frequency_table = match binary { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/huffman.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let mut Q = BinaryHeap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/huffman.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | let mut Q = self::build_min_heap(&frequency_table); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/huffman.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | let mut frequency_table = match binary { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/huffman.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let mut Q = BinaryHeap::new(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/huffman.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | let mut Q = self::build_min_heap(&frequency_table); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "becf9e7a3add92e078dd781259a07d1fd53d327f96ae6c0c9998b13ee6f8ebda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "becf9e7a3add92e078dd781259a07d1fd53d327f96ae6c0c9998b13ee6f8ebda", kill_on_drop: false }` [INFO] [stdout] becf9e7a3add92e078dd781259a07d1fd53d327f96ae6c0c9998b13ee6f8ebda