[INFO] fetching crate serde_int_map_derive 0.3.0... [INFO] testing serde_int_map_derive-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate serde_int_map_derive 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate serde_int_map_derive 0.3.0 [INFO] finished tweaking crates.io crate serde_int_map_derive 0.3.0 [INFO] tweaked toml for crates.io crate serde_int_map_derive 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate serde_int_map_derive 0.3.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_int_map_traits v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe6dc5879bcf4036da01cfe5e38b3f7d12977b9c1fede37613667f557ac5d64a [INFO] running `Command { std: "docker" "start" "-a" "fe6dc5879bcf4036da01cfe5e38b3f7d12977b9c1fede37613667f557ac5d64a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe6dc5879bcf4036da01cfe5e38b3f7d12977b9c1fede37613667f557ac5d64a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe6dc5879bcf4036da01cfe5e38b3f7d12977b9c1fede37613667f557ac5d64a", kill_on_drop: false }` [INFO] [stdout] fe6dc5879bcf4036da01cfe5e38b3f7d12977b9c1fede37613667f557ac5d64a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 212aacb86839018477f1a4a1ef9486166faf31c6e2beea106dae1e7d5cb960a1 [INFO] running `Command { std: "docker" "start" "-a" "212aacb86839018477f1a4a1ef9486166faf31c6e2beea106dae1e7d5cb960a1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_int_map_traits v0.3.0 [INFO] [stderr] Compiling serde_int_map_derive v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser_helper.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 20 | | "No int_map_* found on field {}", [INFO] [stdout] 21 | | field.ident.as_ref().unwrap() [INFO] [stdout] 22 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 19 ~ panic!( [INFO] [stdout] 20 | "No int_map_* found on field {}", [INFO] [stdout] 21 | field.ident.as_ref().unwrap() [INFO] [stdout] 22 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser_helper.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 26 | | "Multiple int_map_* attributes found on field {}", [INFO] [stdout] 27 | | field.ident.as_ref().unwrap() [INFO] [stdout] 28 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 25 ~ panic!( [INFO] [stdout] 26 | "Multiple int_map_* attributes found on field {}", [INFO] [stdout] 27 | field.ident.as_ref().unwrap() [INFO] [stdout] 28 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser_helper.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | _ => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | "Non-literal int_map_id value for field {}: {}, value: {:?}", [INFO] [stdout] 83 | | field.ident.as_ref().unwrap().to_string(), [INFO] [stdout] 84 | | token.to_string(), [INFO] [stdout] 85 | | token [INFO] [stdout] 86 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 81 ~ _ => panic!( [INFO] [stdout] 82 | "Non-literal int_map_id value for field {}: {}, value: {:?}", [INFO] [stdout] ... [INFO] [stdout] 85 | token [INFO] [stdout] 86 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.85s [INFO] running `Command { std: "docker" "inspect" "212aacb86839018477f1a4a1ef9486166faf31c6e2beea106dae1e7d5cb960a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "212aacb86839018477f1a4a1ef9486166faf31c6e2beea106dae1e7d5cb960a1", kill_on_drop: false }` [INFO] [stdout] 212aacb86839018477f1a4a1ef9486166faf31c6e2beea106dae1e7d5cb960a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28860cc71be0796b13cad4f4e16eefcb91a9ab3ebeefab0de6cd3ca404ec19d0 [INFO] running `Command { std: "docker" "start" "-a" "28860cc71be0796b13cad4f4e16eefcb91a9ab3ebeefab0de6cd3ca404ec19d0", kill_on_drop: false }` [INFO] [stderr] Compiling serde_int_map_derive v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser_helper.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 20 | | "No int_map_* found on field {}", [INFO] [stdout] 21 | | field.ident.as_ref().unwrap() [INFO] [stdout] 22 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 19 ~ panic!( [INFO] [stdout] 20 | "No int_map_* found on field {}", [INFO] [stdout] 21 | field.ident.as_ref().unwrap() [INFO] [stdout] 22 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser_helper.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 26 | | "Multiple int_map_* attributes found on field {}", [INFO] [stdout] 27 | | field.ident.as_ref().unwrap() [INFO] [stdout] 28 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 25 ~ panic!( [INFO] [stdout] 26 | "Multiple int_map_* attributes found on field {}", [INFO] [stdout] 27 | field.ident.as_ref().unwrap() [INFO] [stdout] 28 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser_helper.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | _ => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | "Non-literal int_map_id value for field {}: {}, value: {:?}", [INFO] [stdout] 83 | | field.ident.as_ref().unwrap().to_string(), [INFO] [stdout] 84 | | token.to_string(), [INFO] [stdout] 85 | | token [INFO] [stdout] 86 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 81 ~ _ => panic!( [INFO] [stdout] 82 | "Non-literal int_map_id value for field {}: {}, value: {:?}", [INFO] [stdout] ... [INFO] [stdout] 85 | token [INFO] [stdout] 86 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser_helper.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 20 | | "No int_map_* found on field {}", [INFO] [stdout] 21 | | field.ident.as_ref().unwrap() [INFO] [stdout] 22 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 19 ~ panic!( [INFO] [stdout] 20 | "No int_map_* found on field {}", [INFO] [stdout] 21 | field.ident.as_ref().unwrap() [INFO] [stdout] 22 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser_helper.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 26 | | "Multiple int_map_* attributes found on field {}", [INFO] [stdout] 27 | | field.ident.as_ref().unwrap() [INFO] [stdout] 28 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 25 ~ panic!( [INFO] [stdout] 26 | "Multiple int_map_* attributes found on field {}", [INFO] [stdout] 27 | field.ident.as_ref().unwrap() [INFO] [stdout] 28 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser_helper.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | _ => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 82 | | "Non-literal int_map_id value for field {}: {}, value: {:?}", [INFO] [stdout] 83 | | field.ident.as_ref().unwrap().to_string(), [INFO] [stdout] 84 | | token.to_string(), [INFO] [stdout] 85 | | token [INFO] [stdout] 86 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 81 ~ _ => panic!( [INFO] [stdout] 82 | "Non-literal int_map_id value for field {}: {}, value: {:?}", [INFO] [stdout] ... [INFO] [stdout] 85 | token [INFO] [stdout] 86 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "28860cc71be0796b13cad4f4e16eefcb91a9ab3ebeefab0de6cd3ca404ec19d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28860cc71be0796b13cad4f4e16eefcb91a9ab3ebeefab0de6cd3ca404ec19d0", kill_on_drop: false }` [INFO] [stdout] 28860cc71be0796b13cad4f4e16eefcb91a9ab3ebeefab0de6cd3ca404ec19d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4ad1b23fe277b28d19cf7e59d072044bcd95f032a3db0ad5d7f5aa846dc4997d [INFO] running `Command { std: "docker" "start" "-a" "4ad1b23fe277b28d19cf7e59d072044bcd95f032a3db0ad5d7f5aa846dc4997d", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser_helper.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | panic!(format!( [INFO] [stderr] | ________________^ [INFO] [stderr] 20 | | "No int_map_* found on field {}", [INFO] [stderr] 21 | | field.ident.as_ref().unwrap() [INFO] [stderr] 22 | | )); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 19 ~ panic!( [INFO] [stderr] 20 | "No int_map_* found on field {}", [INFO] [stderr] 21 | field.ident.as_ref().unwrap() [INFO] [stderr] 22 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser_helper.rs:25:16 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(format!( [INFO] [stderr] | ________________^ [INFO] [stderr] 26 | | "Multiple int_map_* attributes found on field {}", [INFO] [stderr] 27 | | field.ident.as_ref().unwrap() [INFO] [stderr] 28 | | )); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 25 ~ panic!( [INFO] [stderr] 26 | "Multiple int_map_* attributes found on field {}", [INFO] [stderr] 27 | field.ident.as_ref().unwrap() [INFO] [stderr] 28 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser_helper.rs:81:29 [INFO] [stderr] | [INFO] [stderr] 81 | _ => panic!(format!( [INFO] [stderr] | _____________________________^ [INFO] [stderr] 82 | | "Non-literal int_map_id value for field {}: {}, value: {:?}", [INFO] [stderr] 83 | | field.ident.as_ref().unwrap().to_string(), [INFO] [stderr] 84 | | token.to_string(), [INFO] [stderr] 85 | | token [INFO] [stderr] 86 | | )), [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 81 ~ _ => panic!( [INFO] [stderr] 82 | "Non-literal int_map_id value for field {}: {}, value: {:?}", [INFO] [stderr] ... [INFO] [stderr] 85 | token [INFO] [stderr] 86 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `serde_int_map_derive` (lib) generated 3 warnings (run `cargo fix --lib -p serde_int_map_derive` to apply 3 suggestions) [INFO] [stderr] warning: `serde_int_map_derive` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serde_int_map_derive-8889fb66f92abdd2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests serde_int_map_derive [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4ad1b23fe277b28d19cf7e59d072044bcd95f032a3db0ad5d7f5aa846dc4997d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ad1b23fe277b28d19cf7e59d072044bcd95f032a3db0ad5d7f5aa846dc4997d", kill_on_drop: false }` [INFO] [stdout] 4ad1b23fe277b28d19cf7e59d072044bcd95f032a3db0ad5d7f5aa846dc4997d