[INFO] fetching crate helgoboss-midi 0.2.0... [INFO] checking helgoboss-midi-0.2.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [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 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f893359db7583280450c5427e524efa956de9841eaa421e920d3cc5f7c9a089 [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" "4f893359db7583280450c5427e524efa956de9841eaa421e920d3cc5f7c9a089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f893359db7583280450c5427e524efa956de9841eaa421e920d3cc5f7c9a089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f893359db7583280450c5427e524efa956de9841eaa421e920d3cc5f7c9a089", kill_on_drop: false }` [INFO] [stdout] 4f893359db7583280450c5427e524efa956de9841eaa421e920d3cc5f7c9a089 [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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99579eb9527fa3c2f6af78a7b51718992db2490a4bf39961ce6c78d06e18d3e9 [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" "99579eb9527fa3c2f6af78a7b51718992db2490a4bf39961ce6c78d06e18d3e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking semver-parser v0.9.0 [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] Checking quote v1.0.9 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking syn v1.0.69 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking regex v1.4.5 [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.13 [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.78s [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "99579eb9527fa3c2f6af78a7b51718992db2490a4bf39961ce6c78d06e18d3e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99579eb9527fa3c2f6af78a7b51718992db2490a4bf39961ce6c78d06e18d3e9", kill_on_drop: false }` [INFO] [stdout] 99579eb9527fa3c2f6af78a7b51718992db2490a4bf39961ce6c78d06e18d3e9