[INFO] fetching crate tuifw-screen-ncurses 0.8.1... [INFO] checking tuifw-screen-ncurses-0.8.1 against master#f82664191d0e8764b7435b9d72eb0e366b8b1464 for pr-83354 [INFO] extracting crate tuifw-screen-ncurses 0.8.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate tuifw-screen-ncurses 0.8.1 on toolchain f82664191d0e8764b7435b9d72eb0e366b8b1464 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "fetch" "--locked" "--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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cdf185c21ba1b157760ceeed1521946195504ac7080fc2aff26126180438149 [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" "0cdf185c21ba1b157760ceeed1521946195504ac7080fc2aff26126180438149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cdf185c21ba1b157760ceeed1521946195504ac7080fc2aff26126180438149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cdf185c21ba1b157760ceeed1521946195504ac7080fc2aff26126180438149", kill_on_drop: false }` [INFO] [stdout] 0cdf185c21ba1b157760ceeed1521946195504ac7080fc2aff26126180438149 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95d54c9d0d7d694d6a1cc841643e493becfbaf3af48841d3c36426afa2f84d63 [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" "95d54c9d0d7d694d6a1cc841643e493becfbaf3af48841d3c36426afa2f84d63", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking macro-attr-2018 v1.1.0 [INFO] [stderr] Checking enum-derive-2018 v1.0.1 [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" "95d54c9d0d7d694d6a1cc841643e493becfbaf3af48841d3c36426afa2f84d63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95d54c9d0d7d694d6a1cc841643e493becfbaf3af48841d3c36426afa2f84d63", kill_on_drop: false }` [INFO] [stdout] 95d54c9d0d7d694d6a1cc841643e493becfbaf3af48841d3c36426afa2f84d63