[INFO] cloning repository https://github.com/trickypr/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/trickypr/huffman-coding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrickypr%2Fhuffman-coding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrickypr%2Fhuffman-coding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34414e9ee0e6569b390e3457071e6fb905494d75 [INFO] checking trickypr/huffman-coding against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrickypr%2Fhuffman-coding" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trickypr/huffman-coding on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trickypr/huffman-coding [INFO] finished tweaking git repo https://github.com/trickypr/huffman-coding [INFO] tweaked toml for git repo https://github.com/trickypr/huffman-coding written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/trickypr/huffman-coding already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2cd4e797e0c9ebe65196f9b7f7aa26b415f08498a4fa3fe8ebebb3b4108dd9aa [INFO] running `Command { std: "docker" "start" "-a" "2cd4e797e0c9ebe65196f9b7f7aa26b415f08498a4fa3fe8ebebb3b4108dd9aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cd4e797e0c9ebe65196f9b7f7aa26b415f08498a4fa3fe8ebebb3b4108dd9aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd4e797e0c9ebe65196f9b7f7aa26b415f08498a4fa3fe8ebebb3b4108dd9aa", kill_on_drop: false }` [INFO] [stdout] 2cd4e797e0c9ebe65196f9b7f7aa26b415f08498a4fa3fe8ebebb3b4108dd9aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f81cac93b2f8113c2b9dd3de7694732e45a6a36b1fab481d5f91b6fd21d395e8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f81cac93b2f8113c2b9dd3de7694732e45a6a36b1fab481d5f91b6fd21d395e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking serde v1.0.115 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking huffman-coding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `iter::FromIterator` [INFO] [stdout] --> src/main.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, fs::File, io::prelude::*, io::Error, iter::FromIterator, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `generate_tree`, `utils::bits_to_bytes` [INFO] [stdout] --> src/main.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | compression::{compress, generate_tree}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | decompression::decompress, [INFO] [stdout] 8 | utils::bits_to_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::FromIterator` [INFO] [stdout] --> src/main.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, fs::File, io::prelude::*, io::Error, iter::FromIterator, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `generate_tree`, `utils::bits_to_bytes` [INFO] [stdout] --> src/main.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | compression::{compress, generate_tree}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | decompression::decompress, [INFO] [stdout] 8 | utils::bits_to_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/compression/compression_pair.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | panic!(format!("The character '{}' is not in the huffman tree", c)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 96 | panic!("The character '{}' is not in the huffman tree", c); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib/compression/compression_pair.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | panic!(format!("The character '{}' is not in the huffman tree", c)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 96 | panic!("The character '{}' is not in the huffman tree", c); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.37s [INFO] running `Command { std: "docker" "inspect" "f81cac93b2f8113c2b9dd3de7694732e45a6a36b1fab481d5f91b6fd21d395e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f81cac93b2f8113c2b9dd3de7694732e45a6a36b1fab481d5f91b6fd21d395e8", kill_on_drop: false }` [INFO] [stdout] f81cac93b2f8113c2b9dd3de7694732e45a6a36b1fab481d5f91b6fd21d395e8