[INFO] fetching crate saberrs 0.3.1... [INFO] testing saberrs-0.3.1 against master#67da586efe13aa66eef576ba095e1875ba65fd20 for pr-112849 [INFO] extracting crate saberrs 0.3.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate saberrs 0.3.1 on toolchain 67da586efe13aa66eef576ba095e1875ba65fd20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate saberrs 0.3.1 [INFO] finished tweaking crates.io crate saberrs 0.3.1 [INFO] tweaked toml for crates.io crate saberrs 0.3.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serialport v3.3.0 [INFO] [stderr] Downloaded CoreFoundation-sys v0.1.4 [INFO] [stderr] Downloaded mach v0.2.3 [INFO] [stderr] Downloaded IOKit-sys v0.1.5 [INFO] [stderr] Downloaded mach v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b51dafc2aaec6bf2de6caf993c4d7d7c3a753c172b12e15ea868960870bccb06 [INFO] running `Command { std: "docker" "start" "-a" "b51dafc2aaec6bf2de6caf993c4d7d7c3a753c172b12e15ea868960870bccb06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b51dafc2aaec6bf2de6caf993c4d7d7c3a753c172b12e15ea868960870bccb06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b51dafc2aaec6bf2de6caf993c4d7d7c3a753c172b12e15ea868960870bccb06", kill_on_drop: false }` [INFO] [stdout] b51dafc2aaec6bf2de6caf993c4d7d7c3a753c172b12e15ea868960870bccb06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63901f8e2900a25f418dc114fdad97e3c6a382fee5279e4f87aa1f2b6973c403 [INFO] running `Command { std: "docker" "start" "-a" "63901f8e2900a25f418dc114fdad97e3c6a382fee5279e4f87aa1f2b6973c403", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling serialport v3.3.0 [INFO] [stderr] Compiling saberrs v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.45s [INFO] running `Command { std: "docker" "inspect" "63901f8e2900a25f418dc114fdad97e3c6a382fee5279e4f87aa1f2b6973c403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63901f8e2900a25f418dc114fdad97e3c6a382fee5279e4f87aa1f2b6973c403", kill_on_drop: false }` [INFO] [stdout] 63901f8e2900a25f418dc114fdad97e3c6a382fee5279e4f87aa1f2b6973c403 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5ac9f5fc4e02ca9aeedacf7853ade7673262a2e8c5c680f85ff28159296ca4e [INFO] running `Command { std: "docker" "start" "-a" "a5ac9f5fc4e02ca9aeedacf7853ade7673262a2e8c5c680f85ff28159296ca4e", kill_on_drop: false }` [INFO] [stderr] Compiling saberrs v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/responder.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 86 | | "Expected {:#02x} ({:?}) but received {:#02x} ({:?})", [INFO] [stdout] 87 | | expected_byte, expected_byte as char, received, received as char [INFO] [stdout] 88 | | )) [INFO] [stdout] | |_____________^ [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 `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 85 ~ panic!( [INFO] [stdout] 86 | "Expected {:#02x} ({:?}) but received {:#02x} ({:?})", [INFO] [stdout] 87 | expected_byte, expected_byte as char, received, received as char [INFO] [stdout] 88 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/responder.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 86 | | "Expected {:#02x} ({:?}) but received {:#02x} ({:?})", [INFO] [stdout] 87 | | expected_byte, expected_byte as char, received, received as char [INFO] [stdout] 88 | | )) [INFO] [stdout] | |_____________^ [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 `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 85 ~ panic!( [INFO] [stdout] 86 | "Expected {:#02x} ({:?}) but received {:#02x} ({:?})", [INFO] [stdout] 87 | expected_byte, expected_byte as char, received, received as char [INFO] [stdout] 88 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/mod.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test_text.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | test_get_method!(sabertext, get_speed, vectors, responder); [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/mod.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test_text.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | test_get_method!(sabertext, get_power, vectors, responder); [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: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/mod.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test_text.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | test_get_method!(sabertext, get_voltage, vectors, responder); [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: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/mod.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test_text.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | test_get_method!(sabertext, get_current, vectors, responder); [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: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/mod.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test_text.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | test_get_method!(sabertext, get_temperature, vectors, responder); [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: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/responder.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 86 | | "Expected {:#02x} ({:?}) but received {:#02x} ({:?})", [INFO] [stdout] 87 | | expected_byte, expected_byte as char, received, received as char [INFO] [stdout] 88 | | )) [INFO] [stdout] | |_____________^ [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 `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 85 ~ panic!( [INFO] [stdout] 86 | "Expected {:#02x} ({:?}) but received {:#02x} ({:?})", [INFO] [stdout] 87 | expected_byte, expected_byte as char, received, received as char [INFO] [stdout] 88 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/responder.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 86 | | "Expected {:#02x} ({:?}) but received {:#02x} ({:?})", [INFO] [stdout] 87 | | expected_byte, expected_byte as char, received, received as char [INFO] [stdout] 88 | | )) [INFO] [stdout] | |_____________^ [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 `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 85 ~ panic!( [INFO] [stdout] 86 | "Expected {:#02x} ({:?}) but received {:#02x} ({:?})", [INFO] [stdout] 87 | expected_byte, expected_byte as char, received, received as char [INFO] [stdout] 88 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/mod.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test_packet.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | test_get_method!(saberchecksum, get_speed, vectors, responder); [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: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/mod.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test_packet.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | test_get_method!(saberchecksum, get_voltage, vectors, responder); [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: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/mod.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test_packet.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | test_get_method!(saberchecksum, get_current, vectors, responder); [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: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/mod.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test_packet.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | test_get_method!(saberchecksum, get_temperature, vectors, responder); [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: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/mod.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test_packet.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | test_get_method!(sabercrc, get_speed, vectors, responder); [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: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/mod.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test_packet.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | test_get_method!(sabercrc, get_voltage, vectors, responder); [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: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/mod.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test_packet.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | test_get_method!(sabercrc, get_current, vectors, responder); [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: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/utils/mod.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/test_packet.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | test_get_method!(sabercrc, get_temperature, vectors, responder); [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: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "a5ac9f5fc4e02ca9aeedacf7853ade7673262a2e8c5c680f85ff28159296ca4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5ac9f5fc4e02ca9aeedacf7853ade7673262a2e8c5c680f85ff28159296ca4e", kill_on_drop: false }` [INFO] [stdout] a5ac9f5fc4e02ca9aeedacf7853ade7673262a2e8c5c680f85ff28159296ca4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+67da586efe13aa66eef576ba095e1875ba65fd20" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 62f074a00327c349228fc07c626b3d8096a89d8728b9789c993fa61f6d1a3722 [INFO] running `Command { std: "docker" "start" "-a" "62f074a00327c349228fc07c626b3d8096a89d8728b9789c993fa61f6d1a3722", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/utils/responder.rs:85:20 [INFO] [stderr] | [INFO] [stderr] 85 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 86 | | "Expected {:#02x} ({:?}) but received {:#02x} ({:?})", [INFO] [stderr] 87 | | expected_byte, expected_byte as char, received, received as char [INFO] [stderr] 88 | | )) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 85 ~ panic!( [INFO] [stderr] 86 | "Expected {:#02x} ({:?}) but received {:#02x} ({:?})", [INFO] [stderr] 87 | expected_byte, expected_byte as char, received, received as char [INFO] [stderr] 88 ~ ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/utils/mod.rs:134:24 [INFO] [stderr] | [INFO] [stderr] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: tests/test_packet.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | test_get_method!(saberchecksum, get_speed, vectors, responder); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/utils/mod.rs:134:24 [INFO] [stderr] | [INFO] [stderr] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: tests/test_packet.rs:165:9 [INFO] [stderr] | [INFO] [stderr] 165 | test_get_method!(saberchecksum, get_voltage, vectors, responder); [INFO] [stderr] | ---------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/utils/mod.rs:134:24 [INFO] [stderr] | [INFO] [stderr] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: tests/test_packet.rs:179:9 [INFO] [stderr] | [INFO] [stderr] 179 | test_get_method!(saberchecksum, get_current, vectors, responder); [INFO] [stderr] | ---------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/utils/mod.rs:134:24 [INFO] [stderr] | [INFO] [stderr] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: tests/test_packet.rs:193:9 [INFO] [stderr] | [INFO] [stderr] 193 | test_get_method!(saberchecksum, get_temperature, vectors, responder); [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/utils/mod.rs:134:24 [INFO] [stderr] | [INFO] [stderr] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: tests/test_packet.rs:335:9 [INFO] [stderr] | [INFO] [stderr] 335 | test_get_method!(sabercrc, get_speed, vectors, responder); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/utils/mod.rs:134:24 [INFO] [stderr] | [INFO] [stderr] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: tests/test_packet.rs:349:9 [INFO] [stderr] | [INFO] [stderr] 349 | test_get_method!(sabercrc, get_voltage, vectors, responder); [INFO] [stderr] | ----------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] [INFO] [stderr] --> tests/utils/mod.rs:134:24 [INFO] [stdout] running 5 tests [INFO] [stderr] | [INFO] [stderr] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: tests/test_packet.rs:363:9 [INFO] [stderr] | [INFO] [stderr] 363 | test_get_method!(sabercrc, get_current, vectors, responder); [INFO] [stderr] | ----------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/utils/mod.rs:134:24 [INFO] [stderr] | [INFO] [stderr] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: tests/test_packet.rs:377:9 [INFO] [stderr] | [INFO] [stderr] 377 | test_get_method!(sabercrc, get_temperature, vectors, responder); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/utils/mod.rs:134:24 [INFO] [stderr] | [INFO] [stderr] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: tests/test_text.rs:144:5 [INFO] [stderr] | [INFO] [stderr] 144 | test_get_method!(sabertext, get_speed, vectors, responder); [INFO] [stderr] | ---------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/utils/mod.rs:134:24 [INFO] [stderr] | [INFO] [stderr] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: tests/test_text.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | test_get_method!(sabertext, get_power, vectors, responder); [INFO] [stderr] | ---------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/utils/mod.rs:134:24 [INFO] [stderr] | [INFO] [stderr] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: tests/test_text.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 170 | test_get_method!(sabertext, get_voltage, vectors, responder); [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/utils/mod.rs:134:24 [INFO] [stderr] | [INFO] [stderr] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: tests/test_text.rs:183:5 [INFO] [stderr] | [INFO] [stderr] 183 | test_get_method!(sabertext, get_current, vectors, responder); [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/utils/mod.rs:134:24 [INFO] [stderr] | [INFO] [stderr] 134 | panic!($responder.join_panic().unwrap_err()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: tests/test_text.rs:196:5 [INFO] [stderr] | [INFO] [stderr] 196 | test_get_method!(sabertext, get_temperature, vectors, responder); [INFO] [stderr] | ---------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `test_get_method` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 134 | panic!("{}", $responder.join_panic().unwrap_err()); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/utils/responder.rs:85:20 [INFO] [stderr] | [INFO] [stderr] 85 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 86 | | "Expected {:#02x} ({:?}) but received {:#02x} ({:?})", [INFO] [stderr] 87 | | expected_byte, expected_byte as char, received, received as char [INFO] [stderr] 88 | | )) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 85 ~ panic!( [INFO] [stderr] 86 | "Expected {:#02x} ({:?}) but received {:#02x} ({:?})", [INFO] [stderr] 87 | expected_byte, expected_byte as char, received, received as char [INFO] [stderr] 88 ~ ) [INFO] [stdout] test sabertooth2x32::packetserial::checksum::tests::test_checksum ... ok [INFO] [stderr] | [INFO] [stdout] test sabertooth2x32::packetserial::crc::tests::test_crc14 ... ok [INFO] [stderr] [INFO] [stdout] test sabertooth2x32::packetserial::crc::tests::test_crc_packet ... ok [INFO] [stderr] warning: `saberrs` (test "test_device") generated 1 warning (run `cargo fix --test "test_device"` to apply 1 suggestion) [INFO] [stdout] test sabertooth2x32::packetserial::crc::tests::test_crc7 ... ok [INFO] [stderr] warning: `saberrs` (test "test_packet") generated 9 warnings (1 duplicate) (run `cargo fix --test "test_packet"` to apply 8 suggestions) [INFO] [stdout] test sabertooth2x32::plaintext::tests::test_split_response ... ok [INFO] [stderr] warning: `saberrs` (test "test_text") generated 6 warnings (run `cargo fix --test "test_text"` to apply 6 suggestions) [INFO] [stdout] [INFO] [stderr] warning: `saberrs` (test "test_lib") generated 1 warning (1 duplicate) [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/saberrs-29d2adb818807d66) [INFO] [stderr] Running tests/test_device.rs (/opt/rustwide/target/debug/deps/test_device-7ec82ce484d9e540) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test read_with_device ... ok [INFO] [stdout] test timeout_default_setting ... ok [INFO] [stdout] test timeout_setting ... ok [INFO] [stdout] test write_with_device ... ok [INFO] [stdout] test timeout_actual ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Running tests/test_lib.rs (/opt/rustwide/target/debug/deps/test_lib-f913749086683391) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test instantiate_multiple_protocols ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_packet.rs (/opt/rustwide/target/debug/deps/test_packet-d6f8cf0defbb5661) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test checksum::set_aux ... ok [INFO] [stdout] test checksum::set_ramp ... ok [INFO] [stdout] test checksum::set_power ... ok [INFO] [stdout] test checksum::set_drive ... ok [INFO] [stdout] test checksum::set_speed_errs ... ok [INFO] [stdout] test checksum::set_turn ... ok [INFO] [stdout] test checksum::set_speed ... ok [INFO] [stdout] test checksum::shutdown ... ok [INFO] [stdout] test crc::set_aux ... ok [INFO] [stdout] test checksum::startup ... ok [INFO] [stdout] test crc::set_drive ... ok [INFO] [stdout] test crc::set_speed_errs ... ok [INFO] [stdout] test crc::set_ramp ... ok [INFO] [stdout] test crc::shutdown ... ok [INFO] [stdout] test crc::set_power ... ok [INFO] [stdout] test crc::startup ... ok [INFO] [stdout] test crc::set_speed ... ok [INFO] [stdout] test crc::set_turn ... ok [INFO] [stdout] test checksum::get_voltage ... ok [INFO] [stdout] test checksum::get_current ... ok [INFO] [stdout] test checksum::get_temperature ... ok [INFO] [stdout] test checksum::get_speed ... ok [INFO] [stdout] test crc::get_voltage ... ok [INFO] [stdout] test crc::get_speed ... ok [INFO] [stdout] test crc::get_temperature ... ok [INFO] [stdout] test crc::get_current ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running tests/test_text.rs (/opt/rustwide/target/debug/deps/test_text-afa22732164755f8) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test set_aux ... ok [INFO] [stdout] test set_drive ... ok [INFO] [stdout] test set_ramp ... ok [INFO] [stdout] test set_power ... ok [INFO] [stdout] test set_speed ... ok [INFO] [stdout] test set_speed_errs ... ok [INFO] [stdout] test startup ... ok [INFO] [stdout] test shutdown ... ok [INFO] [stdout] test set_turn ... ok [INFO] [stdout] test test_from_serialport ... ok [INFO] [stdout] test get_temperature ... ok [INFO] [stdout] test get_current ... ok [INFO] [stdout] test get_speed ... ok [INFO] [stdout] test get_power ... ok [INFO] [stdout] test get_voltage ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests saberrs [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/sabertooth2x32/packetserial/mod.rs - sabertooth2x32::packetserial::PacketSerial::with_packet_type (line 134) ... ok [INFO] [stdout] test src/sabertooth2x32/packetserial/mod.rs - sabertooth2x32::packetserial::PacketSerial::with_address (line 117) ... ok [INFO] [stdout] test src/port.rs - port::SabertoothSerial (line 18) ... ok [INFO] [stdout] test src/lib.rs - (line 32) ... ok [INFO] [stdout] test src/lib.rs - (line 8) ... ok [INFO] [stdout] test src/port.rs - port::sabertoothport::SabertoothPortShared (line 162) ... ok [INFO] [stdout] test src/lib.rs - (line 61) ... ok [INFO] [stdout] test src/sabertooth2x32/packetserial/mod.rs - sabertooth2x32::packetserial::PacketSerial::new (line 103) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "62f074a00327c349228fc07c626b3d8096a89d8728b9789c993fa61f6d1a3722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62f074a00327c349228fc07c626b3d8096a89d8728b9789c993fa61f6d1a3722", kill_on_drop: false }` [INFO] [stdout] 62f074a00327c349228fc07c626b3d8096a89d8728b9789c993fa61f6d1a3722