[INFO] fetching crate credibil-vc 0.1.0... [INFO] checking credibil-vc-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate credibil-vc 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate credibil-vc 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate credibil-vc 0.1.0 [INFO] tweaked toml for crates.io crate credibil-vc 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate credibil-vc 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate credibil-vc 0.1.0 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json_path v0.7.2 [INFO] [stderr] Downloaded assert_let_bind v0.1.1 [INFO] [stderr] Downloaded serde_json_path_macros_internal v0.1.2 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.15 [INFO] [stderr] Downloaded data-encoding-macro v0.1.17 [INFO] [stderr] Downloaded rand_core v0.9.0 [INFO] [stderr] Downloaded ecies v0.2.7 [INFO] [stderr] Downloaded credibil-did v0.1.2 [INFO] [stderr] Downloaded credibil-infosec v0.1.1 [INFO] [stderr] Downloaded rstest_macros v0.24.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.17 [INFO] [stderr] Downloaded rstest v0.24.0 [INFO] [stderr] Downloaded zerocopy v0.8.17 [INFO] [stderr] Downloaded insta v1.42.1 [INFO] [stderr] Downloaded serde_json_path_core v0.2.2 [INFO] [stderr] Downloaded serde_json_path_macros v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96a799026aa518a0426860a657cb5d8701ef03d7472ce63a23f4d40d1eb8a3b0 [INFO] running `Command { std: "docker" "start" "-a" "96a799026aa518a0426860a657cb5d8701ef03d7472ce63a23f4d40d1eb8a3b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96a799026aa518a0426860a657cb5d8701ef03d7472ce63a23f4d40d1eb8a3b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96a799026aa518a0426860a657cb5d8701ef03d7472ce63a23f4d40d1eb8a3b0", kill_on_drop: false }` [INFO] [stdout] 96a799026aa518a0426860a657cb5d8701ef03d7472ce63a23f4d40d1eb8a3b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76ab60568ce105ad932b3098e03e8482977a8babd0258bc8b1576edf5618f9fe [INFO] running `Command { std: "docker" "start" "-a" "76ab60568ce105ad932b3098e03e8482977a8babd0258bc8b1576edf5618f9fe", kill_on_drop: false }` [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling zerocopy v0.8.17 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking event-listener-strategy v0.5.3 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Checking value-bag v1.10.0 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling libsecp256k1 v0.7.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling winnow v0.7.2 [INFO] [stderr] Checking inventory v0.3.19 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling rstest_macros v0.24.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking rand_core v0.9.0 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking console v0.15.10 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking qrcode v0.14.1 [INFO] [stderr] Checking assert_let_bind v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.15 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking data-encoding-macro v0.1.17 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking aes-kw v0.2.1 [INFO] [stderr] Compiling serde_json_path_macros_internal v0.1.2 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Checking coset v0.3.8 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking serde_json_path_core v0.2.2 [INFO] [stderr] Checking pin-project v1.1.9 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking uuid v1.14.0 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking serde_json_path_macros v0.1.6 [INFO] [stderr] Checking serde_json_path v0.7.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking insta v1.42.1 [INFO] [stderr] Checking rstest v0.24.0 [INFO] [stderr] Checking ecies v0.2.7 [INFO] [stderr] Checking credibil-infosec v0.1.1 [INFO] [stderr] Checking credibil-did v0.1.2 [INFO] [stderr] Checking credibil-vc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `PIN_CHARS` is never used [INFO] [stdout] --> src/core/generate.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const PIN_CHARS: &str = "0123456789"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PIN_LEN` is never used [INFO] [stdout] --> src/core/generate.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const PIN_LEN: usize = 6; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAFE_CHARS` is never used [INFO] [stdout] --> src/core/generate.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const SAFE_CHARS: &str = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATE_LEN` is never used [INFO] [stdout] --> src/core/generate.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const STATE_LEN: usize = 32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_code` is never used [INFO] [stdout] --> src/core/generate.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn auth_code() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nonce` is never used [INFO] [stdout] --> src/core/generate.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn nonce() -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notification_id` is never used [INFO] [stdout] --> src/core/generate.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn notification_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uri_token` is never used [INFO] [stdout] --> src/core/generate.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn uri_token() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `token` is never used [INFO] [stdout] --> src/core/generate.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn token() -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transaction_id` is never used [INFO] [stdout] --> src/core/generate.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn transaction_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tx_code` is never used [INFO] [stdout] --> src/core/generate.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn tx_code() -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_string` is never used [INFO] [stdout] --> src/core/generate.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn random_string(len: usize, charset: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHARS` is never used [INFO] [stdout] --> src/core/pkce.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CHARS: &str = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-.~_"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_LEN` is never used [INFO] [stdout] --> src/core/pkce.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MIN_LEN: usize = 43; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LEN` is never used [INFO] [stdout] --> src/core/pkce.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MAX_LEN: usize = 128; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `code_verifier` is never used [INFO] [stdout] --> src/core/pkce.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn code_verifier() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `code_challenge` is never used [INFO] [stdout] --> src/core/pkce.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn code_challenge(verifier: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Claims` is never used [INFO] [stdout] --> src/dif_exch.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Claims { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PresentationDefinition` is never constructed [INFO] [stdout] --> src/dif_exch.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PresentationDefinition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputDescriptor` is never constructed [INFO] [stdout] --> src/dif_exch.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct InputDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClaimFormat` is never constructed [INFO] [stdout] --> src/dif_exch.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ClaimFormat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Constraints` is never constructed [INFO] [stdout] --> src/dif_exch.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct Constraints { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Field` is never constructed [INFO] [stdout] --> src/dif_exch.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct Field { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filter` is never constructed [INFO] [stdout] --> src/dif_exch.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Filter { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilterValue` is never used [INFO] [stdout] --> src/dif_exch.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | pub enum FilterValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PresentationSubmission` is never constructed [INFO] [stdout] --> src/dif_exch.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct PresentationSubmission { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DescriptorMap` is never constructed [INFO] [stdout] --> src/dif_exch.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct DescriptorMap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PathNested` is never constructed [INFO] [stdout] --> src/dif_exch.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct PathNested { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `satisfied` is never used [INFO] [stdout] --> src/dif_exch/matcher.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Constraints { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn satisfied(&self, claims: &impl Claims) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `matched` is never used [INFO] [stdout] --> src/dif_exch/matcher.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Field { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | fn matched(&self, vc: &Value) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `matched` is never used [INFO] [stdout] --> src/dif_exch/matcher.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl FilterValue { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | fn matched(&self, vc_node: &Value) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_const` is never used [INFO] [stdout] --> src/dif_exch/matcher.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn match_const(filter_val: &FilterValue, vc_node: &Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_pattern` is never used [INFO] [stdout] --> src/dif_exch/matcher.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn match_pattern(filter_val: &FilterValue, vc_node: &Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_format` is never used [INFO] [stdout] --> src/dif_exch/matcher.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn match_format(filter_val: &FilterValue, vc_node: &Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_credential` is never used [INFO] [stdout] --> src/iso_mdl.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn to_credential( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NameSpace` is never used [INFO] [stdout] --> src/iso_mdl/mdoc.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type NameSpace = String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IssuerSigned` is never constructed [INFO] [stdout] --> src/iso_mdl/mdoc.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct IssuerSigned { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_vec` are never used [INFO] [stdout] --> src/iso_mdl/mdoc.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl IssuerSigned { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 39 | /// Create a new `IssuerSigned` with default values. [INFO] [stdout] 40 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn to_vec(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IssuerSignedItemBytes` is never used [INFO] [stdout] --> src/iso_mdl/mdoc.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub type IssuerSignedItemBytes = Tag24; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IssuerSignedItem` is never constructed [INFO] [stdout] --> src/iso_mdl/mdoc.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct IssuerSignedItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IssuerAuth` is never constructed [INFO] [stdout] --> src/iso_mdl/mso.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct IssuerAuth(pub CoseSign1); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MobileSecurityObject` is never constructed [INFO] [stdout] --> src/iso_mdl/mso.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct MobileSecurityObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/iso_mdl/mso.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl MobileSecurityObject { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 67 | /// Create a new `MobileSecurityObject` with default values. [INFO] [stdout] 68 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DigestId` is never used [INFO] [stdout] --> src/iso_mdl/mso.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | pub type DigestId = i32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Digest` is never used [INFO] [stdout] --> src/iso_mdl/mso.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | pub type Digest = Vec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DigestAlgorithm` is never used [INFO] [stdout] --> src/iso_mdl/mso.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | pub enum DigestAlgorithm { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeviceKeyInfo` is never constructed [INFO] [stdout] --> src/iso_mdl/mso.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct DeviceKeyInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AuthorizedNameSpaces` is never used [INFO] [stdout] --> src/iso_mdl/mso.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | pub type AuthorizedNameSpaces = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AuthorizedDataElements` is never used [INFO] [stdout] --> src/iso_mdl/mso.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | pub type AuthorizedDataElements = BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataElementsArray` is never used [INFO] [stdout] --> src/iso_mdl/mso.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | pub type DataElementsArray = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DataElementIdentifier` is never used [INFO] [stdout] --> src/iso_mdl/mso.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 143 | pub type DataElementIdentifier = String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyAuthorization` is never constructed [INFO] [stdout] --> src/iso_mdl/mso.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct KeyAuthorization { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidityInfo` is never constructed [INFO] [stdout] --> src/iso_mdl/mso.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct ValidityInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DigestIdGenerator` is never constructed [INFO] [stdout] --> src/iso_mdl/mso.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct DigestIdGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `generate` are never used [INFO] [stdout] --> src/iso_mdl/mso.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 185 | impl DigestIdGenerator { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 186 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn generate(&mut self) -> DigestId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/openid.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Provider` is never used [INFO] [stdout] --> src/openid/issuer.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait Provider: [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Metadata` is never used [INFO] [stdout] --> src/openid/issuer.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Metadata: Send + Sync { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Subject` is never used [INFO] [stdout] --> src/openid/issuer.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait Subject: Send + Sync { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateOfferRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct CreateOfferRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SendType` is never used [INFO] [stdout] --> src/openid/issuer.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum SendType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateOfferResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct CreateOfferResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OfferType` is never used [INFO] [stdout] --> src/openid/issuer.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub enum OfferType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialOffer` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct CredentialOffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_qrcode`, `to_querystring`, `pre_authorized_code`, and `authorization_code` are never used [INFO] [stdout] --> src/openid/issuer.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 216 | impl CredentialOffer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn to_qrcode(&self, endpoint: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn to_querystring(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn pre_authorized_code(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn authorization_code(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grants` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct Grants { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthorizationCodeGrant` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub struct AuthorizationCodeGrant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PreAuthorizedCodeGrant` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | pub struct PreAuthorizedCodeGrant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TxCode` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:372:12 [INFO] [stdout] | [INFO] [stdout] 372 | pub struct TxCode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialOfferRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | pub struct CredentialOfferRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialOfferResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub struct CredentialOfferResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AuthorizationRequest` is never used [INFO] [stdout] --> src/openid/issuer.rs:423:10 [INFO] [stdout] | [INFO] [stdout] 423 | pub enum AuthorizationRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestUri` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:531:12 [INFO] [stdout] | [INFO] [stdout] 531 | pub struct RequestUri { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestObject` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:543:12 [INFO] [stdout] | [INFO] [stdout] 543 | pub struct RequestObject { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AuthorizationDetailType` is never used [INFO] [stdout] --> src/openid/issuer.rs:624:10 [INFO] [stdout] | [INFO] [stdout] 624 | pub enum AuthorizationDetailType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthorizationDetail` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:635:12 [INFO] [stdout] | [INFO] [stdout] 635 | pub struct AuthorizationDetail { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CredentialAuthorization` is never used [INFO] [stdout] --> src/openid/issuer.rs:665:10 [INFO] [stdout] | [INFO] [stdout] 665 | pub enum CredentialAuthorization { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProfileClaims` is never used [INFO] [stdout] --> src/openid/issuer.rs:817:10 [INFO] [stdout] | [INFO] [stdout] 817 | pub enum ProfileClaims { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `claims` is never used [INFO] [stdout] --> src/openid/issuer.rs:837:12 [INFO] [stdout] | [INFO] [stdout] 834 | impl ProfileClaims { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 837 | pub fn claims(&self) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthorizationResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:902:12 [INFO] [stdout] | [INFO] [stdout] 902 | pub struct AuthorizationResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PushedAuthorizationRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:919:12 [INFO] [stdout] | [INFO] [stdout] 919 | pub struct PushedAuthorizationRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PushedAuthorizationResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:935:12 [INFO] [stdout] | [INFO] [stdout] 935 | pub struct PushedAuthorizationResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:953:12 [INFO] [stdout] | [INFO] [stdout] 953 | pub struct TokenRequest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `form_encode` and `form_decode` are never used [INFO] [stdout] --> src/openid/issuer.rs:997:12 [INFO] [stdout] | [INFO] [stdout] 989 | impl TokenRequest { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 997 | pub fn form_encode(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1052 | pub fn form_decode(map: &HashMap) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenGrantType` is never used [INFO] [stdout] --> src/openid/issuer.rs:1098:10 [INFO] [stdout] | [INFO] [stdout] 1098 | pub enum TokenGrantType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ClientAssertion` is never used [INFO] [stdout] --> src/openid/issuer.rs:1149:10 [INFO] [stdout] | [INFO] [stdout] 1149 | pub enum ClientAssertion { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1163:12 [INFO] [stdout] | [INFO] [stdout] 1163 | pub struct TokenResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenType` is never used [INFO] [stdout] --> src/openid/issuer.rs:1195:10 [INFO] [stdout] | [INFO] [stdout] 1195 | pub enum TokenType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthorizedDetail` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1207:12 [INFO] [stdout] | [INFO] [stdout] 1207 | pub struct AuthorizedDetail { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1225:12 [INFO] [stdout] | [INFO] [stdout] 1225 | pub struct CredentialRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CredentialIssuance` is never used [INFO] [stdout] --> src/openid/issuer.rs:1263:10 [INFO] [stdout] | [INFO] [stdout] 1263 | pub enum CredentialIssuance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Proof` is never used [INFO] [stdout] --> src/openid/issuer.rs:1290:10 [INFO] [stdout] | [INFO] [stdout] 1290 | pub enum Proof { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SingleProof` is never used [INFO] [stdout] --> src/openid/issuer.rs:1318:10 [INFO] [stdout] | [INFO] [stdout] 1318 | pub enum SingleProof { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MultipleProofs` is never used [INFO] [stdout] --> src/openid/issuer.rs:1336:10 [INFO] [stdout] | [INFO] [stdout] 1336 | pub enum MultipleProofs { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProofClaims` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1351:12 [INFO] [stdout] | [INFO] [stdout] 1351 | pub struct ProofClaims { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialResponseEncryption` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1373:12 [INFO] [stdout] | [INFO] [stdout] 1373 | pub struct CredentialResponseEncryption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1398:12 [INFO] [stdout] | [INFO] [stdout] 1398 | pub struct CredentialResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CredentialResponseType` is never used [INFO] [stdout] --> src/openid/issuer.rs:1426:10 [INFO] [stdout] | [INFO] [stdout] 1426 | pub enum CredentialResponseType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeferredCredentialRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1453:12 [INFO] [stdout] | [INFO] [stdout] 1453 | pub struct DeferredCredentialRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeferredCredentialResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1472:12 [INFO] [stdout] | [INFO] [stdout] 1472 | pub struct DeferredCredentialResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetadataRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1480:12 [INFO] [stdout] | [INFO] [stdout] 1480 | pub struct MetadataRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetadataResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1496:12 [INFO] [stdout] | [INFO] [stdout] 1496 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthServerRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1505:12 [INFO] [stdout] | [INFO] [stdout] 1505 | pub struct OAuthServerRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthServerResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1523:12 [INFO] [stdout] | [INFO] [stdout] 1523 | pub struct OAuthServerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegistrationRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1530:12 [INFO] [stdout] | [INFO] [stdout] 1530 | pub struct RegistrationRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegistrationResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1548:12 [INFO] [stdout] | [INFO] [stdout] 1548 | pub struct RegistrationResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NotificationRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:2216:12 [INFO] [stdout] | [INFO] [stdout] 2216 | pub struct NotificationRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NotificationEvent` is never used [INFO] [stdout] --> src/openid/issuer.rs:2249:10 [INFO] [stdout] | [INFO] [stdout] 2249 | pub enum NotificationEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NotificationResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:2267:12 [INFO] [stdout] | [INFO] [stdout] 2267 | pub struct NotificationResponse {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Provider` is never used [INFO] [stdout] --> src/openid/verifier.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Provider: Metadata + StateStore + Signer + DidResolver + Clone {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Metadata` is never used [INFO] [stdout] --> src/openid/verifier.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait Metadata: Send + Sync { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateRequestRequest` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct CreateRequestRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DeviceFlow` is never used [INFO] [stdout] --> src/openid/verifier.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum DeviceFlow { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateRequestResponse` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct CreateRequestResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_qrcode` is never used [INFO] [stdout] --> src/openid/verifier.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl CreateRequestResponse { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn to_qrcode(&self, endpoint: Option<&str>) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestObject` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct RequestObject { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseType` is never used [INFO] [stdout] --> src/openid/verifier.rs:272:10 [INFO] [stdout] | [INFO] [stdout] 272 | pub enum ResponseType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ClientIdScheme` is never used [INFO] [stdout] --> src/openid/verifier.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | pub enum ClientIdScheme { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_qrcode` and `to_querystring` are never used [INFO] [stdout] --> src/openid/verifier.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 385 | impl RequestObject { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 401 | pub fn to_qrcode(&self, endpoint: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn to_querystring(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestObjectRequest` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | pub struct RequestObjectRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestObjectResponse` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 451 | pub struct RequestObjectResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RequestObjectType` is never used [INFO] [stdout] --> src/openid/verifier.rs:461:10 [INFO] [stdout] | [INFO] [stdout] 461 | pub enum RequestObjectType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseRequest` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:548:12 [INFO] [stdout] | [INFO] [stdout] 548 | pub struct ResponseRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `form_encode` and `form_decode` are never used [INFO] [stdout] --> src/openid/verifier.rs:580:12 [INFO] [stdout] | [INFO] [stdout] 573 | impl ResponseRequest { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 580 | pub fn form_encode(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 605 | pub fn form_decode(map: &HashMap) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseResponse` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:627:12 [INFO] [stdout] | [INFO] [stdout] 627 | pub struct ResponseResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetadataRequest` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:660:12 [INFO] [stdout] | [INFO] [stdout] 660 | pub struct MetadataRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetadataResponse` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:669:12 [INFO] [stdout] | [INFO] [stdout] 669 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Wallet` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub struct Wallet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ENTRIES` is never used [INFO] [stdout] --> src/status/bitstring.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const MAX_ENTRIES: usize = 131_072; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_TTL` is never used [INFO] [stdout] --> src/status/bitstring.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const DEFAULT_TTL: u64 = 300_000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bitstring` is never used [INFO] [stdout] --> src/status/bitstring.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn bitstring(config: &ListConfig, issued: &[StatusLogEntry]) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `credential` is never used [INFO] [stdout] --> src/status/bitstring.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn credential( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListConfig` is never constructed [INFO] [stdout] --> src/status/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ListConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialStatusConfig` is never constructed [INFO] [stdout] --> src/status/config.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct CredentialStatusConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/status/error.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_json` is never used [INFO] [stdout] --> src/status/error.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Error { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn to_json(&self) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationError` is never constructed [INFO] [stdout] --> src/status/error.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct ValidationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Status` is never used [INFO] [stdout] --> src/status/issuer.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Status: Send + Sync { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusLogEntry` is never constructed [INFO] [stdout] --> src/status/log.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct StatusLogEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusValue` is never constructed [INFO] [stdout] --> src/status/log.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct StatusValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/status/provider.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Status` is never used [INFO] [stdout] --> src/status/verifier.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Status: Send + Sync { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate` is never used [INFO] [stdout] --> src/status/verifier.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LangString` is never constructed [INFO] [stdout] --> src/w3c_vc/model/types.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct LangString(Kind>); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_string`, `new_object`, `add`, `len`, `is_empty`, and `value` are never used [INFO] [stdout] --> src/w3c_vc/model/types.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl LangString { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new_string(value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub const fn new_object(value: LangValue) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn add(&mut self, value: LangValue) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn value(&self, language: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LangValue` is never constructed [INFO] [stdout] --> src/w3c_vc/model/types.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct LangValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/w3c_vc/model/types.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VerifiableCredential` is never constructed [INFO] [stdout] --> src/w3c_vc/model/vc.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct VerifiableCredential { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `builder` are never used [INFO] [stdout] --> src/w3c_vc/model/vc.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl VerifiableCredential { [INFO] [stdout] | ------------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn builder() -> VcBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Issuer` is never constructed [INFO] [stdout] --> src/w3c_vc/model/vc.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct Issuer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialSubject` is never constructed [INFO] [stdout] --> src/w3c_vc/model/vc.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct CredentialSubject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialStatus` is never constructed [INFO] [stdout] --> src/w3c_vc/model/vc.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct CredentialStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CredentialStatusType` is never used [INFO] [stdout] --> src/w3c_vc/model/vc.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | pub enum CredentialStatusType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bitstring` is never constructed [INFO] [stdout] --> src/w3c_vc/model/vc.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct Bitstring { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusPurpose` is never used [INFO] [stdout] --> src/w3c_vc/model/vc.rs:267:10 [INFO] [stdout] | [INFO] [stdout] 267 | pub enum StatusPurpose { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusMessage` is never constructed [INFO] [stdout] --> src/w3c_vc/model/vc.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 292 | pub struct StatusMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialSchema` is never constructed [INFO] [stdout] --> src/w3c_vc/model/vc.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 310 | pub struct CredentialSchema { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RelatedResource` is never constructed [INFO] [stdout] --> src/w3c_vc/model/vc.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct RelatedResource { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RefreshService` is never constructed [INFO] [stdout] --> src/w3c_vc/model/vc.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct RefreshService { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Term` is never constructed [INFO] [stdout] --> src/w3c_vc/model/vc.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 376 | pub struct Term { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Evidence` is never constructed [INFO] [stdout] --> src/w3c_vc/model/vc.rs:397:12 [INFO] [stdout] | [INFO] [stdout] 397 | pub struct Evidence { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VcBuilder` is never constructed [INFO] [stdout] --> src/w3c_vc/model/vc.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 437 | pub struct VcBuilder { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/w3c_vc/model/vc.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 441 | impl VcBuilder { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 442 | /// Returns a new [`VcBuilder`] [INFO] [stdout] 443 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | pub fn add_context(mut self, context: Kind) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | pub fn id(mut self, id: impl Into) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub fn add_type(mut self, type_: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 478 | pub fn add_name(mut self, name: Option) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | pub fn add_description(mut self, description: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn issuer(mut self, issuer: impl Into) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub fn add_subject(mut self, subj: CredentialSubject) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | pub fn add_proof(mut self, proof: Proof) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | pub fn status(mut self, status: Option>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn build(self) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VerifiablePresentation` is never constructed [INFO] [stdout] --> src/w3c_vc/model/vp.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct VerifiablePresentation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `builder` are never used [INFO] [stdout] --> src/w3c_vc/model/vp.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl VerifiablePresentation { [INFO] [stdout] | --------------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn builder() -> VpBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VpBuilder` is never constructed [INFO] [stdout] --> src/w3c_vc/model/vp.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct VpBuilder { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_context`, `add_type`, `add_credential`, `holder`, and `build` are never used [INFO] [stdout] --> src/w3c_vc/model/vp.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl VpBuilder { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn add_context(mut self, context: Kind) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn add_type(mut self, type_: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn add_credential(mut self, vc: Kind) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn holder(mut self, holder: impl Into) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn build(self) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `W3cFormat` is never used [INFO] [stdout] --> src/w3c_vc/proof.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum W3cFormat { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Payload` is never used [INFO] [stdout] --> src/w3c_vc/proof.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum Payload { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> src/w3c_vc/proof.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Verify` is never used [INFO] [stdout] --> src/w3c_vc/proof.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub enum Verify<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify` is never used [INFO] [stdout] --> src/w3c_vc/proof.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | pub async fn verify(proof: Verify<'_>, resolver: impl DidResolver) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Controller` is never constructed [INFO] [stdout] --> src/w3c_vc/proof/controller.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Controller { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VerificationMethod` is never constructed [INFO] [stdout] --> src/w3c_vc/proof/controller.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct VerificationMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MethodType` is never used [INFO] [stdout] --> src/w3c_vc/proof/controller.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum MethodType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Proof` is never constructed [INFO] [stdout] --> src/w3c_vc/proof/integrity.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Proof { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VcClaims` is never constructed [INFO] [stdout] --> src/w3c_vc/proof/jose.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct VcClaims { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_vc` is never used [INFO] [stdout] --> src/w3c_vc/proof/jose.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl VcClaims { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn from_vc(vc: VerifiableCredential, issued_at: i64) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VpClaims` is never constructed [INFO] [stdout] --> src/w3c_vc/proof/jose.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct VpClaims { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `issuer` in `credibil_vc` [INFO] [stdout] --> tests/wallet.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use credibil_vc::issuer::proof::{self, Payload, Type, Verify}; [INFO] [stdout] | ^^^^^^ could not find `issuer` in `credibil_vc` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `credibil_vc::issuer` [INFO] [stdout] --> tests/wallet.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use credibil_vc::issuer::proof::{self, Payload, Type, Verify}; [INFO] [stdout] | ^^^^^^ could not find `issuer` in `credibil_vc` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `credibil_vc::issuer`, `credibil_vc::issuer` [INFO] [stdout] --> tests/wallet.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use credibil_vc::issuer::{ [INFO] [stdout] | ^^^^^^ could not find `issuer` in `credibil_vc` [INFO] [stdout] 9 | self, AuthorizationResponse, CredentialOfferRequest, CredentialResponseType, [INFO] [stdout] | ^^^^ no `issuer` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] credibil_vc::test_utils::issuer [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `credibil-vc` (test "wallet") due to 3 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `issuer` in `credibil_vc` [INFO] [stdout] --> tests/wallet.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use credibil_vc::issuer::proof::{self, Payload, Type, Verify}; [INFO] [stdout] | ^^^^^^ could not find `issuer` in `credibil_vc` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `credibil_vc::issuer` [INFO] [stdout] --> tests/wallet.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use credibil_vc::issuer::proof::{self, Payload, Type, Verify}; [INFO] [stdout] | ^^^^^^ could not find `issuer` in `credibil_vc` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `credibil_vc::issuer`, `credibil_vc::issuer` [INFO] [stdout] --> tests/wallet.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use credibil_vc::issuer::{ [INFO] [stdout] | ^^^^^^ could not find `issuer` in `credibil_vc` [INFO] [stdout] 9 | self, AuthorizationResponse, CredentialOfferRequest, CredentialResponseType, [INFO] [stdout] | ^^^^ no `issuer` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] crate::test_utils::issuer [INFO] [stdout] credibil_vc::test_utils::issuer [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `credibil_vc::issuer` [INFO] [stdout] --> tests/wallet_initiated.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use credibil_vc::issuer::{Format, ProfileW3c}; [INFO] [stdout] | ^^^^^^ could not find `issuer` in `credibil_vc` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `issuer` in `credibil_vc` [INFO] [stdout] --> tests/wallet.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use credibil_vc::issuer::proof::{self, Payload, Type, Verify}; [INFO] [stdout] | ^^^^^^ could not find `issuer` in `credibil_vc` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `credibil_vc::issuer` [INFO] [stdout] --> tests/wallet.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use credibil_vc::issuer::proof::{self, Payload, Type, Verify}; [INFO] [stdout] | ^^^^^^ could not find `issuer` in `credibil_vc` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `credibil_vc::issuer`, `credibil_vc::issuer` [INFO] [stdout] --> tests/wallet.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use credibil_vc::issuer::{ [INFO] [stdout] | ^^^^^^ could not find `issuer` in `credibil_vc` [INFO] [stdout] 9 | self, AuthorizationResponse, CredentialOfferRequest, CredentialResponseType, [INFO] [stdout] | ^^^^ no `issuer` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] crate::test_utils::issuer [INFO] [stdout] credibil_vc::test_utils::issuer [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `credibil_vc::issuer`, `credibil_vc::issuer` [INFO] [stdout] --> tests/issuer_initiated.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use credibil_vc::issuer::{self, Format, ProfileW3c, SendType}; [INFO] [stdout] | ^^^^^^ ^^^^ no `issuer` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `issuer` in `credibil_vc` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] crate::test_utils::issuer [INFO] [stdout] credibil_vc::test_utils::issuer [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "issuer")] [INFO] [stdout] | ------------------ the item is gated behind the `issuer` feature [INFO] [stdout] 14 | pub mod issuer; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `credibil-vc` (test "issuer_initiated") due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `credibil-vc` (test "wallet_initiated") due to 4 previous errors [INFO] [stdout] warning: constant `PIN_CHARS` is never used [INFO] [stdout] --> src/core/generate.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const PIN_CHARS: &str = "0123456789"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PIN_LEN` is never used [INFO] [stdout] --> src/core/generate.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const PIN_LEN: usize = 6; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAFE_CHARS` is never used [INFO] [stdout] --> src/core/generate.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const SAFE_CHARS: &str = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATE_LEN` is never used [INFO] [stdout] --> src/core/generate.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const STATE_LEN: usize = 32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_code` is never used [INFO] [stdout] --> src/core/generate.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn auth_code() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nonce` is never used [INFO] [stdout] --> src/core/generate.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn nonce() -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `notification_id` is never used [INFO] [stdout] --> src/core/generate.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn notification_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uri_token` is never used [INFO] [stdout] --> src/core/generate.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn uri_token() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `token` is never used [INFO] [stdout] --> src/core/generate.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn token() -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transaction_id` is never used [INFO] [stdout] --> src/core/generate.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn transaction_id() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tx_code` is never used [INFO] [stdout] --> src/core/generate.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn tx_code() -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_string` is never used [INFO] [stdout] --> src/core/generate.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn random_string(len: usize, charset: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHARS` is never used [INFO] [stdout] --> src/core/pkce.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CHARS: &str = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-.~_"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_LEN` is never used [INFO] [stdout] --> src/core/pkce.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MIN_LEN: usize = 43; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LEN` is never used [INFO] [stdout] --> src/core/pkce.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const MAX_LEN: usize = 128; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `code_verifier` is never used [INFO] [stdout] --> src/core/pkce.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn code_verifier() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `code_challenge` is never used [INFO] [stdout] --> src/core/pkce.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn code_challenge(verifier: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PresentationDefinition` is never constructed [INFO] [stdout] --> src/dif_exch.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PresentationDefinition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputDescriptor` is never constructed [INFO] [stdout] --> src/dif_exch.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct InputDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClaimFormat` is never constructed [INFO] [stdout] --> src/dif_exch.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ClaimFormat { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/openid.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Provider` is never used [INFO] [stdout] --> src/openid/issuer.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait Provider: [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Metadata` is never used [INFO] [stdout] --> src/openid/issuer.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Metadata: Send + Sync { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Subject` is never used [INFO] [stdout] --> src/openid/issuer.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait Subject: Send + Sync { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateOfferRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct CreateOfferRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SendType` is never used [INFO] [stdout] --> src/openid/issuer.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | pub enum SendType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateOfferResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct CreateOfferResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OfferType` is never used [INFO] [stdout] --> src/openid/issuer.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub enum OfferType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_qrcode`, `to_querystring`, `pre_authorized_code`, and `authorization_code` are never used [INFO] [stdout] --> src/openid/issuer.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 216 | impl CredentialOffer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn to_qrcode(&self, endpoint: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn to_querystring(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn pre_authorized_code(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn authorization_code(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialOfferRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | pub struct CredentialOfferRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialOfferResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub struct CredentialOfferResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `claims` is never used [INFO] [stdout] --> src/openid/issuer.rs:837:12 [INFO] [stdout] | [INFO] [stdout] 834 | impl ProfileClaims { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 837 | pub fn claims(&self) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthorizationResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:902:12 [INFO] [stdout] | [INFO] [stdout] 902 | pub struct AuthorizationResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PushedAuthorizationRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:919:12 [INFO] [stdout] | [INFO] [stdout] 919 | pub struct PushedAuthorizationRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PushedAuthorizationResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:935:12 [INFO] [stdout] | [INFO] [stdout] 935 | pub struct PushedAuthorizationResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1163:12 [INFO] [stdout] | [INFO] [stdout] 1163 | pub struct TokenResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenType` is never used [INFO] [stdout] --> src/openid/issuer.rs:1195:10 [INFO] [stdout] | [INFO] [stdout] 1195 | pub enum TokenType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthorizedDetail` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1207:12 [INFO] [stdout] | [INFO] [stdout] 1207 | pub struct AuthorizedDetail { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProofClaims` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1351:12 [INFO] [stdout] | [INFO] [stdout] 1351 | pub struct ProofClaims { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1398:12 [INFO] [stdout] | [INFO] [stdout] 1398 | pub struct CredentialResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CredentialResponseType` is never used [INFO] [stdout] --> src/openid/issuer.rs:1426:10 [INFO] [stdout] | [INFO] [stdout] 1426 | pub enum CredentialResponseType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeferredCredentialRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1453:12 [INFO] [stdout] | [INFO] [stdout] 1453 | pub struct DeferredCredentialRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeferredCredentialResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1472:12 [INFO] [stdout] | [INFO] [stdout] 1472 | pub struct DeferredCredentialResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetadataRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1480:12 [INFO] [stdout] | [INFO] [stdout] 1480 | pub struct MetadataRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetadataResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1496:12 [INFO] [stdout] | [INFO] [stdout] 1496 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthServerRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1505:12 [INFO] [stdout] | [INFO] [stdout] 1505 | pub struct OAuthServerRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OAuthServerResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1523:12 [INFO] [stdout] | [INFO] [stdout] 1523 | pub struct OAuthServerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegistrationRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1530:12 [INFO] [stdout] | [INFO] [stdout] 1530 | pub struct RegistrationRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegistrationResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:1548:12 [INFO] [stdout] | [INFO] [stdout] 1548 | pub struct RegistrationResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NotificationRequest` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:2216:12 [INFO] [stdout] | [INFO] [stdout] 2216 | pub struct NotificationRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NotificationEvent` is never used [INFO] [stdout] --> src/openid/issuer.rs:2249:10 [INFO] [stdout] | [INFO] [stdout] 2249 | pub enum NotificationEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NotificationResponse` is never constructed [INFO] [stdout] --> src/openid/issuer.rs:2267:12 [INFO] [stdout] | [INFO] [stdout] 2267 | pub struct NotificationResponse {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Provider` is never used [INFO] [stdout] --> src/openid/verifier.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Provider: Metadata + StateStore + Signer + DidResolver + Clone {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Metadata` is never used [INFO] [stdout] --> src/openid/verifier.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait Metadata: Send + Sync { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateRequestRequest` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct CreateRequestRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DeviceFlow` is never used [INFO] [stdout] --> src/openid/verifier.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum DeviceFlow { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateRequestResponse` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct CreateRequestResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_qrcode` is never used [INFO] [stdout] --> src/openid/verifier.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl CreateRequestResponse { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn to_qrcode(&self, endpoint: Option<&str>) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestObject` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct RequestObject { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResponseType` is never used [INFO] [stdout] --> src/openid/verifier.rs:272:10 [INFO] [stdout] | [INFO] [stdout] 272 | pub enum ResponseType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ClientIdScheme` is never used [INFO] [stdout] --> src/openid/verifier.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | pub enum ClientIdScheme { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_qrcode` and `to_querystring` are never used [INFO] [stdout] --> src/openid/verifier.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 385 | impl RequestObject { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 401 | pub fn to_qrcode(&self, endpoint: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn to_querystring(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestObjectRequest` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 439 | pub struct RequestObjectRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestObjectResponse` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 451 | pub struct RequestObjectResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RequestObjectType` is never used [INFO] [stdout] --> src/openid/verifier.rs:461:10 [INFO] [stdout] | [INFO] [stdout] 461 | pub enum RequestObjectType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseResponse` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:627:12 [INFO] [stdout] | [INFO] [stdout] 627 | pub struct ResponseResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetadataRequest` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:660:12 [INFO] [stdout] | [INFO] [stdout] 660 | pub struct MetadataRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetadataResponse` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:669:12 [INFO] [stdout] | [INFO] [stdout] 669 | pub struct MetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Wallet` is never constructed [INFO] [stdout] --> src/openid/verifier.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub struct Wallet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ENTRIES` is never used [INFO] [stdout] --> src/status/bitstring.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const MAX_ENTRIES: usize = 131_072; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_TTL` is never used [INFO] [stdout] --> src/status/bitstring.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const DEFAULT_TTL: u64 = 300_000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bitstring` is never used [INFO] [stdout] --> src/status/bitstring.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn bitstring(config: &ListConfig, issued: &[StatusLogEntry]) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `credential` is never used [INFO] [stdout] --> src/status/bitstring.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn credential( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListConfig` is never constructed [INFO] [stdout] --> src/status/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ListConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialStatusConfig` is never constructed [INFO] [stdout] --> src/status/config.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct CredentialStatusConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/status/error.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_json` is never used [INFO] [stdout] --> src/status/error.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Error { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn to_json(&self) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationError` is never constructed [INFO] [stdout] --> src/status/error.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct ValidationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Status` is never used [INFO] [stdout] --> src/status/issuer.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Status: Send + Sync { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusLogEntry` is never constructed [INFO] [stdout] --> src/status/log.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct StatusLogEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusValue` is never constructed [INFO] [stdout] --> src/status/log.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct StatusValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/status/provider.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Status` is never used [INFO] [stdout] --> src/status/verifier.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Status: Send + Sync { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate` is never used [INFO] [stdout] --> src/status/verifier.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_string`, `new_object`, `add`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/w3c_vc/model/types.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl LangString { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new_string(value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub const fn new_object(value: LangValue) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn add(&mut self, value: LangValue) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/w3c_vc/model/vc.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl VerifiableCredential { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_name`, `add_description`, `add_proof`, and `status` are never used [INFO] [stdout] --> src/w3c_vc/model/vc.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 441 | impl VcBuilder { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 478 | pub fn add_name(mut self, name: Option) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | pub fn add_description(mut self, description: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | pub fn add_proof(mut self, proof: Proof) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | pub fn status(mut self, status: Option>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/w3c_vc/model/vp.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl VerifiablePresentation { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn new() -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `holder` is never used [INFO] [stdout] --> src/w3c_vc/model/vp.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl VpBuilder { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn holder(mut self, holder: impl Into) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `W3cFormat` is never used [INFO] [stdout] --> src/w3c_vc/proof.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum W3cFormat { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Payload` is never used [INFO] [stdout] --> src/w3c_vc/proof.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum Payload { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> src/w3c_vc/proof.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Verify` is never used [INFO] [stdout] --> src/w3c_vc/proof.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub enum Verify<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify` is never used [INFO] [stdout] --> src/w3c_vc/proof.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | pub async fn verify(proof: Verify<'_>, resolver: impl DidResolver) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Controller` is never constructed [INFO] [stdout] --> src/w3c_vc/proof/controller.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Controller { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VerificationMethod` is never constructed [INFO] [stdout] --> src/w3c_vc/proof/controller.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct VerificationMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MethodType` is never used [INFO] [stdout] --> src/w3c_vc/proof/controller.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum MethodType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VcClaims` is never constructed [INFO] [stdout] --> src/w3c_vc/proof/jose.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct VcClaims { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_vc` is never used [INFO] [stdout] --> src/w3c_vc/proof/jose.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl VcClaims { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn from_vc(vc: VerifiableCredential, issued_at: i64) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VpClaims` is never constructed [INFO] [stdout] --> src/w3c_vc/proof/jose.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct VpClaims { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "76ab60568ce105ad932b3098e03e8482977a8babd0258bc8b1576edf5618f9fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76ab60568ce105ad932b3098e03e8482977a8babd0258bc8b1576edf5618f9fe", kill_on_drop: false }` [INFO] [stdout] 76ab60568ce105ad932b3098e03e8482977a8babd0258bc8b1576edf5618f9fe