[INFO] fetching crate derive_more 0.99.11... [INFO] checking derive_more-0.99.11 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate derive_more 0.99.11 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate derive_more 0.99.11 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate 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-11/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 602958d2edd898ebb58cf05ea726868f26400a837f9b45f6303b6207131e6646 [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" "602958d2edd898ebb58cf05ea726868f26400a837f9b45f6303b6207131e6646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "602958d2edd898ebb58cf05ea726868f26400a837f9b45f6303b6207131e6646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "602958d2edd898ebb58cf05ea726868f26400a837f9b45f6303b6207131e6646", kill_on_drop: false }` [INFO] [stdout] 602958d2edd898ebb58cf05ea726868f26400a837f9b45f6303b6207131e6646 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24988b36db8336c41f29d130ddac6c50739d3ee8f3153746014c315d2d80c2c6 [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" "24988b36db8336c41f29d130ddac6c50739d3ee8f3153746014c315d2d80c2c6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Checking unicode-xid v0.2.0 [INFO] [stderr] Checking proc-macro2 v1.0.1 [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 18.16s [INFO] running `Command { std: "docker" "inspect" "24988b36db8336c41f29d130ddac6c50739d3ee8f3153746014c315d2d80c2c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24988b36db8336c41f29d130ddac6c50739d3ee8f3153746014c315d2d80c2c6", kill_on_drop: false }` [INFO] [stdout] 24988b36db8336c41f29d130ddac6c50739d3ee8f3153746014c315d2d80c2c6