[INFO] fetching crate optfield 0.1.0... [INFO] checking optfield-0.1.0 against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] extracting crate optfield 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate optfield 0.1.0 on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e659249e1b67779da5b36d22edead018500e2f2981b620e59561166dc71b423e [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" "e659249e1b67779da5b36d22edead018500e2f2981b620e59561166dc71b423e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e659249e1b67779da5b36d22edead018500e2f2981b620e59561166dc71b423e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e659249e1b67779da5b36d22edead018500e2f2981b620e59561166dc71b423e", kill_on_drop: false }` [INFO] [stdout] e659249e1b67779da5b36d22edead018500e2f2981b620e59561166dc71b423e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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] 1d906399a081eefe32c6c9a33c8712c5a9f8c2fa82797af1002a2a108e842c07 [INFO] running `Command { std: "docker" "start" "-a" "1d906399a081eefe32c6c9a33c8712c5a9f8c2fa82797af1002a2a108e842c07", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking syn v1.0.72 [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.125 [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 40.65s [INFO] running `Command { std: "docker" "inspect" "1d906399a081eefe32c6c9a33c8712c5a9f8c2fa82797af1002a2a108e842c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d906399a081eefe32c6c9a33c8712c5a9f8c2fa82797af1002a2a108e842c07", kill_on_drop: false }` [INFO] [stdout] 1d906399a081eefe32c6c9a33c8712c5a9f8c2fa82797af1002a2a108e842c07