[INFO] fetching crate tuifw-screen-ncurses 0.8.1... [INFO] checking tuifw-screen-ncurses-0.8.1 against try#7c3a44cf5f95fa5cf164a312bdcf845157af7093 for pr-77325 [INFO] extracting crate tuifw-screen-ncurses 0.8.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate tuifw-screen-ncurses 0.8.1 on toolchain 7c3a44cf5f95fa5cf164a312bdcf845157af7093 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tuifw-screen-ncurses 0.8.1 [INFO] finished tweaking crates.io crate tuifw-screen-ncurses 0.8.1 [INFO] tweaked toml for crates.io crate tuifw-screen-ncurses 0.8.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d9fe4bdca0fc45b503c2aaf02726b688cf6523896cbde6c6fb59e1879ce3cfd [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" "1d9fe4bdca0fc45b503c2aaf02726b688cf6523896cbde6c6fb59e1879ce3cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d9fe4bdca0fc45b503c2aaf02726b688cf6523896cbde6c6fb59e1879ce3cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d9fe4bdca0fc45b503c2aaf02726b688cf6523896cbde6c6fb59e1879ce3cfd", kill_on_drop: false }` [INFO] [stdout] 1d9fe4bdca0fc45b503c2aaf02726b688cf6523896cbde6c6fb59e1879ce3cfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "check" "--frozen" "--all" "--all-targets" "--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] 4905202adb4ee4e201dc5ffb7af4b914f1ba1ed87669c1e69377462ba782c688 [INFO] running `Command { std: "docker" "start" "-a" "4905202adb4ee4e201dc5ffb7af4b914f1ba1ed87669c1e69377462ba782c688", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling libc v0.2.96 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking enum-derive-2018 v1.0.1 [INFO] [stderr] Checking macro-attr-2018 v1.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tuifw-screen-ncurses v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> build.rs:31:74 [INFO] [stdout] | [INFO] [stdout] 31 | let mut c_file = File::create(&c_file).unwrap_or_else(|_| panic!(format!("cannot create {}", c_file_display))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> build.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(non_fmt_panic)]` implied by `#[deny(warnings)]` [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] 31 | let mut c_file = File::create(&c_file).unwrap_or_else(|_| panic!("cannot create {}", c_file_display)); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> build.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | "##).unwrap_or_else(|_| panic!(format!("cannot write {}", c_file_display))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 47 | "##).unwrap_or_else(|_| panic!("cannot write {}", c_file_display)); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> build.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | .unwrap_or_else(|_| panic!(format!("cannot compile {}", c_file.display()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 57 | .unwrap_or_else(|_| panic!("cannot compile {}", c_file.display())); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> build.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | .unwrap_or_else(|_| panic!(format!("cannot create {}", rs_file.display()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 62 | .unwrap_or_else(|_| panic!("cannot create {}", rs_file.display())); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> build.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | .unwrap_or_else(|_| panic!(format!("{} failed", bin_file.display()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 64 | .unwrap_or_else(|_| panic!("{} failed", bin_file.display())); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tuifw-screen-ncurses` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4905202adb4ee4e201dc5ffb7af4b914f1ba1ed87669c1e69377462ba782c688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4905202adb4ee4e201dc5ffb7af4b914f1ba1ed87669c1e69377462ba782c688", kill_on_drop: false }` [INFO] [stdout] 4905202adb4ee4e201dc5ffb7af4b914f1ba1ed87669c1e69377462ba782c688