[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] testing trickypr/huffman-coding against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrickypr%2Fhuffman-coding" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trickypr/huffman-coding on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-8/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8315a95c1946d407508f45f7e77f12557a3639ba21c2501a52a38fba24e34213 [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" "8315a95c1946d407508f45f7e77f12557a3639ba21c2501a52a38fba24e34213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8315a95c1946d407508f45f7e77f12557a3639ba21c2501a52a38fba24e34213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8315a95c1946d407508f45f7e77f12557a3639ba21c2501a52a38fba24e34213", kill_on_drop: false }` [INFO] [stdout] 8315a95c1946d407508f45f7e77f12557a3639ba21c2501a52a38fba24e34213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99fb54f6557575da49971d60f3d9ac6bb588a4db98064250f30c1df0c2d7053d [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" "99fb54f6557575da49971d60f3d9ac6bb588a4db98064250f30c1df0c2d7053d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling 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: 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!(format!("The character '{}' is not in the huffman tree", c)); [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 35.93s [INFO] running `Command { std: "docker" "inspect" "99fb54f6557575da49971d60f3d9ac6bb588a4db98064250f30c1df0c2d7053d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99fb54f6557575da49971d60f3d9ac6bb588a4db98064250f30c1df0c2d7053d", kill_on_drop: false }` [INFO] [stdout] 99fb54f6557575da49971d60f3d9ac6bb588a4db98064250f30c1df0c2d7053d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c710b8db5bb6b94ed94d5d6ce124610d31c7e3b63f5131ee28ffca7ca8ca7b37 [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" "c710b8db5bb6b94ed94d5d6ce124610d31c7e3b63f5131ee28ffca7ca8ca7b37", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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!(format!("The character '{}' is not in the huffman tree", c)); [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 test [unoptimized + debuginfo] target(s) in 1.06s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/huffman_coding-9c4e17a121b6d46c) [INFO] running `Command { std: "docker" "inspect" "c710b8db5bb6b94ed94d5d6ce124610d31c7e3b63f5131ee28ffca7ca8ca7b37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c710b8db5bb6b94ed94d5d6ce124610d31c7e3b63f5131ee28ffca7ca8ca7b37", kill_on_drop: false }` [INFO] [stdout] c710b8db5bb6b94ed94d5d6ce124610d31c7e3b63f5131ee28ffca7ca8ca7b37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", 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] 21fd8bc8c4196ed32e2fd7d230359d7f5b3277f8eda09c8da5f7d3430362bbde [INFO] running `Command { std: "docker" "start" "-a" "21fd8bc8c4196ed32e2fd7d230359d7f5b3277f8eda09c8da5f7d3430362bbde", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `iter::FromIterator` [INFO] [stderr] --> src/main.rs:1:52 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{fs, fs::File, io::prelude::*, io::Error, iter::FromIterator, path::Path}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `generate_tree`, `utils::bits_to_bytes` [INFO] [stderr] --> src/main.rs:6:29 [INFO] [stderr] | [INFO] [stderr] 6 | compression::{compress, generate_tree}, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 7 | decompression::decompress, [INFO] [stderr] 8 | utils::bits_to_bytes, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib/compression/compression_pair.rs:96:28 [INFO] [stderr] | [INFO] [stderr] 96 | panic!(format!("The character '{}' is not in the huffman tree", c)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 0 tests [INFO] [stderr] 96 - panic!(format!("The character '{}' is not in the huffman tree", c)); [INFO] [stdout] [INFO] [stderr] 96 + panic!("The character '{}' is not in the huffman tree", c); [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: `huffman-coding` (bin "huffman-coding" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/huffman_coding-9c4e17a121b6d46c) [INFO] running `Command { std: "docker" "inspect" "21fd8bc8c4196ed32e2fd7d230359d7f5b3277f8eda09c8da5f7d3430362bbde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21fd8bc8c4196ed32e2fd7d230359d7f5b3277f8eda09c8da5f7d3430362bbde", kill_on_drop: false }` [INFO] [stdout] 21fd8bc8c4196ed32e2fd7d230359d7f5b3277f8eda09c8da5f7d3430362bbde