[INFO] fetching crate derive_more 0.99.11... [INFO] checking derive_more-0.99.11 against master#3e826bb11228508fbe749e594038d6727208aa94 for pr-82322 [INFO] extracting crate derive_more 0.99.11 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate derive_more 0.99.11 on toolchain 3e826bb11228508fbe749e594038d6727208aa94 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "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-3/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" "+3e826bb11228508fbe749e594038d6727208aa94" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+3e826bb11228508fbe749e594038d6727208aa94" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a7944ddeeb2c8024b821ecab260850410c199d19d688393c6d5b256c0dd541b [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" "8a7944ddeeb2c8024b821ecab260850410c199d19d688393c6d5b256c0dd541b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a7944ddeeb2c8024b821ecab260850410c199d19d688393c6d5b256c0dd541b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a7944ddeeb2c8024b821ecab260850410c199d19d688393c6d5b256c0dd541b", kill_on_drop: false }` [INFO] [stdout] 8a7944ddeeb2c8024b821ecab260850410c199d19d688393c6d5b256c0dd541b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+3e826bb11228508fbe749e594038d6727208aa94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3ae8d7a603fb1ffbc02f07c38daca569347b932716564939c42fdfa0fb9bd4a [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" "f3ae8d7a603fb1ffbc02f07c38daca569347b932716564939c42fdfa0fb9bd4a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Checking 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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.23s [INFO] running `Command { std: "docker" "inspect" "f3ae8d7a603fb1ffbc02f07c38daca569347b932716564939c42fdfa0fb9bd4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3ae8d7a603fb1ffbc02f07c38daca569347b932716564939c42fdfa0fb9bd4a", kill_on_drop: false }` [INFO] [stdout] f3ae8d7a603fb1ffbc02f07c38daca569347b932716564939c42fdfa0fb9bd4a