[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffikgol%2Fstarcoin-usbminer" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fikgol/starcoin-usbminer on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-3/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1efaff4bf90fa0bbd64ad1357d8952a61ce2470abe1bdf446fc0787b4132ef50 [INFO] running `Command { std: "docker" "start" "-a" "1efaff4bf90fa0bbd64ad1357d8952a61ce2470abe1bdf446fc0787b4132ef50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1efaff4bf90fa0bbd64ad1357d8952a61ce2470abe1bdf446fc0787b4132ef50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1efaff4bf90fa0bbd64ad1357d8952a61ce2470abe1bdf446fc0787b4132ef50", kill_on_drop: false }` [INFO] [stdout] 1efaff4bf90fa0bbd64ad1357d8952a61ce2470abe1bdf446fc0787b4132ef50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0186c19595bc2b891c7970cf5f787f3d9c6fa8e6bd5030233607597f33864a1 [INFO] running `Command { std: "docker" "start" "-a" "e0186c19595bc2b891c7970cf5f787f3d9c6fa8e6bd5030233607597f33864a1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] futures-channel v0.3.7: default [INFO] [stderr] libc v0.2.79: use_std [INFO] [stderr] memchr v2.3.3: use_std [INFO] [stderr] syn v1.0.48 (as host dependency): visit [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking futures-core v0.3.7 [INFO] [stderr] Checking futures-io v0.3.7 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking futures-sink v0.3.7 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking futures-lite v1.11.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.7.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 parking_lot_core v0.8.0 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking async-io v1.1.10 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Checking async-std v1.6.5 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking futures-executor v0.3.7 [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking starcoin-superminer v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/tests.rs (7 fixes) [INFO] [stderr] Fixed src/derive.rs (4 fixes) [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: 11 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 `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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Checking futures-lite v1.11.2 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking libudev-sys v0.1.4 [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 parking_lot v0.11.0 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking async-io v1.1.10 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Checking async-std v1.6.5 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking futures-executor v0.3.7 [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking starcoin-superminer v0.1.0 (/tmp/fixit) [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: 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: 11 warnings emitted [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: `#[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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.50s [INFO] running `Command { std: "docker" "inspect" "e0186c19595bc2b891c7970cf5f787f3d9c6fa8e6bd5030233607597f33864a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0186c19595bc2b891c7970cf5f787f3d9c6fa8e6bd5030233607597f33864a1", kill_on_drop: false }` [INFO] [stdout] e0186c19595bc2b891c7970cf5f787f3d9c6fa8e6bd5030233607597f33864a1