[INFO] fetching crate mrtd1 0.1.2... [INFO] building mrtd1-0.1.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate mrtd1 0.1.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate mrtd1 0.1.2 [INFO] finished tweaking crates.io crate mrtd1 0.1.2 [INFO] tweaked toml for crates.io crate mrtd1 0.1.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mrtd1 0.1.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 108 packages to latest compatible versions [INFO] [stderr] Adding nfc1 v0.5.2 (available: v0.6.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nfc1 v0.5.2 [INFO] [stderr] Downloaded find-winsdk v0.2.0 [INFO] [stderr] Downloaded iso7816-tlv v0.4.4 [INFO] [stderr] Downloaded winreg v0.5.1 [INFO] [stderr] Downloaded usb-compat-01-sys v0.2.6 [INFO] [stderr] Downloaded nfc1-sys v0.3.9 [INFO] [stderr] Downloaded libusb1-sys v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d635200ed69878dccfef23ff7ea0c5daed066c34f07661e23e4895def9df03c [INFO] running `Command { std: "docker" "start" "-a" "6d635200ed69878dccfef23ff7ea0c5daed066c34f07661e23e4895def9df03c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d635200ed69878dccfef23ff7ea0c5daed066c34f07661e23e4895def9df03c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d635200ed69878dccfef23ff7ea0c5daed066c34f07661e23e4895def9df03c", kill_on_drop: false }` [INFO] [stdout] 6d635200ed69878dccfef23ff7ea0c5daed066c34f07661e23e4895def9df03c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2238ec2b11cefe9c152bbb79c23b7e9b3b1e9f3dc1e7aa09a2fd2384e60eb6bf [INFO] running `Command { std: "docker" "start" "-a" "2238ec2b11cefe9c152bbb79c23b7e9b3b1e9f3dc1e7aa09a2fd2384e60eb6bf", kill_on_drop: false }` [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling libusb1-sys v0.5.0 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling iso7816-tlv v0.4.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling des v0.8.1 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling usb-compat-01-sys v0.2.6 [INFO] [stderr] Compiling nfc1-sys v0.3.9 [INFO] [stderr] Compiling nfc1 v0.5.2 [INFO] [stderr] Compiling mrtd1 v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `rnd_ic` [INFO] [stdout] --> src/auth/bac.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | let (rnd_ic, rnd_ifd_k_ic) = d_ic.split_at(8); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rnd_ic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/files/mod.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | let res = ApduResponse::from_protected(device.initiator_transceive_bytes(&apdu, 16, nfc1::Timeout::None)?, ks_mac, ks_enc, ssc)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/auth/bac.rs:114:41 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn apdu_external_authenticate(data: &[u8]) -> ApduCommand { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn apdu_external_authenticate(data: &[u8]) -> ApduCommand<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | fn composite_data(&self) -> CompositeDataChars; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | fn composite_data(&self) -> CompositeDataChars<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | fn full_document_number(&self) -> DocumentNumberChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | fn full_document_number(&self) -> DocumentNumberChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | fn full_document_number_with_check_digit(&self) -> DocumentNumberCharsWithCheckDigit { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | fn full_document_number_with_check_digit(&self) -> DocumentNumberCharsWithCheckDigit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | fn date_of_birth_with_check_digit(&self) -> DataWithCheckDigit { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | fn date_of_birth_with_check_digit(&self) -> DataWithCheckDigit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | fn date_of_expiry_with_check_digit(&self) -> DataWithCheckDigit { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | fn date_of_expiry_with_check_digit(&self) -> DataWithCheckDigit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | fn mrz_information(&self) -> MrzInformation { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | fn mrz_information(&self) -> MrzInformation<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | fn composite_data(&self) -> CompositeDataChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 252 | fn composite_data(&self) -> CompositeDataChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:398:20 [INFO] [stdout] | [INFO] [stdout] 398 | fn composite_data(&self) -> CompositeDataChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 398 | fn composite_data(&self) -> CompositeDataChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:542:20 [INFO] [stdout] | [INFO] [stdout] 542 | fn composite_data(&self) -> CompositeDataChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 542 | fn composite_data(&self) -> CompositeDataChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:736:20 [INFO] [stdout] | [INFO] [stdout] 736 | fn composite_data(&self) -> CompositeDataChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 736 | fn composite_data(&self) -> CompositeDataChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.87s [INFO] running `Command { std: "docker" "inspect" "2238ec2b11cefe9c152bbb79c23b7e9b3b1e9f3dc1e7aa09a2fd2384e60eb6bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2238ec2b11cefe9c152bbb79c23b7e9b3b1e9f3dc1e7aa09a2fd2384e60eb6bf", kill_on_drop: false }` [INFO] [stdout] 2238ec2b11cefe9c152bbb79c23b7e9b3b1e9f3dc1e7aa09a2fd2384e60eb6bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07e3c763fb1cb917498e0ac7c1aefbb489268cb457e1a39de044aa615d86e68e [INFO] running `Command { std: "docker" "start" "-a" "07e3c763fb1cb917498e0ac7c1aefbb489268cb457e1a39de044aa615d86e68e", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `rnd_ic` [INFO] [stdout] --> src/auth/bac.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | let (rnd_ic, rnd_ifd_k_ic) = d_ic.split_at(8); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rnd_ic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/files/mod.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | let res = ApduResponse::from_protected(device.initiator_transceive_bytes(&apdu, 16, nfc1::Timeout::None)?, ks_mac, ks_enc, ssc)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/auth/bac.rs:114:41 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn apdu_external_authenticate(data: &[u8]) -> ApduCommand { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn apdu_external_authenticate(data: &[u8]) -> ApduCommand<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | fn composite_data(&self) -> CompositeDataChars; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | fn composite_data(&self) -> CompositeDataChars<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | fn full_document_number(&self) -> DocumentNumberChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | fn full_document_number(&self) -> DocumentNumberChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | fn full_document_number_with_check_digit(&self) -> DocumentNumberCharsWithCheckDigit { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | fn full_document_number_with_check_digit(&self) -> DocumentNumberCharsWithCheckDigit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | fn date_of_birth_with_check_digit(&self) -> DataWithCheckDigit { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | fn date_of_birth_with_check_digit(&self) -> DataWithCheckDigit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | fn date_of_expiry_with_check_digit(&self) -> DataWithCheckDigit { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | fn date_of_expiry_with_check_digit(&self) -> DataWithCheckDigit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | fn mrz_information(&self) -> MrzInformation { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | fn mrz_information(&self) -> MrzInformation<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | fn composite_data(&self) -> CompositeDataChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 252 | fn composite_data(&self) -> CompositeDataChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mrtd1 v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:398:20 [INFO] [stdout] | [INFO] [stdout] 398 | fn composite_data(&self) -> CompositeDataChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 398 | fn composite_data(&self) -> CompositeDataChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:542:20 [INFO] [stdout] | [INFO] [stdout] 542 | fn composite_data(&self) -> CompositeDataChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 542 | fn composite_data(&self) -> CompositeDataChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:736:20 [INFO] [stdout] | [INFO] [stdout] 736 | fn composite_data(&self) -> CompositeDataChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 736 | fn composite_data(&self) -> CompositeDataChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rnd_ic` [INFO] [stdout] --> src/auth/bac.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | let (rnd_ic, rnd_ifd_k_ic) = d_ic.split_at(8); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rnd_ic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/files/mod.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | let res = ApduResponse::from_protected(device.initiator_transceive_bytes(&apdu, 16, nfc1::Timeout::None)?, ks_mac, ks_enc, ssc)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/auth/bac.rs:114:41 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn apdu_external_authenticate(data: &[u8]) -> ApduCommand { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn apdu_external_authenticate(data: &[u8]) -> ApduCommand<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | fn composite_data(&self) -> CompositeDataChars; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | fn composite_data(&self) -> CompositeDataChars<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | fn full_document_number(&self) -> DocumentNumberChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | fn full_document_number(&self) -> DocumentNumberChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | fn full_document_number_with_check_digit(&self) -> DocumentNumberCharsWithCheckDigit { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | fn full_document_number_with_check_digit(&self) -> DocumentNumberCharsWithCheckDigit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | fn date_of_birth_with_check_digit(&self) -> DataWithCheckDigit { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | fn date_of_birth_with_check_digit(&self) -> DataWithCheckDigit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | fn date_of_expiry_with_check_digit(&self) -> DataWithCheckDigit { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | fn date_of_expiry_with_check_digit(&self) -> DataWithCheckDigit<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | fn mrz_information(&self) -> MrzInformation { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 125 | fn mrz_information(&self) -> MrzInformation<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | fn composite_data(&self) -> CompositeDataChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 252 | fn composite_data(&self) -> CompositeDataChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:398:20 [INFO] [stdout] | [INFO] [stdout] 398 | fn composite_data(&self) -> CompositeDataChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 398 | fn composite_data(&self) -> CompositeDataChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:542:20 [INFO] [stdout] | [INFO] [stdout] 542 | fn composite_data(&self) -> CompositeDataChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 542 | fn composite_data(&self) -> CompositeDataChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mrz/borrowed.rs:736:20 [INFO] [stdout] | [INFO] [stdout] 736 | fn composite_data(&self) -> CompositeDataChars { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 736 | fn composite_data(&self) -> CompositeDataChars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "07e3c763fb1cb917498e0ac7c1aefbb489268cb457e1a39de044aa615d86e68e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07e3c763fb1cb917498e0ac7c1aefbb489268cb457e1a39de044aa615d86e68e", kill_on_drop: false }` [INFO] [stdout] 07e3c763fb1cb917498e0ac7c1aefbb489268cb457e1a39de044aa615d86e68e