[INFO] fetching crate saberrs 0.3.1... [INFO] testing saberrs-0.3.1 against 1.83.0 for beta-1.84.0-4 [INFO] extracting crate saberrs 0.3.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate saberrs 0.3.1 on toolchain 1.83.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding serialport v3.3.0 (available: v4.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3531a43ab7b7b0e0cafb77a6e0385bf11e9c9dea02ab15e17ff85dbcf5285d33 [INFO] running `Command { std: "docker" "start" "-a" "3531a43ab7b7b0e0cafb77a6e0385bf11e9c9dea02ab15e17ff85dbcf5285d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3531a43ab7b7b0e0cafb77a6e0385bf11e9c9dea02ab15e17ff85dbcf5285d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3531a43ab7b7b0e0cafb77a6e0385bf11e9c9dea02ab15e17ff85dbcf5285d33", kill_on_drop: false }` [INFO] [stdout] 3531a43ab7b7b0e0cafb77a6e0385bf11e9c9dea02ab15e17ff85dbcf5285d33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6bafc61a158253f24c16d58aee0a2c9bddeb074fef3c49ceea69f599d6fe45a [INFO] running `Command { std: "docker" "start" "-a" "d6bafc61a158253f24c16d58aee0a2c9bddeb074fef3c49ceea69f599d6fe45a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [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 bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serialport v3.3.0 [INFO] [stderr] Compiling saberrs v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.82s [INFO] running `Command { std: "docker" "inspect" "d6bafc61a158253f24c16d58aee0a2c9bddeb074fef3c49ceea69f599d6fe45a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6bafc61a158253f24c16d58aee0a2c9bddeb074fef3c49ceea69f599d6fe45a", kill_on_drop: false }` [INFO] [stdout] d6bafc61a158253f24c16d58aee0a2c9bddeb074fef3c49ceea69f599d6fe45a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cdccaee011230b50d758c6cf6d26b69ac36bca3a7992850d6da9b5518c02951 [INFO] running `Command { std: "docker" "start" "-a" "9cdccaee011230b50d758c6cf6d26b69ac36bca3a7992850d6da9b5518c02951", kill_on_drop: false }` [INFO] [stderr] Compiling saberrs v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | Io(()), [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/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: field `0` is never read [INFO] [stdout] --> src/error.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.27s [INFO] running `Command { std: "docker" "inspect" "9cdccaee011230b50d758c6cf6d26b69ac36bca3a7992850d6da9b5518c02951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cdccaee011230b50d758c6cf6d26b69ac36bca3a7992850d6da9b5518c02951", kill_on_drop: false }` [INFO] [stdout] 9cdccaee011230b50d758c6cf6d26b69ac36bca3a7992850d6da9b5518c02951 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ec7dddd8b9f74737a3afb82af8025b2e44394665567a810eaef83f3b410e8702 [INFO] running `Command { std: "docker" "start" "-a" "ec7dddd8b9f74737a3afb82af8025b2e44394665567a810eaef83f3b410e8702", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | Io(io::Error), [INFO] [stderr] | -- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SubError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 34 | Io(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: `saberrs` (lib) generated 1 warning [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] [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 (run `cargo fix --test "test_packet"` to apply 9 suggestions) [INFO] [stderr] warning: `saberrs` (test "test_device") generated 1 warning (1 duplicate) [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] [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: `saberrs` (test "test_lib") generated 1 warning (1 duplicate) [INFO] [stderr] warning: `saberrs` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/saberrs-90e1a18a961c5ff0) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test sabertooth2x32::packetserial::crc::tests::test_crc_packet ... ok [INFO] [stdout] test sabertooth2x32::packetserial::crc::tests::test_crc14 ... ok [INFO] [stdout] test sabertooth2x32::plaintext::tests::test_split_response ... ok [INFO] [stdout] test sabertooth2x32::packetserial::checksum::tests::test_checksum ... ok [INFO] [stdout] test sabertooth2x32::packetserial::crc::tests::test_crc7 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_device.rs (/opt/rustwide/target/debug/deps/test_device-959562f9e94159f6) [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 ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- timeout_actual stdout ---- [INFO] [stdout] thread 'timeout_actual' panicked at tests/test_device.rs:71:9: [INFO] [stdout] assertion failed: elapsed < (t + delta) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ca5cb9e15fa - std::backtrace_rs::backtrace::libunwind::trace::h5a5b8284f2d0c266 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5ca5cb9e15fa - std::backtrace_rs::backtrace::trace_unsynchronized::h76d4f1c9b0b875e3 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5ca5cb9e15fa - std::sys::backtrace::_print_fmt::hc4546b8364a537c6 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ca5cb9e15fa - ::fmt::h5b6bd5631a6d1f6b [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ca5cba06a13 - core::fmt::rt::Argument::fmt::h270f6602a2b96f62 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5ca5cba06a13 - core::fmt::write::h7550c97b06c86515 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/fmt/mod.rs:1186:21 [INFO] [stdout] 6: 0x5ca5cb9de7c3 - std::io::Write::write_fmt::h509ff860e5956e5e [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/io/mod.rs:1839:15 [INFO] [stdout] 7: 0x5ca5cb9e1442 - std::sys::backtrace::BacktraceLock::print::h2395ccd2c84ba3aa [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5ca5cb9e2a5a - std::panicking::default_hook::{{closure}}::he19d4c7230e07961 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x5ca5cb9e2864 - std::panicking::default_hook::hf614597d3c67bbdb [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x5ca5cb99ace9 - as core::ops::function::Fn>::call::h39b51ce4599c23d1 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 11: 0x5ca5cb99ace9 - test::test_main::{{closure}}::he977ae839a582784 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:133:21 [INFO] [stdout] 12: 0x5ca5cb9e30f8 - as core::ops::function::Fn>::call::h9455091b6b06f9fb [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 13: 0x5ca5cb9e30f8 - std::panicking::rust_panic_with_hook::h8942133a8b252070 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x5ca5cb9e2e86 - std::panicking::begin_panic_handler::{{closure}}::hb5f5963570096b29 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:667:13 [INFO] [stdout] 15: 0x5ca5cb9e1ad9 - std::sys::backtrace::__rust_end_short_backtrace::h6208cedc1922feda [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5ca5cb9e2b4c - rust_begin_unwind [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x5ca5cb95eaa0 - core::panicking::panic_fmt::h0c3082644d1bf418 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x5ca5cb95eb2c - core::panicking::panic::h957f98c65a3b3074 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panicking.rs:148:5 [INFO] [stdout] 19: 0x5ca5cb9629d3 - test_device::timeout_actual::{{closure}}::h3d7672f5d2c5020a [INFO] [stdout] at /opt/rustwide/workdir/tests/test_device.rs:71:9 [INFO] [stdout] 20: 0x5ca5cb96275f - test_device::timeout_actual::h7bc9039a4c8d772d [INFO] [stdout] at /opt/rustwide/workdir/tests/test_device.rs:74:5 [INFO] [stdout] 21: 0x5ca5cb962637 - test_device::timeout_actual::{{closure}}::h65729ba855dcc4bd [INFO] [stdout] at /opt/rustwide/workdir/tests/test_device.rs:59:20 [INFO] [stdout] 22: 0x5ca5cb95fb06 - core::ops::function::FnOnce::call_once::h20a32fe800c408fc [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5ca5cb99f6ab - core::ops::function::FnOnce::call_once::h109cf8051a59b34e [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5ca5cb99f6ab - test::__rust_begin_short_backtrace::hf4fff89d377446ba [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:621:18 [INFO] [stdout] 25: 0x5ca5cb99eee7 - test::run_test_in_process::{{closure}}::h0e39181dd7ee5a43 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:644:60 [INFO] [stdout] 26: 0x5ca5cb99eee7 - as core::ops::function::FnOnce<()>>::call_once::hc5a66a30f0bdfd1f [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5ca5cb99eee7 - std::panicking::try::do_call::h873b7cf639554a5e [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40 [INFO] [stdout] 28: 0x5ca5cb99eee7 - std::panicking::try::hdb19862fad9c8bd1 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19 [INFO] [stdout] 29: 0x5ca5cb99eee7 - std::panic::catch_unwind::h281fe732d236d260 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x5ca5cb99eee7 - test::run_test_in_process::h949b6df8457ed338 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:644:27 [INFO] [stdout] 31: 0x5ca5cb99eee7 - test::run_test::{{closure}}::h52c556a6d4740e10 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:565:43 [INFO] [stdout] 32: 0x5ca5cb9641c4 - test::run_test::{{closure}}::h4237f6381c45ccb9 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:595:41 [INFO] [stdout] 33: 0x5ca5cb9641c4 - std::sys::backtrace::__rust_begin_short_backtrace::h505c97a579eca628 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 34: 0x5ca5cb96788e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9e86b2e2bc107ea3 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:538:17 [INFO] [stdout] 35: 0x5ca5cb96788e - as core::ops::function::FnOnce<()>>::call_once::h8b06ddb275ff4a25 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5ca5cb96788e - std::panicking::try::do_call::hb26ecd7cd9a9355d [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40 [INFO] [stdout] 37: 0x5ca5cb96788e - std::panicking::try::h8ddeca9d705f9069 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19 [INFO] [stdout] 38: 0x5ca5cb96788e - std::panic::catch_unwind::h49e1c33078844c46 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x5ca5cb96788e - std::thread::Builder::spawn_unchecked_::{{closure}}::h6073db6ff56ad35d [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:537:30 [INFO] [stdout] 40: 0x5ca5cb96788e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2c5a5f3779c774f1 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5ca5cb9e6e4b - as core::ops::function::FnOnce>::call_once::hf75717d9f28faebf [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 42: 0x5ca5cb9e6e4b - as core::ops::function::FnOnce>::call_once::h7bd883a5f3c5f3c1 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 43: 0x5ca5cb9e6e4b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc78f3943333fa94 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x7faf23253ac3 - [INFO] [stdout] 45: 0x7faf232e4a04 - clone [INFO] [stdout] 46: 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.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test test_device` [INFO] running `Command { std: "docker" "inspect" "ec7dddd8b9f74737a3afb82af8025b2e44394665567a810eaef83f3b410e8702", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec7dddd8b9f74737a3afb82af8025b2e44394665567a810eaef83f3b410e8702", kill_on_drop: false }` [INFO] [stdout] ec7dddd8b9f74737a3afb82af8025b2e44394665567a810eaef83f3b410e8702