[INFO] fetching crate derive_more 0.99.11... [INFO] checking derive_more-0.99.11 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate derive_more 0.99.11 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate derive_more 0.99.11 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate derive_more 0.99.11 [INFO] removed 1 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate derive_more 0.99.11 [INFO] tweaked toml for crates.io crate derive_more 0.99.11 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate derive_more 0.99.11 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acac0396c99dee3ba7fdd600469c42141e1577e80f25f86b785ff4821cabf77a [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" "acac0396c99dee3ba7fdd600469c42141e1577e80f25f86b785ff4821cabf77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acac0396c99dee3ba7fdd600469c42141e1577e80f25f86b785ff4821cabf77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acac0396c99dee3ba7fdd600469c42141e1577e80f25f86b785ff4821cabf77a", kill_on_drop: false }` [INFO] [stdout] acac0396c99dee3ba7fdd600469c42141e1577e80f25f86b785ff4821cabf77a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caa0b5a41799ea360b0b5933c0f5213ea441d380853f08f3e9f41f6ffbcc6850 [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" "caa0b5a41799ea360b0b5933c0f5213ea441d380853f08f3e9f41f6ffbcc6850", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking quote v1.0.1 [INFO] [stderr] Checking derive_more v0.99.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | panic!(format!( [INFO] [stdout] | ____________^ [INFO] [stdout] 228 | | "derive({}) only works when forwarding to a single field. Try putting #[{}] or #[{}(ignore)] on the fields in the struct", [INFO] [stdout] 229 | | trait_name, trait_attr, trait_attr, [INFO] [stdout] 230 | | )) [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] = 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] 227 | panic!( [INFO] [stdout] 228 | "derive({}) only works when forwarding to a single field. Try putting #[{}] or #[{}(ignore)] on the fields in the struct", [INFO] [stdout] 229 | trait_name, trait_attr, trait_attr, [INFO] [stdout] 230 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | panic!(format!("cannot derive({}) for union", trait_name)) [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] 419 | panic!("cannot derive({}) for union", trait_name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:623:20 [INFO] [stdout] | [INFO] [stdout] 623 | panic!(format!("cannot derive({}) for enum", self.trait_name)) [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] 623 | panic!("cannot derive({}) for enum", self.trait_name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:680:20 [INFO] [stdout] | [INFO] [stdout] 680 | panic!(format!("can only derive({}) for enum", self.trait_name)) [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] 680 | panic!("can only derive({}) for enum", self.trait_name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/add_assign_like.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | _ => panic!(format!("Unit structs cannot use derive({})", trait_name)), [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] 26 | _ => panic!("Unit structs cannot use derive({})", trait_name), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/add_assign_like.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | _ => panic!(format!("Only structs can use derive({})", trait_name)), [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] 29 | _ => panic!("Only structs can use derive({})", trait_name), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/add_like.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | _ => panic!(format!("Unit structs cannot use derive({})", trait_name)), [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] 31 | _ => panic!("Unit structs cannot use derive({})", trait_name), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/add_like.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | _ => panic!(format!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 39 | | "Only structs and enums can use derive({})", [INFO] [stdout] 40 | | trait_name [INFO] [stdout] 41 | | )), [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] 38 | _ => panic!( [INFO] [stdout] 39 | "Only structs and enums can use derive({})", [INFO] [stdout] 40 | trait_name [INFO] [stdout] 41 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/from_str.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | panic!(format!( [INFO] [stdout] | ____________^ [INFO] [stdout] 49 | | "Only structs with one field can derive({})", [INFO] [stdout] 50 | | trait_name [INFO] [stdout] 51 | | )) [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] 48 | panic!( [INFO] [stdout] 49 | "Only structs with one field can derive({})", [INFO] [stdout] 50 | trait_name [INFO] [stdout] 51 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/not_like.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | _ => panic!(format!("Unit structs cannot use derive({})", trait_name)), [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] 28 | _ => panic!("Unit structs cannot use derive({})", trait_name), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/not_like.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | _ => panic!(format!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 35 | | "Only structs and enums can use derive({})", [INFO] [stdout] 36 | | trait_name [INFO] [stdout] 37 | | )), [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] 34 | _ => panic!( [INFO] [stdout] 35 | "Only structs and enums can use derive({})", [INFO] [stdout] 36 | trait_name [INFO] [stdout] 37 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | panic!(format!( [INFO] [stdout] | ____________^ [INFO] [stdout] 228 | | "derive({}) only works when forwarding to a single field. Try putting #[{}] or #[{}(ignore)] on the fields in the struct", [INFO] [stdout] 229 | | trait_name, trait_attr, trait_attr, [INFO] [stdout] 230 | | )) [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] = 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] 227 | panic!( [INFO] [stdout] 228 | "derive({}) only works when forwarding to a single field. Try putting #[{}] or #[{}(ignore)] on the fields in the struct", [INFO] [stdout] 229 | trait_name, trait_attr, trait_attr, [INFO] [stdout] 230 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | panic!(format!("cannot derive({}) for union", trait_name)) [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] 419 | panic!("cannot derive({}) for union", trait_name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:623:20 [INFO] [stdout] | [INFO] [stdout] 623 | panic!(format!("cannot derive({}) for enum", self.trait_name)) [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] 623 | panic!("cannot derive({}) for enum", self.trait_name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:680:20 [INFO] [stdout] | [INFO] [stdout] 680 | panic!(format!("can only derive({}) for enum", self.trait_name)) [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] 680 | panic!("can only derive({}) for enum", self.trait_name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/add_assign_like.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | _ => panic!(format!("Unit structs cannot use derive({})", trait_name)), [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] 26 | _ => panic!("Unit structs cannot use derive({})", trait_name), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/add_assign_like.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | _ => panic!(format!("Only structs can use derive({})", trait_name)), [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] 29 | _ => panic!("Only structs can use derive({})", trait_name), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/add_like.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | _ => panic!(format!("Unit structs cannot use derive({})", trait_name)), [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] 31 | _ => panic!("Unit structs cannot use derive({})", trait_name), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/add_like.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | _ => panic!(format!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 39 | | "Only structs and enums can use derive({})", [INFO] [stdout] 40 | | trait_name [INFO] [stdout] 41 | | )), [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] 38 | _ => panic!( [INFO] [stdout] 39 | "Only structs and enums can use derive({})", [INFO] [stdout] 40 | trait_name [INFO] [stdout] 41 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/from_str.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | panic!(format!( [INFO] [stdout] | ____________^ [INFO] [stdout] 49 | | "Only structs with one field can derive({})", [INFO] [stdout] 50 | | trait_name [INFO] [stdout] 51 | | )) [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] 48 | panic!( [INFO] [stdout] 49 | "Only structs with one field can derive({})", [INFO] [stdout] 50 | trait_name [INFO] [stdout] 51 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/not_like.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | _ => panic!(format!("Unit structs cannot use derive({})", trait_name)), [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] 28 | _ => panic!("Unit structs cannot use derive({})", trait_name), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/not_like.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | _ => panic!(format!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 35 | | "Only structs and enums can use derive({})", [INFO] [stdout] 36 | | trait_name [INFO] [stdout] 37 | | )), [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] 34 | _ => panic!( [INFO] [stdout] 35 | "Only structs and enums can use derive({})", [INFO] [stdout] 36 | trait_name [INFO] [stdout] 37 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | panic!(format!( [INFO] [stdout] | ____________^ [INFO] [stdout] 228 | | "derive({}) only works when forwarding to a single field. Try putting #[{}] or #[{}(ignore)] on the fields in the struct", [INFO] [stdout] 229 | | trait_name, trait_attr, trait_attr, [INFO] [stdout] 230 | | )) [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] = 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] 227 | panic!( [INFO] [stdout] 228 | "derive({}) only works when forwarding to a single field. Try putting #[{}] or #[{}(ignore)] on the fields in the struct", [INFO] [stdout] 229 | trait_name, trait_attr, trait_attr, [INFO] [stdout] 230 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | panic!(format!("cannot derive({}) for union", trait_name)) [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] 419 | panic!("cannot derive({}) for union", trait_name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:623:20 [INFO] [stdout] | [INFO] [stdout] 623 | panic!(format!("cannot derive({}) for enum", self.trait_name)) [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] 623 | panic!("cannot derive({}) for enum", self.trait_name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/utils.rs:680:20 [INFO] [stdout] | [INFO] [stdout] 680 | panic!(format!("can only derive({}) for enum", self.trait_name)) [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] 680 | panic!("can only derive({}) for enum", self.trait_name) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/add_assign_like.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | _ => panic!(format!("Unit structs cannot use derive({})", trait_name)), [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] 26 | _ => panic!("Unit structs cannot use derive({})", trait_name), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/add_assign_like.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | _ => panic!(format!("Only structs can use derive({})", trait_name)), [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] 29 | _ => panic!("Only structs can use derive({})", trait_name), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/add_like.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | _ => panic!(format!("Unit structs cannot use derive({})", trait_name)), [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] 31 | _ => panic!("Unit structs cannot use derive({})", trait_name), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/add_like.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | _ => panic!(format!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 39 | | "Only structs and enums can use derive({})", [INFO] [stdout] 40 | | trait_name [INFO] [stdout] 41 | | )), [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] 38 | _ => panic!( [INFO] [stdout] 39 | "Only structs and enums can use derive({})", [INFO] [stdout] 40 | trait_name [INFO] [stdout] 41 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/from_str.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | panic!(format!( [INFO] [stdout] | ____________^ [INFO] [stdout] 49 | | "Only structs with one field can derive({})", [INFO] [stdout] 50 | | trait_name [INFO] [stdout] 51 | | )) [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] 48 | panic!( [INFO] [stdout] 49 | "Only structs with one field can derive({})", [INFO] [stdout] 50 | trait_name [INFO] [stdout] 51 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/not_like.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | _ => panic!(format!("Unit structs cannot use derive({})", trait_name)), [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] 28 | _ => panic!("Unit structs cannot use derive({})", trait_name), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/not_like.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | _ => panic!(format!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 35 | | "Only structs and enums can use derive({})", [INFO] [stdout] 36 | | trait_name [INFO] [stdout] 37 | | )), [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] 34 | _ => panic!( [INFO] [stdout] 35 | "Only structs and enums can use derive({})", [INFO] [stdout] 36 | trait_name [INFO] [stdout] 37 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.18s [INFO] running `Command { std: "docker" "inspect" "caa0b5a41799ea360b0b5933c0f5213ea441d380853f08f3e9f41f6ffbcc6850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caa0b5a41799ea360b0b5933c0f5213ea441d380853f08f3e9f41f6ffbcc6850", kill_on_drop: false }` [INFO] [stdout] caa0b5a41799ea360b0b5933c0f5213ea441d380853f08f3e9f41f6ffbcc6850