[INFO] fetching crate libdvb 0.2.2... [INFO] checking libdvb-0.2.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate libdvb 0.2.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate libdvb 0.2.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libdvb 0.2.2 [INFO] finished tweaking crates.io crate libdvb 0.2.2 [INFO] tweaked toml for crates.io crate libdvb 0.2.2 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate libdvb 0.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cd95fa78f8805e049bf88ccc81bbb5965d388ae984146759ff8b28042cf93052 [INFO] running `Command { std: "docker" "start" "-a" "cd95fa78f8805e049bf88ccc81bbb5965d388ae984146759ff8b28042cf93052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd95fa78f8805e049bf88ccc81bbb5965d388ae984146759ff8b28042cf93052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd95fa78f8805e049bf88ccc81bbb5965d388ae984146759ff8b28042cf93052", kill_on_drop: false }` [INFO] [stdout] cd95fa78f8805e049bf88ccc81bbb5965d388ae984146759ff8b28042cf93052 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e4d13d149d8e2e1348408d81ec913d7c82e0758c27189fb3852c292c74b37b2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1e4d13d149d8e2e1348408d81ec913d7c82e0758c27189fb3852c292c74b37b2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.46 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking libdvb v0.2.2 (/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: `TT_SB` [INFO] [stdout] --> src/ca/tpdu.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub const TT_SB: u8 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_RCV` [INFO] [stdout] --> src/ca/tpdu.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub const TT_RCV: u8 = 0x81; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_CTC_REPLY` [INFO] [stdout] --> src/ca/tpdu.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | 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:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | 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:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | 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:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | 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:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | 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:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | 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:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub const TT_DATA_MORE: u8 = 0xA1; [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, 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, 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, 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, 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, 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, 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: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_SB` [INFO] [stdout] --> src/ca/tpdu.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub const TT_SB: u8 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_RCV` [INFO] [stdout] --> src/ca/tpdu.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub const TT_RCV: u8 = 0x81; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TT_CTC_REPLY` [INFO] [stdout] --> src/ca/tpdu.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | 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:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | 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:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | 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:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | 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:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | 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:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | 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:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub const TT_DATA_MORE: u8 = 0xA1; [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, 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, 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, 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, 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, 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, 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: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.21s [INFO] running `Command { std: "docker" "inspect" "1e4d13d149d8e2e1348408d81ec913d7c82e0758c27189fb3852c292c74b37b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e4d13d149d8e2e1348408d81ec913d7c82e0758c27189fb3852c292c74b37b2", kill_on_drop: false }` [INFO] [stdout] 1e4d13d149d8e2e1348408d81ec913d7c82e0758c27189fb3852c292c74b37b2