[INFO] cloning repository https://github.com/caiotavares/emv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caiotavares/emv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaiotavares%2Femv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaiotavares%2Femv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5101ce7277340a0460ddc838896ccedd597ca6b [INFO] checking caiotavares/emv against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaiotavares%2Femv" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/caiotavares/emv on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/caiotavares/emv [INFO] finished tweaking git repo https://github.com/caiotavares/emv [INFO] tweaked toml for git repo https://github.com/caiotavares/emv written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/caiotavares/emv already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1339c6a645694c3f5de8aa0a07fb1251c57c5580aebbe273b4650e8a54017ad1 [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" "1339c6a645694c3f5de8aa0a07fb1251c57c5580aebbe273b4650e8a54017ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1339c6a645694c3f5de8aa0a07fb1251c57c5580aebbe273b4650e8a54017ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1339c6a645694c3f5de8aa0a07fb1251c57c5580aebbe273b4650e8a54017ad1", kill_on_drop: false }` [INFO] [stdout] 1339c6a645694c3f5de8aa0a07fb1251c57c5580aebbe273b4650e8a54017ad1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 4ab7191462399f60f79d5fc49470d279fd45f228cfa5a568f7bedd1036b81d37 [INFO] running `Command { std: "docker" "start" "-a" "4ab7191462399f60f79d5fc49470d279fd45f228cfa5a568f7bedd1036b81d37", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling pcsc-sys v1.2.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking pcsc v2.4.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking emv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Read`, `Write` [INFO] [stdout] --> src/main.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufRead, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/apdu/capdu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::FromHex` [INFO] [stdout] --> src/cli/interface.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hex::FromHex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structopt::StructOpt` [INFO] [stdout] --> src/controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `Emv`, `Mode` [INFO] [stdout] --> src/controller.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::cli::interface::{Command, Emv, Mode}; [INFO] [stdout] | ^^^^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tlv::parser::TLV` [INFO] [stdout] --> src/controller.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::tlv::parser::TLV; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write` [INFO] [stdout] --> src/main.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufRead, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/apdu/capdu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::FromHex` [INFO] [stdout] --> src/cli/interface.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hex::FromHex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structopt::StructOpt` [INFO] [stdout] --> src/controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `Emv`, `Mode` [INFO] [stdout] --> src/controller.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::cli::interface::{Command, Emv, Mode}; [INFO] [stdout] | ^^^^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tlv::parser::TLV` [INFO] [stdout] --> src/controller.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::tlv::parser::TLV; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `external_authenticate` [INFO] [stdout] --> src/apdu/capdu.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn external_authenticate(issuer_authentication_data: Vec) -> APDU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `offline_change_pin` [INFO] [stdout] --> src/apdu/capdu.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn offline_change_pin(new_pin: Vec) -> APDU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `verify` [INFO] [stdout] --> src/apdu/capdu.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn verify(pin: Vec) -> APDU { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `application_block` [INFO] [stdout] --> src/apdu/capdu.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn application_block(mac: Vec) -> APDU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `application_unblock` [INFO] [stdout] --> src/apdu/capdu.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn application_unblock(mac: Vec) -> APDU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationCryptogram` [INFO] [stdout] --> src/tlv/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ApplicationCryptogram, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationCurrencyCode` [INFO] [stdout] --> src/tlv/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | ApplicationCurrencyCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationEffectiveDate` [INFO] [stdout] --> src/tlv/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ApplicationEffectiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationExpirationDate` [INFO] [stdout] --> src/tlv/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ApplicationExpirationDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationFileLocator` [INFO] [stdout] --> src/tlv/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ApplicationFileLocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationInterchangeProfile` [INFO] [stdout] --> src/tlv/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | ApplicationInterchangeProfile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationLabel` [INFO] [stdout] --> src/tlv/parser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ApplicationLabel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationPreferredName` [INFO] [stdout] --> src/tlv/parser.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ApplicationPreferredName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationPrimaryAccountNumber` [INFO] [stdout] --> src/tlv/parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ApplicationPrimaryAccountNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationPrimaryAccountNumberSequenceNumber` [INFO] [stdout] --> src/tlv/parser.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ApplicationPrimaryAccountNumberSequenceNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationPriorityIndicator` [INFO] [stdout] --> src/tlv/parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ApplicationPriorityIndicator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationTransactionCounter` [INFO] [stdout] --> src/tlv/parser.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ApplicationTransactionCounter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationUsageControl` [INFO] [stdout] --> src/tlv/parser.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ApplicationUsageControl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CardholderVerificationMethodList` [INFO] [stdout] --> src/tlv/parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | CardholderVerificationMethodList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CardRiskManagementDataObjectList1` [INFO] [stdout] --> src/tlv/parser.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | CardRiskManagementDataObjectList1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CardRiskManagementDataObjectList2` [INFO] [stdout] --> src/tlv/parser.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | CardRiskManagementDataObjectList2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CryptogramInformationData` [INFO] [stdout] --> src/tlv/parser.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | CryptogramInformationData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DedicatedFileName` [INFO] [stdout] --> src/tlv/parser.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | DedicatedFileName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EMVProprietaryTemplate` [INFO] [stdout] --> src/tlv/parser.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | EMVProprietaryTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FileControlInformationIssuerDiscretionaryData` [INFO] [stdout] --> src/tlv/parser.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | FileControlInformationIssuerDiscretionaryData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FileControlInformationProprietaryTemplate` [INFO] [stdout] --> src/tlv/parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | FileControlInformationProprietaryTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FileControlInformationTemplate` [INFO] [stdout] --> src/tlv/parser.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | FileControlInformationTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IssuerActionCodeDefault` [INFO] [stdout] --> src/tlv/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | IssuerActionCodeDefault, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IssuerActionCodeDenial` [INFO] [stdout] --> src/tlv/parser.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | IssuerActionCodeDenial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IssuerActionCodeOnline` [INFO] [stdout] --> src/tlv/parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | IssuerActionCodeOnline, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IssuerApplicationData` [INFO] [stdout] --> src/tlv/parser.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | IssuerApplicationData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IssuerCodeTableIndex` [INFO] [stdout] --> src/tlv/parser.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | IssuerCodeTableIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IssuerCountryCode` [INFO] [stdout] --> src/tlv/parser.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | IssuerCountryCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LanguagePreference` [INFO] [stdout] --> src/tlv/parser.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | LanguagePreference, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LogEntry` [INFO] [stdout] --> src/tlv/parser.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | LogEntry, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PinTryCounter` [INFO] [stdout] --> src/tlv/parser.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | PinTryCounter, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ResponseMessageTemplateFormat2` [INFO] [stdout] --> src/tlv/parser.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ResponseMessageTemplateFormat2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StaticDataAuthenticationTagList` [INFO] [stdout] --> src/tlv/parser.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | StaticDataAuthenticationTagList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnknownTag` [INFO] [stdout] --> src/tlv/parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | UnknownTag, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_u8` [INFO] [stdout] --> src/tlv/parser.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_u8(value: u8) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_u16` [INFO] [stdout] --> src/tlv/parser.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn from_u16(value: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_template` [INFO] [stdout] --> src/tlv/parser.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn is_template(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/tlv/parser.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn parse(data: Vec) -> Result<(TLV, Vec), &'static str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/tlv/parser.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn decode(data: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `verify` [INFO] [stdout] --> src/controller.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn verify(card: &pcsc::Card, pin: Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `application_block` [INFO] [stdout] --> src/controller.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn application_block(card: &pcsc::Card, mac: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `application_unblock` [INFO] [stdout] --> src/controller.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn application_unblock(card: &pcsc::Card, mac: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `external_authenticate` [INFO] [stdout] --> src/apdu/capdu.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn external_authenticate(issuer_authentication_data: Vec) -> APDU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `offline_change_pin` [INFO] [stdout] --> src/apdu/capdu.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn offline_change_pin(new_pin: Vec) -> APDU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `verify` [INFO] [stdout] --> src/apdu/capdu.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn verify(pin: Vec) -> APDU { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `application_block` [INFO] [stdout] --> src/apdu/capdu.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn application_block(mac: Vec) -> APDU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `application_unblock` [INFO] [stdout] --> src/apdu/capdu.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn application_unblock(mac: Vec) -> APDU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationCryptogram` [INFO] [stdout] --> src/tlv/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ApplicationCryptogram, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationCurrencyCode` [INFO] [stdout] --> src/tlv/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | ApplicationCurrencyCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationEffectiveDate` [INFO] [stdout] --> src/tlv/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ApplicationEffectiveDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationExpirationDate` [INFO] [stdout] --> src/tlv/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ApplicationExpirationDate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationFileLocator` [INFO] [stdout] --> src/tlv/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ApplicationFileLocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationInterchangeProfile` [INFO] [stdout] --> src/tlv/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | ApplicationInterchangeProfile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationLabel` [INFO] [stdout] --> src/tlv/parser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ApplicationLabel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationPreferredName` [INFO] [stdout] --> src/tlv/parser.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ApplicationPreferredName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationPrimaryAccountNumber` [INFO] [stdout] --> src/tlv/parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ApplicationPrimaryAccountNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationPrimaryAccountNumberSequenceNumber` [INFO] [stdout] --> src/tlv/parser.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ApplicationPrimaryAccountNumberSequenceNumber, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationPriorityIndicator` [INFO] [stdout] --> src/tlv/parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ApplicationPriorityIndicator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationTransactionCounter` [INFO] [stdout] --> src/tlv/parser.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ApplicationTransactionCounter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApplicationUsageControl` [INFO] [stdout] --> src/tlv/parser.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ApplicationUsageControl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CardholderVerificationMethodList` [INFO] [stdout] --> src/tlv/parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | CardholderVerificationMethodList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CardRiskManagementDataObjectList1` [INFO] [stdout] --> src/tlv/parser.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | CardRiskManagementDataObjectList1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CardRiskManagementDataObjectList2` [INFO] [stdout] --> src/tlv/parser.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | CardRiskManagementDataObjectList2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CryptogramInformationData` [INFO] [stdout] --> src/tlv/parser.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | CryptogramInformationData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DedicatedFileName` [INFO] [stdout] --> src/tlv/parser.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | DedicatedFileName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EMVProprietaryTemplate` [INFO] [stdout] --> src/tlv/parser.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | EMVProprietaryTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FileControlInformationIssuerDiscretionaryData` [INFO] [stdout] --> src/tlv/parser.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | FileControlInformationIssuerDiscretionaryData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FileControlInformationProprietaryTemplate` [INFO] [stdout] --> src/tlv/parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | FileControlInformationProprietaryTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FileControlInformationTemplate` [INFO] [stdout] --> src/tlv/parser.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | FileControlInformationTemplate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IssuerActionCodeDefault` [INFO] [stdout] --> src/tlv/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | IssuerActionCodeDefault, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IssuerActionCodeDenial` [INFO] [stdout] --> src/tlv/parser.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | IssuerActionCodeDenial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IssuerActionCodeOnline` [INFO] [stdout] --> src/tlv/parser.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | IssuerActionCodeOnline, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IssuerApplicationData` [INFO] [stdout] --> src/tlv/parser.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | IssuerApplicationData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IssuerCodeTableIndex` [INFO] [stdout] --> src/tlv/parser.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | IssuerCodeTableIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IssuerCountryCode` [INFO] [stdout] --> src/tlv/parser.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | IssuerCountryCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LanguagePreference` [INFO] [stdout] --> src/tlv/parser.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | LanguagePreference, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LogEntry` [INFO] [stdout] --> src/tlv/parser.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | LogEntry, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PinTryCounter` [INFO] [stdout] --> src/tlv/parser.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | PinTryCounter, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ResponseMessageTemplateFormat2` [INFO] [stdout] --> src/tlv/parser.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ResponseMessageTemplateFormat2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StaticDataAuthenticationTagList` [INFO] [stdout] --> src/tlv/parser.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | StaticDataAuthenticationTagList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnknownTag` [INFO] [stdout] --> src/tlv/parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | UnknownTag, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_u8` [INFO] [stdout] --> src/tlv/parser.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_u8(value: u8) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_u16` [INFO] [stdout] --> src/tlv/parser.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn from_u16(value: u16) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_template` [INFO] [stdout] --> src/tlv/parser.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn is_template(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/tlv/parser.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn parse(data: Vec) -> Result<(TLV, Vec), &'static str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode` [INFO] [stdout] --> src/tlv/parser.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn decode(data: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `verify` [INFO] [stdout] --> src/controller.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn verify(card: &pcsc::Card, pin: Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `application_block` [INFO] [stdout] --> src/controller.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn application_block(card: &pcsc::Card, mac: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `application_unblock` [INFO] [stdout] --> src/controller.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn application_unblock(card: &pcsc::Card, mac: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | io::stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | io::stdin().read_line(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | io::stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | io::stdin().read_line(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / usb::transmit(card, &apdu) [INFO] [stdout] 12 | | .map(|response| { [INFO] [stdout] 13 | | match response { [INFO] [stdout] 14 | | RAPDU { status: Status::ResponseAvailable { length }, .. } => { [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | usb::transmit(card, &apdu.with_length(length)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: path statement drops value [INFO] [stdout] --> src/controller.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | response; [INFO] [stdout] | ^^^^^^^^^ help: use `drop` to clarify the intent: `drop(response);` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(path_statements)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | io::stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | io::stdin().read_line(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | io::stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | io::stdin().read_line(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / usb::transmit(card, &apdu) [INFO] [stdout] 12 | | .map(|response| { [INFO] [stdout] 13 | | match response { [INFO] [stdout] 14 | | RAPDU { status: Status::ResponseAvailable { length }, .. } => { [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/controller.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | usb::transmit(card, &apdu.with_length(length)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: path statement drops value [INFO] [stdout] --> src/controller.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | response; [INFO] [stdout] | ^^^^^^^^^ help: use `drop` to clarify the intent: `drop(response);` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(path_statements)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.13s [INFO] running `Command { std: "docker" "inspect" "4ab7191462399f60f79d5fc49470d279fd45f228cfa5a568f7bedd1036b81d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ab7191462399f60f79d5fc49470d279fd45f228cfa5a568f7bedd1036b81d37", kill_on_drop: false }` [INFO] [stdout] 4ab7191462399f60f79d5fc49470d279fd45f228cfa5a568f7bedd1036b81d37