[INFO] fetching crate saberrs 0.3.1... [INFO] testing saberrs-0.3.1 against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [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 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "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" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serialport v3.3.0 [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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dcbf491bcd0143fb177c83afc847e0e203b517ee6ff79688fec67c882fc3da2 [INFO] running `Command { std: "docker" "start" "-a" "1dcbf491bcd0143fb177c83afc847e0e203b517ee6ff79688fec67c882fc3da2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dcbf491bcd0143fb177c83afc847e0e203b517ee6ff79688fec67c882fc3da2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dcbf491bcd0143fb177c83afc847e0e203b517ee6ff79688fec67c882fc3da2", kill_on_drop: false }` [INFO] [stdout] 1dcbf491bcd0143fb177c83afc847e0e203b517ee6ff79688fec67c882fc3da2 [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5856930d6d6b00d0a7d799b8d2d80a5a2ee5aab32c201a28dd552a0273f98e4a [INFO] running `Command { std: "docker" "start" "-a" "5856930d6d6b00d0a7d799b8d2d80a5a2ee5aab32c201a28dd552a0273f98e4a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling void v1.0.2 [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 12.60s [INFO] running `Command { std: "docker" "inspect" "5856930d6d6b00d0a7d799b8d2d80a5a2ee5aab32c201a28dd552a0273f98e4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5856930d6d6b00d0a7d799b8d2d80a5a2ee5aab32c201a28dd552a0273f98e4a", kill_on_drop: false }` [INFO] [stdout] 5856930d6d6b00d0a7d799b8d2d80a5a2ee5aab32c201a28dd552a0273f98e4a [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d71e2444b01aa83b474190085d16bd2b4cbce293ae00b3d6b6ffc2aa4f69779 [INFO] running `Command { std: "docker" "start" "-a" "2d71e2444b01aa83b474190085d16bd2b4cbce293ae00b3d6b6ffc2aa4f69779", 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 12.15s [INFO] running `Command { std: "docker" "inspect" "2d71e2444b01aa83b474190085d16bd2b4cbce293ae00b3d6b6ffc2aa4f69779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d71e2444b01aa83b474190085d16bd2b4cbce293ae00b3d6b6ffc2aa4f69779", kill_on_drop: false }` [INFO] [stdout] 2d71e2444b01aa83b474190085d16bd2b4cbce293ae00b3d6b6ffc2aa4f69779 [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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fcf61d1c2decee03b4bfa13344d98c600a951755b4709dc1df67d1239f46d96a [INFO] running `Command { std: "docker" "start" "-a" "fcf61d1c2decee03b4bfa13344d98c600a951755b4709dc1df67d1239f46d96a", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] [INFO] [stderr] --> tests/utils/responder.rs:85:20 [INFO] [stdout] running 5 tests [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] [stdout] test sabertooth2x32::packetserial::checksum::tests::test_checksum ... ok [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: `saberrs` (test "test_device") generated 1 warning (run `cargo fix --test "test_device"` to apply 1 suggestion) [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] [stdout] test sabertooth2x32::plaintext::tests::test_split_response ... ok [INFO] [stderr] [INFO] [stdout] test sabertooth2x32::packetserial::crc::tests::test_crc14 ... ok [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] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `saberrs` (test "test_text") generated 6 warnings (run `cargo fix --test "test_text"` to apply 6 suggestions) [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] [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: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: `saberrs` (test "test_packet") generated 9 warnings (1 duplicate) (run `cargo fix --test "test_packet"` to apply 8 suggestions) [INFO] [stderr] warning: `saberrs` (test "test_lib") generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/saberrs-189c92e4e2f56918) [INFO] [stderr] Running tests/test_device.rs (/opt/rustwide/target/debug/deps/test_device-3f3a2461fa0fe8a4) [INFO] [stdout] test sabertooth2x32::packetserial::crc::tests::test_crc7 ... ok [INFO] [stdout] test sabertooth2x32::packetserial::crc::tests::test_crc_packet ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test write_with_device ... ok [INFO] [stdout] test read_with_device ... ok [INFO] [stdout] test timeout_default_setting ... ok [INFO] [stdout] test timeout_setting ... ok [INFO] [stdout] test timeout_actual ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- timeout_actual stdout ---- [INFO] [stdout] thread 'timeout_actual' panicked at 'assertion failed: elapsed < (t + delta)', tests/test_device.rs:71:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56552344d18a - std::backtrace_rs::backtrace::libunwind::trace::h66ee1baad70f162c [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x56552344d18a - std::backtrace_rs::backtrace::trace_unsynchronized::h3125ffde7ca4d99d [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56552344d18a - std::sys_common::backtrace::_print_fmt::hbdbfa23eed07e688 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x56552344d18a - ::fmt::h9040fa46c3c21247 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x565523470e1e - core::fmt::write::h19a3b12aeae2c539 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/fmt/mod.rs:1213:17 [INFO] [stdout] 5: 0x56552344a5c5 - std::io::Write::write_fmt::h09ebe1f248736025 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/io/mod.rs:1682:15 [INFO] [stdout] 6: 0x56552344cf55 - std::sys_common::backtrace::_print::hd1ad2573e05197ac [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 7: 0x56552344cf55 - std::sys_common::backtrace::print::h6c0cd3c6b401ec72 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 8: 0x56552344ed4f - std::panicking::default_hook::{{closure}}::hc09dc9f114375efd [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:267:22 [INFO] [stdout] 9: 0x56552344ea0f - std::panicking::default_hook::hfef666cfe5862d3a [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:283:9 [INFO] [stdout] 10: 0x5655234193d7 - as core::ops::function::Fn>::call::he38c0640087feffe [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 11: 0x5655234193d7 - test::test_main::{{closure}}::h071363f8c705b257 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x56552344f47d - as core::ops::function::Fn>::call::hc536ff91d276a16f [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 13: 0x56552344f47d - std::panicking::rust_panic_with_hook::h09cdc27f5c472cc8 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:692:13 [INFO] [stdout] 14: 0x56552344f1b2 - std::panicking::begin_panic_handler::{{closure}}::h5f38ac8f9e3f3f74 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:577:13 [INFO] [stdout] 15: 0x56552344d63c - std::sys_common::backtrace::__rust_end_short_backtrace::hb85d55d699513ebd [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stdout] 16: 0x56552344ef02 - rust_begin_unwind [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:575:5 [INFO] [stdout] 17: 0x5655233e7d33 - core::panicking::panic_fmt::hf0f695a991f65334 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/panicking.rs:64:14 [INFO] [stdout] 18: 0x5655233e7dcd - core::panicking::panic::hb2cddb8b41a7cc52 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/panicking.rs:114:5 [INFO] [stdout] 19: 0x5655233e9303 - test_device::timeout_actual::{{closure}}::h4b4546a0408a7531 [INFO] [stdout] 20: 0x5655233e8da7 - test_device::timeout_actual::hc3bfeeb82f0bd638 [INFO] [stdout] at /opt/rustwide/workdir/tests/test_device.rs:74:5 [INFO] [stdout] 21: 0x5655233e8da7 - test_device::timeout_actual::{{closure}}::h3cba9d05160b2f89 [INFO] [stdout] at /opt/rustwide/workdir/tests/test_device.rs:59:21 [INFO] [stdout] 22: 0x5655233e8da7 - core::ops::function::FnOnce::call_once::hfb837291f1fd5b96 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x56552341e86f - core::ops::function::FnOnce::call_once::hd02ae4551b605d89 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x56552341e86f - test::__rust_begin_short_backtrace::he067d58dbbe4eff7 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/test/src/lib.rs:656:18 [INFO] [stdout] 25: 0x5655233f008c - test::run_test::{{closure}}::h99317ada5450d4d1 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/test/src/lib.rs:647:30 [INFO] [stdout] 26: 0x5655233f008c - core::ops::function::FnOnce::call_once{{vtable.shim}}::hdbccb09ec15aa75d [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x56552341d7fa - as core::ops::function::FnOnce>::call_once::hc712263f4579e1e7 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 28: 0x56552341d7fa - as core::ops::function::FnOnce<()>>::call_once::h3fdee2221c1ed465 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 29: 0x56552341d7fa - std::panicking::try::do_call::h974a87241ba6f765 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:483:40 [INFO] [stdout] 30: 0x56552341d7fa - std::panicking::try::hf1858fb4e3e6e1ba [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:447:19 [INFO] [stdout] 31: 0x56552341d7fa - std::panic::catch_unwind::h3fc10dff34553685 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panic.rs:140:14 [INFO] [stdout] 32: 0x56552341d7fa - test::run_test_in_process::h44fc06fdd04e007f [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/test/src/lib.rs:679:27 [INFO] [stdout] 33: 0x56552341d7fa - test::run_test::run_test_inner::{{closure}}::hc67e39cdf6272f40 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/test/src/lib.rs:573:39 [INFO] [stdout] 34: 0x5655233ea751 - test::run_test::run_test_inner::{{closure}}::h1d1c6318c71d3046 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/test/src/lib.rs:600:37 [INFO] [stdout] 35: 0x5655233ea751 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4e2185d7b9c32705 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stdout] 36: 0x5655233f011b - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf11e5bf7faafa3a6 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/thread/mod.rs:558:17 [INFO] [stdout] 37: 0x5655233f011b - as core::ops::function::FnOnce<()>>::call_once::h2a1d6b9f209466ea [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 38: 0x5655233f011b - std::panicking::try::do_call::he469b6a8fbe95fec [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:483:40 [INFO] [stdout] 39: 0x5655233f011b - std::panicking::try::h1f733fcf13a98585 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:447:19 [INFO] [stdout] 40: 0x5655233f011b - std::panic::catch_unwind::hecc42615914d8beb [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panic.rs:140:14 [INFO] [stdout] 41: 0x5655233f011b - std::thread::Builder::spawn_unchecked_::{{closure}}::h17668fadfa667920 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5655233f011b - core::ops::function::FnOnce::call_once{{vtable.shim}}::hfeec135cddf64dce [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x565523453b03 - as core::ops::function::FnOnce>::call_once::h092bd1b4a0b89f07 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 44: 0x565523453b03 - as core::ops::function::FnOnce>::call_once::h54d7347fe39f45fd [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 45: 0x565523453b03 - std::sys::unix::thread::Thread::new::thread_start::hc8954c4997518988 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 46: 0x7f4e1e22bb43 - [INFO] [stdout] 47: 0x7f4e1e2bcbb4 - __clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] timeout_actual [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test test_device` [INFO] running `Command { std: "docker" "inspect" "fcf61d1c2decee03b4bfa13344d98c600a951755b4709dc1df67d1239f46d96a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf61d1c2decee03b4bfa13344d98c600a951755b4709dc1df67d1239f46d96a", kill_on_drop: false }` [INFO] [stdout] fcf61d1c2decee03b4bfa13344d98c600a951755b4709dc1df67d1239f46d96a