[INFO] fetching crate derive_more 0.99.11... [INFO] checking derive_more-0.99.11 against master#9503ea19edbf01b9435e80e17d60ce1b88390116 for pr-81782 [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 9503ea19edbf01b9435e80e17d60ce1b88390116 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "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" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 185fc04b035971b5e9a43eb93a64632bf3e899faceaf98dbcfc69aa47ea68f16 [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" "185fc04b035971b5e9a43eb93a64632bf3e899faceaf98dbcfc69aa47ea68f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "185fc04b035971b5e9a43eb93a64632bf3e899faceaf98dbcfc69aa47ea68f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "185fc04b035971b5e9a43eb93a64632bf3e899faceaf98dbcfc69aa47ea68f16", kill_on_drop: false }` [INFO] [stdout] 185fc04b035971b5e9a43eb93a64632bf3e899faceaf98dbcfc69aa47ea68f16 [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" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a2b17856c93ac2d29227a9384e052dfdc386f80bf041ed50e0a0a7289976c33 [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" "9a2b17856c93ac2d29227a9384e052dfdc386f80bf041ed50e0a0a7289976c33", 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" "9a2b17856c93ac2d29227a9384e052dfdc386f80bf041ed50e0a0a7289976c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a2b17856c93ac2d29227a9384e052dfdc386f80bf041ed50e0a0a7289976c33", kill_on_drop: false }` [INFO] [stdout] 9a2b17856c93ac2d29227a9384e052dfdc386f80bf041ed50e0a0a7289976c33