[INFO] fetching crate optfield 0.1.0... [INFO] checking optfield-0.1.0 against try#6f8a6450478f69b8510c8976ab6c2a70b3b0e47c for pr-84920 [INFO] extracting crate optfield 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate optfield 0.1.0 on toolchain 6f8a6450478f69b8510c8976ab6c2a70b3b0e47c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate optfield 0.1.0 [INFO] finished tweaking crates.io crate optfield 0.1.0 [INFO] tweaked toml for crates.io crate optfield 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--no-deps" "--format-version=1", 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] 04b456a3add87400b67196ecb2dd4fa21dd34fbdb3d2c9e605ce8a2408757e0b [INFO] running `Command { std: "docker" "start" "-a" "04b456a3add87400b67196ecb2dd4fa21dd34fbdb3d2c9e605ce8a2408757e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04b456a3add87400b67196ecb2dd4fa21dd34fbdb3d2c9e605ce8a2408757e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04b456a3add87400b67196ecb2dd4fa21dd34fbdb3d2c9e605ce8a2408757e0b", kill_on_drop: false }` [INFO] [stdout] 04b456a3add87400b67196ecb2dd4fa21dd34fbdb3d2c9e605ce8a2408757e0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f4054177b781449f3e3efcc7920fa2148cc474c78799d75c2535eb53f199a2c [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" "7f4054177b781449f3e3efcc7920fa2148cc474c78799d75c2535eb53f199a2c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking optfield v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/attrs/generator.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | .unwrap_or_else(|e| panic!(error::unexpected(self.error_action_text(), e))) [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] 40 | .unwrap_or_else(|e| panic!("{}", error::unexpected(self.error_action_text(), e))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 40 | .unwrap_or_else(|e| std::panic::panic_any(error::unexpected(self.error_action_text(), e))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/attrs/generator.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | .unwrap_or_else(|e| panic!(error::unexpected(self.error_action_text(), e))) [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] 89 | .unwrap_or_else(|e| panic!("{}", error::unexpected(self.error_action_text(), e))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 89 | .unwrap_or_else(|e| std::panic::panic_any(error::unexpected(self.error_action_text(), e))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/attrs/mod.rs:45:59 [INFO] [stdout] | [INFO] [stdout] 45 | Some(parse2(tokens).unwrap_or_else(|e| panic!(unexpected(self.error_action_text(), e)))) [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] 45 | Some(parse2(tokens).unwrap_or_else(|e| panic!("{}", unexpected(self.error_action_text(), e)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 45 | Some(parse2(tokens).unwrap_or_else(|e| std::panic::panic_any(unexpected(self.error_action_text(), e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields/mod.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | .unwrap_or_else(|e| panic!(unexpected(format!("generating {} fields", item_name), e))); [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] 32 | .unwrap_or_else(|e| panic!("{}", unexpected(format!("generating {} fields", item_name), e))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 32 | .unwrap_or_else(|e| std::panic::panic_any(unexpected(format!("generating {} fields", item_name), e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/attrs/generator.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | .unwrap_or_else(|e| panic!(error::unexpected(self.error_action_text(), e))) [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] 40 | .unwrap_or_else(|e| panic!("{}", error::unexpected(self.error_action_text(), e))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 40 | .unwrap_or_else(|e| std::panic::panic_any(error::unexpected(self.error_action_text(), e))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/attrs/generator.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | .unwrap_or_else(|e| panic!(error::unexpected(self.error_action_text(), e))) [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] 89 | .unwrap_or_else(|e| panic!("{}", error::unexpected(self.error_action_text(), e))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 89 | .unwrap_or_else(|e| std::panic::panic_any(error::unexpected(self.error_action_text(), e))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/attrs/mod.rs:45:59 [INFO] [stdout] | [INFO] [stdout] 45 | Some(parse2(tokens).unwrap_or_else(|e| panic!(unexpected(self.error_action_text(), e)))) [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] 45 | Some(parse2(tokens).unwrap_or_else(|e| panic!("{}", unexpected(self.error_action_text(), e)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 45 | Some(parse2(tokens).unwrap_or_else(|e| std::panic::panic_any(unexpected(self.error_action_text(), e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields/mod.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | .unwrap_or_else(|e| panic!(unexpected(format!("generating {} fields", item_name), e))); [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] 32 | .unwrap_or_else(|e| panic!("{}", unexpected(format!("generating {} fields", item_name), e))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 32 | .unwrap_or_else(|e| std::panic::panic_any(unexpected(format!("generating {} fields", item_name), e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/merge.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [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/attrs/generator.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | .unwrap_or_else(|e| panic!(error::unexpected(self.error_action_text(), e))) [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] 40 | .unwrap_or_else(|e| panic!("{}", error::unexpected(self.error_action_text(), e))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 40 | .unwrap_or_else(|e| std::panic::panic_any(error::unexpected(self.error_action_text(), e))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/attrs/generator.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | .unwrap_or_else(|e| panic!(error::unexpected(self.error_action_text(), e))) [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] 89 | .unwrap_or_else(|e| panic!("{}", error::unexpected(self.error_action_text(), e))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 89 | .unwrap_or_else(|e| std::panic::panic_any(error::unexpected(self.error_action_text(), e))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/attrs/mod.rs:45:59 [INFO] [stdout] | [INFO] [stdout] 45 | Some(parse2(tokens).unwrap_or_else(|e| panic!(unexpected(self.error_action_text(), e)))) [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] 45 | Some(parse2(tokens).unwrap_or_else(|e| panic!("{}", unexpected(self.error_action_text(), e)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 45 | Some(parse2(tokens).unwrap_or_else(|e| std::panic::panic_any(unexpected(self.error_action_text(), e)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fields/mod.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | .unwrap_or_else(|e| panic!(unexpected(format!("generating {} fields", item_name), e))); [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] 32 | .unwrap_or_else(|e| panic!("{}", unexpected(format!("generating {} fields", item_name), e))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 32 | .unwrap_or_else(|e| std::panic::panic_any(unexpected(format!("generating {} fields", item_name), e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.48s [INFO] running `Command { std: "docker" "inspect" "7f4054177b781449f3e3efcc7920fa2148cc474c78799d75c2535eb53f199a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f4054177b781449f3e3efcc7920fa2148cc474c78799d75c2535eb53f199a2c", kill_on_drop: false }` [INFO] [stdout] 7f4054177b781449f3e3efcc7920fa2148cc474c78799d75c2535eb53f199a2c