[INFO] cloning repository https://github.com/shrey150/huffman-coding-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shrey150/huffman-coding-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshrey150%2Fhuffman-coding-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshrey150%2Fhuffman-coding-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e428c5b59d4cb364d5357aa9a29340e5fa6d9f90 [INFO] checking shrey150/huffman-coding-rs against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshrey150%2Fhuffman-coding-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shrey150/huffman-coding-rs [INFO] finished tweaking git repo https://github.com/shrey150/huffman-coding-rs [INFO] tweaked toml for git repo https://github.com/shrey150/huffman-coding-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shrey150/huffman-coding-rs on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shrey150/huffman-coding-rs 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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking shrey150/huffman-coding-rs against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshrey150%2Fhuffman-coding-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shrey150/huffman-coding-rs [INFO] finished tweaking git repo https://github.com/shrey150/huffman-coding-rs [INFO] tweaked toml for git repo https://github.com/shrey150/huffman-coding-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shrey150/huffman-coding-rs on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shrey150/huffman-coding-rs 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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fd0bc935725362249d456fb1788946a2df01ab3ca6f9e0f840941e61b25e85d [INFO] running `Command { std: "docker" "start" "-a" "7fd0bc935725362249d456fb1788946a2df01ab3ca6f9e0f840941e61b25e85d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fd0bc935725362249d456fb1788946a2df01ab3ca6f9e0f840941e61b25e85d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd0bc935725362249d456fb1788946a2df01ab3ca6f9e0f840941e61b25e85d", kill_on_drop: false }` [INFO] [stdout] 7fd0bc935725362249d456fb1788946a2df01ab3ca6f9e0f840941e61b25e85d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e805b716ec99705476692d770d7df47491a7629c85a3c8a07281035fd15ebe36 [INFO] running `Command { std: "docker" "start" "-a" "e805b716ec99705476692d770d7df47491a7629c85a3c8a07281035fd15ebe36", kill_on_drop: false }` [INFO] [stderr] Checking huffman-coding-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `codes` [INFO] [stdout] --> src/main.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | fn canon_to_huff(codes: Vec<(char, usize)>) -> HuffMap { HuffMap::new() } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_codes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_tree` is never used [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn print_tree(root: &Node, branch: &str, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ilog2` is never used [INFO] [stdout] --> src/main.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn ilog2(mut n: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bitlen` is never used [INFO] [stdout] --> src/main.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn get_bitlen(n: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `huff_to_canon` is never used [INFO] [stdout] --> src/main.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn huff_to_canon(map: HuffMap) -> Vec<(char, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `canon_to_huff` is never used [INFO] [stdout] --> src/main.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn canon_to_huff(codes: Vec<(char, usize)>) -> HuffMap { HuffMap::new() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codes` [INFO] [stdout] --> src/main.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | fn canon_to_huff(codes: Vec<(char, usize)>) -> HuffMap { HuffMap::new() } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_codes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_tree` is never used [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn print_tree(root: &Node, branch: &str, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ilog2` is never used [INFO] [stdout] --> src/main.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn ilog2(mut n: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bitlen` is never used [INFO] [stdout] --> src/main.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn get_bitlen(n: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `huff_to_canon` is never used [INFO] [stdout] --> src/main.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn huff_to_canon(map: HuffMap) -> Vec<(char, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `canon_to_huff` is never used [INFO] [stdout] --> src/main.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn canon_to_huff(codes: Vec<(char, usize)>) -> HuffMap { HuffMap::new() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "e805b716ec99705476692d770d7df47491a7629c85a3c8a07281035fd15ebe36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e805b716ec99705476692d770d7df47491a7629c85a3c8a07281035fd15ebe36", kill_on_drop: false }` [INFO] [stdout] e805b716ec99705476692d770d7df47491a7629c85a3c8a07281035fd15ebe36