[INFO] fetching crate baltic-id 0.0.2...
[INFO] checking baltic-id-0.0.2 against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] extracting crate baltic-id 0.0.2 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate baltic-id 0.0.2
[INFO] finished tweaking crates.io crate baltic-id 0.0.2
[INFO] tweaked toml for crates.io crate baltic-id 0.0.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate baltic-id 0.0.2 on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 228 packages to latest compatible versions
[INFO] [stderr]       Adding base64 v0.21.7 (available: v0.22.1)
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding rand v0.8.6 (available: v0.10.1)
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.13.4)
[INFO] [stderr]       Adding sha2 v0.10.9 (available: v0.11.0)
[INFO] [stderr]       Adding strum v0.24.1 (available: v0.28.0)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.18)
[INFO] [stderr]       Adding x509-parser v0.15.1 (available: v0.18.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0f57caedc0f3ca74c127aa84e1c429fbfb92ad6db44defc1a16dc865ad821ce5
[INFO] running `Command { std: "docker" "start" "-a" "0f57caedc0f3ca74c127aa84e1c429fbfb92ad6db44defc1a16dc865ad821ce5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f57caedc0f3ca74c127aa84e1c429fbfb92ad6db44defc1a16dc865ad821ce5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f57caedc0f3ca74c127aa84e1c429fbfb92ad6db44defc1a16dc865ad821ce5", kill_on_drop: false }`
[INFO] [stdout] 0f57caedc0f3ca74c127aa84e1c429fbfb92ad6db44defc1a16dc865ad821ce5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 077c0302ff9deae066dd0b2b9452e0aeed22e39e8e8d90cb7ccd076846c77298
[INFO] running `Command { std: "docker" "start" "-a" "077c0302ff9deae066dd0b2b9452e0aeed22e39e8e8d90cb7ccd076846c77298", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]     Checking memchr v2.8.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking litemap v0.8.2
[INFO] [stderr]     Checking writeable v0.6.3
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling cc v1.2.63
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling openssl v0.10.80
[INFO] [stderr]    Compiling num-conv v0.2.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling zerocopy v0.8.50
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking typenum v1.20.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking hashbrown v0.17.1
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking socket2 v0.6.4
[INFO] [stderr]     Checking mio v1.2.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]    Compiling openssl-sys v0.9.116
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking log v0.4.30
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking rusticata-macros v4.1.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]    Compiling oid-registry v0.6.1
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking data-encoding v2.11.0
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking iana-time-zone v0.1.65
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling asn1-rs-derive v0.4.0
[INFO] [stderr]    Compiling asn1-rs-impl v0.1.0
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking asn1-rs v0.5.2
[INFO] [stderr]     Checking strum v0.24.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking der-parser v8.2.0
[INFO] [stderr]     Checking x509-parser v0.15.1
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking baltic-id v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/smart_id/utils/certificate_attributes.rs:16:45
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let naive_datetime = NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap();
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/smart_id/utils/certificate_attributes.rs:17:41
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let datetime = DateTime::<Utc>::from_utc(naive_datetime, Utc);
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/smart_id/utils/certificate_attributes.rs:16:45
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let naive_datetime = NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap();
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/smart_id/utils/certificate_attributes.rs:17:41
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let datetime = DateTime::<Utc>::from_utc(naive_datetime, Utc);
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/smart_id/models.rs:388:13
[INFO] [stdout]     |
[INFO] [stdout] 388 |             _ => panic!("Unsupported hash type: {}", hash_type),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/smart_id/models.rs:388:13
[INFO] [stdout]     |
[INFO] [stdout] 383 |             HashType::Md5 => MessageDigest::md5(),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] 384 |             HashType::Sha1 => MessageDigest::sha1(),
[INFO] [stdout]     |             -------------- matches some of the same values
[INFO] [stdout] 385 |             HashType::Sha256 => MessageDigest::sha256(),
[INFO] [stdout]     |             ---------------- matches some of the same values
[INFO] [stdout] 386 |             HashType::Sha384 => MessageDigest::sha384(),
[INFO] [stdout]     |             ---------------- matches some of the same values
[INFO] [stdout] 387 |             HashType::Sha512 => MessageDigest::sha512(),
[INFO] [stdout] 388 |             _ => panic!("Unsupported hash type: {}", hash_type),
[INFO] [stdout]     |             ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/smart_id/models.rs:388:13
[INFO] [stdout]     |
[INFO] [stdout] 388 |             _ => panic!("Unsupported hash type: {}", hash_type),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/smart_id/models.rs:388:13
[INFO] [stdout]     |
[INFO] [stdout] 383 |             HashType::Md5 => MessageDigest::md5(),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] 384 |             HashType::Sha1 => MessageDigest::sha1(),
[INFO] [stdout]     |             -------------- matches some of the same values
[INFO] [stdout] 385 |             HashType::Sha256 => MessageDigest::sha256(),
[INFO] [stdout]     |             ---------------- matches some of the same values
[INFO] [stdout] 386 |             HashType::Sha384 => MessageDigest::sha384(),
[INFO] [stdout]     |             ---------------- matches some of the same values
[INFO] [stdout] 387 |             HashType::Sha512 => MessageDigest::sha512(),
[INFO] [stdout] 388 |             _ => panic!("Unsupported hash type: {}", hash_type),
[INFO] [stdout]     |             ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/smart_id/mod.rs:365:17
[INFO] [stdout]     |
[INFO] [stdout] 365 |                 _ => Err(TechnicalError(
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/smart_id/mod.rs:365:17
[INFO] [stdout]     |
[INFO] [stdout] 340 |                 SessionEndResultCode::UserRefused => Err(UserRefusedException),
[INFO] [stdout]     |                 --------------------------------- matches some of the same values
[INFO] [stdout] 341 |                 SessionEndResultCode::Timeout => Err(SessionTimeoutException),
[INFO] [stdout]     |                 ----------------------------- matches some of the same values
[INFO] [stdout] 342 |                 SessionEndResultCode::DocumentUnusable => Err(DocumentUnusableException),
[INFO] [stdout]     |                 -------------------------------------- matches some of the same values
[INFO] [stdout] 343 |                 SessionEndResultCode::RequiredInteractionNotSupportedByApp => {
[INFO] [stdout]     |                 ---------------------------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 365 |                 _ => Err(TechnicalError(
[INFO] [stdout]     |                 ^ ...and 7 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `MobileIdClient` is never constructed
[INFO] [stdout]   --> src/mobile_id/mod.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct MobileIdClient<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ssl_keys` is never read
[INFO] [stdout]   --> src/smart_id/mod.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct SmartIdClient {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     ssl_keys: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `authenticate` is never used
[INFO] [stdout]    --> src/smart_id/mod.rs:125:14
[INFO] [stdout]     |
[INFO] [stdout]  40 | impl SmartIdClient {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     async fn authenticate(
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthenticationResponseValidator` is never constructed
[INFO] [stdout]   --> src/smart_id/authentication_response_validator.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct AuthenticationResponseValidator {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/smart_id/authentication_response_validator.rs:26:12
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl AuthenticationResponseValidator {
[INFO] [stdout]     | ------------------------------------ associated items in this implementation
[INFO] [stdout]  26 |     pub fn new(resources_location: Option<&str>) -> Result<Self, ErrorStack> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  39 |     pub fn validate(
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  82 |     fn validate_authentication_response(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     fn verify_response_end_result(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn verify_signature(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     fn verify_certificate_expiry(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     fn verify_certificate_level(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn construct_authentication_identity(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn initialize_trusted_ca_certificates_from_resources(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     fn is_certificate_trusted(&self, certificate: String) -> Result<bool, ErrorStack> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     fn get_date_of_birth(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/smart_id/models.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct AuthenticationCertificateExtensions {
[INFO] [stdout]    |            ----------------------------------- fields in this struct
[INFO] [stdout] 83 |     basic_constraints: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 84 |     key_usage: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 85 |     certificate_policies: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 86 |     subject_key_identifier: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 87 |     qc_statements: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 88 |     authority_key_identifier: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 89 |     authority_info_access: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 90 |     extended_key_usage: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 91 |     subject_alt_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/smart_id/models.rs:353:48
[INFO] [stdout]     |
[INFO] [stdout] 353 |     pub fn parse_x509_certificate(certificate: &[u8]) -> Result<X509Certificate, anyhow::Error> {
[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] 353 |     pub fn parse_x509_certificate(certificate: &[u8]) -> Result<X509Certificate<'_>, anyhow::Error> {
[INFO] [stdout]     |                                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `baltic-id` (lib test) due to 1 previous error; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/smart_id/mod.rs:365:17
[INFO] [stdout]     |
[INFO] [stdout] 365 |                 _ => Err(TechnicalError(
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/smart_id/mod.rs:365:17
[INFO] [stdout]     |
[INFO] [stdout] 340 |                 SessionEndResultCode::UserRefused => Err(UserRefusedException),
[INFO] [stdout]     |                 --------------------------------- matches some of the same values
[INFO] [stdout] 341 |                 SessionEndResultCode::Timeout => Err(SessionTimeoutException),
[INFO] [stdout]     |                 ----------------------------- matches some of the same values
[INFO] [stdout] 342 |                 SessionEndResultCode::DocumentUnusable => Err(DocumentUnusableException),
[INFO] [stdout]     |                 -------------------------------------- matches some of the same values
[INFO] [stdout] 343 |                 SessionEndResultCode::RequiredInteractionNotSupportedByApp => {
[INFO] [stdout]     |                 ---------------------------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 365 |                 _ => Err(TechnicalError(
[INFO] [stdout]     |                 ^ ...and 7 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `MobileIdClient` is never constructed
[INFO] [stdout]   --> src/mobile_id/mod.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct MobileIdClient<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ssl_keys` is never read
[INFO] [stdout]   --> src/smart_id/mod.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct SmartIdClient {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     ssl_keys: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `authenticate` is never used
[INFO] [stdout]    --> src/smart_id/mod.rs:125:14
[INFO] [stdout]     |
[INFO] [stdout]  40 | impl SmartIdClient {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     async fn authenticate(
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthenticationResponseValidator` is never constructed
[INFO] [stdout]   --> src/smart_id/authentication_response_validator.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct AuthenticationResponseValidator {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/smart_id/authentication_response_validator.rs:26:12
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl AuthenticationResponseValidator {
[INFO] [stdout]     | ------------------------------------ associated items in this implementation
[INFO] [stdout]  26 |     pub fn new(resources_location: Option<&str>) -> Result<Self, ErrorStack> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  39 |     pub fn validate(
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  82 |     fn validate_authentication_response(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     fn verify_response_end_result(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn verify_signature(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     fn verify_certificate_expiry(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     fn verify_certificate_level(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn construct_authentication_identity(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     fn initialize_trusted_ca_certificates_from_resources(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     fn is_certificate_trusted(&self, certificate: String) -> Result<bool, ErrorStack> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     fn get_date_of_birth(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/smart_id/models.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct AuthenticationCertificateExtensions {
[INFO] [stdout]    |            ----------------------------------- fields in this struct
[INFO] [stdout] 83 |     basic_constraints: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 84 |     key_usage: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 85 |     certificate_policies: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 86 |     subject_key_identifier: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 87 |     qc_statements: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 88 |     authority_key_identifier: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 89 |     authority_info_access: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 90 |     extended_key_usage: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 91 |     subject_alt_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/smart_id/models.rs:353:48
[INFO] [stdout]     |
[INFO] [stdout] 353 |     pub fn parse_x509_certificate(certificate: &[u8]) -> Result<X509Certificate, anyhow::Error> {
[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] 353 |     pub fn parse_x509_certificate(certificate: &[u8]) -> Result<X509Certificate<'_>, anyhow::Error> {
[INFO] [stdout]     |                                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `baltic-id` (lib) due to 1 previous error; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "077c0302ff9deae066dd0b2b9452e0aeed22e39e8e8d90cb7ccd076846c77298", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "077c0302ff9deae066dd0b2b9452e0aeed22e39e8e8d90cb7ccd076846c77298", kill_on_drop: false }`
[INFO] [stdout] 077c0302ff9deae066dd0b2b9452e0aeed22e39e8e8d90cb7ccd076846c77298
