[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] checking fikgol/starcoin-usbminer against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffikgol%2Fstarcoin-usbminer" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fikgol/starcoin-usbminer on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8587dd7815ad9d09fa68a3fb98dc328024bf20832687b410743359c30368c70a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8587dd7815ad9d09fa68a3fb98dc328024bf20832687b410743359c30368c70a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8587dd7815ad9d09fa68a3fb98dc328024bf20832687b410743359c30368c70a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8587dd7815ad9d09fa68a3fb98dc328024bf20832687b410743359c30368c70a", kill_on_drop: false }` [INFO] [stdout] 8587dd7815ad9d09fa68a3fb98dc328024bf20832687b410743359c30368c70a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f755f0bd743bc16285303af3617778b54deb1fb76f2530dc39c32fd89ae0d21 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9f755f0bd743bc16285303af3617778b54deb1fb76f2530dc39c32fd89ae0d21", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking futures-lite v1.11.2 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking async-io v1.1.10 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Checking async-std v1.6.5 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Checking futures-executor v0.3.7 [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking 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 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`, `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: constant is never used: `TYPE_SET_BOOT_MODE` [INFO] [stdout] --> src/constants.rs:5:1 [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 is never used: `TYPE_UPDATE_FW` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) const TYPE_UPDATE_FW: u8 = 0xAA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_QUERY_INFO` [INFO] [stdout] --> src/constants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) const TYPE_QUERY_INFO: u8 = 0xA4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_PRODUCT_TEST` [INFO] [stdout] --> src/constants.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) const TYPE_PRODUCT_TEST: u8 = 0xAB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_SET_LED` [INFO] [stdout] --> src/constants.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) const TYPE_SET_LED: u8 = 0xA6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_REBOOT` [INFO] [stdout] --> src/constants.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) const TYPE_REBOOT: u8 = 0xAC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_RECV_BOOT_MODE` [INFO] [stdout] --> src/constants.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) const TYPE_RECV_BOOT_MODE: u8 = 0x53; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_RECV_INFO` [INFO] [stdout] --> src/constants.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) const TYPE_RECV_INFO: u8 = 0x54; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_RECV_OP` [INFO] [stdout] --> src/constants.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) const TYPE_RECV_OP: u8 = 0x57; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_RECV_FWSTATE` [INFO] [stdout] --> src/constants.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) const TYPE_RECV_FWSTATE: u8 = 0x5A; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_RECV_TEST_RESULT` [INFO] [stdout] --> src/constants.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) const TYPE_RECV_TEST_RESULT: u8 = 0x5B; [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: 15 warnings emitted [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: `#[warn(const_item_mutation)]` on by default [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] 16 | | 0x05, 0x05, 0xc0, 0xa7, 0xdb, 0xc7, 0x05, 0xb0, 0xad, 0xf8, 0x2c, 0x58, 0x1a, 0xae, 0xe4, [INFO] [stdout] 17 | | 0x8b, 0x2e, 0x0a, 0xee, 0x2e, 0xa8, 0x97, 0x2d, 0xd7, 0x9d, 0xba, 0xf3, 0xca, 0x28, 0xac, [INFO] [stdout] 18 | | 0xca, 0x5f, 0x73, 0xca, 0x2a, 0x90, 0x9c, 0x8c, 0x24, 0xf7, 0x09, 0x00, 0x80, 0xf9, 0x87, [INFO] [stdout] ... | [INFO] [stdout] 21 | | 0x00, [INFO] [stdout] 22 | | ]; [INFO] [stdout] | |______^ [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] 16 | | 0x05, 0x05, 0xc0, 0xa7, 0xdb, 0xc7, 0x05, 0xb0, 0xad, 0xf8, 0x2c, 0x58, 0x1a, 0xae, 0xe4, [INFO] [stdout] 17 | | 0x8b, 0x2e, 0x0a, 0xee, 0x2e, 0xa8, 0x97, 0x2d, 0xd7, 0x9d, 0xba, 0xf3, 0xca, 0x28, 0xac, [INFO] [stdout] 18 | | 0xca, 0x5f, 0x73, 0xca, 0x2a, 0x90, 0x9c, 0x8c, 0x24, 0xf7, 0x09, 0x00, 0x80, 0xf9, 0x87, [INFO] [stdout] ... | [INFO] [stdout] 21 | | 0x00, [INFO] [stdout] 22 | | ]; [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] 16 | | 0x05, 0x05, 0xc0, 0xa7, 0xdb, 0xc7, 0x05, 0xb0, 0xad, 0xf8, 0x2c, 0x58, 0x1a, 0xae, 0xe4, [INFO] [stdout] 17 | | 0x8b, 0x2e, 0x0a, 0xee, 0x2e, 0xa8, 0x97, 0x2d, 0xd7, 0x9d, 0xba, 0xf3, 0xca, 0x28, 0xac, [INFO] [stdout] 18 | | 0xca, 0x5f, 0x73, 0xca, 0x2a, 0x90, 0x9c, 0x8c, 0x24, 0xf7, 0x09, 0x00, 0x80, 0xf9, 0x87, [INFO] [stdout] ... | [INFO] [stdout] 21 | | 0x00, [INFO] [stdout] 22 | | ]; [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] 16 | | 0x05, 0x05, 0xc0, 0xa7, 0xdb, 0xc7, 0x05, 0xb0, 0xad, 0xf8, 0x2c, 0x58, 0x1a, 0xae, 0xe4, [INFO] [stdout] 17 | | 0x8b, 0x2e, 0x0a, 0xee, 0x2e, 0xa8, 0x97, 0x2d, 0xd7, 0x9d, 0xba, 0xf3, 0xca, 0x28, 0xac, [INFO] [stdout] 18 | | 0xca, 0x5f, 0x73, 0xca, 0x2a, 0x90, 0x9c, 0x8c, 0x24, 0xf7, 0x09, 0x00, 0x80, 0xf9, 0x87, [INFO] [stdout] ... | [INFO] [stdout] 21 | | 0x00, [INFO] [stdout] 22 | | ]; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_SET_BOOT_MODE` [INFO] [stdout] --> src/constants.rs:5:1 [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 is never used: `TYPE_UPDATE_FW` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) const TYPE_UPDATE_FW: u8 = 0xAA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_QUERY_INFO` [INFO] [stdout] --> src/constants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) const TYPE_QUERY_INFO: u8 = 0xA4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_PRODUCT_TEST` [INFO] [stdout] --> src/constants.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) const TYPE_PRODUCT_TEST: u8 = 0xAB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_SET_LED` [INFO] [stdout] --> src/constants.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) const TYPE_SET_LED: u8 = 0xA6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_REBOOT` [INFO] [stdout] --> src/constants.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) const TYPE_REBOOT: u8 = 0xAC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_RECV_BOOT_MODE` [INFO] [stdout] --> src/constants.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) const TYPE_RECV_BOOT_MODE: u8 = 0x53; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_RECV_INFO` [INFO] [stdout] --> src/constants.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) const TYPE_RECV_INFO: u8 = 0x54; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_RECV_OP` [INFO] [stdout] --> src/constants.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) const TYPE_RECV_OP: u8 = 0x57; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_RECV_FWSTATE` [INFO] [stdout] --> src/constants.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) const TYPE_RECV_FWSTATE: u8 = 0x5A; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TYPE_RECV_TEST_RESULT` [INFO] [stdout] --> src/constants.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) const TYPE_RECV_TEST_RESULT: u8 = 0x5B; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.98s [INFO] running `Command { std: "docker" "inspect" "9f755f0bd743bc16285303af3617778b54deb1fb76f2530dc39c32fd89ae0d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f755f0bd743bc16285303af3617778b54deb1fb76f2530dc39c32fd89ae0d21", kill_on_drop: false }` [INFO] [stdout] 9f755f0bd743bc16285303af3617778b54deb1fb76f2530dc39c32fd89ae0d21