[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] 1eb3441f48307eb9d5b6e05ac3bfd8d9f695fbd7 [INFO] checking caiotavares/emv against master#ca77504943887037504c7fc0b9bf06dab3910373 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaiotavares%2Femv" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/caiotavares/emv on toolchain ca77504943887037504c7fc0b9bf06dab3910373 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/caiotavares/emv already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pcsc v2.4.0 [INFO] [stderr] Downloaded pcsc-sys v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f406b38bb2e81b7c45ca767f548eb0c7198525159add6ae6cb60fb69098e21e0 [INFO] running `Command { std: "docker" "start" "-a" "f406b38bb2e81b7c45ca767f548eb0c7198525159add6ae6cb60fb69098e21e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f406b38bb2e81b7c45ca767f548eb0c7198525159add6ae6cb60fb69098e21e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f406b38bb2e81b7c45ca767f548eb0c7198525159add6ae6cb60fb69098e21e0", kill_on_drop: false }` [INFO] [stdout] f406b38bb2e81b7c45ca767f548eb0c7198525159add6ae6cb60fb69098e21e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38926892d036e4f3022148801eb1a6c370d7e297be02193728a25ff3805b0ab5 [INFO] running `Command { std: "docker" "start" "-a" "38926892d036e4f3022148801eb1a6c370d7e297be02193728a25ff3805b0ab5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pcsc-sys v1.2.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking pcsc v2.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [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` and `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`, and `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` and `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`, and `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 `external_authenticate` is never used [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 `offline_change_pin` is never used [INFO] [stdout] --> src/apdu/capdu.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn offline_change_pin(new_pin: Vec) -> APDU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `application_block` is never used [INFO] [stdout] --> src/apdu/capdu.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn application_block(mac: Vec) -> APDU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `application_unblock` is never used [INFO] [stdout] --> src/apdu/capdu.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn application_unblock(mac: Vec) -> APDU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `application_block` is never used [INFO] [stdout] --> src/controller.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn application_block(card: &pcsc::Card, mac: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `application_unblock` is never used [INFO] [stdout] --> src/controller.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | 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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = io::stdout().flush(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | let _ = io::stdin().read_line(&mut buffer); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = io::stdout().flush(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = io::stdin().read_line(&mut buffer); [INFO] [stdout] | +++++++ [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] 24 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = usb::transmit(card, &apdu) [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = usb::transmit(card, &apdu.with_length(length)); [INFO] [stdout] | +++++++ [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: function `external_authenticate` is never used [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 `offline_change_pin` is never used [INFO] [stdout] --> src/apdu/capdu.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn offline_change_pin(new_pin: Vec) -> APDU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `application_block` is never used [INFO] [stdout] --> src/apdu/capdu.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn application_block(mac: Vec) -> APDU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `application_unblock` is never used [INFO] [stdout] --> src/apdu/capdu.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn application_unblock(mac: Vec) -> APDU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `application_block` is never used [INFO] [stdout] --> src/controller.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn application_block(card: &pcsc::Card, mac: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `application_unblock` is never used [INFO] [stdout] --> src/controller.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | 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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = io::stdout().flush(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | let _ = io::stdin().read_line(&mut buffer); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = io::stdout().flush(); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = io::stdin().read_line(&mut buffer); [INFO] [stdout] | +++++++ [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] 24 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = usb::transmit(card, &apdu) [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = usb::transmit(card, &apdu.with_length(length)); [INFO] [stdout] | +++++++ [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.25s [INFO] running `Command { std: "docker" "inspect" "38926892d036e4f3022148801eb1a6c370d7e297be02193728a25ff3805b0ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38926892d036e4f3022148801eb1a6c370d7e297be02193728a25ff3805b0ab5", kill_on_drop: false }` [INFO] [stdout] 38926892d036e4f3022148801eb1a6c370d7e297be02193728a25ff3805b0ab5