[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 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fciuncan%2Fhackerrank-solutions" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ciuncan/hackerrank-solutions on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-3/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82214d5054a59a093a382f873b15ad94f94d7c20194016ed91a8862c1fa138b1 [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" "82214d5054a59a093a382f873b15ad94f94d7c20194016ed91a8862c1fa138b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82214d5054a59a093a382f873b15ad94f94d7c20194016ed91a8862c1fa138b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82214d5054a59a093a382f873b15ad94f94d7c20194016ed91a8862c1fa138b1", kill_on_drop: false }` [INFO] [stdout] 82214d5054a59a093a382f873b15ad94f94d7c20194016ed91a8862c1fa138b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d109d04e04f1b1c671b2ea29036aa741bbe3c18a67314c6362d49445b6e3449e [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" "d109d04e04f1b1c671b2ea29036aa741bbe3c18a67314c6362d49445b6e3449e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 16 | .unwrap_or_else(|_| std::panic::panic_any(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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 16 | .unwrap_or_else(|_| std::panic::panic_any(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: 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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 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 is no longer accepted in Rust 2021 [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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 16 | .unwrap_or_else(|_| std::panic::panic_any(message.unwrap_or("Line expected!"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 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 is no longer accepted in Rust 2021 [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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 16 | .unwrap_or_else(|_| std::panic::panic_any(message.unwrap_or("Line expected!"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.70s [INFO] running `Command { std: "docker" "inspect" "d109d04e04f1b1c671b2ea29036aa741bbe3c18a67314c6362d49445b6e3449e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d109d04e04f1b1c671b2ea29036aa741bbe3c18a67314c6362d49445b6e3449e", kill_on_drop: false }` [INFO] [stdout] d109d04e04f1b1c671b2ea29036aa741bbe3c18a67314c6362d49445b6e3449e