[INFO] fetching crate helgoboss-midi 0.2.0... [INFO] checking helgoboss-midi-0.2.0 against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] extracting crate helgoboss-midi 0.2.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate helgoboss-midi 0.2.0 on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26f59f0660305292d55d5e370665e40016124a19798c4c4a00a233be7ffe01ce [INFO] running `Command { std: "docker" "start" "-a" "26f59f0660305292d55d5e370665e40016124a19798c4c4a00a233be7ffe01ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26f59f0660305292d55d5e370665e40016124a19798c4c4a00a233be7ffe01ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26f59f0660305292d55d5e370665e40016124a19798c4c4a00a233be7ffe01ce", kill_on_drop: false }` [INFO] [stdout] 26f59f0660305292d55d5e370665e40016124a19798c4c4a00a233be7ffe01ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e305b2abc0748e27667edac1f719e772e8e74254fc7276e028773e44c7c1793 [INFO] running `Command { std: "docker" "start" "-a" "2e305b2abc0748e27667edac1f719e772e8e74254fc7276e028773e44c7c1793", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling core-error v0.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking pulldown-cmark v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking version-sync v0.9.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Checking num_enum v0.5.1 [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_panic)]` 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_panic)]` 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 27.17s [INFO] running `Command { std: "docker" "inspect" "2e305b2abc0748e27667edac1f719e772e8e74254fc7276e028773e44c7c1793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e305b2abc0748e27667edac1f719e772e8e74254fc7276e028773e44c7c1793", kill_on_drop: false }` [INFO] [stdout] 2e305b2abc0748e27667edac1f719e772e8e74254fc7276e028773e44c7c1793