[INFO] cloning repository https://github.com/z7ealth/rszk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z7ealth/rszk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz7ealth%2Frszk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz7ealth%2Frszk'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/z7ealth/rszk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/z7ealth/rszk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz7ealth%2Frszk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz7ealth%2Frszk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38c3ff97b6889e3581ea207e9b70db61d1b8f8b5 [INFO] checking z7ealth/rszk against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fz7ealth%2Frszk" "/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/z7ealth/rszk on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/z7ealth/rszk [INFO] finished tweaking git repo https://github.com/z7ealth/rszk [INFO] tweaked toml for git repo https://github.com/z7ealth/rszk written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/z7ealth/rszk 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "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-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8940a98fd0b95e33c1154ef6db30878472f69696f94aaae71e44c05e6685e595 [INFO] running `Command { std: "docker" "start" "-a" "8940a98fd0b95e33c1154ef6db30878472f69696f94aaae71e44c05e6685e595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8940a98fd0b95e33c1154ef6db30878472f69696f94aaae71e44c05e6685e595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8940a98fd0b95e33c1154ef6db30878472f69696f94aaae71e44c05e6685e595", kill_on_drop: false }` [INFO] [stdout] 8940a98fd0b95e33c1154ef6db30878472f69696f94aaae71e44c05e6685e595 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a6ddf93997c7c22ec0c1835092d6c5e25e2f1df998ab71c4811411b265b962c [INFO] running `Command { std: "docker" "start" "-a" "4a6ddf93997c7c22ec0c1835092d6c5e25e2f1df998ab71c4811411b265b962c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking rszk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `USHRT_MAX` is never used [INFO] [stdout] --> src/consts.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const USHRT_MAX: i32 = 65535; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_DB_RRQ` is never used [INFO] [stdout] --> src/consts.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const CMD_DB_RRQ: i8 = 7; // Read in some kind of data from the machine [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_USER_WRQ` is never used [INFO] [stdout] --> src/consts.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const CMD_USER_WRQ: i8 = 8; // Upload the user information from PC to terminal. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_USERTEMP_WRQ` is never used [INFO] [stdout] --> src/consts.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const CMD_USERTEMP_WRQ: i8 = 10; // Upload some fingerprint template [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_OPTIONS_RRQ` is never used [INFO] [stdout] --> src/consts.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const CMD_OPTIONS_RRQ: i8 = 11; // Read in the machine some configuration parameter [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_OPTIONS_WRQ` is never used [INFO] [stdout] --> src/consts.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const CMD_OPTIONS_WRQ: i8 = 12; // Set machines configuration parameter [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CLEAR_DATA` is never used [INFO] [stdout] --> src/consts.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const CMD_CLEAR_DATA: i8 = 14; // clear Data [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CLEAR_ATTLOG` is never used [INFO] [stdout] --> src/consts.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const CMD_CLEAR_ATTLOG: i8 = 15; // Clear attendance records [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_DELETE_USER` is never used [INFO] [stdout] --> src/consts.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const CMD_DELETE_USER: i8 = 18; // Delete some user [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_DELETE_USERTEMP` is never used [INFO] [stdout] --> src/consts.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const CMD_DELETE_USERTEMP: i8 = 19; // Delete some fingerprint template [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CLEAR_ADMIN` is never used [INFO] [stdout] --> src/consts.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const CMD_CLEAR_ADMIN: i8 = 20; // Cancel the manager [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_USERGRP_RRQ` is never used [INFO] [stdout] --> src/consts.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const CMD_USERGRP_RRQ: i8 = 21; // Read the user grouping [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_USERGRP_WRQ` is never used [INFO] [stdout] --> src/consts.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const CMD_USERGRP_WRQ: i8 = 22; // Set users grouping [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_USERTZ_RRQ` is never used [INFO] [stdout] --> src/consts.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const CMD_USERTZ_RRQ: i8 = 23; // Read the user Time Zone set [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_USERTZ_WRQ` is never used [INFO] [stdout] --> src/consts.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const CMD_USERTZ_WRQ: i8 = 24; // Write the user Time Zone set [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_GRPTZ_RRQ` is never used [INFO] [stdout] --> src/consts.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const CMD_GRPTZ_RRQ: i8 = 25; // Read the group Time Zone set [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_GRPTZ_WRQ` is never used [INFO] [stdout] --> src/consts.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const CMD_GRPTZ_WRQ: i8 = 26; // Write the group Time Zone set [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_TZ_RRQ` is never used [INFO] [stdout] --> src/consts.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const CMD_TZ_RRQ: i8 = 27; // Read Time Zone set [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_TZ_WRQ` is never used [INFO] [stdout] --> src/consts.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const CMD_TZ_WRQ: i8 = 28; // Write the Time Zone [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ULG_RRQ` is never used [INFO] [stdout] --> src/consts.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const CMD_ULG_RRQ: i8 = 29; // Read unlocks combination [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ULG_WRQ` is never used [INFO] [stdout] --> src/consts.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const CMD_ULG_WRQ: i8 = 30; // write unlocks combination [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_UNLOCK` is never used [INFO] [stdout] --> src/consts.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const CMD_UNLOCK: i8 = 31; // unlock [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CLEAR_ACC` is never used [INFO] [stdout] --> src/consts.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const CMD_CLEAR_ACC: i8 = 32; // Restores Access Control set to the default condition. [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CLEAR_OPLOG` is never used [INFO] [stdout] --> src/consts.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const CMD_CLEAR_OPLOG: i8 = 33; // Delete attendance machines all attendance record. [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_OPLOG_RRQ` is never used [INFO] [stdout] --> src/consts.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const CMD_OPLOG_RRQ: i8 = 34; // Read manages the record [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ENABLE_CLOCK` is never used [INFO] [stdout] --> src/consts.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const CMD_ENABLE_CLOCK: i8 = 57; // Ensure the machine to be at the normal work condition [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_STARTVERIFY` is never used [INFO] [stdout] --> src/consts.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const CMD_STARTVERIFY: i8 = 60; // Ensure the machine to be at the authentication condition [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_STARTENROLL` is never used [INFO] [stdout] --> src/consts.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const CMD_STARTENROLL: i8 = 61; // Start to enroll some user, ensure the machine to be at the registration user condition [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CANCELCAPTURE` is never used [INFO] [stdout] --> src/consts.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const CMD_CANCELCAPTURE: i8 = 62; // Make the machine to be at the waiting order status, please refers to the CMD_STARTENROLL descrip... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_STATE_RRQ` is never used [INFO] [stdout] --> src/consts.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const CMD_STATE_RRQ: i8 = 64; // Gain the machine the condition [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_WRITE_LCD` is never used [INFO] [stdout] --> src/consts.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const CMD_WRITE_LCD: i8 = 66; // Write LCD [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CLEAR_LCD` is never used [INFO] [stdout] --> src/consts.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const CMD_CLEAR_LCD: i8 = 67; // Clear the LCD captions clear screen. [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_GET_PINWIDTH` is never used [INFO] [stdout] --> src/consts.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const CMD_GET_PINWIDTH: i8 = 69; // Obtain the length of user’s serial number [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_SMS_WRQ` is never used [INFO] [stdout] --> src/consts.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const CMD_SMS_WRQ: i8 = 70; // Upload the short message. [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_SMS_RRQ` is never used [INFO] [stdout] --> src/consts.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const CMD_SMS_RRQ: i8 = 71; // Download the short message [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_DELETE_SMS` is never used [INFO] [stdout] --> src/consts.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const CMD_DELETE_SMS: i8 = 72; // Delete the short message [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_UDATA_WRQ` is never used [INFO] [stdout] --> src/consts.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const CMD_UDATA_WRQ: i8 = 73; // Set user’s short message [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_DELETE_UDATA` is never used [INFO] [stdout] --> src/consts.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const CMD_DELETE_UDATA: i8 = 74; // Delete user’s short message [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_DOORSTATE_RRQ` is never used [INFO] [stdout] --> src/consts.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const CMD_DOORSTATE_RRQ: i8 = 75; // Obtain the door condition [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_WRITE_MIFARE` is never used [INFO] [stdout] --> src/consts.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const CMD_WRITE_MIFARE: i8 = 76; // Write the Mifare card [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_EMPTY_MIFARE` is never used [INFO] [stdout] --> src/consts.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const CMD_EMPTY_MIFARE: i8 = 78; // Clear the Mifare card [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_GET_TIME` is never used [INFO] [stdout] --> src/consts.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub const CMD_GET_TIME: i16 = 201; // Obtain the machine time [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_SET_TIME` is never used [INFO] [stdout] --> src/consts.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const CMD_SET_TIME: i16 = 202; // Set machines time [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_REG_EVENT` is never used [INFO] [stdout] --> src/consts.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const CMD_REG_EVENT: i16 = 500; // Register the event [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CONNECT` is never used [INFO] [stdout] --> src/consts.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const CMD_CONNECT: i16 = 1000; // Connections requests [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_EXIT` is never used [INFO] [stdout] --> src/consts.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const CMD_EXIT: i16 = 1001; // Disconnection requests [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ENABLEDEVICE` is never used [INFO] [stdout] --> src/consts.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const CMD_ENABLEDEVICE: i16 = 1002; // Ensure the machine to be at the normal work condition [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_DISABLEDEVICE` is never used [INFO] [stdout] --> src/consts.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub const CMD_DISABLEDEVICE: i16 = 1003; // Make the machine to be at the shut-down condition, generally demonstrates ‘in the work ...’on... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_RESTART` is never used [INFO] [stdout] --> src/consts.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const CMD_RESTART: i16 = 1004; // Restart the machine. [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_POWEROFF` is never used [INFO] [stdout] --> src/consts.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | pub const CMD_POWEROFF: i16 = 1005; // Shut-down power source [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_SLEEP` is never used [INFO] [stdout] --> src/consts.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const CMD_SLEEP: i16 = 1006; // Ensure the machine to be at the idle state. [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_RESUME` is never used [INFO] [stdout] --> src/consts.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const CMD_RESUME: i16 = 1007; // Awakens the sleep machine temporarily not to support [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CAPTUREFINGER` is never used [INFO] [stdout] --> src/consts.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const CMD_CAPTUREFINGER: i16 = 1009; // Captures fingerprints picture [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_TEST_TEMP` is never used [INFO] [stdout] --> src/consts.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub const CMD_TEST_TEMP: i16 = 1011; // Test some fingerprint exists or does not [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CAPTUREIMAGE` is never used [INFO] [stdout] --> src/consts.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const CMD_CAPTUREIMAGE: i16 = 1012; // Capture the entire image [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_REFRESHDATA` is never used [INFO] [stdout] --> src/consts.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const CMD_REFRESHDATA: i16 = 1013; // Refresh the machine interior data [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_REFRESHOPTION` is never used [INFO] [stdout] --> src/consts.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub const CMD_REFRESHOPTION: i16 = 1014; // Refresh the configuration parameter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_TESTVOICE` is never used [INFO] [stdout] --> src/consts.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const CMD_TESTVOICE: i16 = 1017; // Play voice [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_GET_VERSION` is never used [INFO] [stdout] --> src/consts.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub const CMD_GET_VERSION: i16 = 1100; // Obtain the firmware edition [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CHANGE_SPEED` is never used [INFO] [stdout] --> src/consts.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | pub const CMD_CHANGE_SPEED: i16 = 1101; // Change transmission speed [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_AUTH` is never used [INFO] [stdout] --> src/consts.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const CMD_AUTH: i16 = 1102; // Connections authorizations [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_ERROR` is never used [INFO] [stdout] --> src/consts.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | pub const CMD_ACK_ERROR: i16 = 2001; // Return value for order perform failed [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_DATA` is never used [INFO] [stdout] --> src/consts.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const CMD_ACK_DATA: i16 = 2002; // Return data [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_RETRY` is never used [INFO] [stdout] --> src/consts.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub const CMD_ACK_RETRY: i16 = 2003; // * Regstered event occorred */ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_REPEAT` is never used [INFO] [stdout] --> src/consts.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | pub const CMD_ACK_REPEAT: i16 = 2004; // Not available [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_UNAUTH` is never used [INFO] [stdout] --> src/consts.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const CMD_ACK_UNAUTH: i16 = 2005; // Connection unauthorized [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_UNKNOWN` is never used [INFO] [stdout] --> src/consts.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | pub const CMD_ACK_UNKNOWN: u16 = 0xffff; // Unkown order [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_ERROR_CMD` is never used [INFO] [stdout] --> src/consts.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub const CMD_ACK_ERROR_CMD: u16 = 0xfffd; // Order false [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_ERROR_INIT` is never used [INFO] [stdout] --> src/consts.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | pub const CMD_ACK_ERROR_INIT: u16 = 0xfffc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_ERROR_DATA` is never used [INFO] [stdout] --> src/consts.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | pub const CMD_ACK_ERROR_DATA: u16 = 0xfffb; // Not available [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_ATTLOG` is never used [INFO] [stdout] --> src/consts.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | pub const EF_ATTLOG: i8 = 1; // Be real-time to verify successfully [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_FINGER` is never used [INFO] [stdout] --> src/consts.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | pub const EF_FINGER: i8 = 1 << 1; // be real–time to press fingerprint be real time to return data type sign [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_ENROLLUSER` is never used [INFO] [stdout] --> src/consts.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | pub const EF_ENROLLUSER: i8 = 1 << 2; // Be real-time to enroll user [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_ENROLLFINGER` is never used [INFO] [stdout] --> src/consts.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | pub const EF_ENROLLFINGER: i8 = 1 << 3; // be real-time to enroll fingerprint [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_BUTTON` is never used [INFO] [stdout] --> src/consts.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | pub const EF_BUTTON: i8 = 1 << 4; // be real-time to press button [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_UNLOCK` is never used [INFO] [stdout] --> src/consts.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | pub const EF_UNLOCK: i8 = 1 << 5; // be real-time to unlock [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_VERIFY` is never used [INFO] [stdout] --> src/consts.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | pub const EF_VERIFY: i8 = 1 << 7; // be real-time to verify fingerprint [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_FPFTR` is never used [INFO] [stdout] --> src/consts.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | pub const EF_FPFTR: i16 = 1 << 8; // be real-time capture fingerprint minutia [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_ALARM` is never used [INFO] [stdout] --> src/consts.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | pub const EF_ALARM: i16 = 1 << 9; // Alarm signal [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_DEFAULT` is never used [INFO] [stdout] --> src/consts.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | pub const USER_DEFAULT: i8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_ENROLLER` is never used [INFO] [stdout] --> src/consts.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | pub const USER_ENROLLER: i8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_MANAGER` is never used [INFO] [stdout] --> src/consts.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | pub const USER_MANAGER: i8 = 6; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_ADMIN` is never used [INFO] [stdout] --> src/consts.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | pub const USER_ADMIN: i8 = 14; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCT_ATTLOG` is never used [INFO] [stdout] --> src/consts.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | pub const FCT_ATTLOG: i8 = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCT_WORKCODE` is never used [INFO] [stdout] --> src/consts.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | pub const FCT_WORKCODE: i8 = 8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCT_FINGERTMP` is never used [INFO] [stdout] --> src/consts.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | pub const FCT_FINGERTMP: i8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCT_OPLOG` is never used [INFO] [stdout] --> src/consts.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | pub const FCT_OPLOG: i8 = 4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCT_SMS` is never used [INFO] [stdout] --> src/consts.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | pub const FCT_SMS: i8 = 6; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCT_UDATA` is never used [INFO] [stdout] --> src/consts.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | pub const FCT_UDATA: i8 = 7; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MACHINE_PREPARE_DATA_1` is never used [INFO] [stdout] --> src/consts.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | pub const MACHINE_PREPARE_DATA_1: i16 = 20560; // 0x5050 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MACHINE_PREPARE_DATA_2` is never used [INFO] [stdout] --> src/consts.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | pub const MACHINE_PREPARE_DATA_2: i16 = 32130; // 0x7282 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `repack`, `repack_only`, `json_pack`, `json_unpack`, and `dump` are never used [INFO] [stdout] --> src/finger.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Finger { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(uid: u16, fid: u8, valid: u8, template: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn repack(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn repack_only(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn json_pack(&self) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn json_unpack(json: &serde_json::Value) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn dump(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USHRT_MAX` is never used [INFO] [stdout] --> src/consts.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const USHRT_MAX: i32 = 65535; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_DB_RRQ` is never used [INFO] [stdout] --> src/consts.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const CMD_DB_RRQ: i8 = 7; // Read in some kind of data from the machine [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_USER_WRQ` is never used [INFO] [stdout] --> src/consts.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const CMD_USER_WRQ: i8 = 8; // Upload the user information from PC to terminal. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_USERTEMP_WRQ` is never used [INFO] [stdout] --> src/consts.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const CMD_USERTEMP_WRQ: i8 = 10; // Upload some fingerprint template [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_OPTIONS_RRQ` is never used [INFO] [stdout] --> src/consts.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const CMD_OPTIONS_RRQ: i8 = 11; // Read in the machine some configuration parameter [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_OPTIONS_WRQ` is never used [INFO] [stdout] --> src/consts.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const CMD_OPTIONS_WRQ: i8 = 12; // Set machines configuration parameter [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CLEAR_DATA` is never used [INFO] [stdout] --> src/consts.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const CMD_CLEAR_DATA: i8 = 14; // clear Data [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CLEAR_ATTLOG` is never used [INFO] [stdout] --> src/consts.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const CMD_CLEAR_ATTLOG: i8 = 15; // Clear attendance records [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_DELETE_USER` is never used [INFO] [stdout] --> src/consts.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const CMD_DELETE_USER: i8 = 18; // Delete some user [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_DELETE_USERTEMP` is never used [INFO] [stdout] --> src/consts.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const CMD_DELETE_USERTEMP: i8 = 19; // Delete some fingerprint template [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CLEAR_ADMIN` is never used [INFO] [stdout] --> src/consts.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const CMD_CLEAR_ADMIN: i8 = 20; // Cancel the manager [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_USERGRP_RRQ` is never used [INFO] [stdout] --> src/consts.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const CMD_USERGRP_RRQ: i8 = 21; // Read the user grouping [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_USERGRP_WRQ` is never used [INFO] [stdout] --> src/consts.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const CMD_USERGRP_WRQ: i8 = 22; // Set users grouping [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_USERTZ_RRQ` is never used [INFO] [stdout] --> src/consts.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const CMD_USERTZ_RRQ: i8 = 23; // Read the user Time Zone set [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_USERTZ_WRQ` is never used [INFO] [stdout] --> src/consts.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const CMD_USERTZ_WRQ: i8 = 24; // Write the user Time Zone set [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_GRPTZ_RRQ` is never used [INFO] [stdout] --> src/consts.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const CMD_GRPTZ_RRQ: i8 = 25; // Read the group Time Zone set [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_GRPTZ_WRQ` is never used [INFO] [stdout] --> src/consts.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const CMD_GRPTZ_WRQ: i8 = 26; // Write the group Time Zone set [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_TZ_RRQ` is never used [INFO] [stdout] --> src/consts.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const CMD_TZ_RRQ: i8 = 27; // Read Time Zone set [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_TZ_WRQ` is never used [INFO] [stdout] --> src/consts.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const CMD_TZ_WRQ: i8 = 28; // Write the Time Zone [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ULG_RRQ` is never used [INFO] [stdout] --> src/consts.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const CMD_ULG_RRQ: i8 = 29; // Read unlocks combination [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ULG_WRQ` is never used [INFO] [stdout] --> src/consts.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const CMD_ULG_WRQ: i8 = 30; // write unlocks combination [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_UNLOCK` is never used [INFO] [stdout] --> src/consts.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const CMD_UNLOCK: i8 = 31; // unlock [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CLEAR_ACC` is never used [INFO] [stdout] --> src/consts.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const CMD_CLEAR_ACC: i8 = 32; // Restores Access Control set to the default condition. [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CLEAR_OPLOG` is never used [INFO] [stdout] --> src/consts.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const CMD_CLEAR_OPLOG: i8 = 33; // Delete attendance machines all attendance record. [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_OPLOG_RRQ` is never used [INFO] [stdout] --> src/consts.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const CMD_OPLOG_RRQ: i8 = 34; // Read manages the record [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ENABLE_CLOCK` is never used [INFO] [stdout] --> src/consts.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const CMD_ENABLE_CLOCK: i8 = 57; // Ensure the machine to be at the normal work condition [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_STARTVERIFY` is never used [INFO] [stdout] --> src/consts.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const CMD_STARTVERIFY: i8 = 60; // Ensure the machine to be at the authentication condition [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_STARTENROLL` is never used [INFO] [stdout] --> src/consts.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const CMD_STARTENROLL: i8 = 61; // Start to enroll some user, ensure the machine to be at the registration user condition [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CANCELCAPTURE` is never used [INFO] [stdout] --> src/consts.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const CMD_CANCELCAPTURE: i8 = 62; // Make the machine to be at the waiting order status, please refers to the CMD_STARTENROLL descrip... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_STATE_RRQ` is never used [INFO] [stdout] --> src/consts.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const CMD_STATE_RRQ: i8 = 64; // Gain the machine the condition [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_WRITE_LCD` is never used [INFO] [stdout] --> src/consts.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const CMD_WRITE_LCD: i8 = 66; // Write LCD [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CLEAR_LCD` is never used [INFO] [stdout] --> src/consts.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const CMD_CLEAR_LCD: i8 = 67; // Clear the LCD captions clear screen. [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_GET_PINWIDTH` is never used [INFO] [stdout] --> src/consts.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const CMD_GET_PINWIDTH: i8 = 69; // Obtain the length of user’s serial number [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_SMS_WRQ` is never used [INFO] [stdout] --> src/consts.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const CMD_SMS_WRQ: i8 = 70; // Upload the short message. [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_SMS_RRQ` is never used [INFO] [stdout] --> src/consts.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const CMD_SMS_RRQ: i8 = 71; // Download the short message [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_DELETE_SMS` is never used [INFO] [stdout] --> src/consts.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const CMD_DELETE_SMS: i8 = 72; // Delete the short message [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_UDATA_WRQ` is never used [INFO] [stdout] --> src/consts.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const CMD_UDATA_WRQ: i8 = 73; // Set user’s short message [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_DELETE_UDATA` is never used [INFO] [stdout] --> src/consts.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const CMD_DELETE_UDATA: i8 = 74; // Delete user’s short message [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_DOORSTATE_RRQ` is never used [INFO] [stdout] --> src/consts.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const CMD_DOORSTATE_RRQ: i8 = 75; // Obtain the door condition [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_WRITE_MIFARE` is never used [INFO] [stdout] --> src/consts.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const CMD_WRITE_MIFARE: i8 = 76; // Write the Mifare card [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_EMPTY_MIFARE` is never used [INFO] [stdout] --> src/consts.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const CMD_EMPTY_MIFARE: i8 = 78; // Clear the Mifare card [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_GET_TIME` is never used [INFO] [stdout] --> src/consts.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub const CMD_GET_TIME: i16 = 201; // Obtain the machine time [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_SET_TIME` is never used [INFO] [stdout] --> src/consts.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const CMD_SET_TIME: i16 = 202; // Set machines time [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_REG_EVENT` is never used [INFO] [stdout] --> src/consts.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const CMD_REG_EVENT: i16 = 500; // Register the event [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CONNECT` is never used [INFO] [stdout] --> src/consts.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const CMD_CONNECT: i16 = 1000; // Connections requests [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_EXIT` is never used [INFO] [stdout] --> src/consts.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const CMD_EXIT: i16 = 1001; // Disconnection requests [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ENABLEDEVICE` is never used [INFO] [stdout] --> src/consts.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const CMD_ENABLEDEVICE: i16 = 1002; // Ensure the machine to be at the normal work condition [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_DISABLEDEVICE` is never used [INFO] [stdout] --> src/consts.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub const CMD_DISABLEDEVICE: i16 = 1003; // Make the machine to be at the shut-down condition, generally demonstrates ‘in the work ...’on... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_RESTART` is never used [INFO] [stdout] --> src/consts.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const CMD_RESTART: i16 = 1004; // Restart the machine. [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_POWEROFF` is never used [INFO] [stdout] --> src/consts.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | pub const CMD_POWEROFF: i16 = 1005; // Shut-down power source [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_SLEEP` is never used [INFO] [stdout] --> src/consts.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const CMD_SLEEP: i16 = 1006; // Ensure the machine to be at the idle state. [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_RESUME` is never used [INFO] [stdout] --> src/consts.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const CMD_RESUME: i16 = 1007; // Awakens the sleep machine temporarily not to support [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CAPTUREFINGER` is never used [INFO] [stdout] --> src/consts.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const CMD_CAPTUREFINGER: i16 = 1009; // Captures fingerprints picture [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_TEST_TEMP` is never used [INFO] [stdout] --> src/consts.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub const CMD_TEST_TEMP: i16 = 1011; // Test some fingerprint exists or does not [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CAPTUREIMAGE` is never used [INFO] [stdout] --> src/consts.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const CMD_CAPTUREIMAGE: i16 = 1012; // Capture the entire image [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_REFRESHDATA` is never used [INFO] [stdout] --> src/consts.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const CMD_REFRESHDATA: i16 = 1013; // Refresh the machine interior data [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_REFRESHOPTION` is never used [INFO] [stdout] --> src/consts.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub const CMD_REFRESHOPTION: i16 = 1014; // Refresh the configuration parameter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_TESTVOICE` is never used [INFO] [stdout] --> src/consts.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const CMD_TESTVOICE: i16 = 1017; // Play voice [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_GET_VERSION` is never used [INFO] [stdout] --> src/consts.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | pub const CMD_GET_VERSION: i16 = 1100; // Obtain the firmware edition [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_CHANGE_SPEED` is never used [INFO] [stdout] --> src/consts.rs:68:11 [INFO] [stdout] | [INFO] [stdout] 68 | pub const CMD_CHANGE_SPEED: i16 = 1101; // Change transmission speed [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_AUTH` is never used [INFO] [stdout] --> src/consts.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const CMD_AUTH: i16 = 1102; // Connections authorizations [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_ERROR` is never used [INFO] [stdout] --> src/consts.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | pub const CMD_ACK_ERROR: i16 = 2001; // Return value for order perform failed [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_DATA` is never used [INFO] [stdout] --> src/consts.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const CMD_ACK_DATA: i16 = 2002; // Return data [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_RETRY` is never used [INFO] [stdout] --> src/consts.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | pub const CMD_ACK_RETRY: i16 = 2003; // * Regstered event occorred */ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_REPEAT` is never used [INFO] [stdout] --> src/consts.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | pub const CMD_ACK_REPEAT: i16 = 2004; // Not available [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_UNAUTH` is never used [INFO] [stdout] --> src/consts.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const CMD_ACK_UNAUTH: i16 = 2005; // Connection unauthorized [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_UNKNOWN` is never used [INFO] [stdout] --> src/consts.rs:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | pub const CMD_ACK_UNKNOWN: u16 = 0xffff; // Unkown order [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_ERROR_CMD` is never used [INFO] [stdout] --> src/consts.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub const CMD_ACK_ERROR_CMD: u16 = 0xfffd; // Order false [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_ERROR_INIT` is never used [INFO] [stdout] --> src/consts.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | pub const CMD_ACK_ERROR_INIT: u16 = 0xfffc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMD_ACK_ERROR_DATA` is never used [INFO] [stdout] --> src/consts.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | pub const CMD_ACK_ERROR_DATA: u16 = 0xfffb; // Not available [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_ATTLOG` is never used [INFO] [stdout] --> src/consts.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | pub const EF_ATTLOG: i8 = 1; // Be real-time to verify successfully [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_FINGER` is never used [INFO] [stdout] --> src/consts.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | pub const EF_FINGER: i8 = 1 << 1; // be real–time to press fingerprint be real time to return data type sign [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_ENROLLUSER` is never used [INFO] [stdout] --> src/consts.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | pub const EF_ENROLLUSER: i8 = 1 << 2; // Be real-time to enroll user [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_ENROLLFINGER` is never used [INFO] [stdout] --> src/consts.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | pub const EF_ENROLLFINGER: i8 = 1 << 3; // be real-time to enroll fingerprint [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_BUTTON` is never used [INFO] [stdout] --> src/consts.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | pub const EF_BUTTON: i8 = 1 << 4; // be real-time to press button [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_UNLOCK` is never used [INFO] [stdout] --> src/consts.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | pub const EF_UNLOCK: i8 = 1 << 5; // be real-time to unlock [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_VERIFY` is never used [INFO] [stdout] --> src/consts.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | pub const EF_VERIFY: i8 = 1 << 7; // be real-time to verify fingerprint [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_FPFTR` is never used [INFO] [stdout] --> src/consts.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | pub const EF_FPFTR: i16 = 1 << 8; // be real-time capture fingerprint minutia [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EF_ALARM` is never used [INFO] [stdout] --> src/consts.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | pub const EF_ALARM: i16 = 1 << 9; // Alarm signal [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_DEFAULT` is never used [INFO] [stdout] --> src/consts.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | pub const USER_DEFAULT: i8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_ENROLLER` is never used [INFO] [stdout] --> src/consts.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | pub const USER_ENROLLER: i8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_MANAGER` is never used [INFO] [stdout] --> src/consts.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | pub const USER_MANAGER: i8 = 6; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USER_ADMIN` is never used [INFO] [stdout] --> src/consts.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | pub const USER_ADMIN: i8 = 14; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCT_ATTLOG` is never used [INFO] [stdout] --> src/consts.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | pub const FCT_ATTLOG: i8 = 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCT_WORKCODE` is never used [INFO] [stdout] --> src/consts.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | pub const FCT_WORKCODE: i8 = 8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCT_FINGERTMP` is never used [INFO] [stdout] --> src/consts.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | pub const FCT_FINGERTMP: i8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCT_OPLOG` is never used [INFO] [stdout] --> src/consts.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 107 | pub const FCT_OPLOG: i8 = 4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCT_SMS` is never used [INFO] [stdout] --> src/consts.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | pub const FCT_SMS: i8 = 6; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FCT_UDATA` is never used [INFO] [stdout] --> src/consts.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | pub const FCT_UDATA: i8 = 7; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MACHINE_PREPARE_DATA_1` is never used [INFO] [stdout] --> src/consts.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | pub const MACHINE_PREPARE_DATA_1: i16 = 20560; // 0x5050 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MACHINE_PREPARE_DATA_2` is never used [INFO] [stdout] --> src/consts.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | pub const MACHINE_PREPARE_DATA_2: i16 = 32130; // 0x7282 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `repack`, `repack_only`, `json_pack`, `json_unpack`, and `dump` are never used [INFO] [stdout] --> src/finger.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Finger { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(uid: u16, fid: u8, valid: u8, template: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn repack(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn repack_only(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn json_pack(&self) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn json_unpack(json: &serde_json::Value) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn dump(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.95s [INFO] running `Command { std: "docker" "inspect" "4a6ddf93997c7c22ec0c1835092d6c5e25e2f1df998ab71c4811411b265b962c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a6ddf93997c7c22ec0c1835092d6c5e25e2f1df998ab71c4811411b265b962c", kill_on_drop: false }` [INFO] [stdout] 4a6ddf93997c7c22ec0c1835092d6c5e25e2f1df998ab71c4811411b265b962c