[INFO] cloning repository https://github.com/ciuncan/hackerrank-solutions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ciuncan/hackerrank-solutions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fciuncan%2Fhackerrank-solutions", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fciuncan%2Fhackerrank-solutions'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dea775eb9113286f0ccbc4361c27acc5af9a483e [INFO] checking ciuncan/hackerrank-solutions/dea775eb9113286f0ccbc4361c27acc5af9a483e against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fciuncan%2Fhackerrank-solutions" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ciuncan/hackerrank-solutions on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ciuncan/hackerrank-solutions [INFO] finished tweaking git repo https://github.com/ciuncan/hackerrank-solutions [INFO] tweaked toml for git repo https://github.com/ciuncan/hackerrank-solutions written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ciuncan/hackerrank-solutions 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0e848cdb42d6a05b16fc06eba187f01a731c3eb294d26be3e8a2df503a9064e [INFO] running `Command { std: "docker" "start" "-a" "d0e848cdb42d6a05b16fc06eba187f01a731c3eb294d26be3e8a2df503a9064e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0e848cdb42d6a05b16fc06eba187f01a731c3eb294d26be3e8a2df503a9064e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0e848cdb42d6a05b16fc06eba187f01a731c3eb294d26be3e8a2df503a9064e", kill_on_drop: false }` [INFO] [stdout] d0e848cdb42d6a05b16fc06eba187f01a731c3eb294d26be3e8a2df503a9064e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 685bf7189f000a4e40c434f760ebda6017bb24fec70eae223ea2c1f47d660bfd [INFO] running `Command { std: "docker" "start" "-a" "685bf7189f000a4e40c434f760ebda6017bb24fec70eae223ea2c1f47d660bfd", kill_on_drop: false }` [INFO] [stderr] Checking hackerrank-solutions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | .unwrap_or_else(|_| panic!(message.unwrap_or("Line expected!"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 16 | .unwrap_or_else(|_| panic!("{}", message.unwrap_or("Line expected!"))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | .unwrap_or_else(|_| panic!(message.unwrap_or("Line expected!"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 16 | .unwrap_or_else(|_| panic!("{}", message.unwrap_or("Line expected!"))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bribe_count` is never read [INFO] [stdout] --> src/arrays/new_year_chaos/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct QueueState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 28 | order: Vec, [INFO] [stdout] 29 | bribe_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueueState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tap` and `tap_key` are never used [INFO] [stdout] --> src/lib.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait Tappable: Sized { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 54 | fn tap(self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | fn tap_key(self, key: &str) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/arrays/two_d_array/mod.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 24 | | "Hourglass at {:}, {:} is undefined for matrix {:}x{:}!", [INFO] [stdout] 25 | | i, j, w, h [INFO] [stdout] 26 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 23 ~ panic!( [INFO] [stdout] 24 | "Hourglass at {:}, {:} is undefined for matrix {:}x{:}!", [INFO] [stdout] 25 | i, j, w, h [INFO] [stdout] 26 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | .unwrap_or_else(|_| panic!(message.unwrap_or("Line expected!"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 16 | .unwrap_or_else(|_| panic!("{}", message.unwrap_or("Line expected!"))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bribe_count` is never read [INFO] [stdout] --> src/arrays/new_year_chaos/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct QueueState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 28 | order: Vec, [INFO] [stdout] 29 | bribe_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueueState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tap` and `tap_key` are never used [INFO] [stdout] --> src/lib.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait Tappable: Sized { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 54 | fn tap(self) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | fn tap_key(self, key: &str) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/arrays/two_d_array/mod.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 24 | | "Hourglass at {:}, {:} is undefined for matrix {:}x{:}!", [INFO] [stdout] 25 | | i, j, w, h [INFO] [stdout] 26 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 23 ~ panic!( [INFO] [stdout] 24 | "Hourglass at {:}, {:} is undefined for matrix {:}x{:}!", [INFO] [stdout] 25 | i, j, w, h [INFO] [stdout] 26 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | .unwrap_or_else(|_| panic!(message.unwrap_or("Line expected!"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 16 | .unwrap_or_else(|_| panic!("{}", message.unwrap_or("Line expected!"))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "685bf7189f000a4e40c434f760ebda6017bb24fec70eae223ea2c1f47d660bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "685bf7189f000a4e40c434f760ebda6017bb24fec70eae223ea2c1f47d660bfd", kill_on_drop: false }` [INFO] [stdout] 685bf7189f000a4e40c434f760ebda6017bb24fec70eae223ea2c1f47d660bfd