[INFO] fetching crate helgoboss-midi 0.2.0... [INFO] checking helgoboss-midi-0.2.0 against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] extracting crate helgoboss-midi 0.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate helgoboss-midi 0.2.0 on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_repr v0.1.7 [INFO] [stderr] Downloaded core-error v0.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 443424a1eae8934e15d669f5d25900664ea82dd66ac64ed25a0902dce1ff1bb0 [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" "443424a1eae8934e15d669f5d25900664ea82dd66ac64ed25a0902dce1ff1bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "443424a1eae8934e15d669f5d25900664ea82dd66ac64ed25a0902dce1ff1bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "443424a1eae8934e15d669f5d25900664ea82dd66ac64ed25a0902dce1ff1bb0", kill_on_drop: false }` [INFO] [stdout] 443424a1eae8934e15d669f5d25900664ea82dd66ac64ed25a0902dce1ff1bb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a9cc99aeda7f66a0b347941c3650a64edb3751090b183cebecf5cf43aa31be0 [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" "9a9cc99aeda7f66a0b347941c3650a64edb3751090b183cebecf5cf43aa31be0", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking proc-macro2 v1.0.27 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling core-error v0.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.18 [INFO] [stderr] Checking pulldown-cmark v0.8.0 [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.1 [INFO] [stderr] Compiling derivative v2.2.0 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 17.88s [INFO] running `Command { std: "docker" "inspect" "9a9cc99aeda7f66a0b347941c3650a64edb3751090b183cebecf5cf43aa31be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a9cc99aeda7f66a0b347941c3650a64edb3751090b183cebecf5cf43aa31be0", kill_on_drop: false }` [INFO] [stdout] 9a9cc99aeda7f66a0b347941c3650a64edb3751090b183cebecf5cf43aa31be0