[INFO] cloning repository https://github.com/blckdfly/fortro-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blckdfly/fortro-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblckdfly%2Ffortro-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblckdfly%2Ffortro-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d867b1d94103c9ab6252a9cf5d6cb7db235ea43b [INFO] checking blckdfly/fortro-engine against master#11d2046fe9962720558cb15f72541f7fd170dec9 for pr-139493-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblckdfly%2Ffortro-engine" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/blckdfly/fortro-engine [INFO] finished tweaking git repo https://github.com/blckdfly/fortro-engine [INFO] tweaked toml for git repo https://github.com/blckdfly/fortro-engine written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/blckdfly/fortro-engine on toolchain 11d2046fe9962720558cb15f72541f7fd170dec9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11d2046fe9962720558cb15f72541f7fd170dec9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/blckdfly/fortro-engine 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" "+11d2046fe9962720558cb15f72541f7fd170dec9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread_local v1.1.9 [INFO] [stderr] Downloaded ghash v0.5.1 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded axum v0.7.9 [INFO] [stderr] Downloaded serde_path_to_error v0.1.17 [INFO] [stderr] Downloaded macro_magic_macros v0.5.1 [INFO] [stderr] Downloaded ipfs-api-prelude v0.6.0 [INFO] [stderr] Downloaded pqc_kyber v0.7.1 [INFO] [stderr] Downloaded bytemuck v1.24.0 [INFO] [stderr] Downloaded darling v0.21.3 [INFO] [stderr] Downloaded bls12_381_plus v0.7.0 [INFO] [stderr] Downloaded serde_with v3.14.1 [INFO] [stderr] Downloaded clear_on_drop v0.2.5 [INFO] [stderr] Downloaded tokio v1.46.1 [INFO] [stderr] Downloaded json-patch v0.2.7 [INFO] [stderr] Downloaded bulletproofs v4.0.0 [INFO] [stderr] Downloaded const-hex v1.14.1 [INFO] [stderr] Downloaded ff v0.13.1 [INFO] [stderr] Downloaded hyper-multipart-rfc7578 v0.8.0 [INFO] [stderr] Downloaded simple_asn1 v0.6.3 [INFO] [stderr] Downloaded secp256k1-sys v0.8.2 [INFO] [stderr] Downloaded async-trait v0.1.88 [INFO] [stderr] Downloaded bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Downloaded x25519-dalek v1.1.1 [INFO] [stderr] Downloaded imgref v1.12.0 [INFO] [stderr] Downloaded bson v2.15.0 [INFO] [stderr] Downloaded darling_core v0.21.3 [INFO] [stderr] Downloaded hkdf v0.11.0 [INFO] [stderr] Downloaded moxcms v0.7.7 [INFO] [stderr] Downloaded proptest v1.7.0 [INFO] [stderr] Downloaded enum-as-inner v0.6.1 [INFO] [stderr] Downloaded ipconfig v0.3.2 [INFO] [stderr] Downloaded derive-syn-parse v0.2.0 [INFO] [stderr] Downloaded mongodb-internal-macros v3.3.0 [INFO] [stderr] Downloaded ref-cast v1.0.25 [INFO] [stderr] Downloaded serde_with_macros v3.14.1 [INFO] [stderr] Downloaded hickory-proto v0.24.4 [INFO] [stderr] Downloaded mongodb v3.2.5 [INFO] [stderr] Downloaded winnow v0.7.12 [INFO] [stderr] Downloaded h2 v0.3.27 [INFO] [stderr] Downloaded curve25519-dalek-ng v4.1.1 [INFO] [stderr] Downloaded bcrypt v0.15.1 [INFO] [stderr] Downloaded crystals-dilithium v1.0.0 [INFO] [stderr] Downloaded subtle-ng v2.5.0 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded treediff v3.0.2 [INFO] [stderr] Downloaded dotenv v0.15.0 [INFO] [stderr] Downloaded cargo-platform v0.1.9 [INFO] [stderr] Downloaded common-multipart-rfc7578 v0.6.0 [INFO] [stderr] Downloaded proc-macro-crate v1.1.3 [INFO] [stderr] Downloaded multihash-derive v0.8.1 [INFO] [stderr] Downloaded unsigned-varint v0.7.2 [INFO] [stderr] Downloaded data-encoding-macro v0.1.18 [INFO] [stderr] Downloaded zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Downloaded pxfm v0.1.25 [INFO] [stderr] Downloaded hickory-resolver v0.24.4 [INFO] [stderr] Downloaded macro_magic_core_macros v0.5.1 [INFO] [stderr] Downloaded macro_magic_core v0.5.1 [INFO] [stderr] Downloaded rustc_version_runtime v0.3.0 [INFO] [stderr] Downloaded ref-cast-impl v1.0.25 [INFO] [stderr] Downloaded aes-gcm v0.10.3 [INFO] [stderr] Downloaded take_mut v0.2.2 [INFO] [stderr] Downloaded qrcode v0.14.1 [INFO] [stderr] Downloaded tower-http v0.5.2 [INFO] [stderr] Downloaded tokio-util v0.7.15 [INFO] [stderr] Downloaded cc v1.2.29 [INFO] [stderr] Downloaded io-uring v0.7.8 [INFO] [stderr] Downloaded core2 v0.4.0 [INFO] [stderr] Downloaded multihash v0.17.0 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.16 [INFO] [stderr] Downloaded schemars v0.9.0 [INFO] [stderr] Downloaded darling_macro v0.21.3 [INFO] [stderr] Downloaded typed-builder v0.10.0 [INFO] [stderr] Downloaded multer v3.1.0 [INFO] [stderr] Downloaded lebe v0.5.3 [INFO] [stderr] Downloaded half v2.7.1 [INFO] [stderr] Downloaded http-range-header v0.4.2 [INFO] [stderr] Downloaded rustc-demangle v0.1.25 [INFO] [stderr] Downloaded axum-macros v0.4.2 [INFO] [stderr] Downloaded blowfish v0.9.1 [INFO] [stderr] Downloaded pairing v0.22.0 [INFO] [stderr] Downloaded did_url v0.1.0 [INFO] [stderr] Downloaded did-key v0.2.1 [INFO] [stderr] Downloaded ws_stream_wasm v0.7.5 [INFO] [stderr] Downloaded camino v1.1.10 [INFO] [stderr] Downloaded rand_xorshift v0.4.0 [INFO] [stderr] Downloaded auto_impl v1.3.0 [INFO] [stderr] Downloaded multiaddr v0.17.1 [INFO] [stderr] Downloaded base-x v0.2.11 [INFO] [stderr] Downloaded multibase v0.9.1 [INFO] [stderr] Downloaded ipfs-api-backend-hyper v0.6.0 [INFO] [stderr] Downloaded linked-hash-map v0.5.6 [INFO] [stderr] Downloaded lru-cache v0.1.2 [INFO] [stderr] Downloaded resolv-conf v0.7.4 [INFO] [stderr] Downloaded macro_magic v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+11d2046fe9962720558cb15f72541f7fd170dec9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 324cc15d2f043a14513e89e4985076cd9b43e6e2a16d6926dc5b039cf468a32f [INFO] running `Command { std: "docker" "start" "-a" "324cc15d2f043a14513e89e4985076cd9b43e6e2a16d6926dc5b039cf468a32f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "324cc15d2f043a14513e89e4985076cd9b43e6e2a16d6926dc5b039cf468a32f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "324cc15d2f043a14513e89e4985076cd9b43e6e2a16d6926dc5b039cf468a32f", kill_on_drop: false }` [INFO] [stdout] 324cc15d2f043a14513e89e4985076cd9b43e6e2a16d6926dc5b039cf468a32f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+11d2046fe9962720558cb15f72541f7fd170dec9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a40bcb59b6bac108d1e4393506d3e2f87c2f4b8857a387d84b9b816d64e966a [INFO] running `Command { std: "docker" "start" "-a" "5a40bcb59b6bac108d1e4393506d3e2f87c2f4b8857a387d84b9b816d64e966a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling camino v1.1.10 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Checking const-hex v1.14.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling secp256k1-sys v0.8.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Compiling libsecp256k1 v0.7.2 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Checking pxfm v0.1.25 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.26 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling serde_with_macros v3.14.1 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking moxcms v0.7.7 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking pairing v0.22.0 [INFO] [stderr] Checking futures-locks v0.7.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling pqc_kyber v0.7.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking subtle-ng v2.5.0 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking resolv-conf v0.7.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking coins-core v0.8.7 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking rustc_version v0.4.1 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking coins-bip32 v0.8.7 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking serde_with v3.14.1 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking enr v0.10.0 [INFO] [stderr] Checking soketto v0.7.1 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking coins-bip39 v0.8.7 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Checking common-multipart-rfc7578 v0.6.0 [INFO] [stderr] Checking eth-keystore v0.5.0 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking treediff v3.0.2 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking json-patch v0.2.7 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking curve25519-dalek-ng v4.1.1 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking bls12_381_plus v0.7.0 [INFO] [stderr] Compiling mongodb-internal-macros v3.3.0 [INFO] [stderr] Checking hkdf v0.11.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking did_url v0.1.0 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking bulletproofs v4.0.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking multihash v0.17.0 [INFO] [stderr] Checking crystals-dilithium v1.0.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking multiaddr v0.17.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hickory-proto v0.24.4 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking web3-async-native-tls v0.4.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking ipfs-api-prelude v0.6.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking did-key v0.2.1 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking qrcode v0.14.1 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking hickory-resolver v0.24.4 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking open-fastrlp v0.1.4 [INFO] [stderr] Checking ethers-core v2.0.14 [INFO] [stderr] Checking mongodb v3.2.5 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-multipart-rfc7578 v0.8.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking ipfs-api-backend-hyper v0.6.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking web3 v0.19.0 [INFO] [stderr] Checking ethers-contract-abigen v2.0.14 [INFO] [stderr] Checking ethers-providers v2.0.14 [INFO] [stderr] Checking ethers-etherscan v2.0.14 [INFO] [stderr] Checking ethers-signers v2.0.14 [INFO] [stderr] Checking ethers-addressbook v2.0.14 [INFO] [stderr] Compiling ethers-contract-derive v2.0.14 [INFO] [stderr] Checking ethers-contract v2.0.14 [INFO] [stderr] Checking ethers-middleware v2.0.14 [INFO] [stderr] Checking ethers v2.0.14 [INFO] [stderr] Checking fortro-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `put` [INFO] [stdout] --> src/api/auth.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | routing::{get, post, put}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WalletAuthResponse` [INFO] [stdout] --> src/api/auth.rs:15:82 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::models::{WalletAuth, CreateWalletAuthRequest, LoginWalletAuthRequest, WalletAuthResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Document` [INFO] [stdout] --> src/api/verifier.rs:701:30 [INFO] [stdout] | [INFO] [stdout] 701 | use mongodb::bson::{doc, Document}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/api/credential_request.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/api/presentation_request.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::AppError` [INFO] [stdout] --> src/api/presentation_request.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::error::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VerifierPresentationRequestStatus` [INFO] [stdout] --> src/api/presentation_request.rs:14:50 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::models::{VerifierPresentationRequest, VerifierPresentationRequestStatus, PredicateRequirement}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb::Cursor` [INFO] [stdout] --> src/api/consent.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | use mongodb::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::IntoResponse` [INFO] [stdout] --> src/api/domain.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | response::IntoResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/api/domain.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DomainChallengeResponse as IssuerDomainChallengeResponse` [INFO] [stdout] --> src/api/domain.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | DomainChallengeResponse as IssuerDomainChallengeResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DomainChallengeResponse as VerifierDomainChallengeResponse` [INFO] [stdout] --> src/api/domain.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | DomainChallengeResponse as VerifierDomainChallengeResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::did` [INFO] [stdout] --> src/api/did.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::did; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/api/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/api/blockchain.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain_legacy::EthereumClient` [INFO] [stdout] --> src/api/blockchain.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | blockchain_legacy::EthereumClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/api/blockchain_new.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WalletAuthResponse` [INFO] [stdout] --> src/api/auth_wallet.rs:13:82 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::models::{WalletAuth, CreateWalletAuthRequest, LoginWalletAuthRequest, WalletAuthResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReplaceOptions` [INFO] [stdout] --> src/db.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | options::{ClientOptions, FindOptions, ReplaceOptions}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `put` [INFO] [stdout] --> src/api/auth.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | routing::{get, post, put}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WalletAuthResponse` [INFO] [stdout] --> src/api/auth.rs:15:82 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::models::{WalletAuth, CreateWalletAuthRequest, LoginWalletAuthRequest, WalletAuthResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Document` [INFO] [stdout] --> src/api/verifier.rs:701:30 [INFO] [stdout] | [INFO] [stdout] 701 | use mongodb::bson::{doc, Document}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/api/credential_request.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `retry_operation` [INFO] [stdout] --> src/blockchain/mod.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | pub use client::{BlockchainClient, retry_operation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ForwardRequestTyped` [INFO] [stdout] --> src/blockchain_legacy.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::meta_tx::{MetaTransactionRelayer, ForwardRequestTyped}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/api/presentation_request.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::AppError` [INFO] [stdout] --> src/api/presentation_request.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::error::AppError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VerifierPresentationRequestStatus` [INFO] [stdout] --> src/api/presentation_request.rs:14:50 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::models::{VerifierPresentationRequest, VerifierPresentationRequestStatus, PredicateRequirement}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AbiEncode` and `core::k256::ecdsa::SigningKey` [INFO] [stdout] --> src/meta_tx.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | abi::{AbiEncode, Token}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | core::k256::ecdsa::SigningKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb::Cursor` [INFO] [stdout] --> src/api/consent.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | use mongodb::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::IntoResponse` [INFO] [stdout] --> src/api/domain.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | response::IntoResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/api/domain.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DomainChallengeResponse as IssuerDomainChallengeResponse` [INFO] [stdout] --> src/api/domain.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | DomainChallengeResponse as IssuerDomainChallengeResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DomainChallengeResponse as VerifierDomainChallengeResponse` [INFO] [stdout] --> src/api/domain.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | DomainChallengeResponse as VerifierDomainChallengeResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::did` [INFO] [stdout] --> src/api/did.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::did; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/api/blockchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/api/blockchain.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blockchain_legacy::EthereumClient` [INFO] [stdout] --> src/api/blockchain.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | blockchain_legacy::EthereumClient, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/api/blockchain_new.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WalletAuthResponse` [INFO] [stdout] --> src/api/auth_wallet.rs:13:82 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::models::{WalletAuth, CreateWalletAuthRequest, LoginWalletAuthRequest, WalletAuthResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `qr` [INFO] [stdout] --> src/services/issuer.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::{did, domain_verification, qr}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/services/issuer.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReplaceOptions` [INFO] [stdout] --> src/db.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | options::{ClientOptions, FindOptions, ReplaceOptions}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Credential` [INFO] [stdout] --> src/services/presentation.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::{Credential, CredentialRequirement, Presentation, PresentationRequest, PresentationStatus}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `crypto` and `did` [INFO] [stdout] --> src/services/presentation.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::{crypto, did, jwt, qr, zk_proofs}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnonymousCredential`, `create_unlinkable_presentation`, and `generate_master_secret` [INFO] [stdout] --> src/services/presentation.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::anonymous_credentials::{AnonymousCredential, create_unlinkable_presentation, generate_master_secret}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_blinded_presentation` [INFO] [stdout] --> src/services/presentation.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::presentation_blinding::{create_blinded_presentation, create_presentation_session}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/services/presentation.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KyberError` [INFO] [stdout] --> src/utils/crypto.rs:9:135 [INFO] [stdout] | [INFO] [stdout] 9 | ... KYBER_SECRETKEYBYTES, KYBER_CIPHERTEXTBYTES, KYBER_SYMBYTES, KyberError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/utils/crypto.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crystals_dilithium::dilithium2::{self, PUBLICKEYBYTES, SECRETKEYBYTES, SIGNBYTES, PublicKey, SecretKey, Signature}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/utils/zk_proofs.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BBSProof`, `BBSSecretKey`, `bbs_sign`, `generate_bbs_keypair`, and `verify_selective_disclosure_proof` [INFO] [stdout] --> src/utils/zk_proofs.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | ...y, BBSSecretKey, BBSSignature, BBSProof, generate_bbs_keypair, bbs_sign, bbs_verify, create_selective_disclosure_proof, verify_selective_disclosure_proof}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_user_did` and `require_auth` [INFO] [stdout] --> src/middleware/mod.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | pub use auth::{extract_user_did, require_auth, get_user_did}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consent::ConsentMiddleware` [INFO] [stdout] --> src/middleware/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use consent::ConsentMiddleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cleanup_expired_consents`, `enforce_consent`, and `validate_consent_for_operation` [INFO] [stdout] --> src/middleware/mod.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub use consent_enforcement::{enforce_consent, validate_consent_for_operation, cleanup_expired_consents}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cors::cors_handler` [INFO] [stdout] --> src/middleware/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use cors::cors_handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `retry_operation` [INFO] [stdout] --> src/blockchain/mod.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | pub use client::{BlockchainClient, retry_operation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ForwardRequestTyped` [INFO] [stdout] --> src/blockchain_legacy.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::meta_tx::{MetaTransactionRelayer, ForwardRequestTyped}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AbiEncode` and `core::k256::ecdsa::SigningKey` [INFO] [stdout] --> src/meta_tx.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | abi::{AbiEncode, Token}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | core::k256::ecdsa::SigningKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `qr` [INFO] [stdout] --> src/services/issuer.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::{did, domain_verification, qr}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/services/issuer.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Credential` [INFO] [stdout] --> src/services/presentation.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::{Credential, CredentialRequirement, Presentation, PresentationRequest, PresentationStatus}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `crypto` and `did` [INFO] [stdout] --> src/services/presentation.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::{crypto, did, jwt, qr, zk_proofs}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnonymousCredential`, `create_unlinkable_presentation`, and `generate_master_secret` [INFO] [stdout] --> src/services/presentation.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::anonymous_credentials::{AnonymousCredential, create_unlinkable_presentation, generate_master_secret}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_blinded_presentation` [INFO] [stdout] --> src/services/presentation.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::presentation_blinding::{create_blinded_presentation, create_presentation_session}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/services/presentation.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KyberError` [INFO] [stdout] --> src/utils/crypto.rs:9:135 [INFO] [stdout] | [INFO] [stdout] 9 | ... KYBER_SECRETKEYBYTES, KYBER_CIPHERTEXTBYTES, KYBER_SYMBYTES, KyberError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/utils/crypto.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crystals_dilithium::dilithium2::{self, PUBLICKEYBYTES, SECRETKEYBYTES, SIGNBYTES, PublicKey, SecretKey, Signature}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/utils/zk_proofs.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BBSProof`, `BBSSecretKey`, `bbs_sign`, `generate_bbs_keypair`, and `verify_selective_disclosure_proof` [INFO] [stdout] --> src/utils/zk_proofs.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | ...y, BBSSecretKey, BBSSignature, BBSProof, generate_bbs_keypair, bbs_sign, bbs_verify, create_selective_disclosure_proof, verify_selective_disclosure_proof}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/middleware/consent.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_user_did` and `require_auth` [INFO] [stdout] --> src/middleware/mod.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | pub use auth::{extract_user_did, require_auth, get_user_did}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consent::ConsentMiddleware` [INFO] [stdout] --> src/middleware/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use consent::ConsentMiddleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cleanup_expired_consents`, `enforce_consent`, and `validate_consent_for_operation` [INFO] [stdout] --> src/middleware/mod.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | pub use consent_enforcement::{enforce_consent, validate_consent_for_operation, cleanup_expired_consents}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cors::cors_handler` [INFO] [stdout] --> src/middleware/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use cors::cors_handler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/auth.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | base64::encode(dilithium_priv_encrypted), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/auth.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | base64::encode(kyber_priv_encrypted), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/wallet.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | base64::encode(bytes) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/wallet.rs:810:17 [INFO] [stdout] | [INFO] [stdout] 810 | base64::encode(nonce_bytes) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/api/wallet.rs:899:29 [INFO] [stdout] | [INFO] [stdout] 899 | let sig_bytes = base64::decode(&request.proof.signature) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/credential_request.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | base64::encode(nonce_bytes) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/api/credential_request.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | let sig_bytes = base64::decode(&data.proof.signature) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/api/credential_request.rs:348:40 [INFO] [stdout] | [INFO] [stdout] 348 | let pk_bytes = base64::decode(public_key_b64) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/api/credential_request.rs:483:29 [INFO] [stdout] | [INFO] [stdout] 483 | let sig_bytes = base64::decode(&data.proof.signature) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/auth_wallet.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | base64::encode(dilithium_priv_encrypted), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/auth_wallet.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | base64::encode(kyber_priv_encrypted), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/auth.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | base64::encode(dilithium_priv_encrypted), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/auth.rs:367:17 [INFO] [stdout] | [INFO] [stdout] 367 | base64::encode(kyber_priv_encrypted), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/wallet.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | base64::encode(bytes) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/services/auth.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | &base64::decode(signature) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/services/auth.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | &base64::decode(&request.signature) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/wallet.rs:810:17 [INFO] [stdout] | [INFO] [stdout] 810 | base64::encode(nonce_bytes) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/api/wallet.rs:899:29 [INFO] [stdout] | [INFO] [stdout] 899 | let sig_bytes = base64::decode(&request.proof.signature) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/services/wallet.rs:446:37 [INFO] [stdout] | [INFO] [stdout] 446 | let backup_base64 = base64::encode(&encrypted_backup); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/services/wallet.rs:454:40 [INFO] [stdout] | [INFO] [stdout] 454 | let encrypted_backup = base64::decode(backup_data) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/credential_request.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | base64::encode(nonce_bytes) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/api/credential_request.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | let sig_bytes = base64::decode(&data.proof.signature) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/api/credential_request.rs:348:40 [INFO] [stdout] | [INFO] [stdout] 348 | let pk_bytes = base64::decode(public_key_b64) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/api/credential_request.rs:483:29 [INFO] [stdout] | [INFO] [stdout] 483 | let sig_bytes = base64::decode(&data.proof.signature) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/utils/qr.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | let base64_image = base64::encode(&png_bytes); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/auth_wallet.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | base64::encode(dilithium_priv_encrypted), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/api/auth_wallet.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | base64::encode(kyber_priv_encrypted), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/services/auth.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | &base64::decode(signature) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/services/auth.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | &base64::decode(&request.signature) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/services/wallet.rs:446:37 [INFO] [stdout] | [INFO] [stdout] 446 | let backup_base64 = base64::encode(&encrypted_backup); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/services/wallet.rs:454:40 [INFO] [stdout] | [INFO] [stdout] 454 | let encrypted_backup = base64::decode(backup_data) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/utils/qr.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | let base64_image = base64::encode(&png_bytes); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/verifier.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | let mut result = verifier_service.verify_presentation(request.clone()).await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/verifier.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | let mut result = verifier_service.verify_presentation(request.clone()).await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/presentation.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let mut presentation = Presentation::new( [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/presentation.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let mut presentation = Presentation::new( [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/utils/zk_proofs.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `existing` [INFO] [stdout] --> src/api/auth.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(existing) = db.find_wallet_by_auth_hash(&auth_hash).await? { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_existing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain_legacy.rs:377:23 [INFO] [stdout] | [INFO] [stdout] 377 | .map_err(|e| AppError::BlockchainError("Failed to get block number".to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicate_type` [INFO] [stdout] --> src/api/wallet.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let predicate_type = if body.operator == "==" || body.operator == "!=" { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/db.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let options = FindOptions::builder().sort(doc! { "created_at": -1 }).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/db.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let options = FindOptions::builder().sort(doc! { "created_at": -1 }).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/db.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let options = FindOptions::builder().sort(doc! { "created_at": -1 }).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/utils/zk_proofs.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `existing` [INFO] [stdout] --> src/api/auth.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(existing) = db.find_wallet_by_auth_hash(&auth_hash).await? { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_existing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain_legacy.rs:377:23 [INFO] [stdout] | [INFO] [stdout] 377 | .map_err(|e| AppError::BlockchainError("Failed to get block number".to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicate_type` [INFO] [stdout] --> src/api/wallet.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let predicate_type = if body.operator == "==" || body.operator == "!=" { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer_private_key` [INFO] [stdout] --> src/services/credential.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | let issuer_private_key = "dummy_private_key"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer_private_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/services/credential.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | let request = RevokeCredentialRequest { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/db.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let options = FindOptions::builder().sort(doc! { "created_at": -1 }).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recipient_did` [INFO] [stdout] --> src/services/qr.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | recipient_did: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recipient_did` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `did` [INFO] [stdout] --> src/api/issuer.rs:708:11 [INFO] [stdout] | [INFO] [stdout] 708 | Path((did, offer_id)): Path<(String, String)>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_did` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/db.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let options = FindOptions::builder().sort(doc! { "created_at": -1 }).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/db.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let options = FindOptions::builder().sort(doc! { "created_at": -1 }).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/db.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let options = FindOptions::builder().sort(doc! { "created_at": -1 }).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/db.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let options = FindOptions::builder().sort(doc! { "created_at": -1 }).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `credential_subject` [INFO] [stdout] --> src/api/verifier.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | let credential_subject = credential_data.get("credentialSubject") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_credential_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `existing` [INFO] [stdout] --> src/api/verifier.rs:800:9 [INFO] [stdout] | [INFO] [stdout] 800 | let existing = collection.find_one(find_filter.clone()).await [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_existing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recipient_did` [INFO] [stdout] --> src/services/qr.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | recipient_did: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recipient_did` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/db.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let options = FindOptions::builder().sort(doc! { "created_at": -1 }).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer_private_key` [INFO] [stdout] --> src/services/credential.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | let issuer_private_key = "dummy_private_key"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer_private_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/services/credential.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | let request = RevokeCredentialRequest { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/db.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let options = FindOptions::builder().sort(doc! { "created_at": -1 }).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recipient_did` [INFO] [stdout] --> src/services/qr.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | recipient_did: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recipient_did` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `did` [INFO] [stdout] --> src/api/issuer.rs:708:11 [INFO] [stdout] | [INFO] [stdout] 708 | Path((did, offer_id)): Path<(String, String)>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_did` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/db.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let options = FindOptions::builder().sort(doc! { "created_at": -1 }).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/api/blockchain.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | if let Some(signature) = request.signature { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `credential_subject` [INFO] [stdout] --> src/api/verifier.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | let credential_subject = credential_data.get("credentialSubject") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_credential_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `existing` [INFO] [stdout] --> src/api/verifier.rs:800:9 [INFO] [stdout] | [INFO] [stdout] 800 | let existing = collection.find_one(find_filter.clone()).await [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_existing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recipient_did` [INFO] [stdout] --> src/services/qr.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | recipient_did: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recipient_did` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `existing` [INFO] [stdout] --> src/api/auth_wallet.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(existing) = db.find_wallet_by_auth_hash(&auth_hash).await? { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_existing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/db.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let options = FindOptions::builder().sort(doc! { "created_at": -1 }).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/db.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | let options = FindOptions::builder().sort(doc! { "created_at": -1 }).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/api/blockchain.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | if let Some(signature) = request.signature { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `existing` [INFO] [stdout] --> src/api/auth_wallet.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(existing) = db.find_wallet_by_auth_hash(&auth_hash).await? { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_existing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain_legacy.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | .map_err(|e| AppError::BlockchainError("Failed to send deployment transaction:".to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain_legacy.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | .map_err(|e| AppError::BlockchainError("Failed to deploy contract".to_string()))? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/db.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | let options = FindOptions::builder().sort(doc! { "created_at": -1 }).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain_legacy.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | .map_err(|e| AppError::BlockchainError("Failed to send transaction".to_string()))? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain_legacy.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | .map_err(|e| AppError::BlockchainError("Failed to get balance".to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain_legacy.rs:387:23 [INFO] [stdout] | [INFO] [stdout] 387 | .map_err(|e| AppError::BlockchainError("Failed to get transaction receipt".to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domain` [INFO] [stdout] --> src/meta_tx.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let domain = self.get_domain(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_domain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain_legacy.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | .map_err(|e| AppError::BlockchainError("Failed to send deployment transaction:".to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain_legacy.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | .map_err(|e| AppError::BlockchainError("Failed to deploy contract".to_string()))? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain_legacy.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | .map_err(|e| AppError::BlockchainError("Failed to send transaction".to_string()))? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain_legacy.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | .map_err(|e| AppError::BlockchainError("Failed to get balance".to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain_legacy.rs:387:23 [INFO] [stdout] | [INFO] [stdout] 387 | .map_err(|e| AppError::BlockchainError("Failed to get transaction receipt".to_string()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domain` [INFO] [stdout] --> src/meta_tx.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let domain = self.get_domain(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_domain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/services/issuer.rs:927:13 [INFO] [stdout] | [INFO] [stdout] 927 | let options = mongodb::options::FindOptions::builder() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/utils/bbs_plus.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let a = a_compressed.decompress() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/utils/bbs_plus.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let e = Scalar::from_bytes_mod_order(e_bytes); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/utils/bbs_plus.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let w = w_compressed.decompress() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/utils/bbs_plus.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | signature: &BBSSignature, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> src/utils/bbs_plus.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | public_key: &BBSPublicKey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/utils/bbs_plus.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | signature: &BBSSignature, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret_key` [INFO] [stdout] --> src/utils/anonymous_credentials.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | secret_key: &AnonymousSecretKey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blind_request` [INFO] [stdout] --> src/utils/anonymous_credentials.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | blind_request: &BlindCredentialRequest, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blind_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/utils/anonymous_credentials.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let g = RistrettoPoint::default(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> src/utils/anonymous_credentials.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | public_key: &AnonymousPublicKey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/services/issuer.rs:927:13 [INFO] [stdout] | [INFO] [stdout] 927 | let options = mongodb::options::FindOptions::builder() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChallengeResponse` is never constructed [INFO] [stdout] --> src/api/auth.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct ChallengeResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_challenge` is never used [INFO] [stdout] --> src/api/wallet.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | async fn test_challenge( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_accept` is never used [INFO] [stdout] --> src/api/wallet.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | async fn test_accept( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_consents` is never used [INFO] [stdout] --> src/api/wallet.rs:564:10 [INFO] [stdout] | [INFO] [stdout] 564 | async fn get_consents( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `revoke_consent` is never used [INFO] [stdout] --> src/api/wallet.rs:641:10 [INFO] [stdout] | [INFO] [stdout] 641 | async fn revoke_consent( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `consent_id` is never read [INFO] [stdout] --> src/api/verifier.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 167 | struct SubmitPresentationRequest { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 171 | consent_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubmitPresentationRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `template_id` and `timestamp` are never read [INFO] [stdout] --> src/api/credential_request.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct SubmitCredentialRequest { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub template_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubmitCredentialRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialRequestResponse` is never constructed [INFO] [stdout] --> src/api/credential_request.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct CredentialRequestResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisterDIDRequest` is never constructed [INFO] [stdout] --> src/api/blockchain.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct RegisterDIDRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsentRequest` is never constructed [INFO] [stdout] --> src/api/blockchain.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ConsentRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_wallet` is never used [INFO] [stdout] --> src/api/auth_wallet.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn create_wallet( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login_wallet` is never used [INFO] [stdout] --> src/api/auth_wallet.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn login_wallet( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_wallet_by_did` is never used [INFO] [stdout] --> src/api/auth_wallet.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | pub async fn get_wallet_by_did( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_health` is never used [INFO] [stdout] --> src/api/auth_wallet.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn auth_health() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jwt_expiration`, `issuer_did`, `jwt_secret`, and `cors_allowed_origins` are never read [INFO] [stdout] --> src/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub jwt_expiration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub issuer_did: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub issuer_private_key: String, [INFO] [stdout] 14 | pub jwt_secret: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub cors_allowed_origins: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/db.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/db.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub async fn update_credential_request_status(&self, id: &str, status: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub async fn revoke_consent(&self, id: &str, user_did: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub async fn find_short_url_qr_codes_by_issuer_verifier(&self, did: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub async fn delete_short_url_qr_code(&self, short_id: &str, did: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn consents(&self) -> Collection { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub async fn find_consent_by_id(&self, id: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub async fn update_consent_blockchain_info(&self, _id: &str, _tx_hash: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_blockchain_initialized` is never used [INFO] [stdout] --> src/blockchain/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn is_blockchain_initialized() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/blockchain/client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BlockchainClient { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 13 | ssi_registry: SSIRegistry, LocalWallet>>, [INFO] [stdout] 14 | config: BlockchainConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_schema_hash`, `is_schema_registered`, `is_issuer`, and `is_admin` are never used [INFO] [stdout] --> src/blockchain/client.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl BlockchainClient { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub async fn get_schema_hash( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub async fn is_schema_registered( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub async fn is_issuer(&self, address: Address) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub async fn is_admin(&self, address: Address) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retry_operation` is never used [INFO] [stdout] --> src/blockchain/client.rs:347:14 [INFO] [stdout] | [INFO] [stdout] 347 | pub async fn retry_operation( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `forwarder_address` and `factory_address` are never read [INFO] [stdout] --> src/blockchain/config.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BlockchainConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub forwarder_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub factory_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockchainConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/blockchain_legacy.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl EthereumClient { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn with_forwarder_address(mut self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn with_meta_tx(mut self, enable: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn deploy_registry(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub async fn get_schema_hash(&self, schema_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub async fn send_ether(&self, to: &str, amount: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | pub async fn get_balance(&self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub async fn wait_for_transaction(&self, tx_hash: H256) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ForwardRequest` is never constructed [INFO] [stdout] --> src/meta_tx.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ForwardRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_domain`, and `sign_forward_request` are never used [INFO] [stdout] --> src/meta_tx.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl MetaTransactionRelayer { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 87 | /// Create a new meta-transaction relayer [INFO] [stdout] 88 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn get_domain(&self) -> EIP712Domain { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub async fn sign_forward_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ipfs.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl IpfsClient { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn upload_json(&self, data: &T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn exists(&self, cid: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn pin(&self, cid: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub async fn unpin(&self, cid: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub async fn upload_encrypted(&self, data: &[u8], encryption_key: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub async fn get_encrypted(&self, cid: &str, encryption_key: &[u8]) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub async fn upload_credential_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub async fn get_credential_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_qr_data` is never used [INFO] [stdout] --> src/models.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl PresentationRequest { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn to_qr_data(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_qr_data` is never used [INFO] [stdout] --> src/models.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 394 | impl CredentialOffer { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn to_qr_data(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QrCodeData` is never constructed [INFO] [stdout] --> src/models.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub struct QrCodeData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_expired` are never used [INFO] [stdout] --> src/models.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 438 | impl QrCodeData { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 439 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn is_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiResponse` is never constructed [INFO] [stdout] --> src/models.rs:896:12 [INFO] [stdout] | [INFO] [stdout] 896 | pub struct ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `success` and `error` are never used [INFO] [stdout] --> src/models.rs:903:12 [INFO] [stdout] | [INFO] [stdout] 902 | impl ApiResponse { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 903 | pub fn success(data: T) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 911 | pub fn error(error: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WalletAuthResponse` is never constructed [INFO] [stdout] --> src/models.rs:999:12 [INFO] [stdout] | [INFO] [stdout] 999 | pub struct WalletAuthResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_response` and `add_credential` are never used [INFO] [stdout] --> src/models.rs:1042:12 [INFO] [stdout] | [INFO] [stdout] 1016 | impl WalletAuth { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1042 | pub fn to_response(&self) -> WalletAuthResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1053 | pub fn add_credential(&mut self, credential_ref: CredentialReference) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `revoke` and `is_valid` are never used [INFO] [stdout] --> src/models.rs:1131:12 [INFO] [stdout] | [INFO] [stdout] 1104 | impl Consent { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1131 | pub fn revoke(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1137 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ipfs` is never used [INFO] [stdout] --> src/services/mod.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn ipfs(&self) -> Arc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verify_token`, `get_user_from_token`, and `generate_did_key_pair` are never used [INFO] [stdout] --> src/services/auth.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl AuthService { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn verify_token(&self, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub async fn get_user_from_token(&self, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn generate_did_key_pair(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `credential_id` and `reason` are never read [INFO] [stdout] --> src/services/credential.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct RevokeCredentialRequest { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 44 | pub credential_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RevokeCredentialRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `revoke_credential_with_key` and `create_predicate_proof` are never used [INFO] [stdout] --> src/services/credential.rs:488:18 [INFO] [stdout] | [INFO] [stdout] 85 | impl CredentialService { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 488 | pub async fn revoke_credential_with_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | pub async fn create_predicate_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reason` is never read [INFO] [stdout] --> src/services/issuer.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct ProcessCredentialRequestRequest { [INFO] [stdout] | ------------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessCredentialRequestRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialRequestResponse` is never constructed [INFO] [stdout] --> src/services/issuer.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct CredentialRequestResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialOfferResponse` is never constructed [INFO] [stdout] --> src/services/issuer.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct CredentialOfferResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_templates_by_schema`, `get_all_templates`, `get_template`, `get_credential_requests_for_user`, `count_pending_requests`, and `get_recent_requests` are never used [INFO] [stdout] --> src/services/issuer.rs:408:18 [INFO] [stdout] | [INFO] [stdout] 156 | impl IssuerService { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 408 | pub async fn get_templates_by_schema(&self, schema_id: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | pub async fn get_all_templates(&self) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub async fn get_template(&self, template_id: &str, issuer_did: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 666 | pub async fn get_credential_requests_for_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 902 | pub async fn count_pending_requests(&self, issuer_did: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 921 | pub async fn get_recent_requests( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `presentation` is never read [INFO] [stdout] --> src/services/presentation.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct VerifyPresentationRequest { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub presentation: Option, // Optional field for compatibility [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerifyPresentationRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidateCredentialRequest` is never constructed [INFO] [stdout] --> src/services/schema.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ValidateCredentialRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationResult` is never constructed [INFO] [stdout] --> src/services/schema.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct ValidationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `validate_credential`, `search_schemas`, and `verify_schema_on_blockchain` are never used [INFO] [stdout] --> src/services/schema.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 77 | impl SchemaService { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | pub async fn validate_credential( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | pub async fn search_schemas(&self, query: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub async fn verify_schema_on_blockchain(&self, schema_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserProfileResponse` is never constructed [INFO] [stdout] --> src/services/user.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct UserProfileResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_users`, `delete_user`, `search_users`, and `count_users` are never used [INFO] [stdout] --> src/services/user.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl UserService { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn get_all_users(&self) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub async fn delete_user(&self, did: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub async fn search_users(&self, query: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub async fn count_users(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_presentation_request_qr` is never used [INFO] [stdout] --> src/services/verifier.rs:340:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl VerifierService { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub async fn generate_presentation_request_qr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialSummary` is never constructed [INFO] [stdout] --> src/services/wallet.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct CredentialSummary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_credential_summaries`, `get_consent_records`, and `revoke_consent` are never used [INFO] [stdout] --> src/services/wallet.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 88 | impl WalletService { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub async fn get_credential_summaries(&self, did: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub async fn get_consent_records(&self, did: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub async fn revoke_consent(&self, did: &str, consent_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_key` is never used [INFO] [stdout] --> src/utils/crypto.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn generate_key() -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `did_from_did` is never used [INFO] [stdout] --> src/utils/did.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn did_from_did(did: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_pq_did` is never used [INFO] [stdout] --> src/utils/did.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn generate_pq_did() -> Result<(String, Vec, Vec), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_selective_disclosure` is never used [INFO] [stdout] --> src/utils/zk_proofs.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn verify_selective_disclosure( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_selective_disclosure_proof` is never used [INFO] [stdout] --> src/utils/bbs_plus.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn verify_selective_disclosure_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_auth` is never used [INFO] [stdout] --> src/middleware/auth.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn require_auth( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_did` is never used [INFO] [stdout] --> src/middleware/auth.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get_user_did(request: &Request) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsentMiddleware` is never constructed [INFO] [stdout] --> src/middleware/consent.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ConsentMiddleware { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `enforce`, `enforce_access_level`, `revoke_consent`, `is_consent_valid`, and `cleanup_expired_consents` are never used [INFO] [stdout] --> src/middleware/consent.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ConsentMiddleware { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(db: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn enforce( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | async fn enforce_access_level( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | async fn revoke_consent(&self, consent_id: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub async fn is_consent_valid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub async fn cleanup_expired_consents(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enforce_consent` is never used [INFO] [stdout] --> src/middleware/consent_enforcement.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn enforce_consent( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_consent_for_operation` is never used [INFO] [stdout] --> src/middleware/consent_enforcement.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn validate_consent_for_operation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_expired_consents` is never used [INFO] [stdout] --> src/middleware/consent_enforcement.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | pub async fn cleanup_expired_consents(state: &AppState) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cors_handler` is never used [INFO] [stdout] --> src/middleware/cors.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn cors_handler( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/utils/bbs_plus.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let a = a_compressed.decompress() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/utils/bbs_plus.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let e = Scalar::from_bytes_mod_order(e_bytes); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/utils/bbs_plus.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let w = w_compressed.decompress() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/utils/bbs_plus.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | signature: &BBSSignature, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> src/utils/bbs_plus.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | public_key: &BBSPublicKey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/utils/bbs_plus.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | signature: &BBSSignature, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret_key` [INFO] [stdout] --> src/utils/anonymous_credentials.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | secret_key: &AnonymousSecretKey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blind_request` [INFO] [stdout] --> src/utils/anonymous_credentials.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | blind_request: &BlindCredentialRequest, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blind_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/utils/anonymous_credentials.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let g = RistrettoPoint::default(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> src/utils/anonymous_credentials.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | public_key: &AnonymousPublicKey, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChallengeResponse` is never constructed [INFO] [stdout] --> src/api/auth.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct ChallengeResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_challenge` is never used [INFO] [stdout] --> src/api/wallet.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | async fn test_challenge( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_accept` is never used [INFO] [stdout] --> src/api/wallet.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | async fn test_accept( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_consents` is never used [INFO] [stdout] --> src/api/wallet.rs:564:10 [INFO] [stdout] | [INFO] [stdout] 564 | async fn get_consents( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `revoke_consent` is never used [INFO] [stdout] --> src/api/wallet.rs:641:10 [INFO] [stdout] | [INFO] [stdout] 641 | async fn revoke_consent( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `consent_id` is never read [INFO] [stdout] --> src/api/verifier.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 167 | struct SubmitPresentationRequest { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 171 | consent_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubmitPresentationRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `template_id` and `timestamp` are never read [INFO] [stdout] --> src/api/credential_request.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct SubmitCredentialRequest { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub template_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubmitCredentialRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialRequestResponse` is never constructed [INFO] [stdout] --> src/api/credential_request.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct CredentialRequestResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisterDIDRequest` is never constructed [INFO] [stdout] --> src/api/blockchain.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct RegisterDIDRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsentRequest` is never constructed [INFO] [stdout] --> src/api/blockchain.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ConsentRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_wallet` is never used [INFO] [stdout] --> src/api/auth_wallet.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn create_wallet( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login_wallet` is never used [INFO] [stdout] --> src/api/auth_wallet.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn login_wallet( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_wallet_by_did` is never used [INFO] [stdout] --> src/api/auth_wallet.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | pub async fn get_wallet_by_did( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_health` is never used [INFO] [stdout] --> src/api/auth_wallet.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn auth_health() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jwt_expiration`, `issuer_did`, `jwt_secret`, and `cors_allowed_origins` are never read [INFO] [stdout] --> src/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub jwt_expiration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub issuer_did: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub issuer_private_key: String, [INFO] [stdout] 14 | pub jwt_secret: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | pub cors_allowed_origins: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/db.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/db.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub async fn update_credential_request_status(&self, id: &str, status: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub async fn revoke_consent(&self, id: &str, user_did: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub async fn find_short_url_qr_codes_by_issuer_verifier(&self, did: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub async fn delete_short_url_qr_code(&self, short_id: &str, did: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn consents(&self) -> Collection { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub async fn find_consent_by_id(&self, id: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub async fn update_consent_blockchain_info(&self, _id: &str, _tx_hash: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_blockchain_initialized` is never used [INFO] [stdout] --> src/blockchain/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn is_blockchain_initialized() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/blockchain/client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BlockchainClient { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 13 | ssi_registry: SSIRegistry, LocalWallet>>, [INFO] [stdout] 14 | config: BlockchainConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_schema_hash`, `is_schema_registered`, `is_issuer`, and `is_admin` are never used [INFO] [stdout] --> src/blockchain/client.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl BlockchainClient { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub async fn get_schema_hash( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub async fn is_schema_registered( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub async fn is_issuer(&self, address: Address) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub async fn is_admin(&self, address: Address) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retry_operation` is never used [INFO] [stdout] --> src/blockchain/client.rs:347:14 [INFO] [stdout] | [INFO] [stdout] 347 | pub async fn retry_operation( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `forwarder_address` and `factory_address` are never read [INFO] [stdout] --> src/blockchain/config.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BlockchainConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub forwarder_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub factory_address: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockchainConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/blockchain_legacy.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl EthereumClient { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn with_forwarder_address(mut self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn with_meta_tx(mut self, enable: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn deploy_registry(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub async fn get_schema_hash(&self, schema_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub async fn send_ether(&self, to: &str, amount: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | pub async fn get_balance(&self, address: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub async fn wait_for_transaction(&self, tx_hash: H256) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ForwardRequest` is never constructed [INFO] [stdout] --> src/meta_tx.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ForwardRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_domain`, and `sign_forward_request` are never used [INFO] [stdout] --> src/meta_tx.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl MetaTransactionRelayer { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 87 | /// Create a new meta-transaction relayer [INFO] [stdout] 88 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn get_domain(&self) -> EIP712Domain { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub async fn sign_forward_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ipfs.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl IpfsClient { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn upload_json(&self, data: &T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn exists(&self, cid: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub async fn pin(&self, cid: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub async fn unpin(&self, cid: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub async fn upload_encrypted(&self, data: &[u8], encryption_key: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub async fn get_encrypted(&self, cid: &str, encryption_key: &[u8]) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub async fn upload_credential_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub async fn get_credential_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_qr_data` is never used [INFO] [stdout] --> src/models.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl PresentationRequest { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn to_qr_data(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_qr_data` is never used [INFO] [stdout] --> src/models.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 394 | impl CredentialOffer { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn to_qr_data(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QrCodeData` is never constructed [INFO] [stdout] --> src/models.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub struct QrCodeData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_expired` are never used [INFO] [stdout] --> src/models.rs:439:12 [INFO] [stdout] | [INFO] [stdout] 438 | impl QrCodeData { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 439 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn is_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiResponse` is never constructed [INFO] [stdout] --> src/models.rs:896:12 [INFO] [stdout] | [INFO] [stdout] 896 | pub struct ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `success` and `error` are never used [INFO] [stdout] --> src/models.rs:903:12 [INFO] [stdout] | [INFO] [stdout] 902 | impl ApiResponse { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 903 | pub fn success(data: T) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 911 | pub fn error(error: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WalletAuthResponse` is never constructed [INFO] [stdout] --> src/models.rs:999:12 [INFO] [stdout] | [INFO] [stdout] 999 | pub struct WalletAuthResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_response` and `add_credential` are never used [INFO] [stdout] --> src/models.rs:1042:12 [INFO] [stdout] | [INFO] [stdout] 1016 | impl WalletAuth { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1042 | pub fn to_response(&self) -> WalletAuthResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1053 | pub fn add_credential(&mut self, credential_ref: CredentialReference) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `revoke` and `is_valid` are never used [INFO] [stdout] --> src/models.rs:1131:12 [INFO] [stdout] | [INFO] [stdout] 1104 | impl Consent { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1131 | pub fn revoke(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1137 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ipfs` is never used [INFO] [stdout] --> src/services/mod.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn ipfs(&self) -> Arc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verify_token`, `get_user_from_token`, and `generate_did_key_pair` are never used [INFO] [stdout] --> src/services/auth.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl AuthService { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn verify_token(&self, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub async fn get_user_from_token(&self, token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn generate_did_key_pair(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `credential_id` and `reason` are never read [INFO] [stdout] --> src/services/credential.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct RevokeCredentialRequest { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 44 | pub credential_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RevokeCredentialRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `revoke_credential_with_key` and `create_predicate_proof` are never used [INFO] [stdout] --> src/services/credential.rs:488:18 [INFO] [stdout] | [INFO] [stdout] 85 | impl CredentialService { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 488 | pub async fn revoke_credential_with_key( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | pub async fn create_predicate_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reason` is never read [INFO] [stdout] --> src/services/issuer.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct ProcessCredentialRequestRequest { [INFO] [stdout] | ------------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | pub reason: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessCredentialRequestRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialRequestResponse` is never constructed [INFO] [stdout] --> src/services/issuer.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct CredentialRequestResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialOfferResponse` is never constructed [INFO] [stdout] --> src/services/issuer.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct CredentialOfferResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_templates_by_schema`, `get_all_templates`, `get_template`, `get_credential_requests_for_user`, `count_pending_requests`, and `get_recent_requests` are never used [INFO] [stdout] --> src/services/issuer.rs:408:18 [INFO] [stdout] | [INFO] [stdout] 156 | impl IssuerService { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 408 | pub async fn get_templates_by_schema(&self, schema_id: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | pub async fn get_all_templates(&self) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub async fn get_template(&self, template_id: &str, issuer_did: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 666 | pub async fn get_credential_requests_for_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 902 | pub async fn count_pending_requests(&self, issuer_did: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 921 | pub async fn get_recent_requests( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `presentation` is never read [INFO] [stdout] --> src/services/presentation.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct VerifyPresentationRequest { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub presentation: Option, // Optional field for compatibility [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerifyPresentationRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidateCredentialRequest` is never constructed [INFO] [stdout] --> src/services/schema.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ValidateCredentialRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValidationResult` is never constructed [INFO] [stdout] --> src/services/schema.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct ValidationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `validate_credential`, `search_schemas`, and `verify_schema_on_blockchain` are never used [INFO] [stdout] --> src/services/schema.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 77 | impl SchemaService { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | pub async fn validate_credential( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | pub async fn search_schemas(&self, query: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub async fn verify_schema_on_blockchain(&self, schema_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserProfileResponse` is never constructed [INFO] [stdout] --> src/services/user.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct UserProfileResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_users`, `delete_user`, `search_users`, and `count_users` are never used [INFO] [stdout] --> src/services/user.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl UserService { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn get_all_users(&self) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub async fn delete_user(&self, did: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub async fn search_users(&self, query: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub async fn count_users(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_presentation_request_qr` is never used [INFO] [stdout] --> src/services/verifier.rs:340:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl VerifierService { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub async fn generate_presentation_request_qr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CredentialSummary` is never constructed [INFO] [stdout] --> src/services/wallet.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct CredentialSummary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_credential_summaries`, `get_consent_records`, and `revoke_consent` are never used [INFO] [stdout] --> src/services/wallet.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 88 | impl WalletService { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub async fn get_credential_summaries(&self, did: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub async fn get_consent_records(&self, did: &str) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub async fn revoke_consent(&self, did: &str, consent_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SALT` is never used [INFO] [stdout] --> src/utils/auth_token.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SALT: &[u8] = b"sphyre-wallet-v1"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITERATIONS` is never used [INFO] [stdout] --> src/utils/auth_token.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const ITERATIONS: u32 = 100000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `derive_auth_token` is never used [INFO] [stdout] --> src/utils/auth_token.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn derive_auth_token(seed_phrase: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_key` is never used [INFO] [stdout] --> src/utils/crypto.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn generate_key() -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `did_from_did` is never used [INFO] [stdout] --> src/utils/did.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn did_from_did(did: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_pq_did` is never used [INFO] [stdout] --> src/utils/did.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn generate_pq_did() -> Result<(String, Vec, Vec), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_did_compat` is never used [INFO] [stdout] --> src/utils/did_compat.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn validate_did_compat(did: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_selective_disclosure` is never used [INFO] [stdout] --> src/utils/zk_proofs.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn verify_selective_disclosure( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bbs_verify` is never used [INFO] [stdout] --> src/utils/bbs_plus.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn bbs_verify( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_selective_disclosure_proof` is never used [INFO] [stdout] --> src/utils/bbs_plus.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn verify_selective_disclosure_proof( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnonymousCredentialKeys` is never constructed [INFO] [stdout] --> src/utils/anonymous_credentials.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct AnonymousCredentialKeys { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnonymousPublicKey` is never constructed [INFO] [stdout] --> src/utils/anonymous_credentials.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct AnonymousPublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnonymousSecretKey` is never constructed [INFO] [stdout] --> src/utils/anonymous_credentials.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct AnonymousSecretKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnonymousCredential` is never constructed [INFO] [stdout] --> src/utils/anonymous_credentials.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct AnonymousCredential { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlindCredentialRequest` is never constructed [INFO] [stdout] --> src/utils/anonymous_credentials.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct BlindCredentialRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnlinkablePresentation` is never constructed [INFO] [stdout] --> src/utils/anonymous_credentials.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct UnlinkablePresentation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_anonymous_keypair` is never used [INFO] [stdout] --> src/utils/anonymous_credentials.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn generate_anonymous_keypair(attribute_count: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `issue_anonymous_credential` is never used [INFO] [stdout] --> src/utils/anonymous_credentials.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn issue_anonymous_credential( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_blind_request` is never used [INFO] [stdout] --> src/utils/anonymous_credentials.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn create_blind_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_unlinkable_presentation` is never used [INFO] [stdout] --> src/utils/anonymous_credentials.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn create_unlinkable_presentation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_unlinkable_presentation` is never used [INFO] [stdout] --> src/utils/anonymous_credentials.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn verify_unlinkable_presentation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `are_presentations_linkable` is never used [INFO] [stdout] --> src/utils/anonymous_credentials.rs:274:8 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn are_presentations_linkable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_master_secret` is never used [INFO] [stdout] --> src/utils/anonymous_credentials.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn generate_master_secret() -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlindedPresentation` is never constructed [INFO] [stdout] --> src/utils/presentation_blinding.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct BlindedPresentation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blind_credential` is never used [INFO] [stdout] --> src/utils/presentation_blinding.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn blind_credential( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blind_attributes` is never used [INFO] [stdout] --> src/utils/presentation_blinding.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn blind_attributes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_blinded_presentation` is never used [INFO] [stdout] --> src/utils/presentation_blinding.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn create_blinded_presentation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_presentation_session` is never used [INFO] [stdout] --> src/utils/presentation_blinding.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn verify_presentation_session( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `are_blinded_presentations_linkable` is never used [INFO] [stdout] --> src/utils/presentation_blinding.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn are_blinded_presentations_linkable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unblind_presentation` is never used [INFO] [stdout] --> src/utils/presentation_blinding.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn unblind_presentation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `require_auth` is never used [INFO] [stdout] --> src/middleware/auth.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn require_auth( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_did` is never used [INFO] [stdout] --> src/middleware/auth.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get_user_did(request: &Request) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConsentMiddleware` is never constructed [INFO] [stdout] --> src/middleware/consent.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ConsentMiddleware { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `enforce`, `enforce_access_level`, `revoke_consent`, `is_consent_valid`, and `cleanup_expired_consents` are never used [INFO] [stdout] --> src/middleware/consent.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ConsentMiddleware { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(db: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn enforce( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | async fn enforce_access_level( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | async fn revoke_consent(&self, consent_id: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub async fn is_consent_valid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub async fn cleanup_expired_consents(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enforce_consent` is never used [INFO] [stdout] --> src/middleware/consent_enforcement.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn enforce_consent( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_consent_for_operation` is never used [INFO] [stdout] --> src/middleware/consent_enforcement.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn validate_consent_for_operation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_expired_consents` is never used [INFO] [stdout] --> src/middleware/consent_enforcement.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | pub async fn cleanup_expired_consents(state: &AppState) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cors_handler` is never used [INFO] [stdout] --> src/middleware/cors.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn cors_handler( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 00s [INFO] running `Command { std: "docker" "inspect" "5a40bcb59b6bac108d1e4393506d3e2f87c2f4b8857a387d84b9b816d64e966a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a40bcb59b6bac108d1e4393506d3e2f87c2f4b8857a387d84b9b816d64e966a", kill_on_drop: false }` [INFO] [stdout] 5a40bcb59b6bac108d1e4393506d3e2f87c2f4b8857a387d84b9b816d64e966a