[INFO] fetching crate libdvb 0.3.0... [INFO] checking libdvb-0.3.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate libdvb 0.3.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate libdvb 0.3.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libdvb 0.3.0 [INFO] finished tweaking crates.io crate libdvb 0.3.0 [INFO] tweaked toml for crates.io crate libdvb 0.3.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate libdvb 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7b913db1e42c0ffd1337789a0981ff1c68db2539d58e0b06c32917ddcc45685 [INFO] running `Command { std: "docker" "start" "-a" "d7b913db1e42c0ffd1337789a0981ff1c68db2539d58e0b06c32917ddcc45685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7b913db1e42c0ffd1337789a0981ff1c68db2539d58e0b06c32917ddcc45685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7b913db1e42c0ffd1337789a0981ff1c68db2539d58e0b06c32917ddcc45685", kill_on_drop: false }` [INFO] [stdout] d7b913db1e42c0ffd1337789a0981ff1c68db2539d58e0b06c32917ddcc45685 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 942e83158085fc69892102dfb5f072f046887333156815556c4fd3e291f6fd0e [INFO] running `Command { std: "docker" "start" "-a" "942e83158085fc69892102dfb5f072f046887333156815556c4fd3e291f6fd0e", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking libdvb v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_id` [INFO] [stdout] --> src/ca/apdu.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/ca/apdu.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_id` [INFO] [stdout] --> src/ca/apdu.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/ca/apdu.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SIZE_INDICATOR` [INFO] [stdout] --> src/ca/asn1.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | const SIZE_INDICATOR: u8 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [INFO] [stdout] --> src/ca/asn1.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn encode(value: u16, out: &mut Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TPDU_SIZE_MAX` [INFO] [stdout] --> src/ca/tpdu.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub const TPDU_SIZE_MAX: usize = 2048; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_SB` [INFO] [stdout] --> src/ca/tpdu.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub const TT_SB: u8 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_RCV` [INFO] [stdout] --> src/ca/tpdu.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub const TT_RCV: u8 = 0x81; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_CREATE_TC` [INFO] [stdout] --> src/ca/tpdu.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub const TT_CREATE_TC: u8 = 0x82; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_CTC_REPLY` [INFO] [stdout] --> src/ca/tpdu.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub const TT_CTC_REPLY: u8 = 0x83; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_DELETE_TC` [INFO] [stdout] --> src/ca/tpdu.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub const TT_DELETE_TC: u8 = 0x84; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_DTC_REPLY` [INFO] [stdout] --> src/ca/tpdu.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub const TT_DTC_REPLY: u8 = 0x85; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_REQUEST_TC` [INFO] [stdout] --> src/ca/tpdu.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub const TT_REQUEST_TC: u8 = 0x86; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_NEW_TC` [INFO] [stdout] --> src/ca/tpdu.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub const TT_NEW_TC: u8 = 0x87; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_TC_ERROR` [INFO] [stdout] --> src/ca/tpdu.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub const TT_TC_ERROR: u8 = 0x88; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_DATA_LAST` [INFO] [stdout] --> src/ca/tpdu.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub const TT_DATA_LAST: u8 = 0xA0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_DATA_MORE` [INFO] [stdout] --> src/ca/tpdu.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub const TT_DATA_MORE: u8 = 0xA1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send` [INFO] [stdout] --> src/ca/tpdu.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn send(ca: &CaDevice, slot_id: u8, tag: u8, data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init` [INFO] [stdout] --> src/ca/tpdu.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn init(ca: &CaDevice, slot_id: u8) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SPDU_HEADER_SIZE` [INFO] [stdout] --> src/ca/spdu.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub const SPDU_HEADER_SIZE: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ST_SESSION_NUMBER` [INFO] [stdout] --> src/ca/spdu.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub const ST_SESSION_NUMBER: u8 = 0x90; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ST_OPEN_SESSION_REQUEST` [INFO] [stdout] --> src/ca/spdu.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub const ST_OPEN_SESSION_REQUEST: u8 = 0x91; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ST_OPEN_SESSION_RESPONSE` [INFO] [stdout] --> src/ca/spdu.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub const ST_OPEN_SESSION_RESPONSE: u8 = 0x92; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ST_CREATE_SESSION` [INFO] [stdout] --> src/ca/spdu.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub const ST_CREATE_SESSION: u8 = 0x93; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ST_CREATE_SESSION_RESPONSE` [INFO] [stdout] --> src/ca/spdu.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub const ST_CREATE_SESSION_RESPONSE: u8 = 0x94; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ST_CLOSE_SESSION_REQUEST` [INFO] [stdout] --> src/ca/spdu.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub const ST_CLOSE_SESSION_REQUEST: u8 = 0x95; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ST_CLOSE_SESSION_RESPONSE` [INFO] [stdout] --> src/ca/spdu.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub const ST_CLOSE_SESSION_RESPONSE: u8 = 0x96; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SS_OK` [INFO] [stdout] --> src/ca/spdu.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub const SS_OK: u8 = 0x00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SS_NOT_ALLOCATED` [INFO] [stdout] --> src/ca/spdu.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub const SS_NOT_ALLOCATED: u8 = 0xF0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_size` [INFO] [stdout] --> src/ca/spdu.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn assert_size(spdu: &[u8], size: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_session_number` [INFO] [stdout] --> src/ca/spdu.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn handle_session_number(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_open_session_request` [INFO] [stdout] --> src/ca/spdu.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn handle_open_session_request(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_close_session_request` [INFO] [stdout] --> src/ca/spdu.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn handle_close_session_request(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_create_session_response` [INFO] [stdout] --> src/ca/spdu.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn handle_create_session_response(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_close_session_response` [INFO] [stdout] --> src/ca/spdu.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn handle_close_session_response(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle` [INFO] [stdout] --> src/ca/spdu.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn handle(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APDU_TAG_SIZE` [INFO] [stdout] --> src/ca/apdu.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const APDU_TAG_SIZE: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init` [INFO] [stdout] --> src/ca/apdu.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `open` [INFO] [stdout] --> src/ca/apdu.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `close` [INFO] [stdout] --> src/ca/apdu.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle` [INFO] [stdout] --> src/ca/apdu.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `manage` [INFO] [stdout] --> src/ca/apdu.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll_timer` [INFO] [stdout] --> src/ca/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn poll_timer(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll_event` [INFO] [stdout] --> src/ca/mod.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | fn poll_event(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SIZE_INDICATOR` [INFO] [stdout] --> src/ca/asn1.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | const SIZE_INDICATOR: u8 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [INFO] [stdout] --> src/ca/asn1.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn encode(value: u16, out: &mut Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TPDU_SIZE_MAX` [INFO] [stdout] --> src/ca/tpdu.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub const TPDU_SIZE_MAX: usize = 2048; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_SB` [INFO] [stdout] --> src/ca/tpdu.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub const TT_SB: u8 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_RCV` [INFO] [stdout] --> src/ca/tpdu.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub const TT_RCV: u8 = 0x81; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_CREATE_TC` [INFO] [stdout] --> src/ca/tpdu.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub const TT_CREATE_TC: u8 = 0x82; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_CTC_REPLY` [INFO] [stdout] --> src/ca/tpdu.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub const TT_CTC_REPLY: u8 = 0x83; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_DELETE_TC` [INFO] [stdout] --> src/ca/tpdu.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub const TT_DELETE_TC: u8 = 0x84; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_DTC_REPLY` [INFO] [stdout] --> src/ca/tpdu.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub const TT_DTC_REPLY: u8 = 0x85; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_REQUEST_TC` [INFO] [stdout] --> src/ca/tpdu.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub const TT_REQUEST_TC: u8 = 0x86; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_NEW_TC` [INFO] [stdout] --> src/ca/tpdu.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub const TT_NEW_TC: u8 = 0x87; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_TC_ERROR` [INFO] [stdout] --> src/ca/tpdu.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub const TT_TC_ERROR: u8 = 0x88; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_DATA_LAST` [INFO] [stdout] --> src/ca/tpdu.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub const TT_DATA_LAST: u8 = 0xA0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_DATA_MORE` [INFO] [stdout] --> src/ca/tpdu.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub const TT_DATA_MORE: u8 = 0xA1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send` [INFO] [stdout] --> src/ca/tpdu.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn send(ca: &CaDevice, slot_id: u8, tag: u8, data: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init` [INFO] [stdout] --> src/ca/tpdu.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn init(ca: &CaDevice, slot_id: u8) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SPDU_HEADER_SIZE` [INFO] [stdout] --> src/ca/spdu.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub const SPDU_HEADER_SIZE: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ST_SESSION_NUMBER` [INFO] [stdout] --> src/ca/spdu.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub const ST_SESSION_NUMBER: u8 = 0x90; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ST_OPEN_SESSION_REQUEST` [INFO] [stdout] --> src/ca/spdu.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub const ST_OPEN_SESSION_REQUEST: u8 = 0x91; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ST_OPEN_SESSION_RESPONSE` [INFO] [stdout] --> src/ca/spdu.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub const ST_OPEN_SESSION_RESPONSE: u8 = 0x92; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ST_CREATE_SESSION` [INFO] [stdout] --> src/ca/spdu.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub const ST_CREATE_SESSION: u8 = 0x93; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ST_CREATE_SESSION_RESPONSE` [INFO] [stdout] --> src/ca/spdu.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub const ST_CREATE_SESSION_RESPONSE: u8 = 0x94; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ST_CLOSE_SESSION_REQUEST` [INFO] [stdout] --> src/ca/spdu.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub const ST_CLOSE_SESSION_REQUEST: u8 = 0x95; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ST_CLOSE_SESSION_RESPONSE` [INFO] [stdout] --> src/ca/spdu.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub const ST_CLOSE_SESSION_RESPONSE: u8 = 0x96; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SS_OK` [INFO] [stdout] --> src/ca/spdu.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub const SS_OK: u8 = 0x00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SS_NOT_ALLOCATED` [INFO] [stdout] --> src/ca/spdu.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub const SS_NOT_ALLOCATED: u8 = 0xF0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assert_size` [INFO] [stdout] --> src/ca/spdu.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn assert_size(spdu: &[u8], size: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_session_number` [INFO] [stdout] --> src/ca/spdu.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn handle_session_number(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_open_session_request` [INFO] [stdout] --> src/ca/spdu.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn handle_open_session_request(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_close_session_request` [INFO] [stdout] --> src/ca/spdu.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn handle_close_session_request(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_create_session_response` [INFO] [stdout] --> src/ca/spdu.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn handle_create_session_response(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_close_session_response` [INFO] [stdout] --> src/ca/spdu.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn handle_close_session_response(ca: &mut CaDevice, _slot_id: u8, spdu: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle` [INFO] [stdout] --> src/ca/spdu.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn handle(ca: &mut CaDevice, slot_id: u8, spdu: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `APDU_TAG_SIZE` [INFO] [stdout] --> src/ca/apdu.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const APDU_TAG_SIZE: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init` [INFO] [stdout] --> src/ca/apdu.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `open` [INFO] [stdout] --> src/ca/apdu.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `close` [INFO] [stdout] --> src/ca/apdu.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle` [INFO] [stdout] --> src/ca/apdu.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `manage` [INFO] [stdout] --> src/ca/apdu.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll_timer` [INFO] [stdout] --> src/ca/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn poll_timer(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll_event` [INFO] [stdout] --> src/ca/mod.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | fn poll_event(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CaDevice` [INFO] [stdout] --> examples/cainfo.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | CaDevice, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `adapter` [INFO] [stdout] --> examples/cainfo.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | fn start_ca(adapter: u32, device: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_adapter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> examples/cainfo.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | fn start_ca(adapter: u32, device: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.78s [INFO] running `Command { std: "docker" "inspect" "942e83158085fc69892102dfb5f072f046887333156815556c4fd3e291f6fd0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "942e83158085fc69892102dfb5f072f046887333156815556c4fd3e291f6fd0e", kill_on_drop: false }` [INFO] [stdout] 942e83158085fc69892102dfb5f072f046887333156815556c4fd3e291f6fd0e