[INFO] cloning repository https://github.com/fikgol/starcoin-usbminer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fikgol/starcoin-usbminer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffikgol%2Fstarcoin-usbminer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffikgol%2Fstarcoin-usbminer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1ef502fbaccf9889633b60a89cc36503c533f4eb
[INFO] testing fikgol/starcoin-usbminer against nightly-2025-01-18 for randomize-layout-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffikgol%2Fstarcoin-usbminer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/fikgol/starcoin-usbminer on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/fikgol/starcoin-usbminer
[INFO] finished tweaking git repo https://github.com/fikgol/starcoin-usbminer
[INFO] tweaked toml for git repo https://github.com/fikgol/starcoin-usbminer written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/fikgol/starcoin-usbminer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded async-io v1.1.10
[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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 84d05a597e644d1fbfe79a8bdf9692007f24dd41dc123ca3aed64c6f0e86c57e
[INFO] running `Command { std: "docker" "start" "-a" "84d05a597e644d1fbfe79a8bdf9692007f24dd41dc123ca3aed64c6f0e86c57e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "84d05a597e644d1fbfe79a8bdf9692007f24dd41dc123ca3aed64c6f0e86c57e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84d05a597e644d1fbfe79a8bdf9692007f24dd41dc123ca3aed64c6f0e86c57e", kill_on_drop: false }`
[INFO] [stdout] 84d05a597e644d1fbfe79a8bdf9692007f24dd41dc123ca3aed64c6f0e86c57e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e410ce03c62579d30f58ec26ff24c9865b0dfd83cde445fbb39beba1f483a808
[INFO] running `Command { std: "docker" "start" "-a" "e410ce03c62579d30f58ec26ff24c9865b0dfd83cde445fbb39beba1f483a808", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling futures-core v0.3.7
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling futures-io v0.3.7
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling fastrand v1.4.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling pin-project-lite v0.1.11
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling async-task v4.0.3
[INFO] [stderr]    Compiling futures-sink v0.3.7
[INFO] [stderr]    Compiling vec-arena v1.0.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling event-listener v2.5.1
[INFO] [stderr]    Compiling futures-channel v0.3.7
[INFO] [stderr]    Compiling futures-task v0.3.7
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling instant v0.1.8
[INFO] [stderr]    Compiling async-channel v1.5.1
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling anyhow v1.0.33
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling async-mutex v1.4.0
[INFO] [stderr]    Compiling futures-lite v1.11.2
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling polling v2.0.2
[INFO] [stderr]    Compiling nb-connect v1.0.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling libudev v0.2.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling async-io v1.1.10
[INFO] [stderr]    Compiling async-executor v1.3.0
[INFO] [stderr]    Compiling blocking v1.0.2
[INFO] [stderr]    Compiling async-global-executor v1.4.3
[INFO] [stderr]    Compiling async-std v1.6.5
[INFO] [stderr]    Compiling serialport v3.3.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.1
[INFO] [stderr]    Compiling futures-macro v0.3.7
[INFO] [stderr]    Compiling pin-project v1.0.1
[INFO] [stderr]    Compiling futures-util v0.3.7
[INFO] [stderr]    Compiling futures-executor v0.3.7
[INFO] [stderr]    Compiling futures v0.3.7
[INFO] [stderr]    Compiling starcoin-superminer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/derive.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::{Result, Error};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::io::ErrorKind`
[INFO] [stdout]   --> src/derive.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use futures::io::ErrorKind;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::spawn`
[INFO] [stdout]   --> src/derive.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::thread::spawn;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/derive.rs:118:21
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_SET_BOOT_MODE` is never used
[INFO] [stdout]  --> src/constants.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) const TYPE_SET_BOOT_MODE: u8 = 0xA3;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_UPDATE_FW` is never used
[INFO] [stdout]  --> src/constants.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub(crate) const TYPE_UPDATE_FW: u8 = 0xAA;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_QUERY_INFO` is never used
[INFO] [stdout]  --> src/constants.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) const TYPE_QUERY_INFO: u8 = 0xA4;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_PRODUCT_TEST` is never used
[INFO] [stdout]  --> src/constants.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) const TYPE_PRODUCT_TEST: u8 = 0xAB;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_SET_LED` is never used
[INFO] [stdout]  --> src/constants.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub(crate) const TYPE_SET_LED: u8 = 0xA6;
[INFO] [stdout]   |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_REBOOT` is never used
[INFO] [stdout]   --> src/constants.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub(crate) const TYPE_REBOOT: u8 = 0xAC;
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_BOOT_MODE` is never used
[INFO] [stdout]   --> src/constants.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) const TYPE_RECV_BOOT_MODE: u8 = 0x53;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_INFO` is never used
[INFO] [stdout]   --> src/constants.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate) const TYPE_RECV_INFO: u8 = 0x54;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_OP` is never used
[INFO] [stdout]   --> src/constants.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub(crate) const TYPE_RECV_OP: u8 = 0x57;
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_FWSTATE` is never used
[INFO] [stdout]   --> src/constants.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub(crate) const TYPE_RECV_FWSTATE: u8 = 0x5A;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_TEST_RESULT` is never used
[INFO] [stdout]   --> src/constants.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub(crate) const TYPE_RECV_TEST_RESULT: u8 = 0x5B;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.62s
[INFO] running `Command { std: "docker" "inspect" "e410ce03c62579d30f58ec26ff24c9865b0dfd83cde445fbb39beba1f483a808", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e410ce03c62579d30f58ec26ff24c9865b0dfd83cde445fbb39beba1f483a808", kill_on_drop: false }`
[INFO] [stdout] e410ce03c62579d30f58ec26ff24c9865b0dfd83cde445fbb39beba1f483a808
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] acd3cb38ea757824fd9f81eb789c7ff1a6bee56f1225f6e50c099870a275307e
[INFO] running `Command { std: "docker" "start" "-a" "acd3cb38ea757824fd9f81eb789c7ff1a6bee56f1225f6e50c099870a275307e", kill_on_drop: false }`
[INFO] [stderr]    Compiling starcoin-superminer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/derive.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::{Result, Error};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::io::ErrorKind`
[INFO] [stdout]   --> src/derive.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use futures::io::ErrorKind;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::spawn`
[INFO] [stdout]   --> src/derive.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::thread::spawn;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/derive.rs:118:21
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_SET_BOOT_MODE` is never used
[INFO] [stdout]  --> src/constants.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) const TYPE_SET_BOOT_MODE: u8 = 0xA3;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_UPDATE_FW` is never used
[INFO] [stdout]  --> src/constants.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub(crate) const TYPE_UPDATE_FW: u8 = 0xAA;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_QUERY_INFO` is never used
[INFO] [stdout]  --> src/constants.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) const TYPE_QUERY_INFO: u8 = 0xA4;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_PRODUCT_TEST` is never used
[INFO] [stdout]  --> src/constants.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) const TYPE_PRODUCT_TEST: u8 = 0xAB;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_SET_LED` is never used
[INFO] [stdout]  --> src/constants.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub(crate) const TYPE_SET_LED: u8 = 0xA6;
[INFO] [stdout]   |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_REBOOT` is never used
[INFO] [stdout]   --> src/constants.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub(crate) const TYPE_REBOOT: u8 = 0xAC;
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_BOOT_MODE` is never used
[INFO] [stdout]   --> src/constants.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) const TYPE_RECV_BOOT_MODE: u8 = 0x53;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_INFO` is never used
[INFO] [stdout]   --> src/constants.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate) const TYPE_RECV_INFO: u8 = 0x54;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_OP` is never used
[INFO] [stdout]   --> src/constants.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub(crate) const TYPE_RECV_OP: u8 = 0x57;
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_FWSTATE` is never used
[INFO] [stdout]   --> src/constants.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub(crate) const TYPE_RECV_FWSTATE: u8 = 0x5A;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_TEST_RESULT` is never used
[INFO] [stdout]   --> src/constants.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub(crate) const TYPE_RECV_TEST_RESULT: u8 = 0x5B;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/derive.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::{Result, Error};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::io::ErrorKind`
[INFO] [stdout]   --> src/derive.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use futures::io::ErrorKind;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::spawn`
[INFO] [stdout]   --> src/derive.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::thread::spawn;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DeriveResponse` and `Message`
[INFO] [stdout]  --> src/tests.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use crate::proto::{Message, DeriveResponse};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::read_until`
[INFO] [stdout]  --> src/tests.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use crate::read_until;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/tests.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use anyhow::{Result, Error};
[INFO] [stdout]   |                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/tests.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     use std::io;
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/tests.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     use std::time::Duration;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/derive.rs:118:21
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]   --> src/tests.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let hash: [u8; 32] = [
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/tests.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let input = INPUT_DATA.clone();
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attempting to modify a `const` item
[INFO] [stdout]   --> src/tests.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         INPUT_DATA[39] = nonce_b[0];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary; the original `const` item will not be modified
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/tests.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     const INPUT_DATA: [u8; 76] = [
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(const_item_mutation)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attempting to modify a `const` item
[INFO] [stdout]   --> src/tests.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         INPUT_DATA[40] = nonce_b[1];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary; the original `const` item will not be modified
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/tests.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     const INPUT_DATA: [u8; 76] = [
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attempting to modify a `const` item
[INFO] [stdout]   --> src/tests.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         INPUT_DATA[41] = nonce_b[2];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary; the original `const` item will not be modified
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/tests.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     const INPUT_DATA: [u8; 76] = [
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attempting to modify a `const` item
[INFO] [stdout]   --> src/tests.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         INPUT_DATA[42] = nonce_b[3];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: each usage of a `const` item creates a new temporary; the original `const` item will not be modified
[INFO] [stdout] note: `const` item defined here
[INFO] [stdout]   --> src/tests.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     const INPUT_DATA: [u8; 76] = [
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_SET_BOOT_MODE` is never used
[INFO] [stdout]  --> src/constants.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(crate) const TYPE_SET_BOOT_MODE: u8 = 0xA3;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_UPDATE_FW` is never used
[INFO] [stdout]  --> src/constants.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub(crate) const TYPE_UPDATE_FW: u8 = 0xAA;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_QUERY_INFO` is never used
[INFO] [stdout]  --> src/constants.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) const TYPE_QUERY_INFO: u8 = 0xA4;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_PRODUCT_TEST` is never used
[INFO] [stdout]  --> src/constants.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) const TYPE_PRODUCT_TEST: u8 = 0xAB;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_SET_LED` is never used
[INFO] [stdout]  --> src/constants.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub(crate) const TYPE_SET_LED: u8 = 0xA6;
[INFO] [stdout]   |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_REBOOT` is never used
[INFO] [stdout]   --> src/constants.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub(crate) const TYPE_REBOOT: u8 = 0xAC;
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_BOOT_MODE` is never used
[INFO] [stdout]   --> src/constants.rs:16:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) const TYPE_RECV_BOOT_MODE: u8 = 0x53;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_INFO` is never used
[INFO] [stdout]   --> src/constants.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub(crate) const TYPE_RECV_INFO: u8 = 0x54;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_OP` is never used
[INFO] [stdout]   --> src/constants.rs:18:18
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub(crate) const TYPE_RECV_OP: u8 = 0x57;
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_FWSTATE` is never used
[INFO] [stdout]   --> src/constants.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub(crate) const TYPE_RECV_FWSTATE: u8 = 0x5A;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TYPE_RECV_TEST_RESULT` is never used
[INFO] [stdout]   --> src/constants.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub(crate) const TYPE_RECV_TEST_RESULT: u8 = 0x5B;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/tests.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         derive.set_hw_params();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let _ = derive.set_hw_params();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s
[INFO] running `Command { std: "docker" "inspect" "acd3cb38ea757824fd9f81eb789c7ff1a6bee56f1225f6e50c099870a275307e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acd3cb38ea757824fd9f81eb789c7ff1a6bee56f1225f6e50c099870a275307e", kill_on_drop: false }`
[INFO] [stdout] acd3cb38ea757824fd9f81eb789c7ff1a6bee56f1225f6e50c099870a275307e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5f8817c34c18c68fab6e05ab0ba457979199387b50e3880c4a484af18196a195
[INFO] running `Command { std: "docker" "start" "-a" "5f8817c34c18c68fab6e05ab0ba457979199387b50e3880c4a484af18196a195", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Error`
[INFO] [stderr]  --> src/derive.rs:5:22
[INFO] [stderr]   |
[INFO] [stderr] 5 | use anyhow::{Result, Error};
[INFO] [stderr]   |                      ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::io::ErrorKind`
[INFO] [stderr]   --> src/derive.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use futures::io::ErrorKind;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread::spawn`
[INFO] [stderr]   --> src/derive.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use std::thread::spawn;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/derive.rs:118:21
[INFO] [stderr]     |
[INFO] [stderr] 118 |                 Err(e) => {
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TYPE_SET_BOOT_MODE` is never used
[INFO] [stderr]  --> src/constants.rs:5:18
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub(crate) const TYPE_SET_BOOT_MODE: u8 = 0xA3;
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TYPE_UPDATE_FW` is never used
[INFO] [stderr]  --> src/constants.rs:6:18
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub(crate) const TYPE_UPDATE_FW: u8 = 0xAA;
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TYPE_QUERY_INFO` is never used
[INFO] [stderr]  --> src/constants.rs:7:18
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub(crate) const TYPE_QUERY_INFO: u8 = 0xA4;
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TYPE_PRODUCT_TEST` is never used
[INFO] [stderr]  --> src/constants.rs:8:18
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub(crate) const TYPE_PRODUCT_TEST: u8 = 0xAB;
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TYPE_SET_LED` is never used
[INFO] [stderr]  --> src/constants.rs:9:18
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub(crate) const TYPE_SET_LED: u8 = 0xA6;
[INFO] [stderr]   |                  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TYPE_REBOOT` is never used
[INFO] [stderr]   --> src/constants.rs:13:18
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub(crate) const TYPE_REBOOT: u8 = 0xAC;
[INFO] [stderr]    |                  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TYPE_RECV_BOOT_MODE` is never used
[INFO] [stderr]   --> src/constants.rs:16:18
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub(crate) const TYPE_RECV_BOOT_MODE: u8 = 0x53;
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TYPE_RECV_INFO` is never used
[INFO] [stderr]   --> src/constants.rs:17:18
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub(crate) const TYPE_RECV_INFO: u8 = 0x54;
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TYPE_RECV_OP` is never used
[INFO] [stderr]   --> src/constants.rs:18:18
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub(crate) const TYPE_RECV_OP: u8 = 0x57;
[INFO] [stderr]    |                  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TYPE_RECV_FWSTATE` is never used
[INFO] [stderr]   --> src/constants.rs:19:18
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub(crate) const TYPE_RECV_FWSTATE: u8 = 0x5A;
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TYPE_RECV_TEST_RESULT` is never used
[INFO] [stderr]   --> src/constants.rs:20:18
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub(crate) const TYPE_RECV_TEST_RESULT: u8 = 0x5B;
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `DeriveResponse` and `Message`
[INFO] [stderr]  --> src/tests.rs:4:24
[INFO] [stderr]   |
[INFO] [stderr] 4 |     use crate::proto::{Message, DeriveResponse};
[INFO] [stderr]   |                        ^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::read_until`
[INFO] [stderr]  --> src/tests.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 5 |     use crate::read_until;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Error`
[INFO] [stderr]  --> src/tests.rs:6:26
[INFO] [stderr]   |
[INFO] [stderr] 6 |     use anyhow::{Result, Error};
[INFO] [stderr]   |                          ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io`
[INFO] [stderr]  --> src/tests.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 8 |     use std::io;
[INFO] [stderr]   |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]  --> src/tests.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 9 |     use std::time::Duration;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hash`
[INFO] [stderr]   --> src/tests.rs:27:13
[INFO] [stderr]    |
[INFO] [stderr] 27 |         let hash: [u8; 32] = [
[INFO] [stderr]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `input`
[INFO] [stderr]   --> src/tests.rs:31:13
[INFO] [stderr]    |
[INFO] [stderr] 31 |         let input = INPUT_DATA.clone();
[INFO] [stderr]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stderr] 
[INFO] [stderr] warning: attempting to modify a `const` item
[INFO] [stderr]   --> src/tests.rs:34:9
[INFO] [stderr]    |
[INFO] [stderr] 34 |         INPUT_DATA[39] = nonce_b[0];
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: each usage of a `const` item creates a new temporary; the original `const` item will not be modified
[INFO] [stderr] note: `const` item defined here
[INFO] [stderr]   --> src/tests.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     const INPUT_DATA: [u8; 76] = [
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: `#[warn(const_item_mutation)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: attempting to modify a `const` item
[INFO] [stderr]   --> src/tests.rs:35:9
[INFO] [stderr]    |
[INFO] [stderr] 35 |         INPUT_DATA[40] = nonce_b[1];
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: each usage of a `const` item creates a new temporary; the original `const` item will not be modified
[INFO] [stderr] note: `const` item defined here
[INFO] [stderr]   --> src/tests.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     const INPUT_DATA: [u8; 76] = [
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: attempting to modify a `const` item
[INFO] [stderr]   --> src/tests.rs:36:9
[INFO] [stderr]    |
[INFO] [stderr] 36 |         INPUT_DATA[41] = nonce_b[2];
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: each usage of a `const` item creates a new temporary; the original `const` item will not be modified
[INFO] [stderr] note: `const` item defined here
[INFO] [stderr]   --> src/tests.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     const INPUT_DATA: [u8; 76] = [
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: attempting to modify a `const` item
[INFO] [stderr]   --> src/tests.rs:37:9
[INFO] [stderr]    |
[INFO] [stderr] 37 |         INPUT_DATA[42] = nonce_b[3];
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: each usage of a `const` item creates a new temporary; the original `const` item will not be modified
[INFO] [stderr] note: `const` item defined here
[INFO] [stderr]   --> src/tests.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     const INPUT_DATA: [u8; 76] = [
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/tests.rs:45:9
[INFO] [stderr]    |
[INFO] [stderr] 45 |         derive.set_hw_params();
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 45 |         let _ = derive.set_hw_params();
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `starcoin-superminer` (lib) generated 15 warnings (run `cargo fix --lib -p starcoin-superminer` to apply 3 suggestions)
[INFO] [stderr] warning: `starcoin-superminer` (lib test) generated 27 warnings (15 duplicates) (run `cargo fix --lib -p starcoin-superminer --tests` to apply 5 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/starcoin_superminer-d57217141ca309f2)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test proto::tests::test_set_hw_msg ... ok
[INFO] [stdout] test tests::tests::test_caculate_hash ... ok
[INFO] [stdout] test test_read_until ... ok
[INFO] [stdout] test proto::tests::test_get_state_msg ... ok
[INFO] [stdout] test tests::tests::test_derive_set ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::tests::test_derive_set stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::tests::test_derive_set' panicked at src/tests.rs:44:67:
[INFO] [stdout] Must open serial port: No such file or directory
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x574f4c4ecc1a - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x574f4c4ecc1a - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x574f4c4ecc1a - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x574f4c4ecc1a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h71a62eb3b9696b12
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x574f4c514383 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x574f4c514383 - core::fmt::write::h2cc1698af7e2d686
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21
[INFO] [stdout]    6:     0x574f4c4e9773 - std::io::Write::write_fmt::hab1b4cd059a79022
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15
[INFO] [stdout]    7:     0x574f4c4eca62 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x574f4c4ee03f - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22
[INFO] [stdout]    9:     0x574f4c4ede58 - std::panicking::default_hook::h20f81eb0576efcec
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:322:9
[INFO] [stdout]   10:     0x574f4c49d003 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hdb53814c496a4d34
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   11:     0x574f4c49d003 - test::test_main::{{closure}}::hc0a4963c59427c24
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x574f4c4eeb33 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h591b2225413a77e9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2027:9
[INFO] [stdout]   13:     0x574f4c4eeb33 - std::panicking::rust_panic_with_hook::h625eea43051b2edc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:839:13
[INFO] [stdout]   14:     0x574f4c4ee7ea - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:704:13
[INFO] [stdout]   15:     0x574f4c4ed119 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   16:     0x574f4c4ee47d - rust_begin_unwind
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5
[INFO] [stdout]   17:     0x574f4c512d60 - core::panicking::panic_fmt::h9e7c637e9e5f29c9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14
[INFO] [stdout]   18:     0x574f4c5131d6 - core::result::unwrap_failed::h7979f09313fe1849
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/result.rs:1704:5
[INFO] [stdout]   19:     0x574f4c44efe1 - core::result::Result<T,E>::expect::h30da2062e7916ae7
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/result.rs:1061:23
[INFO] [stdout]   20:     0x574f4c451e52 - starcoin_superminer::tests::tests::setup::hc1324d7716dbe0ee
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests.rs:44:26
[INFO] [stdout]   21:     0x574f4c452890 - starcoin_superminer::tests::tests::test_derive_set::h6b7cef8805faaf08
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests.rs:54:26
[INFO] [stdout]   22:     0x574f4c452837 - starcoin_superminer::tests::tests::test_derive_set::{{closure}}::h09ff7a02995569bc
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests.rs:52:25
[INFO] [stdout]   23:     0x574f4c4548b6 - core::ops::function::FnOnce::call_once::hee24c417f9b76ec1
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x574f4c4a275b - core::ops::function::FnOnce::call_once::he27718dfdd183f43
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x574f4c4a275b - test::__rust_begin_short_backtrace::h4e84902998457a5d
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:632:18
[INFO] [stdout]   26:     0x574f4c4a1693 - test::run_test_in_process::{{closure}}::h7176fd18fc1feca0
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:60
[INFO] [stdout]   27:     0x574f4c4a1693 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf79cff2a624d8cf7
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x574f4c4a1693 - std::panicking::try::do_call::h3da0561d9ab99c25
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   29:     0x574f4c4a1693 - std::panicking::try::h41c9fa508bc61df6
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   30:     0x574f4c4a1693 - std::panic::catch_unwind::h6b3ff07bb5afad93
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   31:     0x574f4c4a1693 - test::run_test_in_process::hc7253dd11b39b9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:655:27
[INFO] [stdout]   32:     0x574f4c4a1693 - test::run_test::{{closure}}::hfb2007f8649c30bb
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:576:43
[INFO] [stdout]   33:     0x574f4c464775 - test::run_test::{{closure}}::h56a17aa7a282a9f4
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/test/src/lib.rs:606:41
[INFO] [stdout]   34:     0x574f4c464775 - std::sys::backtrace::__rust_begin_short_backtrace::hd2d2d2fb8e8c6aac
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   35:     0x574f4c46805a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4faa3f9db6133423
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x574f4c46805a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf2e855a36a4ea846
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x574f4c46805a - std::panicking::try::do_call::h2f73af3616c35465
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   38:     0x574f4c46805a - std::panicking::try::hd1660ce9efadef5a
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   39:     0x574f4c46805a - std::panic::catch_unwind::h5ee8d7823b8ca744
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   40:     0x574f4c46805a - std::thread::Builder::spawn_unchecked_::{{closure}}::h53c3a1894dce8407
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x574f4c46805a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h048ce291ad4f62bf
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x574f4c4f2a6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha52bedf99a3b4981
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   43:     0x574f4c4f2a6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h567748934d80ccf8
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/alloc/src/boxed.rs:2013:9
[INFO] [stdout]   44:     0x574f4c4f2a6b - std::sys::pal::unix::thread::Thread::new::thread_start::h2d970728ae887adc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/pal/unix/thread.rs:106:17
[INFO] [stdout]   45:     0x7aca4b2abac3 - <unknown>
[INFO] [stdout]   46:     0x7aca4b33ca04 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::tests::test_derive_set
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "5f8817c34c18c68fab6e05ab0ba457979199387b50e3880c4a484af18196a195", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f8817c34c18c68fab6e05ab0ba457979199387b50e3880c4a484af18196a195", kill_on_drop: false }`
[INFO] [stdout] 5f8817c34c18c68fab6e05ab0ba457979199387b50e3880c4a484af18196a195
