[INFO] fetching crate optfield 0.1.0... [INFO] checking optfield-0.1.0 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate optfield 0.1.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate optfield 0.1.0 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95b103bf2adf9ab370bc494009c6603fb2952101a94499dedfceff1f9d511703 [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" "95b103bf2adf9ab370bc494009c6603fb2952101a94499dedfceff1f9d511703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95b103bf2adf9ab370bc494009c6603fb2952101a94499dedfceff1f9d511703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b103bf2adf9ab370bc494009c6603fb2952101a94499dedfceff1f9d511703", kill_on_drop: false }` [INFO] [stdout] 95b103bf2adf9ab370bc494009c6603fb2952101a94499dedfceff1f9d511703 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d84c07d2aabbbe9317904208de192683ceb0be418e29f666934b7268896564ba [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" "d84c07d2aabbbe9317904208de192683ceb0be418e29f666934b7268896564ba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling quote v1.0.8 [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] [stderr] Checking serde v1.0.123 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.48s [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d84c07d2aabbbe9317904208de192683ceb0be418e29f666934b7268896564ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d84c07d2aabbbe9317904208de192683ceb0be418e29f666934b7268896564ba", kill_on_drop: false }` [INFO] [stdout] d84c07d2aabbbe9317904208de192683ceb0be418e29f666934b7268896564ba