[INFO] fetching crate helgoboss-midi 0.2.0... [INFO] checking helgoboss-midi-0.2.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate helgoboss-midi 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate helgoboss-midi 0.2.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate helgoboss-midi 0.2.0 [INFO] finished tweaking crates.io crate helgoboss-midi 0.2.0 [INFO] tweaked toml for crates.io crate helgoboss-midi 0.2.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core-error v0.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6a1165d5fdb0c1f6406a9c0f5bc91ac261ecc7389d9f3a4e315bcf40e59d6ec [INFO] running `Command { std: "docker" "start" "-a" "d6a1165d5fdb0c1f6406a9c0f5bc91ac261ecc7389d9f3a4e315bcf40e59d6ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6a1165d5fdb0c1f6406a9c0f5bc91ac261ecc7389d9f3a4e315bcf40e59d6ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6a1165d5fdb0c1f6406a9c0f5bc91ac261ecc7389d9f3a4e315bcf40e59d6ec", kill_on_drop: false }` [INFO] [stdout] d6a1165d5fdb0c1f6406a9c0f5bc91ac261ecc7389d9f3a4e315bcf40e59d6ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de35aebc27707e327375386423a0bbeeb89c00239ad226f710796d64af5d0de3 [INFO] running `Command { std: "docker" "start" "-a" "de35aebc27707e327375386423a0bbeeb89c00239ad226f710796d64af5d0de3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking semver-parser v0.9.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling core-error v0.0.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking syn v1.0.74 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking version-sync v0.9.2 [INFO] [stderr] Compiling num_enum_derive v0.5.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Checking num_enum v0.5.2 [INFO] [stderr] Checking helgoboss-midi v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/newtype_macros.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), format!(concat!("{} is not a valid ", stringify!($name), " value"), value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/channel_mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / newtype! { [INFO] [stdout] 4 | | #[doc = r"A MIDI channel (0 - 15)."] [INFO] [stdout] 5 | | name = Channel, repr = u8, max = 15 [INFO] [stdout] 6 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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 assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), concat!("{} is not a valid ", stringify!($name), " value"), value); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/newtype_macros.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), format!(concat!("{} is not a valid ", stringify!($name), " value"), value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key_number_mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / newtype! { [INFO] [stdout] 3 | | #[doc = r"A key number (0 - 127), e.g. of a MIDI Note On message."] [INFO] [stdout] 4 | | name = KeyNumber, repr = u8, max = 127 [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- in this macro invocation [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 assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), concat!("{} is not a valid ", stringify!($name), " value"), value); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/newtype_macros.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), format!(concat!("{} is not a valid ", stringify!($name), " value"), value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/controller_number_mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / newtype! { [INFO] [stdout] 3 | | #[doc = r"A controller number (0 - 127) of a MIDI Control Change message."] [INFO] [stdout] 4 | | name = ControllerNumber, repr = u8, max = 127 [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- in this macro invocation [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 assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), concat!("{} is not a valid ", stringify!($name), " value"), value); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/newtype_macros.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), format!(concat!("{} is not a valid ", stringify!($name), " value"), value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u4_mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / newtype! { [INFO] [stdout] 3 | | #[doc = r"A 4-bit integer (0 - 15)."] [INFO] [stdout] 4 | | name = U4, repr = u8, max = 15 [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- in this macro invocation [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 assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), concat!("{} is not a valid ", stringify!($name), " value"), value); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/newtype_macros.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), format!(concat!("{} is not a valid ", stringify!($name), " value"), value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u7_mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / newtype! { [INFO] [stdout] 3 | | #[doc = r"A 7-bit integer (0 - 127)."] [INFO] [stdout] 4 | | name = U7, repr = u8, max = 127 [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- in this macro invocation [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 assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), concat!("{} is not a valid ", stringify!($name), " value"), value); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/newtype_macros.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), format!(concat!("{} is not a valid ", stringify!($name), " value"), value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u14_mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / newtype! { [INFO] [stdout] 3 | | #[doc = r"A 14-bit integer (0 - 16383)."] [INFO] [stdout] 4 | | name = U14, repr = u16, max = 16383 [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- in this macro invocation [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 assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), concat!("{} is not a valid ", stringify!($name), " value"), value); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/newtype_macros.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), format!(concat!("{} is not a valid ", stringify!($name), " value"), value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/channel_mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / newtype! { [INFO] [stdout] 4 | | #[doc = r"A MIDI channel (0 - 15)."] [INFO] [stdout] 5 | | name = Channel, repr = u8, max = 15 [INFO] [stdout] 6 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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 assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), concat!("{} is not a valid ", stringify!($name), " value"), value); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/newtype_macros.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), format!(concat!("{} is not a valid ", stringify!($name), " value"), value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key_number_mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / newtype! { [INFO] [stdout] 3 | | #[doc = r"A key number (0 - 127), e.g. of a MIDI Note On message."] [INFO] [stdout] 4 | | name = KeyNumber, repr = u8, max = 127 [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- in this macro invocation [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 assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), concat!("{} is not a valid ", stringify!($name), " value"), value); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/newtype_macros.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), format!(concat!("{} is not a valid ", stringify!($name), " value"), value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/controller_number_mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / newtype! { [INFO] [stdout] 3 | | #[doc = r"A controller number (0 - 127) of a MIDI Control Change message."] [INFO] [stdout] 4 | | name = ControllerNumber, repr = u8, max = 127 [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- in this macro invocation [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 assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), concat!("{} is not a valid ", stringify!($name), " value"), value); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/newtype_macros.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), format!(concat!("{} is not a valid ", stringify!($name), " value"), value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u4_mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / newtype! { [INFO] [stdout] 3 | | #[doc = r"A 4-bit integer (0 - 15)."] [INFO] [stdout] 4 | | name = U4, repr = u8, max = 15 [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- in this macro invocation [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 assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), concat!("{} is not a valid ", stringify!($name), " value"), value); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/newtype_macros.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), format!(concat!("{} is not a valid ", stringify!($name), " value"), value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u7_mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / newtype! { [INFO] [stdout] 3 | | #[doc = r"A 7-bit integer (0 - 127)."] [INFO] [stdout] 4 | | name = U7, repr = u8, max = 127 [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- in this macro invocation [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 assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), concat!("{} is not a valid ", stringify!($name), " value"), value); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/newtype_macros.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), format!(concat!("{} is not a valid ", stringify!($name), " value"), value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/u14_mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / newtype! { [INFO] [stdout] 3 | | #[doc = r"A 14-bit integer (0 - 16383)."] [INFO] [stdout] 4 | | name = U14, repr = u16, max = 16383 [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- in this macro invocation [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 assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 | assert!($name::is_valid(value), concat!("{} is not a valid ", stringify!($name), " value"), value); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.67s [INFO] running `Command { std: "docker" "inspect" "de35aebc27707e327375386423a0bbeeb89c00239ad226f710796d64af5d0de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de35aebc27707e327375386423a0bbeeb89c00239ad226f710796d64af5d0de3", kill_on_drop: false }` [INFO] [stdout] de35aebc27707e327375386423a0bbeeb89c00239ad226f710796d64af5d0de3