[INFO] fetching crate atomic_web_push 0.3.0... [INFO] checking atomic_web_push-0.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate atomic_web_push 0.3.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate atomic_web_push 0.3.0 [INFO] finished tweaking crates.io crate atomic_web_push 0.3.0 [INFO] tweaked toml for crates.io crate atomic_web_push 0.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate atomic_web_push 0.3.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate atomic_web_push 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55aa6fbf946baedd5fdc8d6013609c89f77a7b0307d9c9182a4ad6f85c8c454b [INFO] running `Command { std: "docker" "start" "-a" "55aa6fbf946baedd5fdc8d6013609c89f77a7b0307d9c9182a4ad6f85c8c454b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55aa6fbf946baedd5fdc8d6013609c89f77a7b0307d9c9182a4ad6f85c8c454b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55aa6fbf946baedd5fdc8d6013609c89f77a7b0307d9c9182a4ad6f85c8c454b", kill_on_drop: false }` [INFO] [stdout] 55aa6fbf946baedd5fdc8d6013609c89f77a7b0307d9c9182a4ad6f85c8c454b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4282373510be6f494b29716db61589dd61080a12392c74c102308bb40a50ae6 [INFO] running `Command { std: "docker" "start" "-a" "c4282373510be6f494b29716db61589dd61080a12392c74c102308bb40a50ae6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking rustls-pki-types v1.10.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling rustls v0.23.21 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking webpki-roots v0.26.7 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking const-oid v0.6.2 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking ct-codecs v1.1.3 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Checking generic-array v1.2.0 [INFO] [stderr] Checking coarsetime v0.1.35 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking hmac-sha1-compact v1.1.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking hmac-sha512 v1.1.6 [INFO] [stderr] Checking hmac-sha256 v1.1.8 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling der_derive v0.4.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking sec1_decode v0.1.0 [INFO] [stderr] Checking ece v2.3.1 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking rsa v0.9.7 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-rustls v0.26.1 [INFO] [stderr] Checking async-compression v0.4.18 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper v1.5.2 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-rustls v0.27.5 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Checking atomic_web_push v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `PKCS1_PSS` should have an upper camel case name [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | PKCS1_PSS, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Pkcs1Pss` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/atomic_jwt/mod.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | pub use anyhow; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coarsetime` [INFO] [stdout] --> src/atomic_jwt/mod.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | pub use coarsetime; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ct_codecs` [INFO] [stdout] --> src/atomic_jwt/mod.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | pub use ct_codecs; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/atomic_jwt/mod.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | pub use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/atomic_jwt/mod.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | pub use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/atomic_jwt/mod.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | pub use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror` [INFO] [stdout] --> src/atomic_jwt/mod.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | pub use thiserror; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zeroize` [INFO] [stdout] --> src/atomic_jwt/mod.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | pub use zeroize; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `JWTError` [INFO] [stdout] --> src/atomic_jwt/mod.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | pub use error::{Error, JWTError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/atomic_jwt/mod.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | pub use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Clock` and `UnixTimeStamp` [INFO] [stdout] --> src/atomic_jwt/mod.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | pub use coarsetime::{self, Clock, Duration, UnixTimeStamp}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Base64NoPadding`, `Base64UrlSafeNoPadding`, `Base64UrlSafe`, and `Base64` [INFO] [stdout] --> src/atomic_jwt/mod.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | Base64, Base64NoPadding, Base64UrlSafe, Base64UrlSafeNoPadding, Decoder as _, Encoder as _, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::atomic_jwt::common::*` [INFO] [stdout] --> src/atomic_jwt/mod.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | pub use crate::atomic_jwt::common::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::atomic_jwt::token::*` [INFO] [stdout] --> src/atomic_jwt/mod.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | pub use crate::atomic_jwt::token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hyper-client` [INFO] [stdout] --> src/helpers/clients/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "hyper-client")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ciborium`, `cwt`, `default`, `reqwest`, `reqwest-client`, and `wasi-abi2` [INFO] [stdout] = help: consider adding `hyper-client` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `isahc-client` [INFO] [stdout] --> src/helpers/clients/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = "isahc-client")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ciborium`, `cwt`, `default`, `reqwest`, `reqwest-client`, and `wasi-abi2` [INFO] [stdout] = help: consider adding `isahc-client` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PKCS1_PSS` should have an upper camel case name [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | PKCS1_PSS, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Pkcs1Pss` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/atomic_jwt/mod.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | pub use anyhow; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `coarsetime` [INFO] [stdout] --> src/atomic_jwt/mod.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | pub use coarsetime; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ct_codecs` [INFO] [stdout] --> src/atomic_jwt/mod.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | pub use ct_codecs; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> src/atomic_jwt/mod.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | pub use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/atomic_jwt/mod.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | pub use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/atomic_jwt/mod.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | pub use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror` [INFO] [stdout] --> src/atomic_jwt/mod.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | pub use thiserror; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zeroize` [INFO] [stdout] --> src/atomic_jwt/mod.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | pub use zeroize; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `JWTError` [INFO] [stdout] --> src/atomic_jwt/mod.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | pub use error::{Error, JWTError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Clock` [INFO] [stdout] --> src/atomic_jwt/mod.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | pub use coarsetime::{self, Clock, Duration, UnixTimeStamp}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Base64NoPadding`, `Base64UrlSafeNoPadding`, and `Base64UrlSafe` [INFO] [stdout] --> src/atomic_jwt/mod.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | Base64, Base64NoPadding, Base64UrlSafe, Base64UrlSafeNoPadding, Decoder as _, Encoder as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/atomic_jwt/mod.rs:348:21 [INFO] [stdout] | [INFO] [stdout] 348 | pub use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hyper-client` [INFO] [stdout] --> src/helpers/clients/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "hyper-client")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ciborium`, `cwt`, `default`, `reqwest`, `reqwest-client`, and `wasi-abi2` [INFO] [stdout] = help: consider adding `hyper-client` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `isahc-client` [INFO] [stdout] --> src/helpers/clients/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = "isahc-client")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ciborium`, `cwt`, `default`, `reqwest`, `reqwest-client`, and `wasi-abi2` [INFO] [stdout] = help: consider adding `isahc-client` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/helpers/crypto/symm.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn finalize(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edwards25519PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/eddsa.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Edwards25519PublicKey(ed25519_compact::PublicKey); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bytes`, `from_der`, `from_pem`, `to_bytes`, `to_der`, and `to_pem` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/eddsa.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Edwards25519PublicKey { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 25 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn to_der(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn to_pem(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edwards25519KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/eddsa.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Edwards25519KeyPair { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/eddsa.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Edwards25519KeyPair { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 73 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn to_der(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn to_pem(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn public_key(&self) -> Edwards25519PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EdDSAKeyPairLike` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/eddsa.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | pub trait EdDSAKeyPairLike { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `EdDSAPublicKeyLike` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/eddsa.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | pub trait EdDSAPublicKeyLike { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ed25519KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/eddsa.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct Ed25519KeyPair { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ed25519PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/eddsa.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct Ed25519PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/eddsa.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 247 | impl Ed25519KeyPair { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 248 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn to_der(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn to_pem(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn public_key(&self) -> Ed25519PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/eddsa.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 319 | impl Ed25519PublicKey { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 320 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn to_der(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | pub fn to_pem(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn sha1_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn sha256_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `attach_metadata` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub trait ECDSAP256KeyPairLike { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 162 | fn attach_metadata(&mut self, metadata: KeyMetadata) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `jwt_alg_name`, `key_id`, `set_key_id`, `verify_token`, and `create_key_id` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub trait ECDSAP256PublicKeyLike { [INFO] [stdout] | ---------------------- associated items in this trait [INFO] [stdout] 184 | fn jwt_alg_name() -> &'static str; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 185 | fn public_key(&self) -> &P256PublicKey; [INFO] [stdout] 186 | fn key_id(&self) -> &Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 187 | fn set_key_id(&mut self, key_id: String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 188 | [INFO] [stdout] 189 | fn verify_token( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | fn create_key_id(&mut self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `K256PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct K256PublicKey(ecdsa::VerifyingKey); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl K256PublicKey { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 27 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn to_bytes_uncompressed(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `K256KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct K256KeyPair { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl K256KeyPair { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 83 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn public_key(&self) -> K256PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ECDSAP256kKeyPairLike` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | pub trait ECDSAP256kKeyPairLike { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ECDSAP256kPublicKeyLike` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:172:11 [INFO] [stdout] | [INFO] [stdout] 172 | pub trait ECDSAP256kPublicKeyLike { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ES256kKeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct ES256kKeyPair { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ES256kPublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct ES256kPublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl ES256kKeyPair { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 271 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn public_key(&self) -> ES256kPublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 342 | impl ES256kPublicKey { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 343 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `P384PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct P384PublicKey(ecdsa::VerifyingKey); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl P384PublicKey { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 28 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn to_bytes_uncompressed(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `P384KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct P384KeyPair { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl P384KeyPair { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 84 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn public_key(&self) -> P384PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ECDSAP384KeyPairLike` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | pub trait ECDSAP384KeyPairLike { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ECDSAP384PublicKeyLike` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | pub trait ECDSAP384PublicKeyLike { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ES384KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub struct ES384KeyPair { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ES384PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | pub struct ES384PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 281 | impl ES384KeyPair { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 282 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn public_key(&self) -> ES384PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 353 | impl ES384PublicKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 354 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HMACKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct HMACKey { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bytes`, `to_bytes`, and `generate` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl HMACKey { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 29 | pub fn from_bytes(raw_key: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MACLike` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait MACLike { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HS256Key` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct HS256Key { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bytes`, `to_bytes`, `generate`, and `with_key_id` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl HS256Key { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 164 | pub fn from_bytes(raw_key: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HS512Key` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct HS512Key { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bytes`, `to_bytes`, `generate`, and `with_key_id` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl HS512Key { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 226 | pub fn from_bytes(raw_key: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HS384Key` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct HS384Key { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bytes`, `to_bytes`, `generate`, and `with_key_id` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 287 | impl HS384Key { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 288 | pub fn from_bytes(raw_key: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blake2bKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct Blake2bKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bytes`, `to_bytes`, `generate`, and `with_key_id` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 358 | impl Blake2bKey { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 359 | pub fn from_bytes(raw_key: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RSAPublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RSAPublicKey(Rsa); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RSAPublicKeyComponents` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct RSAPublicKeyComponents { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_der`, `from_pem`, `from_components`, `to_der`, `to_pem`, and `to_components` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl RSAPublicKey { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 39 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn from_components(n: &[u8], e: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn to_components(&self) -> RSAPublicKeyComponents { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RSAKeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct RSAKeyPair { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_der`, `from_pem`, `to_der`, `to_pem`, `public_key`, and `generate` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl RSAKeyPair { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 90 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn public_key(&self) -> RSAPublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn generate(modulus_bits: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RSAKeyPairLike` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait RSAKeyPairLike { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RSAPublicKeyLike` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:178:11 [INFO] [stdout] | [INFO] [stdout] 178 | pub trait RSAPublicKeyLike { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RS256KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | pub struct RS256KeyPair { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RS256PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub struct RS256PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 283 | impl RS256KeyPair { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 284 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn public_key(&self) -> RS256PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn generate(modulus_bits: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:353:12 [INFO] [stdout] | [INFO] [stdout] 352 | impl RS256PublicKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 353 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn from_components(n: &[u8], e: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub fn to_components(&self) -> RSAPublicKeyComponents { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub fn sha1_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn sha256_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RS512KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:403:12 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct RS512KeyPair { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RS512PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 409 | pub struct RS512PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 445 | impl RS512KeyPair { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 446 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn public_key(&self) -> RS512PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn generate(modulus_bits: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 482 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 514 | impl RS512PublicKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 515 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | pub fn from_components(n: &[u8], e: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 544 | pub fn to_components(&self) -> RSAPublicKeyComponents { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 553 | pub fn sha1_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | pub fn sha256_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RS384KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:565:12 [INFO] [stdout] | [INFO] [stdout] 565 | pub struct RS384KeyPair { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RS384PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:571:12 [INFO] [stdout] | [INFO] [stdout] 571 | pub struct RS384PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:608:12 [INFO] [stdout] | [INFO] [stdout] 607 | impl RS384KeyPair { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 608 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 622 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 630 | pub fn public_key(&self) -> RS384PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | pub fn generate(modulus_bits: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 644 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:677:12 [INFO] [stdout] | [INFO] [stdout] 676 | impl RS384PublicKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 677 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 684 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 691 | pub fn from_components(n: &[u8], e: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 698 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 702 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 706 | pub fn to_components(&self) -> RSAPublicKeyComponents { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 710 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 715 | pub fn sha1_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 719 | pub fn sha256_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PS256KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:727:12 [INFO] [stdout] | [INFO] [stdout] 727 | pub struct PS256KeyPair { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PS256PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:733:12 [INFO] [stdout] | [INFO] [stdout] 733 | pub struct PS256PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:770:12 [INFO] [stdout] | [INFO] [stdout] 769 | impl PS256KeyPair { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 770 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 777 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 784 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 792 | pub fn public_key(&self) -> PS256PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 799 | pub fn generate(modulus_bits: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 806 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:839:12 [INFO] [stdout] | [INFO] [stdout] 838 | impl PS256PublicKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 839 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 846 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 853 | pub fn from_components(n: &[u8], e: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 860 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 864 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 868 | pub fn to_components(&self) -> RSAPublicKeyComponents { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 872 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PS512KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:881:12 [INFO] [stdout] | [INFO] [stdout] 881 | pub struct PS512KeyPair { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PS512PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:887:12 [INFO] [stdout] | [INFO] [stdout] 887 | pub struct PS512PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:924:12 [INFO] [stdout] | [INFO] [stdout] 923 | impl PS512KeyPair { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 924 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 931 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 938 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 942 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 946 | pub fn public_key(&self) -> PS512PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 953 | pub fn generate(modulus_bits: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 960 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:993:12 [INFO] [stdout] | [INFO] [stdout] 992 | impl PS512PublicKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 993 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1000 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1007 | pub fn from_components(n: &[u8], e: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1014 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1018 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1022 | pub fn to_components(&self) -> RSAPublicKeyComponents { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1026 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1031 | pub fn sha1_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1035 | pub fn sha256_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PS384KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:1043:12 [INFO] [stdout] | [INFO] [stdout] 1043 | pub struct PS384KeyPair { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PS384PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:1049:12 [INFO] [stdout] | [INFO] [stdout] 1049 | pub struct PS384PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:1086:12 [INFO] [stdout] | [INFO] [stdout] 1085 | impl PS384KeyPair { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 1086 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1093 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1100 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1104 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1108 | pub fn public_key(&self) -> PS384PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1115 | pub fn generate(modulus_bits: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1122 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:1155:12 [INFO] [stdout] | [INFO] [stdout] 1154 | impl PS384PublicKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 1155 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1162 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1169 | pub fn from_components(n: &[u8], e: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1176 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1180 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1184 | pub fn to_components(&self) -> RSAPublicKeyComponents { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1188 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | pub fn sha1_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1197 | pub fn sha256_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageDigest` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct MessageDigest(pub(crate) DigestType); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DigestType` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) enum DigestType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `sha256`, `sha384`, and `sha512` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 88 | impl MessageDigest { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 89 | pub fn sha256() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn sha384() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn sha512() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Signer` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct Signer<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_rsa_padding`, `update`, and `sign_to_vec` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 118 | impl<'a> Signer<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 119 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn set_rsa_padding(&mut self, padding: Padding) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn update(&mut self, data: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn sign_to_vec(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Verifier` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct Verifier<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_rsa_padding`, `update`, and `verify` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 197 | impl<'a> Verifier<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 198 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn set_rsa_padding(&mut self, padding: Padding) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn update(&mut self, _data: &[u8]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn verify(&self, signature: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Padding` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:304:14 [INFO] [stdout] | [INFO] [stdout] 304 | pub enum Padding { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rsa` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:434:16 [INFO] [stdout] | [INFO] [stdout] 434 | pub struct Rsa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:439:23 [INFO] [stdout] | [INFO] [stdout] 438 | impl Rsa { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 439 | pub(crate) fn new(inner: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:451:16 [INFO] [stdout] | [INFO] [stdout] 450 | impl Rsa { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 451 | pub fn private_key_from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 458 | pub fn private_key_from_pem(pem: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | pub fn private_key_to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn private_key_to_pem(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub fn check_key(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn generate(bits: u32) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | pub fn n(&self) -> Result { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 490 | pub fn e(&self) -> Result { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:499:16 [INFO] [stdout] | [INFO] [stdout] 498 | impl Rsa { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 499 | pub fn public_key_from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn public_key_from_der_pkcs1(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn public_key_from_pem(pem: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | pub fn public_key_from_pem_pkcs1(pem: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 527 | pub fn from_public_components(n: bn::BigNum, e: bn::BigNum) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn public_key_to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | pub fn public_key_to_pem(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | pub fn n(&self) -> Vec { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 544 | pub fn e(&self) -> Vec { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Private` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:554:15 [INFO] [stdout] | [INFO] [stdout] 554 | pub trait Private: Any { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Public` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:561:15 [INFO] [stdout] | [INFO] [stdout] 561 | pub trait Public: Any { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:609:16 [INFO] [stdout] | [INFO] [stdout] 609 | pub struct PKey { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_rsa` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:614:16 [INFO] [stdout] | [INFO] [stdout] 613 | impl PKey { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 614 | pub fn from_rsa(rsa: T) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_TIME_TOLERANCE_SECS` is never used [INFO] [stdout] --> src/atomic_jwt/claims.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const DEFAULT_TIME_TOLERANCE_SECS: u64 = 900; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoCustomClaims` is never constructed [INFO] [stdout] --> src/atomic_jwt/claims.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct NoCustomClaims {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/atomic_jwt/claims.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 174 | impl JWTClaims { [INFO] [stdout] | ------------------------------------------ methods in this implementation [INFO] [stdout] 175 | pub(crate) fn validate(&self, options: &VerificationOptions) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn invalid_before(mut self, unix_timestamp: UnixTimeStamp) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn with_issuer(mut self, issuer: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn with_audiences(mut self, audiences: HashSet) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn with_jwt_id(mut self, jwt_id: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn with_nonce(mut self, nonce: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn create_nonce(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/atomic_jwt/claims.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 305 | impl Claims { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn create(valid_for: Duration) -> JWTClaims { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_TOKEN_LENGTH` is never used [INFO] [stdout] --> src/atomic_jwt/common.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DEFAULT_MAX_TOKEN_LENGTH: usize = 1_000_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VerificationOptions` is never constructed [INFO] [stdout] --> src/atomic_jwt/common.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct VerificationOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_key_set_url`, `with_public_key`, `with_certificate_url`, `with_certificate_sha1_thumbprint`, and `with_certificate_sha256_thumbprint` are never used [INFO] [stdout] --> src/atomic_jwt/common.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl KeyMetadata { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 92 | /// Add a key set URL to the metadata ("jku") [INFO] [stdout] 93 | pub fn with_key_set_url(mut self, key_set_url: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn with_public_key(mut self, public_key: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn with_certificate_url(mut self, certificate_url: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn with_certificate_sha1_thumbprint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn with_certificate_sha256_thumbprint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `timingsafe_eq` is never used [INFO] [stdout] --> src/atomic_jwt/common.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | pub(crate) fn timingsafe_eq(a: &[u8], b: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_HEADER_LENGTH` is never used [INFO] [stdout] --> src/atomic_jwt/token.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MAX_HEADER_LENGTH: usize = 8192; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenMetadata` is never constructed [INFO] [stdout] --> src/atomic_jwt/token.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TokenMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/atomic_jwt/token.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TokenMetadata { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn algorithm(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn content_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn key_id(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn signature_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn critical(&self) -> Option<&[String]> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn certificate_chain(&self) -> Option<&[String]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn key_set_url(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn public_key(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn certificate_url(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn certificate_sha1_thumbprint(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn certificate_sha256_thumbprint(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `verify` and `decode_metadata` are never used [INFO] [stdout] --> src/atomic_jwt/token.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 97 | impl Token { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 122 | pub(crate) fn verify( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn decode_metadata(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/atomic_jwt/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum JWTError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | CompactEncodingError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | #[error("CWT decoding error")] [INFO] [stdout] 11 | CWTDecodingError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | #[error("JWT header too large")] [INFO] [stdout] 13 | HeaderTooLarge, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | #[error("JWT algorithm mismatch")] [INFO] [stdout] 15 | AlgorithmMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | #[error("JWT key identifier mismatch")] [INFO] [stdout] 17 | KeyIdentifierMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | #[error("Missing JWT key identifier")] [INFO] [stdout] 19 | MissingJWTKeyIdentifier, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | #[error("Authentication tag didn't verify")] [INFO] [stdout] 21 | InvalidAuthenticationTag, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | #[error("Signature tag didn't verify")] [INFO] [stdout] 23 | InvalidSignature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | #[error("Old token reused")] [INFO] [stdout] 25 | OldTokenReused, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 26 | #[error("Clock drift detected")] [INFO] [stdout] 27 | ClockDrift, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | #[error("Token is too old")] [INFO] [stdout] 29 | TokenIsTooOld, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | #[error("Token not valid yet")] [INFO] [stdout] 31 | TokenNotValidYet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | #[error("Token has expired")] [INFO] [stdout] 33 | TokenHasExpired, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | #[error("Required nonce missing")] [INFO] [stdout] 35 | RequiredNonceMissing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | #[error("Required nonce mismatch")] [INFO] [stdout] 37 | RequiredNonceMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | #[error("Required issuer mismatch")] [INFO] [stdout] 39 | RequiredIssuerMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | #[error("Required issuer missing")] [INFO] [stdout] 41 | RequiredIssuerMissing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | #[error("Required subject mismatch")] [INFO] [stdout] 43 | RequiredSubjectMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | #[error("Required subject missing")] [INFO] [stdout] 45 | RequiredSubjectMissing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | #[error("Required audience missing")] [INFO] [stdout] 47 | RequiredAudienceMissing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | #[error("Required audience mismatch")] [INFO] [stdout] 49 | RequiredAudienceMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | #[error("Unsupported RSA modulus")] [INFO] [stdout] 51 | UnsupportedRSAModulus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | TooManyIssuers, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 60 | #[error("Invalid certificate thumbprint")] [INFO] [stdout] 61 | InvalidCertThumprint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | #[error("Not a JWT token")] [INFO] [stdout] 63 | NotJWT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | #[error("Token is too long")] [INFO] [stdout] 65 | TokenTooLong, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JWTError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashSetFromStringsT` is never used [INFO] [stdout] --> src/atomic_jwt/mod.rs:360:19 [INFO] [stdout] | [INFO] [stdout] 360 | pub trait HashSetFromStringsT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `h` is never read [INFO] [stdout] --> src/helpers/crypto/ec.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct EcGroup { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub h: BigUint, // cofactor [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `EcGroup` 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: variant `PointAtInfinity` is never constructed [INFO] [stdout] --> src/helpers/crypto/ec.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub enum EcPointError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 137 | PointAtInfinity, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EcPointError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Compressed` and `Hybrid` are never constructed [INFO] [stdout] --> src/helpers/crypto/ec.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub enum PointConversionForm { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 151 | Compressed, // 0x02 or 0x03 prefix [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 152 | Uncompressed, // 0x04 prefix [INFO] [stdout] 153 | Hybrid, // 0x06 or 0x07 prefix [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointConversionForm` 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: method `to_public_key` is never used [INFO] [stdout] --> src/helpers/crypto/ec.rs:696:12 [INFO] [stdout] | [INFO] [stdout] 675 | impl EcKey { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 696 | pub fn to_public_key(&self) -> EcKey { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key_type` is never read [INFO] [stdout] --> src/helpers/crypto/ec.rs:797:5 [INFO] [stdout] | [INFO] [stdout] 795 | pub struct PKey { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 796 | pub key_data: Vec, [INFO] [stdout] 797 | key_type: PKeyType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `as_bytes` are never used [INFO] [stdout] --> src/helpers/crypto/ec.rs:806:12 [INFO] [stdout] | [INFO] [stdout] 805 | impl PKey { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 806 | pub fn new(key_data: Vec, key_type: PKeyType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 814 | pub fn as_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cipher` and `buffer` are never read [INFO] [stdout] --> src/helpers/crypto/symm.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Crypter { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 34 | cipher: Cipher, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | buffer: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StringUtil` is never used [INFO] [stdout] --> src/helpers/traits/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait StringUtil { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now` is never used [INFO] [stdout] --> src/helpers/traits/date_time.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn now() -> DateTime { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/helpers/crypto/symm.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn finalize(&mut self, buf: &mut [u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_bytes`, `from_der`, and `from_pem` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/eddsa.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Edwards25519PublicKey { [INFO] [stdout] | -------------------------- associated functions in this implementation [INFO] [stdout] 25 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bytes` and `to_pem` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/eddsa.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl Edwards25519KeyPair { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 73 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn to_pem(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bytes` and `to_pem` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/eddsa.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 247 | impl Ed25519KeyPair { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 248 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn to_pem(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/eddsa.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 319 | impl Ed25519PublicKey { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 320 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn to_der(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn sha256_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `attach_metadata` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub trait ECDSAP256KeyPairLike { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 162 | fn attach_metadata(&mut self, metadata: KeyMetadata) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `key_id`, `set_key_id`, and `create_key_id` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub trait ECDSAP256PublicKeyLike { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 186 | fn key_id(&self) -> &Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 187 | fn set_key_id(&mut self, key_id: String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | fn create_key_id(&mut self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl K256PublicKey { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 27 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn to_bytes_uncompressed(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bytes`, `from_der`, `from_pem`, `to_bytes`, `to_der`, and `to_pem` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl K256KeyPair { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 83 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `attach_metadata` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub trait ECDSAP256kKeyPairLike { [INFO] [stdout] | --------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 151 | fn attach_metadata(&mut self, metadata: KeyMetadata) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `key_id`, `set_key_id`, and `create_key_id` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub trait ECDSAP256kPublicKeyLike { [INFO] [stdout] | ----------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 175 | fn key_id(&self) -> &Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 176 | fn set_key_id(&mut self, key_id: String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | fn create_key_id(&mut self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key_id` is never read [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct ES256kPublicKey { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 243 | pk: K256PublicKey, [INFO] [stdout] 244 | key_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ES256kPublicKey` 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 associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl ES256kKeyPair { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 271 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es256k.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 342 | impl ES256kPublicKey { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 343 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl P384PublicKey { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 28 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn to_bytes_uncompressed(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bytes`, `from_der`, `from_pem`, `to_bytes`, `to_der`, and `to_pem` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl P384KeyPair { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 84 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `attach_metadata` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub trait ECDSAP384KeyPairLike { [INFO] [stdout] | -------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 162 | fn attach_metadata(&mut self, metadata: KeyMetadata) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `key_id`, `set_key_id`, and `create_key_id` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub trait ECDSAP384PublicKeyLike { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 186 | fn key_id(&self) -> &Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 187 | fn set_key_id(&mut self, key_id: String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | fn create_key_id(&mut self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key_id` is never read [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 253 | pub struct ES384PublicKey { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 254 | pk: P384PublicKey, [INFO] [stdout] 255 | key_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ES384PublicKey` 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 associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 281 | impl ES384KeyPair { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 282 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 329 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/es384.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 353 | impl ES384PublicKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 354 | pub fn from_bytes(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_bytes` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl HMACKey { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_key_id`, `attach_metadata`, and `create_key_id` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait MACLike { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 60 | fn set_key_id(&mut self, key_id: String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | fn metadata(&self) -> &Option; [INFO] [stdout] 62 | fn attach_metadata(&mut self, metadata: KeyMetadata) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn create_key_id(&mut self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bytes`, `to_bytes`, and `with_key_id` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl HS256Key { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 164 | pub fn from_bytes(raw_key: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HS512Key` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct HS512Key { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bytes`, `to_bytes`, `generate`, and `with_key_id` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl HS512Key { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 226 | pub fn from_bytes(raw_key: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_bytes` and `generate` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 287 | impl HS384Key { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_bytes` and `generate` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/hmac.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 358 | impl Blake2bKey { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n` is never read [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct RSAPublicKeyComponents { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 34 | pub n: Vec, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_der`, `from_components`, `to_der`, and `to_pem` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl RSAPublicKey { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 39 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn from_components(n: &[u8], e: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_der`, `to_der`, and `to_pem` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl RSAKeyPair { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 90 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `attach_metadata` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait RSAKeyPairLike { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 156 | fn attach_metadata(&mut self, metadata: KeyMetadata) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `key_id` and `set_key_id` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 178 | pub trait RSAPublicKeyLike { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 181 | fn key_id(&self) -> &Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 182 | fn set_key_id(&mut self, key_id: String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key_id` is never read [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 247 | pub struct RS256PublicKey { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 248 | pk: RSAPublicKey, [INFO] [stdout] 249 | key_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RS256PublicKey` 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: associated items `from_der`, `to_der`, `to_pem`, `public_key`, `generate`, and `with_key_id` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 283 | impl RS256KeyPair { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 284 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn public_key(&self) -> RS256PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn generate(modulus_bits: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:353:12 [INFO] [stdout] | [INFO] [stdout] 352 | impl RS256PublicKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 353 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn from_components(n: &[u8], e: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub fn sha1_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn sha256_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RS512KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:403:12 [INFO] [stdout] | [INFO] [stdout] 403 | pub struct RS512KeyPair { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RS512PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 409 | pub struct RS512PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 445 | impl RS512KeyPair { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 446 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn public_key(&self) -> RS512PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn generate(modulus_bits: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 482 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 514 | impl RS512PublicKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 515 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 529 | pub fn from_components(n: &[u8], e: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 544 | pub fn to_components(&self) -> RSAPublicKeyComponents { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 553 | pub fn sha1_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 557 | pub fn sha256_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RS384KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:565:12 [INFO] [stdout] | [INFO] [stdout] 565 | pub struct RS384KeyPair { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RS384PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:571:12 [INFO] [stdout] | [INFO] [stdout] 571 | pub struct RS384PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:608:12 [INFO] [stdout] | [INFO] [stdout] 607 | impl RS384KeyPair { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 608 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 622 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 630 | pub fn public_key(&self) -> RS384PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | pub fn generate(modulus_bits: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 644 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:677:12 [INFO] [stdout] | [INFO] [stdout] 676 | impl RS384PublicKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 677 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 684 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 691 | pub fn from_components(n: &[u8], e: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 698 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 702 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 706 | pub fn to_components(&self) -> RSAPublicKeyComponents { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 710 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 715 | pub fn sha1_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 719 | pub fn sha256_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PS256KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:727:12 [INFO] [stdout] | [INFO] [stdout] 727 | pub struct PS256KeyPair { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PS256PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:733:12 [INFO] [stdout] | [INFO] [stdout] 733 | pub struct PS256PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:770:12 [INFO] [stdout] | [INFO] [stdout] 769 | impl PS256KeyPair { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 770 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 777 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 784 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 792 | pub fn public_key(&self) -> PS256PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 799 | pub fn generate(modulus_bits: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 806 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:839:12 [INFO] [stdout] | [INFO] [stdout] 838 | impl PS256PublicKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 839 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 846 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 853 | pub fn from_components(n: &[u8], e: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 860 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 864 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 868 | pub fn to_components(&self) -> RSAPublicKeyComponents { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 872 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PS512KeyPair` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:881:12 [INFO] [stdout] | [INFO] [stdout] 881 | pub struct PS512KeyPair { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PS512PublicKey` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:887:12 [INFO] [stdout] | [INFO] [stdout] 887 | pub struct PS512PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:924:12 [INFO] [stdout] | [INFO] [stdout] 923 | impl PS512KeyPair { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 924 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 931 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 938 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 942 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 946 | pub fn public_key(&self) -> PS512PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 953 | pub fn generate(modulus_bits: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 960 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:993:12 [INFO] [stdout] | [INFO] [stdout] 992 | impl PS512PublicKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 993 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1000 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1007 | pub fn from_components(n: &[u8], e: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1014 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1018 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1022 | pub fn to_components(&self) -> RSAPublicKeyComponents { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1026 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1031 | pub fn sha1_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1035 | pub fn sha256_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key_id` is never read [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:1051:5 [INFO] [stdout] | [INFO] [stdout] 1049 | pub struct PS384PublicKey { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 1050 | pk: RSAPublicKey, [INFO] [stdout] 1051 | key_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PS384PublicKey` 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: associated items `from_der`, `from_pem`, `to_der`, `to_pem`, and `with_key_id` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:1086:12 [INFO] [stdout] | [INFO] [stdout] 1085 | impl PS384KeyPair { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 1086 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1093 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1100 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1104 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1122 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa.rs:1155:12 [INFO] [stdout] | [INFO] [stdout] 1154 | impl PS384PublicKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 1155 | pub fn from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1162 | pub fn from_pem(pem: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1169 | pub fn from_components(n: &[u8], e: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1176 | pub fn to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1180 | pub fn to_pem(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1184 | pub fn to_components(&self) -> RSAPublicKeyComponents { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1188 | pub fn with_key_id(mut self, key_id: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1193 | pub fn sha1_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1197 | pub fn sha256_thumbprint(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sha512` is never constructed [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) enum DigestType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 85 | Sha512, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DigestType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `sha512` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 88 | impl MessageDigest { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn sha512() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `private_key_from_der`, `private_key_to_der`, and `private_key_to_pem` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:451:16 [INFO] [stdout] | [INFO] [stdout] 450 | impl Rsa { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 451 | pub fn private_key_from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 463 | pub fn private_key_to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn private_key_to_pem(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `public_key_from_der`, `public_key_from_der_pkcs1`, `public_key_to_der`, and `public_key_to_pem` are never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:499:16 [INFO] [stdout] | [INFO] [stdout] 498 | impl Rsa { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 499 | pub fn public_key_from_der(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn public_key_from_der_pkcs1(der: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn public_key_to_der(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | pub fn public_key_to_pem(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Private` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:554:15 [INFO] [stdout] | [INFO] [stdout] 554 | pub trait Private: Any { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Public` is never used [INFO] [stdout] --> src/atomic_jwt/algorithms/rsa/rsa_fure.rs:561:15 [INFO] [stdout] | [INFO] [stdout] 561 | pub trait Public: Any { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `invalid_before` is never used [INFO] [stdout] --> src/atomic_jwt/claims.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl JWTClaims { [INFO] [stdout] | ------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn invalid_before(mut self, unix_timestamp: UnixTimeStamp) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_key_set_url`, `with_public_key`, `with_certificate_url`, and `with_certificate_sha256_thumbprint` are never used [INFO] [stdout] --> src/atomic_jwt/common.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl KeyMetadata { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 92 | /// Add a key set URL to the metadata ("jku") [INFO] [stdout] 93 | pub fn with_key_set_url(mut self, key_set_url: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn with_public_key(mut self, public_key: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn with_certificate_url(mut self, certificate_url: impl ToString) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn with_certificate_sha256_thumbprint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/atomic_jwt/token.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TokenMetadata { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn algorithm(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn content_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn key_id(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn signature_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn critical(&self) -> Option<&[String]> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn certificate_chain(&self) -> Option<&[String]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn key_set_url(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn public_key(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn certificate_url(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn certificate_sha256_thumbprint(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CWTDecodingError` and `TooManyIssuers` are never constructed [INFO] [stdout] --> src/atomic_jwt/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum JWTError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | CWTDecodingError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | TooManyIssuers, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JWTError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `h` is never read [INFO] [stdout] --> src/helpers/crypto/ec.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct EcGroup { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub h: BigUint, // cofactor [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `EcGroup` 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: variant `PointAtInfinity` is never constructed [INFO] [stdout] --> src/helpers/crypto/ec.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub enum EcPointError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 137 | PointAtInfinity, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EcPointError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Compressed` and `Hybrid` are never constructed [INFO] [stdout] --> src/helpers/crypto/ec.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub enum PointConversionForm { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 151 | Compressed, // 0x02 or 0x03 prefix [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 152 | Uncompressed, // 0x04 prefix [INFO] [stdout] 153 | Hybrid, // 0x06 or 0x07 prefix [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointConversionForm` 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 `key_type` is never read [INFO] [stdout] --> src/helpers/crypto/ec.rs:797:5 [INFO] [stdout] | [INFO] [stdout] 795 | pub struct PKey { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 796 | pub key_data: Vec, [INFO] [stdout] 797 | key_type: PKeyType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PKey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/helpers/crypto/ec.rs:814:12 [INFO] [stdout] | [INFO] [stdout] 805 | impl PKey { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 814 | pub fn as_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cipher` and `buffer` are never read [INFO] [stdout] --> src/helpers/crypto/symm.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Crypter { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 34 | cipher: Cipher, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | buffer: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StringUtil` is never used [INFO] [stdout] --> src/helpers/traits/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait StringUtil { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c4282373510be6f494b29716db61589dd61080a12392c74c102308bb40a50ae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4282373510be6f494b29716db61589dd61080a12392c74c102308bb40a50ae6", kill_on_drop: false }` [INFO] [stdout] c4282373510be6f494b29716db61589dd61080a12392c74c102308bb40a50ae6