[INFO] fetching crate helgoboss-midi 0.2.0... [INFO] checking helgoboss-midi-0.2.0 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate helgoboss-midi 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate helgoboss-midi 0.2.0 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e981b53f832ac1a95ff6ac0de0836b82ab00c8855239eee31792839d0fb30068 [INFO] running `Command { std: "docker" "start" "-a" "e981b53f832ac1a95ff6ac0de0836b82ab00c8855239eee31792839d0fb30068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e981b53f832ac1a95ff6ac0de0836b82ab00c8855239eee31792839d0fb30068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e981b53f832ac1a95ff6ac0de0836b82ab00c8855239eee31792839d0fb30068", kill_on_drop: false }` [INFO] [stdout] e981b53f832ac1a95ff6ac0de0836b82ab00c8855239eee31792839d0fb30068 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e7ffad09a41bd4c66952db1573f2ce93aff08aa1630a0983ac2d2d474f83581 [INFO] running `Command { std: "docker" "start" "-a" "5e7ffad09a41bd4c66952db1573f2ce93aff08aa1630a0983ac2d2d474f83581", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking semver-parser v0.9.0 [INFO] [stderr] Compiling core-error v0.0.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking pulldown-cmark v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking syn v1.0.73 [INFO] [stderr] Checking version-sync v0.9.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num_enum_derive v0.5.2 [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 22.93s [INFO] running `Command { std: "docker" "inspect" "5e7ffad09a41bd4c66952db1573f2ce93aff08aa1630a0983ac2d2d474f83581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e7ffad09a41bd4c66952db1573f2ce93aff08aa1630a0983ac2d2d474f83581", kill_on_drop: false }` [INFO] [stdout] 5e7ffad09a41bd4c66952db1573f2ce93aff08aa1630a0983ac2d2d474f83581