[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.40 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0decec7ce08244baa40932db9ea5f65ce7885b7a8e748782c38e557e3774720 [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" "f0decec7ce08244baa40932db9ea5f65ce7885b7a8e748782c38e557e3774720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0decec7ce08244baa40932db9ea5f65ce7885b7a8e748782c38e557e3774720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0decec7ce08244baa40932db9ea5f65ce7885b7a8e748782c38e557e3774720", kill_on_drop: false }` [INFO] [stdout] f0decec7ce08244baa40932db9ea5f65ce7885b7a8e748782c38e557e3774720 [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" "+1.60.0" "build" "--frozen" "--message-format=json", 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] b63e17157a0df844d27c88dd83cf46de98fb900eb3bcc039478cad54dd4f84a3 [INFO] running `Command { std: "docker" "start" "-a" "b63e17157a0df844d27c88dd83cf46de98fb900eb3bcc039478cad54dd4f84a3", 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 36.21s [INFO] running `Command { std: "docker" "inspect" "b63e17157a0df844d27c88dd83cf46de98fb900eb3bcc039478cad54dd4f84a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b63e17157a0df844d27c88dd83cf46de98fb900eb3bcc039478cad54dd4f84a3", kill_on_drop: false }` [INFO] [stdout] b63e17157a0df844d27c88dd83cf46de98fb900eb3bcc039478cad54dd4f84a3 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", 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] 7f1c997eb547112ccd2c7fe86568a9ce1a87ad9adffc0f46f211ab566f9c5bd4 [INFO] running `Command { std: "docker" "start" "-a" "7f1c997eb547112ccd2c7fe86568a9ce1a87ad9adffc0f46f211ab566f9c5bd4", 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.18s [INFO] running `Command { std: "docker" "inspect" "7f1c997eb547112ccd2c7fe86568a9ce1a87ad9adffc0f46f211ab566f9c5bd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f1c997eb547112ccd2c7fe86568a9ce1a87ad9adffc0f46f211ab566f9c5bd4", kill_on_drop: false }` [INFO] [stdout] 7f1c997eb547112ccd2c7fe86568a9ce1a87ad9adffc0f46f211ab566f9c5bd4 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7ceb42145785b72e541be8a0e2b2acabe1e28d8260c811b400a1c69363b99a51 [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" "7ceb42145785b72e541be8a0e2b2acabe1e28d8260c811b400a1c69363b99a51", kill_on_drop: false }` [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] [stdout] [INFO] [stderr] --> src/lib/compression/compression_pair.rs:96:28 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 96 | panic!(format!("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] = 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] [stderr] | [INFO] [stderr] 96 - panic!(format!("The character '{}' is not in the huffman tree", c)); [INFO] [stderr] 96 + panic!("The character '{}' is not in the huffman tree", c); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `huffman-coding` (bin "huffman-coding" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/huffman_coding-044ef87647b82940) [INFO] running `Command { std: "docker" "inspect" "7ceb42145785b72e541be8a0e2b2acabe1e28d8260c811b400a1c69363b99a51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ceb42145785b72e541be8a0e2b2acabe1e28d8260c811b400a1c69363b99a51", kill_on_drop: false }` [INFO] [stdout] 7ceb42145785b72e541be8a0e2b2acabe1e28d8260c811b400a1c69363b99a51