[INFO] fetching crate libkeri 0.1.0... [INFO] linting libkeri-0.1.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate libkeri 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate libkeri 0.1.0 [INFO] finished tweaking crates.io crate libkeri 0.1.0 [INFO] tweaked toml for crates.io crate libkeri 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libkeri 0.1.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libkeri 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.39 [INFO] [stderr] Downloaded keccak v0.2.0-pre.0 [INFO] [stderr] Downloaded hybrid-array v0.3.0 [INFO] [stderr] Downloaded const-oid v0.10.0 [INFO] [stderr] Downloaded heed-traits v0.20.0 [INFO] [stderr] Downloaded crypto-common v0.2.0-rc.2 [INFO] [stderr] Downloaded heed-types v0.21.0 [INFO] [stderr] Downloaded doxygen-rs v0.4.2 [INFO] [stderr] Downloaded synchronoise v1.0.1 [INFO] [stderr] Downloaded block-buffer v0.11.0-rc.4 [INFO] [stderr] Downloaded digest v0.11.0-pre.10 [INFO] [stderr] Downloaded heed v0.22.0 [INFO] [stderr] Downloaded lmdb-master-sys v0.2.5 [INFO] [stderr] Downloaded blake3 v1.6.1 [INFO] [stderr] Downloaded syn v2.0.99 [INFO] [stderr] Downloaded tokio v1.44.0 [INFO] [stderr] Downloaded sha3 v0.11.0-pre.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96afa6b9ac443dcbae9d64c63aa0988f784c81763721af59894845c3bc114f1e [INFO] running `Command { std: "docker" "start" "-a" "96afa6b9ac443dcbae9d64c63aa0988f784c81763721af59894845c3bc114f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96afa6b9ac443dcbae9d64c63aa0988f784c81763721af59894845c3bc114f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96afa6b9ac443dcbae9d64c63aa0988f784c81763721af59894845c3bc114f1e", kill_on_drop: false }` [INFO] [stdout] 96afa6b9ac443dcbae9d64c63aa0988f784c81763721af59894845c3bc114f1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a03c1f0fff027dac4a1272bdf3a98cea0a78bc4d0ad9a506b901fc0ae3412d5 [INFO] running `Command { std: "docker" "start" "-a" "9a03c1f0fff027dac4a1272bdf3a98cea0a78bc4d0ad9a506b901fc0ae3412d5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking base64ct v1.7.3 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking const-oid v0.10.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling heed v0.22.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking heed-traits v0.20.0 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking keccak v0.2.0-pre.0 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking synchronoise v1.0.1 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking hybrid-array v0.3.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Compiling blake3 v1.6.1 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking crypto-common v0.2.0-rc.2 [INFO] [stderr] Checking block-buffer v0.11.0-rc.4 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking digest v0.11.0-pre.10 [INFO] [stderr] Checking sha3 v0.11.0-pre.5 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking secp256k1 v0.30.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling doxygen-rs v0.4.2 [INFO] [stderr] Checking tokio v1.44.0 [INFO] [stderr] Compiling lmdb-master-sys v0.2.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking heed-types v0.21.0 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking sodiumoxide v0.2.7 [INFO] [stderr] Checking libkeri v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/counting/mod.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | pub static TUPLE: [&'static str; 4] = [KERI_ACDC_SPAC, KERI, ACDC, SPAC]; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/cesr/ilker.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / /// converting the raw ASCII representation to Base64. [INFO] [stdout] 11 | | [INFO] [stdout] | |_^ [INFO] [stdout] 12 | pub struct Ilker { [INFO] [stdout] | ---------------- the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/cesr/indexing/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / /// Undefined are left out so that inclusion(exclusion) via 'in' operator works. [INFO] [stdout] 38 | | [INFO] [stdout] | |_^ [INFO] [stdout] 39 | pub const ED25519_SIG: &str = "A"; // Ed25519 sig appears same in both lists if any. [INFO] [stdout] | --------------------- the comment documents this constant item [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/indexing/mod.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | pub static VALUES: [&'static str; 19] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/cesr/indexing/mod.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / /// Undefined are left out so that inclusion(exclusion) via 'in' operator works. [INFO] [stdout] 117 | | [INFO] [stdout] | |_^ [INFO] [stdout] 118 | pub const ED25519_SIG: &str = "A"; // Ed25519 sig appears same in both lists if any. [INFO] [stdout] | --------------------- the comment documents this constant item [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/indexing/mod.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | pub static TUPLE: [&'static str; 16] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/cesr/indexing/mod.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / /// Undefined are left out so that inclusion(exclusion) via 'in' operator works. [INFO] [stdout] 187 | | [INFO] [stdout] | |_^ [INFO] [stdout] 188 | pub const ED25519_CRT_SIG: &str = "B"; // Ed25519 sig appears in current list only. [INFO] [stdout] | ------------------------- the comment documents this constant item [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/indexing/mod.rs:212:25 [INFO] [stdout] | [INFO] [stdout] 212 | pub static TUPLE: [&'static str; 8] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/cesr/indexing/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | / /// Undefined are left out so that inclusion(exclusion) via 'in' operator works. [INFO] [stdout] 233 | | [INFO] [stdout] | |_^ [INFO] [stdout] 234 | pub const ED25519_SIG: &str = "A"; // Ed25519 sig appears same in both lists if any. [INFO] [stdout] | --------------------- the comment documents this constant item [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/indexing/mod.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | pub static TUPLE: [&'static str; 8] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/cesr/labeler.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / /// the total encoded size of associated field label or textual field value. a small raw [INFO] [stdout] 8 | | [INFO] [stdout] | |_^ [INFO] [stdout] 9 | pub struct Labeler { [INFO] [stdout] | ------------------ the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/signing/mod.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | pub static TUPLE: [&'static str; 6] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/signing/mod.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | pub static TUPLE: [&'static str; 6] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/signing/mod.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | pub static TUPLE: [&'static str; 2] = [X25519_CIPHER_SEED, X25519_CIPHER_SALT]; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/signing/mod.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | pub static TUPLE: [&'static str; 8] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/signing/mod.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | pub static TUPLE: [&'static str; 6] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/signing/mod.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | pub static TUPLE: [&'static str; 18] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/signing/mod.rs:390:25 [INFO] [stdout] | [INFO] [stdout] 390 | pub static TUPLE: [&'static str; 20] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/cesr/texter.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / /// text strings as bytes not unicode. Unicode strings converted to bytes. [INFO] [stdout] 8 | | [INFO] [stdout] | |_^ [INFO] [stdout] 9 | pub struct Texter { [INFO] [stdout] | ----------------- the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/mod.rs:359:25 [INFO] [stdout] | [INFO] [stdout] 359 | pub static TUPLE: [&'static str; 6] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/mod.rs:607:25 [INFO] [stdout] | [INFO] [stdout] 607 | pub static TUPLE: [&'static str; 3] = [LEAD0, LEAD1, LEAD2]; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/mod.rs:628:25 [INFO] [stdout] | [INFO] [stdout] 628 | pub static TUPLE: [&'static str; 3] = [LEAD0_BIG, LEAD1_BIG, LEAD2_BIG]; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/mod.rs:777:25 [INFO] [stdout] | [INFO] [stdout] 777 | pub static TUPLE: [&'static str; 9] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/mod.rs:837:25 [INFO] [stdout] | [INFO] [stdout] 837 | pub static TUPLE: [&'static str; 8] = [SHORT, LONG, TALL, BIG, LARGE, GREAT, HUGE, VAST]; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/mod.rs:1093:25 [INFO] [stdout] | [INFO] [stdout] 1093 | pub static TUPLE: [&'static str; 18] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/mod.rs:1144:25 [INFO] [stdout] | [INFO] [stdout] 1144 | pub static TUPLE: [&'static str; 4] = [ED25519N, ECDSA_256K1N, ED448N, ECDSA_256R1N]; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/hio/hicting.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/keri/app/configing.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FilerContext` [INFO] [stdout] --> src/keri/app/configing.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::hio::filing::{Filer, FilerContext}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cesr::seqner::Seqner` [INFO] [stdout] --> src/keri/app/habbing.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::cesr::seqner::Seqner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/keri/app/habbing.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/keri/app/habbing.rs:2723:1 [INFO] [stdout] | [INFO] [stdout] 2723 | / /// * `accepted` - True means accepted into local KEL. False otherwise [INFO] [stdout] 2724 | | [INFO] [stdout] | |_^ [INFO] [stdout] 2725 | pub struct Hab<'db, R> { [INFO] [stdout] | -------------- the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/incept.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/incept.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/incept.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 353 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/incept.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::keri::db::subing::SuberError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::keri::db::subing::SuberError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string::FromUtf8Error` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::string::FromUtf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:419:17 [INFO] [stdout] | [INFO] [stdout] 419 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:426:17 [INFO] [stdout] | [INFO] [stdout] 426 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/keri/core/eventing/state.rs:293:38 [INFO] [stdout] | [INFO] [stdout] 293 | const MAX_INT_THOLD: usize = 2 ^ 32 - 1; [INFO] [stdout] | ^^^^^^^^^^ help: consider parenthesizing your expression: `2 ^ (32 - 1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] = note: `#[warn(clippy::precedence)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `incept::*` [INFO] [stdout] --> src/keri/core/eventing/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use incept::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interact::*` [INFO] [stdout] --> src/keri/core/eventing/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use interact::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query::*` [INFO] [stdout] --> src/keri/core/eventing/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub use query::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `receipt::*` [INFO] [stdout] --> src/keri/core/eventing/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub use receipt::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rotate::*` [INFO] [stdout] --> src/keri/core/eventing/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use rotate::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state::*` [INFO] [stdout] --> src/keri/core/eventing/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use state::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cesr::verfer::Verfer` [INFO] [stdout] --> src/keri/core/routing/revery.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::cesr::verfer::Verfer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `route::Route` [INFO] [stdout] --> src/keri/core/routing/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use route::Route; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::keri::db::subing::catcesr::CatCesrSuber` [INFO] [stdout] --> src/keri/db/basing/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::keri::db::subing::catcesr::CatCesrSuber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/keri/db/dbing/keys.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | / /// * `Vec` - actual DB key with suffixed insertion order number [INFO] [stdout] 234 | | // pub fn suffix(key: impl AsRef<[u8]>, sep: Option>) -> Result, DBError> { [INFO] [stdout] 235 | | [INFO] [stdout] | |_^ [INFO] [stdout] 236 | pub fn suffix(key: impl AsRef<[u8]>, ion: u64, sep: Option<[u8; 1]>) -> Vec { [INFO] [stdout] | ------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the doc comment should not document function `suffix` then comment it out [INFO] [stdout] | [INFO] [stdout] 224 ~ // /// Returns actual DB key after concatenating suffix as hex version [INFO] [stdout] 225 ~ // /// of insertion ordering ordinal int ion using separator sep. [INFO] [stdout] 226 ~ // /// [INFO] [stdout] 227 ~ // /// # Parameters [INFO] [stdout] 228 ~ // /// * `key` - apparent effective database key (unsuffixed) [INFO] [stdout] 229 ~ // /// * `ion` - insertion ordering ordinal for set of vals [INFO] [stdout] 230 ~ // /// * `sep` - separator character(s) for concatenating suffix (default is b'.') [INFO] [stdout] 231 ~ // /// [INFO] [stdout] 232 ~ // /// # Returns [INFO] [stdout] 233 ~ // /// * `Vec` - actual DB key with suffixed insertion order number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/keri/db/subing/catcesr.rs:476:1 [INFO] [stdout] | [INFO] [stdout] 476 | / /// CatCesrSuber is a wrapper around CatCesrSuberBase that provides the complete Suber interface [INFO] [stdout] 477 | | [INFO] [stdout] | |_^ [INFO] [stdout] 478 | pub struct CatCesrSuber<'db, M: Matter> { [INFO] [stdout] | ----------------------- the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BytesDatabase` [INFO] [stdout] --> src/keri/db/subing/iodup.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::keri::db::dbing::{BytesDatabase, LMDBer}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/keri/db/subing/iodup.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/keri/db/subing/ioset.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / /// Represents an Insertion Ordered Set Suber. [INFO] [stdout] 7 | | [INFO] [stdout] | |_^ [INFO] [stdout] 8 | pub struct IoSetSuber<'db, C: ValueCodec = Utf8Codec> { [INFO] [stdout] | --------------------- the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LMDBerBuilder` and `LMDBer` [INFO] [stdout] --> src/keri/db/subing/ioset.rs:397:34 [INFO] [stdout] | [INFO] [stdout] 397 | use crate::keri::db::dbing::{LMDBer, LMDBerBuilder}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::keri::db::subing::ioset::IoSetSuber` [INFO] [stdout] --> src/keri/db/subing/ioset.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | use crate::keri::db::subing::ioset::IoSetSuber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SuberError` and `Utf8Codec` [INFO] [stdout] --> src/keri/db/subing/ioset.rs:399:35 [INFO] [stdout] | [INFO] [stdout] 399 | use crate::keri::db::subing::{SuberError, Utf8Codec}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/keri/db/subing/ioset.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::tempdir` [INFO] [stdout] --> src/keri/db/subing/ioset.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | use tempfile::tempdir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Bound` [INFO] [stdout] --> src/keri/db/subing/oniodup.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::Bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/keri/app/keeping/manager.rs:265:35 [INFO] [stdout] | [INFO] [stdout] 265 | Some(&base64::decode(secret).map_err(|e| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/counting/mod.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | pub static TUPLE: [&'static str; 4] = [KERI_ACDC_SPAC, KERI, ACDC, SPAC]; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/cesr/ilker.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / /// converting the raw ASCII representation to Base64. [INFO] [stdout] 11 | | [INFO] [stdout] | |_^ [INFO] [stdout] 12 | pub struct Ilker { [INFO] [stdout] | ---------------- the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/cesr/indexing/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / /// Undefined are left out so that inclusion(exclusion) via 'in' operator works. [INFO] [stdout] 38 | | [INFO] [stdout] | |_^ [INFO] [stdout] 39 | pub const ED25519_SIG: &str = "A"; // Ed25519 sig appears same in both lists if any. [INFO] [stdout] | --------------------- the comment documents this constant item [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/indexing/mod.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | pub static VALUES: [&'static str; 19] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/cesr/indexing/mod.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / /// Undefined are left out so that inclusion(exclusion) via 'in' operator works. [INFO] [stdout] 117 | | [INFO] [stdout] | |_^ [INFO] [stdout] 118 | pub const ED25519_SIG: &str = "A"; // Ed25519 sig appears same in both lists if any. [INFO] [stdout] | --------------------- the comment documents this constant item [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/indexing/mod.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | pub static TUPLE: [&'static str; 16] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/cesr/indexing/mod.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / /// Undefined are left out so that inclusion(exclusion) via 'in' operator works. [INFO] [stdout] 187 | | [INFO] [stdout] | |_^ [INFO] [stdout] 188 | pub const ED25519_CRT_SIG: &str = "B"; // Ed25519 sig appears in current list only. [INFO] [stdout] | ------------------------- the comment documents this constant item [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/indexing/mod.rs:212:25 [INFO] [stdout] | [INFO] [stdout] 212 | pub static TUPLE: [&'static str; 8] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/cesr/indexing/mod.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | / /// Undefined are left out so that inclusion(exclusion) via 'in' operator works. [INFO] [stdout] 233 | | [INFO] [stdout] | |_^ [INFO] [stdout] 234 | pub const ED25519_SIG: &str = "A"; // Ed25519 sig appears same in both lists if any. [INFO] [stdout] | --------------------- the comment documents this constant item [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/indexing/mod.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | pub static TUPLE: [&'static str; 8] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/cesr/labeler.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / /// the total encoded size of associated field label or textual field value. a small raw [INFO] [stdout] 8 | | [INFO] [stdout] | |_^ [INFO] [stdout] 9 | pub struct Labeler { [INFO] [stdout] | ------------------ the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/signing/mod.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | pub static TUPLE: [&'static str; 6] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/signing/mod.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | pub static TUPLE: [&'static str; 6] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/signing/mod.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | pub static TUPLE: [&'static str; 2] = [X25519_CIPHER_SEED, X25519_CIPHER_SALT]; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/signing/mod.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | pub static TUPLE: [&'static str; 8] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/signing/mod.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | pub static TUPLE: [&'static str; 6] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/signing/mod.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | pub static TUPLE: [&'static str; 18] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/signing/mod.rs:390:25 [INFO] [stdout] | [INFO] [stdout] 390 | pub static TUPLE: [&'static str; 20] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/cesr/texter.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / /// text strings as bytes not unicode. Unicode strings converted to bytes. [INFO] [stdout] 8 | | [INFO] [stdout] | |_^ [INFO] [stdout] 9 | pub struct Texter { [INFO] [stdout] | ----------------- the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/mod.rs:359:25 [INFO] [stdout] | [INFO] [stdout] 359 | pub static TUPLE: [&'static str; 6] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/mod.rs:607:25 [INFO] [stdout] | [INFO] [stdout] 607 | pub static TUPLE: [&'static str; 3] = [LEAD0, LEAD1, LEAD2]; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/mod.rs:628:25 [INFO] [stdout] | [INFO] [stdout] 628 | pub static TUPLE: [&'static str; 3] = [LEAD0_BIG, LEAD1_BIG, LEAD2_BIG]; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/mod.rs:777:25 [INFO] [stdout] | [INFO] [stdout] 777 | pub static TUPLE: [&'static str; 9] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/mod.rs:837:25 [INFO] [stdout] | [INFO] [stdout] 837 | pub static TUPLE: [&'static str; 8] = [SHORT, LONG, TALL, BIG, LARGE, GREAT, HUGE, VAST]; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/mod.rs:1093:25 [INFO] [stdout] | [INFO] [stdout] 1093 | pub static TUPLE: [&'static str; 18] = [ [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/cesr/mod.rs:1144:25 [INFO] [stdout] | [INFO] [stdout] 1144 | pub static TUPLE: [&'static str; 4] = [ED25519N, ECDSA_256K1N, ED448N, ECDSA_256R1N]; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/hio/hicting.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/keri/app/configing.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FilerContext` [INFO] [stdout] --> src/keri/app/configing.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::hio::filing::{Filer, FilerContext}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cesr::seqner::Seqner` [INFO] [stdout] --> src/keri/app/habbing.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::cesr::seqner::Seqner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/keri/app/habbing.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/keri/app/habbing.rs:2723:1 [INFO] [stdout] | [INFO] [stdout] 2723 | / /// * `accepted` - True means accepted into local KEL. False otherwise [INFO] [stdout] 2724 | | [INFO] [stdout] | |_^ [INFO] [stdout] 2725 | pub struct Hab<'db, R> { [INFO] [stdout] | -------------- the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/incept.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/incept.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/incept.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 353 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/incept.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::keri::db::subing::SuberError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::keri::db::subing::SuberError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string::FromUtf8Error` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::string::FromUtf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:419:17 [INFO] [stdout] | [INFO] [stdout] 419 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit expression [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:426:17 [INFO] [stdout] | [INFO] [stdout] 426 | () [INFO] [stdout] | ^^ help: remove the final `()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/keri/core/eventing/state.rs:293:38 [INFO] [stdout] | [INFO] [stdout] 293 | const MAX_INT_THOLD: usize = 2 ^ 32 - 1; [INFO] [stdout] | ^^^^^^^^^^ help: consider parenthesizing your expression: `2 ^ (32 - 1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] = note: `#[warn(clippy::precedence)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query::*` [INFO] [stdout] --> src/keri/core/eventing/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub use query::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `receipt::*` [INFO] [stdout] --> src/keri/core/eventing/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub use receipt::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state::*` [INFO] [stdout] --> src/keri/core/eventing/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use state::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cesr::BaseMatter` [INFO] [stdout] --> src/keri/core/parsing.rs:1891:9 [INFO] [stdout] | [INFO] [stdout] 1891 | use crate::cesr::BaseMatter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cesr::verfer::Verfer` [INFO] [stdout] --> src/keri/core/routing/revery.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::cesr::verfer::Verfer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `route::Route` [INFO] [stdout] --> src/keri/core/routing/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use route::Route; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::keri::db::subing::catcesr::CatCesrSuber` [INFO] [stdout] --> src/keri/db/basing/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::keri::db::subing::catcesr::CatCesrSuber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/keri/db/dbing/keys.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | / /// * `Vec` - actual DB key with suffixed insertion order number [INFO] [stdout] 234 | | // pub fn suffix(key: impl AsRef<[u8]>, sep: Option>) -> Result, DBError> { [INFO] [stdout] 235 | | [INFO] [stdout] | |_^ [INFO] [stdout] 236 | pub fn suffix(key: impl AsRef<[u8]>, ion: u64, sep: Option<[u8; 1]>) -> Vec { [INFO] [stdout] | ------------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] help: if the doc comment should not document function `suffix` then comment it out [INFO] [stdout] | [INFO] [stdout] 224 ~ // /// Returns actual DB key after concatenating suffix as hex version [INFO] [stdout] 225 ~ // /// of insertion ordering ordinal int ion using separator sep. [INFO] [stdout] 226 ~ // /// [INFO] [stdout] 227 ~ // /// # Parameters [INFO] [stdout] 228 ~ // /// * `key` - apparent effective database key (unsuffixed) [INFO] [stdout] 229 ~ // /// * `ion` - insertion ordering ordinal for set of vals [INFO] [stdout] 230 ~ // /// * `sep` - separator character(s) for concatenating suffix (default is b'.') [INFO] [stdout] 231 ~ // /// [INFO] [stdout] 232 ~ // /// # Returns [INFO] [stdout] 233 ~ // /// * `Vec` - actual DB key with suffixed insertion order number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/keri/db/subing/catcesr.rs:476:1 [INFO] [stdout] | [INFO] [stdout] 476 | / /// CatCesrSuber is a wrapper around CatCesrSuberBase that provides the complete Suber interface [INFO] [stdout] 477 | | [INFO] [stdout] | |_^ [INFO] [stdout] 478 | pub struct CatCesrSuber<'db, M: Matter> { [INFO] [stdout] | ----------------------- the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/keri/db/subing/catcesr.rs:967:20 [INFO] [stdout] | [INFO] [stdout] 967 | if (key_parts[0] == "b" && key_parts[1] == "1" && val == matter0.qb64()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 967 - if (key_parts[0] == "b" && key_parts[1] == "1" && val == matter0.qb64()) { [INFO] [stdout] 967 + if key_parts[0] == "b" && key_parts[1] == "1" && val == matter0.qb64() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/keri/db/subing/catcesr.rs:970:20 [INFO] [stdout] | [INFO] [stdout] 970 | if (key_parts[0] == "b" && key_parts[1] == "2" && val == matter1.qb64()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 970 - if (key_parts[0] == "b" && key_parts[1] == "2" && val == matter1.qb64()) { [INFO] [stdout] 970 + if key_parts[0] == "b" && key_parts[1] == "2" && val == matter1.qb64() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LMDBer` [INFO] [stdout] --> src/keri/db/subing/cesrioset.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | use crate::keri::db::dbing::{LMDBer, LMDBerBuilder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/keri/db/subing/cesrioset.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BytesDatabase` [INFO] [stdout] --> src/keri/db/subing/iodup.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::keri::db::dbing::{BytesDatabase, LMDBer}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/keri/db/subing/iodup.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/keri/db/subing/ioset.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / /// Represents an Insertion Ordered Set Suber. [INFO] [stdout] 7 | | [INFO] [stdout] | |_^ [INFO] [stdout] 8 | pub struct IoSetSuber<'db, C: ValueCodec = Utf8Codec> { [INFO] [stdout] | --------------------- the comment documents this struct [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LMDBer` [INFO] [stdout] --> src/keri/db/subing/ioset.rs:397:34 [INFO] [stdout] | [INFO] [stdout] 397 | use crate::keri::db::dbing::{LMDBer, LMDBerBuilder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Bound` [INFO] [stdout] --> src/keri/db/subing/oniodup.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::Bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LMDBer` [INFO] [stdout] --> src/keri/db/subing/oniodup.rs:517:34 [INFO] [stdout] | [INFO] [stdout] 517 | use crate::keri::db::dbing::{LMDBer, LMDBerBuilder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/keri/app/keeping/manager.rs:265:35 [INFO] [stdout] | [INFO] [stdout] 265 | Some(&base64::decode(secret).map_err(|e| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/keri/app/habbing.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut hab = BaseHab { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/keri/app/habbing.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | count: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/keri/app/habbing.rs:1655:20 [INFO] [stdout] | [INFO] [stdout] 1655 | for (keys, end) in items { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pre_keys` [INFO] [stdout] --> src/keri/app/habbing.rs:2021:14 [INFO] [stdout] | [INFO] [stdout] 2021 | for (pre_keys, said_bytes) in items { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_keys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verfers` [INFO] [stdout] --> src/keri/app/habbing.rs:3090:14 [INFO] [stdout] | [INFO] [stdout] 3090 | let (verfers, digers) = match self.mgr.replay( [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verfers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `digers` [INFO] [stdout] --> src/keri/app/habbing.rs:3090:23 [INFO] [stdout] | [INFO] [stdout] 3090 | let (verfers, digers) = match self.mgr.replay( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_digers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pubs` is never read [INFO] [stdout] --> src/keri/app/keeping/manager.rs:252:24 [INFO] [stdout] | [INFO] [stdout] 252 | let mut pubs = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pp` [INFO] [stdout] --> src/keri/app/keeping/manager.rs:485:13 [INFO] [stdout] | [INFO] [stdout] 485 | let pp = self.ks.prms.get(&[pre])?.ok_or_else(|| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/core/eventing/incept.rs:264:77 [INFO] [stdout] | [INFO] [stdout] 264 | TholderSith::Weights(w) => serde_json::to_value(w).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/core/eventing/incept.rs:258:74 [INFO] [stdout] | [INFO] [stdout] 258 | TholderSith::Json(s) => serde_json::from_str(s).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/core/eventing/incept.rs:240:81 [INFO] [stdout] | [INFO] [stdout] 240 | TholderSith::Weights(w) => serde_json::to_value(w).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/core/eventing/incept.rs:234:78 [INFO] [stdout] | [INFO] [stdout] 234 | TholderSith::Json(s) => serde_json::from_str(s).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_u64` [INFO] [stdout] --> src/keri/core/eventing/incept.rs:291:29 [INFO] [stdout] | [INFO] [stdout] 291 | if let Some(n_u64) = n.as_u64() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_n_u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_u64` [INFO] [stdout] --> src/keri/core/eventing/incept.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | if let Some(n_u64) = n.as_u64() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_n_u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_u64` [INFO] [stdout] --> src/keri/core/eventing/incept.rs:347:29 [INFO] [stdout] | [INFO] [stdout] 347 | if let Some(n_u64) = n.as_u64() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_n_u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `saids_map` is assigned to, but never used [INFO] [stdout] --> src/keri/core/eventing/incept.rs:395:13 [INFO] [stdout] | [INFO] [stdout] 395 | let mut saids_map = None; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_saids_map` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `saids_map` is never read [INFO] [stdout] --> src/keri/core/eventing/incept.rs:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | saids_map = Some(map); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1016:13 [INFO] [stdout] | [INFO] [stdout] 1016 | let dest = match (&source, &cigars) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1039:21 [INFO] [stdout] | [INFO] [stdout] 1039 | let src = qry [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1249:21 [INFO] [stdout] | [INFO] [stdout] 1249 | let src = qry [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topics` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1259:21 [INFO] [stdout] | [INFO] [stdout] 1259 | let topics = qry [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_topics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:368:77 [INFO] [stdout] | [INFO] [stdout] 368 | TholderSith::Weights(w) => serde_json::to_value(w).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:362:74 [INFO] [stdout] | [INFO] [stdout] 362 | TholderSith::Json(s) => serde_json::from_str(s).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:316:81 [INFO] [stdout] | [INFO] [stdout] 316 | TholderSith::Weights(w) => serde_json::to_value(w).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:310:78 [INFO] [stdout] | [INFO] [stdout] 310 | TholderSith::Json(s) => serde_json::from_str(s).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eesner` [INFO] [stdout] --> src/keri/core/eventing/state.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | let eesner = Number::from_numh(&self.eevt.s)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_eesner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/keri/core/parsing.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | let mut temp_buffer = ims.to_vec(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/keri/core/parsing.rs:314:21 [INFO] [stdout] | [INFO] [stdout] 314 | let mut kevery_guard = self.handlers.kevery.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cigars` [INFO] [stdout] --> src/keri/core/parsing.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | cigars, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `cigars: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processing_attachments` [INFO] [stdout] --> src/keri/core/parsing.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | let processing_attachments = self.attachment_processing && self.buffer.get(0) == Some(&45); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processing_attachments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/core/parsing.rs:524:61 [INFO] [stdout] | [INFO] [stdout] 524 | ... Err(e) => break, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `attachment_size` is never read [INFO] [stdout] --> src/keri/core/parsing.rs:634:35 [INFO] [stdout] | [INFO] [stdout] 634 | let mut attachment_size = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/keri/core/parsing.rs:867:13 [INFO] [stdout] | [INFO] [stdout] 859 | ctr_dex_1_0::NON_TRANS_RECEIPT_COUPLES => { [INFO] [stdout] | -------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 867 | ctr_dex_1_0::NON_TRANS_RECEIPT_COUPLES => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `serder` [INFO] [stdout] --> src/keri/core/routing/route.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | serder: &crate::keri::core::serdering::SerderKERI, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_serder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `saider` [INFO] [stdout] --> src/keri/core/routing/route.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | saider: &crate::cesr::saider::Saider, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_saider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cigars` [INFO] [stdout] --> src/keri/core/routing/route.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | cigars: Option<&[crate::cesr::indexing::siger::Siger]>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cigars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tsgs` [INFO] [stdout] --> src/keri/core/routing/route.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | tsgs: Option< [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tsgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/keri/core/routing/route.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | params: std::collections::HashMap, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/keri/db/dbing/mod.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | let mut iter = db.range(&rtxn, &range)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ckey` [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1026:51 [INFO] [stdout] | [INFO] [stdout] 1026 | self.get_on_item_iter(&db, key, on, sep, |ckey, cn, cval| callback(cval))?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ckey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cn` [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1026:57 [INFO] [stdout] | [INFO] [stdout] 1026 | self.get_on_item_iter(&db, key, on, sep, |ckey, cn, cval| callback(cval))?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1078:16 [INFO] [stdout] | [INFO] [stdout] 1078 | if let (ckey, cion) = unsuffix(&iokey, Some(sep))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1153:16 [INFO] [stdout] | [INFO] [stdout] 1153 | if let (ckey, _) = unsuffix(&iokey, Some(sep))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1210:16 [INFO] [stdout] | [INFO] [stdout] 1210 | if let (ckey, cion) = unsuffix(&iokey, Some(sep))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1286:16 [INFO] [stdout] | [INFO] [stdout] 1286 | if let (ckey, _) = unsuffix(&iokey, Some(sep))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1361:16 [INFO] [stdout] | [INFO] [stdout] 1361 | if let (ckey, _) = unsuffix(&iokey, Some(sep))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1348:13 [INFO] [stdout] | [INFO] [stdout] 1348 | let mut iter = db.range(&wtxn, &range)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1517:16 [INFO] [stdout] | [INFO] [stdout] 1517 | if let (ckey, _) = unsuffix(&iokey, Some(sep))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1574:16 [INFO] [stdout] | [INFO] [stdout] 1574 | if let (ckey, cion) = unsuffix(&entry_key, Some(sep))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1589:28 [INFO] [stdout] | [INFO] [stdout] 1589 | if let (ckey, cion) = unsuffix(&prev_key, Some(sep))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1606:20 [INFO] [stdout] | [INFO] [stdout] 1606 | if let (ckey, cion) = unsuffix(&last_key, Some(sep))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1656:16 [INFO] [stdout] | [INFO] [stdout] 1656 | if let (key, _ion) = unsuffix(iokey, Some(sep))? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1713:17 [INFO] [stdout] | [INFO] [stdout] 1713 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1760:21 [INFO] [stdout] | [INFO] [stdout] 1760 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1910:25 [INFO] [stdout] | [INFO] [stdout] 1910 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1922:25 [INFO] [stdout] | [INFO] [stdout] 1922 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/db/dbing/mod.rs:1987:21 [INFO] [stdout] | [INFO] [stdout] 1987 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/db/dbing/mod.rs:2045:17 [INFO] [stdout] | [INFO] [stdout] 2045 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/db/dbing/mod.rs:2065:21 [INFO] [stdout] | [INFO] [stdout] 2065 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/db/dbing/mod.rs:2164:17 [INFO] [stdout] | [INFO] [stdout] 2164 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/db/dbing/mod.rs:2188:21 [INFO] [stdout] | [INFO] [stdout] 2188 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/keri/db/dbing/mod.rs:2292:17 [INFO] [stdout] | [INFO] [stdout] 2292 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/keri/db/subing/serder.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | fn deserialize>>(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAD` is never used [INFO] [stdout] --> src/cesr/mod.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const PAD: &str = "_"; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_vec` is never used [INFO] [stdout] --> src/cesr/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Versionage { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 69 | pub fn to_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tiers` is never used [INFO] [stdout] --> src/cesr/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | pub enum Tiers { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `LOW`, `MED`, and `HIGH` are never used [INFO] [stdout] --> src/cesr/mod.rs:152:15 [INFO] [stdout] | [INFO] [stdout] 150 | impl Tiers { [INFO] [stdout] | ---------- associated constants in this implementation [INFO] [stdout] 151 | /// String value for the tier [INFO] [stdout] 152 | pub const LOW: &'static str = "low"; [INFO] [stdout] | ^^^ [INFO] [stdout] 153 | /// String value for the tier [INFO] [stdout] 154 | pub const MED: &'static str = "med"; [INFO] [stdout] | ^^^ [INFO] [stdout] 155 | /// String value for the tier [INFO] [stdout] 156 | pub const HIGH: &'static str = "high"; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: it is impossible to refer to the associated constant `LOW` because it is shadowed by this enum variant with the same name [INFO] [stdout] --> src/cesr/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | LOW, [INFO] [stdout] | ^^^ [INFO] [stdout] note: it is impossible to refer to the associated constant `MED` because it is shadowed by this enum variant with the same name [INFO] [stdout] --> src/cesr/mod.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | MED, [INFO] [stdout] | ^^^ [INFO] [stdout] note: it is impossible to refer to the associated constant `HIGH` because it is shadowed by this enum variant with the same name [INFO] [stdout] --> src/cesr/mod.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | HIGH, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Coldage` is never constructed [INFO] [stdout] --> src/cesr/mod.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct Coldage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cesr/mod.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 236 | impl Coldage { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 237 | pub fn new(msg: &'static str, txt: &'static str, bny: &'static str, ano: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLDS` is never used [INFO] [stdout] --> src/cesr/mod.rs:264:11 [INFO] [stdout] | [INFO] [stdout] 264 | pub const COLDS: Coldage = Coldage { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sniff` is never used [INFO] [stdout] --> src/cesr/mod.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn sniff(ims: &[u8]) -> Result<&'static str, MatterError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bards` is never used [INFO] [stdout] --> src/cesr/mod.rs:2209:8 [INFO] [stdout] | [INFO] [stdout] 2209 | pub fn get_bards() -> HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_qb2` is never used [INFO] [stdout] --> src/cesr/mod.rs:2268:8 [INFO] [stdout] | [INFO] [stdout] 2266 | pub trait Parsable: Sized { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] 2267 | fn from_qb64b(data: &mut Vec, strip: Option) -> Result; [INFO] [stdout] 2268 | fn from_qb2(data: &mut Vec, strip: Option) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_raw`, `bexfil`, and `from_soft_and_code` are never used [INFO] [stdout] --> src/cesr/mod.rs:2430:12 [INFO] [stdout] | [INFO] [stdout] 2287 | impl BaseMatter { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 2430 | pub fn from_raw(raw: Option<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2565 | pub fn bexfil(qb2: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2746 | fn from_soft_and_code(soft: &str, code: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nab_sextets` is never used [INFO] [stdout] --> src/cesr/mod.rs:3016:8 [INFO] [stdout] | [INFO] [stdout] 3016 | pub fn nab_sextets(b: &[u8], l: usize) -> Result, MatterError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `code_b2_to_b64` is never used [INFO] [stdout] --> src/cesr/mod.rs:3074:8 [INFO] [stdout] | [INFO] [stdout] 3074 | pub fn code_b2_to_b64(b: &[u8], l: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_base64` is never used [INFO] [stdout] --> src/cesr/mod.rs:3101:4 [INFO] [stdout] | [INFO] [stdout] 3101 | fn is_base64(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_qb64`, `bext`, `rawify`, `from_bext`, and `derawify` are never used [INFO] [stdout] --> src/cesr/bexter.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Bexter { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 25 | /// Creates a new Number from a numeric value [INFO] [stdout] 26 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn from_qb64(qb64: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn bext(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn rawify(bext: &[u8]) -> Result, MatterError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn from_bext(bext: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn derawify(raw: &[u8], code: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cigar` is never constructed [INFO] [stdout] --> src/cesr/cigar.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Cigar { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_raw`, `from_qb64`, `verfer`, `set_verfer`, and `clear_verfer` are never used [INFO] [stdout] --> src/cesr/cigar.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Cigar { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn from_raw(raw: Option<&[u8]>, verfer: Option) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn from_qb64(qb64: &str, verfer: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn verfer(&self) -> Option<&Verfer> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set_verfer(&mut self, verfer: Verfer) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn clear_verfer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sizes_2_0` is never used [INFO] [stdout] --> src/cesr/counting/mod.rs:563:8 [INFO] [stdout] | [INFO] [stdout] 563 | pub fn get_sizes_2_0() -> HashMap<&'static str, Cizage> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `BARDS` is never used [INFO] [stdout] --> src/cesr/counting/mod.rs:1030:12 [INFO] [stdout] | [INFO] [stdout] 1030 | pub static BARDS: Lazy, u32>> = Lazy::new(|| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_code_and_count` and `bexfil` are never used [INFO] [stdout] --> src/cesr/counting/mod.rs:1181:12 [INFO] [stdout] | [INFO] [stdout] 1180 | impl BaseCounter { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 1181 | pub fn from_code_and_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1366 | fn bexfil(qb2: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `to_b64_map` is never read [INFO] [stdout] --> src/cesr/dater.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct B64Translator { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 151 | to_b64_map: HashMap>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_b64` is never used [INFO] [stdout] --> src/cesr/dater.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl B64Translator { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn to_b64(&self, s: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cesr/diger.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Diger { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 17 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn from_raw(raw: Option<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn from_qb64(qb64: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn from_ser(ser: &[u8], code: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn from_ser_and_code(ser: &[u8], code: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn digest(ser: &[u8], code: &str) -> Result, MatterError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn digest_blake3_256(data: &[u8]) -> Result<[u8; 32], MatterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn digest_blake2b_512(data: &[u8]) -> Result<[u8; 64], MatterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn digest_blake2b_256(data: &[u8]) -> Result<[u8; 32], MatterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn digest_blake2s_256(data: &[u8]) -> Result<[u8; 32], MatterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn digest_blake3_512(data: &[u8]) -> Result<[u8; 64], MatterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn digest_sha3_256(data: &[u8]) -> Result<[u8; 32], MatterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn digest_sha2_256(data: &[u8]) -> Result<[u8; 32], MatterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn digest_sha3_512(data: &[u8]) -> Result<[u8; 64], MatterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn digest_sha2_512(data: &[u8]) -> Result<[u8; 64], MatterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn verify(&self, ser: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn compare_with_diger(&self, ser: &[u8], other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn compare_with_qb64(&self, ser: &[u8], other: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn compare_with_qb64b(&self, ser: &[u8], other: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ilker` is never constructed [INFO] [stdout] --> src/cesr/ilker.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Ilker { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `from_raw`, and `bexfil` are never used [INFO] [stdout] --> src/cesr/indexing/mod.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 527 | impl BaseIndexer { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 528 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 675 | pub fn from_raw(raw: Option<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 888 | pub fn bexfil(qb2: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `raw_size` is never used [INFO] [stdout] --> src/cesr/indexing/mod.rs:1426:8 [INFO] [stdout] | [INFO] [stdout] 1426 | pub fn raw_size(code: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `verfer` is never read [INFO] [stdout] --> src/cesr/indexing/siger.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Siger { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | base: BaseIndexer, [INFO] [stdout] 16 | verfer: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Siger` 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 `new`, `from_raw`, `from_qb64`, `verfer`, and `set_verfer` are never used [INFO] [stdout] --> src/cesr/indexing/siger.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Siger { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 20 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn from_raw(raw: Option<&[u8]>, verfer: Option) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn from_qb64(qb64: &str, verfer: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn verfer(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn set_verfer(&mut self, verfer: Verfer) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Labeler` is never constructed [INFO] [stdout] --> src/cesr/labeler.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Labeler { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pather` is never constructed [INFO] [stdout] --> src/cesr/pather.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Pather { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `path` and `root` are never used [INFO] [stdout] --> src/cesr/pather.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Pather { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 14 | pub fn path(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn root(&self) -> Pather { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_qb64` and `transferable` are never used [INFO] [stdout] --> src/cesr/prefixer.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Prefixer { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 13 | pub fn from_qb64(qb64: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn transferable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cesr/saider.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 79 | impl Saider { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 80 | /// The placeholder character used to fill digest fields before calculation [INFO] [stdout] 81 | pub const DUMMY: char = '#'; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | [INFO] [stdout] 83 | pub fn from_qb64(qb64: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn from_raw(raw: &[u8], code: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn from_sad( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn derive( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn verify( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | fn verify_internal( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn saidify( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Sigmat` is never used [INFO] [stdout] --> src/cesr/signing/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Sigmat { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ed25519_pk_to_x25519_pk` is never used [INFO] [stdout] --> src/cesr/signing/mod.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn ed25519_pk_to_x25519_pk( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ed25519_sk_to_x25519_sk` is never used [INFO] [stdout] --> src/cesr/signing/mod.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn ed25519_sk_to_x25519_sk( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_raw`, `from_qb64`, and `decrypt` are never used [INFO] [stdout] --> src/cesr/signing/cipher.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Cipher { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new(raw: Option<&[u8]>, code: Option<&str>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn from_raw(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn from_qb64(qb64: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn decrypt( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Decrypter` is never constructed [INFO] [stdout] --> src/cesr/signing/decrypter.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Decrypter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_qb64`, `decrypt`, and `decrypt_x25519` are never used [INFO] [stdout] --> src/cesr/signing/decrypter.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Decrypter { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn from_qb64(qb64: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn decrypt( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn decrypt_x25519( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Encrypter` is never constructed [INFO] [stdout] --> src/cesr/signing/encrypter.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Encrypter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cesr/signing/encrypter.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Encrypter { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn from_qb64(qb64: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn verify_seed(&self, seed: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn encrypt( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn encrypt_x25519(&self, ser: &[u8], code: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn is_qb64_cipher_code(&self, code: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn is_qb2_cipher_code(&self, code: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn is_stream_cipher_code(&self, code: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Salter` is never constructed [INFO] [stdout] --> src/cesr/signing/salter.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Salter { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `stretch`, `signer`, `signers`, `tier`, and `from_qb64_and_tier` are never used [INFO] [stdout] --> src/cesr/signing/salter.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Salter { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 26 | /// Initialize salter's raw and code [INFO] [stdout] 27 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn stretch( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn signer( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn signers( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn tier(&self) -> &Tiers { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn from_qb64_and_tier(data: &str, tier: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `verfer` is never read [INFO] [stdout] --> src/cesr/signing/signer.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Signer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 27 | base: BaseMatter, [INFO] [stdout] 28 | pub verfer: Verfer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Signer` 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/cesr/signing/signer.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Signer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn from_raw(raw: Option<&[u8]>) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn verfer(&self) -> &Verfer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn set_verfer(&mut self, verfer: Verfer) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn sign( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn sign_ed25519( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn sign_secp256r1( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | fn sign_secp256k1( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub fn from_qb64b_and_transferable( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tagger` is never constructed [INFO] [stdout] --> src/cesr/tagger.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Tagger { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texter` is never constructed [INFO] [stdout] --> src/cesr/texter.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Texter { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Simple`, `WeightedVec`, and `WeightedMap` are never constructed [INFO] [stdout] --> src/cesr/tholder.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum WeightSpec { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 16 | /// Simple fractional weight [INFO] [stdout] 17 | Simple(Rational32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | WeightedVec(Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | WeightedMap(Rational32, Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WeightSpec` 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 function `from_sad_value` is never used [INFO] [stdout] --> src/cesr/tholder.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl TholderSith { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 68 | pub fn from_sad_value(val: SadValue) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Weighted` is never constructed [INFO] [stdout] --> src/cesr/tholder.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub enum TholderThold { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 134 | Weighted(Vec>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TholderThold` 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/cesr/tholder.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl Tholder { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn process_thold(thold: TholderThold) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn process_limen(&mut self, limen: &[u8], strip: Option) -> Result<(), MatterError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn process_sith(&mut self, sith: TholderSith) -> Result<(), MatterError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn process_weight_clause( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn satisfy(&self, indices: &[usize]) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | fn satisfy_numeric(&self, indices: &[usize]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 417 | fn satisfy_weighted(&self, indices: &[usize]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 491 | pub fn weighted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | pub fn thold(&self) -> &TholderThold { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 501 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn limen(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 517 | pub fn sith(&self) -> TholderSith { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 586 | pub fn json(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn num(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 604 | fn process_unweighted(&mut self, thold: usize) -> Result<(), MatterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 628 | fn process_weighted(&mut self, thold: Vec>) -> Result<(), MatterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 890 | pub fn weight(weight_str: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_qb64`, `verify`, `ed25519_verify`, `secp256r1_verify`, and `secp256k1_verify` are never used [INFO] [stdout] --> src/cesr/verfer.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Verfer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn from_qb64(qb64: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn verify(&self, sig: &[u8], ser: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn ed25519_verify(&self, sig: &[u8], ser: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn secp256r1_verify(&self, sig: &[u8], ser: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn secp256k1_verify(&self, sig: &[u8], ser: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filer` is never constructed [INFO] [stdout] --> src/hio/filing.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Filer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/hio/filing.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 55 | impl Filer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 56 | // Class constants [INFO] [stdout] 57 | const DEFAULT_HEAD_DIR_PATH: &'static str = "/usr/local/var"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | const DEFAULT_TAIL_DIR_PATH: &'static str = "hio"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | const DEFAULT_CLEAN_TAIL_DIR_PATH: &'static str = "hio/clean"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | const DEFAULT_ALT_TAIL_DIR_PATH: &'static str = ".hio"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | const DEFAULT_ALT_CLEAN_TAIL_DIR_PATH: &'static str = ".hio/clean"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | const DEFAULT_TEMP_PREFIX: &'static str = "hio_"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | const DEFAULT_TEMP_SUFFIX: &'static str = "_test"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | const DEFAULT_PERM: u32 = 0o1700; // S_ISVTX | S_IRUSR | S_IWUSR | S_IXUSR [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 65 | const DEFAULT_MODE: &'static str = "r+"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 66 | const DEFAULT_FEXT: &'static str = "text"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn reopen( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn remake( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | fn try_create_path( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 483 | pub fn exists( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 555 | pub fn close(&mut self, clear: bool) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 570 | fn clear_path(&mut self) -> Result<(), HioError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilerContext` is never constructed [INFO] [stdout] --> src/hio/filing.rs:615:12 [INFO] [stdout] | [INFO] [stdout] 615 | pub struct FilerContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hio/filing.rs:621:12 [INFO] [stdout] | [INFO] [stdout] 620 | impl FilerContext { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 621 | pub fn new(filer: Filer, clear: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_filer` is never used [INFO] [stdout] --> src/hio/filing.rs:649:8 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn open_filer( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ocfn` is never used [INFO] [stdout] --> src/hio/helping.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn ocfn>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mict` is never constructed [INFO] [stdout] --> src/hio/hicting.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Mict [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/hio/hicting.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 18 | / impl Mict [INFO] [stdout] 19 | | where [INFO] [stdout] 20 | | K: std::hash::Hash + Eq + Clone, [INFO] [stdout] 21 | | V: Clone, [INFO] [stdout] | |_____________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_iter(iter: I) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn add(&mut self, key: K, value: V) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set(&mut self, key: K, value: V) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get(&self, key: &K) -> Option<&V> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_last(&self, key: &K) -> Option<&V> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn nab(&self, key: &K, default: Option) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn nabone(&self, key: &K) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_all(&self, key: &K) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn naball(&self, key: &K, default: Option>) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn keys(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn values(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn firsts(&self) -> Vec<(K, V)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn lasts(&self) -> Vec<(K, V)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn contains_key(&self, key: &K) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn items(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERFMT` is never used [INFO] [stdout] --> src/keri/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const VERFMT: &str = "{}{:x}{:x}{}{:0{}x}_"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERRAWSIZE` is never used [INFO] [stdout] --> src/keri/mod.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const VERRAWSIZE: usize = 6; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VER1FULLSPAN` is never used [INFO] [stdout] --> src/keri/mod.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const VER1FULLSPAN: usize = 17; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VER1TERM` is never used [INFO] [stdout] --> src/keri/mod.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const VER1TERM: &[u8] = b"_"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VEREX1` is never used [INFO] [stdout] --> src/keri/mod.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const VEREX1: &[u8] = b"(?P[A-Z]{4})(?P[0-9a-f])(?P[0-9a-f])(?P[A-Z]{4})(?P[0-9a-f]{6})_"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VER2FULLSPAN` is never used [INFO] [stdout] --> src/keri/mod.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const VER2FULLSPAN: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VER2TERM` is never used [INFO] [stdout] --> src/keri/mod.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const VER2TERM: &[u8] = b"."; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VEREX2` is never used [INFO] [stdout] --> src/keri/mod.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const VEREX2: &[u8] = b"(?P[A-Z]{4})(?P[0-9A-Za-z_-])(?P[0-9A-Za-z_-]{2})(?P[A-Z]{4})(?P[0... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VEREX` is never used [INFO] [stdout] --> src/keri/mod.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const VEREX: &[u8] = b"(?P[A-Z]{4})(?P[0-9A-Za-z_-])(?P[0-9A-Za-z_-]{2})(?P[A-Z]{4})(?P[0-... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXVERFULLSPAN` is never used [INFO] [stdout] --> src/keri/mod.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const MAXVERFULLSPAN: usize = VER1FULLSPAN; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REVER` is never used [INFO] [stdout] --> src/keri/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub static REVER: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXVSOFFSET` is never used [INFO] [stdout] --> src/keri/mod.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const MAXVSOFFSET: usize = 12; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SMELLSIZE` is never used [INFO] [stdout] --> src/keri/mod.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const SMELLSIZE: usize = MAXVSOFFSET + MAXVERFULLSPAN; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProtocolError` is never used [INFO] [stdout] --> src/keri/mod.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum ProtocolError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/keri/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub enum KERIError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 69 | #[error("Value error={0}.")] [INFO] [stdout] 70 | ValueError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | Incompatible(Versionage), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | BadRematch(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | Shortage(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | KindError(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | ProtocolError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | FieldError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | DeserializeError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | SerderVersionError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | JsonError(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | MgpkError(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | CborError(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | InvalidKind(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | MissingRequiredField(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | UnknownIlk(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | Parsing(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | DatabaseError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ManagerError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | AuthError(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | DecryptError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | UnsupportedMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | InvalidCesrData, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | SerializationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | DeserializationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | OutOfOrderError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | LikelyDuplicitousError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | UnverifiedWitnessReceiptError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | UnverifiedReceiptError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | QueryNotFoundError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | ConfigurationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | MissingEntryError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | MissingSignatureError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | MissingWitnessError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | CounterError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | IndexError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | ClosedError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KERIError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rematch` is never used [INFO] [stdout] --> src/keri/mod.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn rematch(captures: ®ex::Captures) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `versify` is never used [INFO] [stdout] --> src/keri/mod.rs:323:8 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn versify( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deversify` is never used [INFO] [stdout] --> src/keri/mod.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn deversify>(vs: T) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `smell` is never used [INFO] [stdout] --> src/keri/mod.rs:405:8 [INFO] [stdout] | [INFO] [stdout] 405 | pub fn smell(raw: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `all` and `is_valid` are never used [INFO] [stdout] --> src/keri/mod.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 437 | impl Ilks { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn all() -> Vec<&'static str> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | pub fn is_valid(ilk: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Roles` is never used [INFO] [stdout] --> src/keri/mod.rs:628:10 [INFO] [stdout] | [INFO] [stdout] 628 | pub enum Roles { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/keri/mod.rs:644:12 [INFO] [stdout] | [INFO] [stdout] 642 | impl Roles { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 643 | /// Returns the string representation of the role [INFO] [stdout] 644 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Schemes` is never used [INFO] [stdout] --> src/keri/mod.rs:689:10 [INFO] [stdout] | [INFO] [stdout] 689 | pub enum Schemes { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/keri/mod.rs:697:12 [INFO] [stdout] | [INFO] [stdout] 695 | impl Schemes { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 696 | /// Returns the string representation of the scheme [INFO] [stdout] 697 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Saids` is never constructed [INFO] [stdout] --> src/keri/mod.rs:727:12 [INFO] [stdout] | [INFO] [stdout] 727 | pub struct Saids; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/mod.rs:730:15 [INFO] [stdout] | [INFO] [stdout] 729 | impl Saids { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 730 | pub const DOLLAR: &'static str = "$id"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 731 | pub const AT: &'static str = "@id"; [INFO] [stdout] | ^^ [INFO] [stdout] 732 | pub const ID: &'static str = "id"; [INFO] [stdout] | ^^ [INFO] [stdout] 733 | pub const I: &'static str = "i"; [INFO] [stdout] | ^ [INFO] [stdout] 734 | pub const D: &'static str = "d"; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 737 | pub fn all() -> Vec<&'static str> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 742 | pub fn is_valid(label: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Said` is never used [INFO] [stdout] --> src/keri/mod.rs:749:10 [INFO] [stdout] | [INFO] [stdout] 749 | pub enum Said { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> src/keri/mod.rs:759:12 [INFO] [stdout] | [INFO] [stdout] 757 | impl Said { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 758 | /// Convert enum variant to string representation [INFO] [stdout] 759 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 770 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Smellage` is never constructed [INFO] [stdout] --> src/keri/mod.rs:800:12 [INFO] [stdout] | [INFO] [stdout] 800 | pub struct Smellage { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_gvrsn` are never used [INFO] [stdout] --> src/keri/mod.rs:815:12 [INFO] [stdout] | [INFO] [stdout] 813 | impl Smellage { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 814 | /// Create a new Smellage instance [INFO] [stdout] 815 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 831 | pub fn with_gvrsn( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmellageBuilder` is never constructed [INFO] [stdout] --> src/keri/mod.rs:849:12 [INFO] [stdout] | [INFO] [stdout] 849 | pub struct SmellageBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/mod.rs:859:12 [INFO] [stdout] | [INFO] [stdout] 857 | impl SmellageBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 858 | /// Create a new empty builder [INFO] [stdout] 859 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 870 | pub fn proto(mut self, proto: impl Into) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 876 | pub fn vrsn(mut self, vrsn: Versionage) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | pub fn kind(mut self, kind: impl Into) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 888 | pub fn size(mut self, size: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 894 | pub fn gvrsn(mut self, gvrsn: Versionage) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 900 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mgpk`, `Cbor`, and `Cesr` are never constructed [INFO] [stdout] --> src/keri/mod.rs:926:5 [INFO] [stdout] | [INFO] [stdout] 924 | pub enum Kinds { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 925 | Json, [INFO] [stdout] 926 | Mgpk, [INFO] [stdout] | ^^^^ [INFO] [stdout] 927 | Cbor, [INFO] [stdout] | ^^^^ [INFO] [stdout] 928 | Cesr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kinds` 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 functions `contains` and `from` are never used [INFO] [stdout] --> src/keri/mod.rs:932:12 [INFO] [stdout] | [INFO] [stdout] 931 | impl Kinds { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 932 | pub fn contains(other: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 936 | pub fn from(kind: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Protocolage` is never constructed [INFO] [stdout] --> src/keri/mod.rs:963:12 [INFO] [stdout] | [INFO] [stdout] 963 | pub struct Protocolage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `contains` are never used [INFO] [stdout] --> src/keri/mod.rs:973:12 [INFO] [stdout] | [INFO] [stdout] 971 | impl Protocolage { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 972 | /// Create a new Protocolage instance [INFO] [stdout] 973 | pub fn new(keri: impl Into, acdc: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 980 | pub fn contains(other: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ri_key` is never used [INFO] [stdout] --> src/keri/app/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn ri_key(pre: &[u8], ri: usize) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_cf` is never used [INFO] [stdout] --> src/keri/app/configing.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn open_cf( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Configer` is never constructed [INFO] [stdout] --> src/keri/app/configing.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Configer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/app/configing.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 65 | impl Configer { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 66 | // Class constants for KERI config paths [INFO] [stdout] 67 | const TAIL_DIR_PATH: &'static str = "keri/cf"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 68 | const CLEAN_TAIL_DIR_PATH: &'static str = "keri/clean/cf"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | const ALT_TAIL_DIR_PATH: &'static str = ".keri/cf"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | const ALT_CLEAN_TAIL_DIR_PATH: &'static str = ".keri/clean/cf"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | const TEMP_PREFIX: &'static str = "keri_cf_"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn put(&mut self, data: &T, human: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn get(&mut self, human: Option) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn close(&mut self, clear: bool) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn reopen( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn exists( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigerContext` is never constructed [INFO] [stdout] --> src/keri/app/configing.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 335 | pub struct ConfigerContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/keri/app/configing.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 340 | impl ConfigerContext { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 341 | pub fn new(configer: Configer, clear: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaseHab` is never constructed [INFO] [stdout] --> src/keri/app/habbing.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct BaseHab<'db, R> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/app/habbing.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'db, R> BaseHab<'db, R> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 60 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn make( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn save(&mut self, habord: &HabitatRecord) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn reconfigure(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn iserder(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn kevers(&self) -> &HashMap> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn accepted(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn kever(&self) -> Result<&Kever<'db>, KERIError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn prefixes(&self) -> IndexSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn incept( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn rotate( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 572 | pub fn interact(&mut self, data: Option>) -> Result, KERIError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 662 | pub fn sign( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 709 | pub fn decrypt(&self, ser: &[u8], verfers: Option>) -> Result, KERIError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 735 | pub fn query( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 776 | pub fn endorse( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 891 | pub fn exchange(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 910 | pub fn receipt(&mut self, serder: &SerderKERI) -> Result, KERIError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1055 | pub fn witness(&mut self, serder: &SerderKERI) -> Result, KERIError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1196 | pub fn replay(&self, pre: Option<&str>, fn_num: Option) -> Result, KERIError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1250 | pub fn replay_all(&self) -> Result, KERIError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1276 | pub fn make_other_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1350 | pub fn fetch_end( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1372 | pub fn fetch_loc( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1395 | pub fn fetch_end_allowed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1418 | pub fn fetch_end_enabled( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1441 | pub fn fetch_end_authzed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1475 | pub fn fetch_url(&self, eid: &str, scheme: Option<&str>) -> Result, KERIError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1492 | pub fn fetch_urls( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1539 | pub fn fetch_role_urls( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1617 | pub fn fetch_witness_urls( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1644 | pub fn ends_for( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1721 | pub fn reply( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1768 | pub fn make_end_role( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1814 | pub fn load_end_role( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1929 | pub fn make_loc_scheme( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1972 | pub fn reply_loc_scheme( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2006 | pub fn load_loc_scheme(&self, eid: &str, scheme: Option<&str>) -> Result, KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2112 | pub fn reply_end_role( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2240 | pub fn reply_to_oobi( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2258 | pub fn get_own_event( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2352 | pub fn make_own_event( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2410 | pub fn make_own_inception(&self, allow_partially_signed: bool) -> Result, KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2422 | pub fn process_cues( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2444 | pub fn process_cues_iter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2635 | pub fn witnesser(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2642 | fn sad_value_to_serder(&self, sad_value: &SadValue) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2652 | fn sad_value_to_bytes(&self, sad_value: &SadValue) -> Result, KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2682 | fn sad_value_to_indexmap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hab` is never constructed [INFO] [stdout] --> src/keri/app/habbing.rs:2725:12 [INFO] [stdout] | [INFO] [stdout] 2725 | pub struct Hab<'db, R> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `make`, `save`, `algo`, and `rotate` are never used [INFO] [stdout] --> src/keri/app/habbing.rs:2768:12 [INFO] [stdout] | [INFO] [stdout] 2748 | impl<'db, R> Hab<'db, R> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 2768 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 2795 | pub fn make( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 2995 | pub fn save(&mut self, habord: HabitatRecord) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 3038 | pub fn algo(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 3065 | pub fn rotate( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/keri/app/keeping/creators.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Algos { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 26 | pub fn from_str(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Creator` is never used [INFO] [stdout] --> src/keri/app/keeping/creators.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Creator: Debug { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RandyCreator` is never constructed [INFO] [stdout] --> src/keri/app/keeping/creators.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct RandyCreator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/keri/app/keeping/creators.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl RandyCreator { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 70 | /// Create a new RandyCreator instance [INFO] [stdout] 71 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SaltyCreator` is never constructed [INFO] [stdout] --> src/keri/app/keeping/creators.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct SaltyCreator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/keri/app/keeping/creators.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl SaltyCreator { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 135 | /// Create a new SaltyCreator [INFO] [stdout] 136 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_with_options` is never used [INFO] [stdout] --> src/keri/app/keeping/creators.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 191 | impl SaltyCreator { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 192 | /// Create signers with additional options [INFO] [stdout] 193 | pub fn create_with_options( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Creatory` is never constructed [INFO] [stdout] --> src/keri/app/keeping/creators.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct Creatory { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `make` are never used [INFO] [stdout] --> src/keri/app/keeping/creators.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 264 | impl Creatory { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 265 | /// Create a new Creatory with the specified algorithm [INFO] [stdout] 266 | pub fn new(algo: Algos) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn make( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreatoryBuilder` is never constructed [INFO] [stdout] --> src/keri/app/keeping/creators.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 288 | pub struct CreatoryBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_salt`, `with_stem`, `with_tier`, and `build` are never used [INFO] [stdout] --> src/keri/app/keeping/creators.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 295 | impl CreatoryBuilder { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 296 | pub fn new(algo: Algos) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | pub fn with_salt(mut self, salt: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn with_stem(mut self, stem: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn with_tier(mut self, tier: Tiers) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn build(self) -> Result, MatterError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/keri/app/keeping/keeper.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct Keeper<'db> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 225 | /// Base database [INFO] [stdout] 226 | lmdber: Arc<&'db LMDBer>, // The base LMDB database [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub gbls: Suber<'db>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub pris: CryptSignerSuber<'db>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub prxs: CesrSuber<'db, Cipher>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub nxts: CesrSuber<'db, Cipher>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub pres: CesrSuber<'db, Prefixer>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub prms: Komer<'db, PrePrm>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub sits: Komer<'db, PreSit>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub pubs: Komer<'db, PubSet>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/app/keeping/keeper.rs:288:15 [INFO] [stdout] | [INFO] [stdout] 286 | impl<'db> Keeper<'db> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 287 | /// Maximum number of named databases [INFO] [stdout] 288 | pub const MAX_NAMED_DBS: u32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub fn new(lmdber: Arc<&'db LMDBer>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn opened(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub fn path(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn temp(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn ri_key(pre: &str, ri: u64) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `KeeperTrait` is never used [INFO] [stdout] --> src/keri/app/keeping/keeper.rs:352:11 [INFO] [stdout] | [INFO] [stdout] 352 | pub trait KeeperTrait: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Manager` is never constructed [INFO] [stdout] --> src/keri/app/keeping/manager.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Manager<'db> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/app/keeping/manager.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'db> Manager<'db> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn setup( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn ingest( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | pub fn replay( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub fn update_aeid(&mut self, aeid: Vec, seed: Vec) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 731 | pub fn aeid(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 742 | pub fn pidx(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 759 | pub fn set_pidx(&self, value: usize) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 771 | pub fn algo(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 785 | pub fn set_algo(&self, value: Algos) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 797 | pub fn salt(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 823 | pub fn set_salt(&self, value: Vec) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 846 | pub fn tier(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 862 | pub fn set_tier(&self, value: Tiers) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 874 | pub fn seed(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 900 | pub fn incept( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1147 | pub fn move_prefix(&self, old: &[u8], new: &[u8]) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1309 | pub fn rotate( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1544 | pub fn sign( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1708 | pub fn decrypt( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REVER` is never used [INFO] [stdout] --> src/keri/core/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | static REVER: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sizeify` is never used [INFO] [stdout] --> src/keri/core/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn sizeify( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_INT_THOLD` is never used [INFO] [stdout] --> src/keri/core/eventing/mod.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const MAX_INT_THOLD: usize = 12; // Define this constant based on your system [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ample` is never used [INFO] [stdout] --> src/keri/core/eventing/mod.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn ample(n: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_digest_code` is never used [INFO] [stdout] --> src/keri/core/eventing/mod.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn is_digest_code(code: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_prefix_code` is never used [INFO] [stdout] --> src/keri/core/eventing/mod.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn is_prefix_code(code: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SealEvent` is never constructed [INFO] [stdout] --> src/keri/core/eventing/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct SealEvent { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/keri/core/eventing/mod.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl SealEvent { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 63 | pub fn new(i: String, s: String, d: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SealLast` is never constructed [INFO] [stdout] --> src/keri/core/eventing/mod.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct SealLast { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/keri/core/eventing/mod.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl SealLast { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 75 | pub fn new(i: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Seal` is never used [INFO] [stdout] --> src/keri/core/eventing/mod.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Seal { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_sigs` is never used [INFO] [stdout] --> src/keri/core/eventing/mod.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn validate_sigs( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `messagize` is never used [INFO] [stdout] --> src/keri/core/eventing/mod.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn messagize( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_sigs` is never used [INFO] [stdout] --> src/keri/core/eventing/mod.rs:308:4 [INFO] [stdout] | [INFO] [stdout] 308 | fn verify_sigs( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InceptionEventBuilder` is never constructed [INFO] [stdout] --> src/keri/core/eventing/incept.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct InceptionEventBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/eventing/incept.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl InceptionEventBuilder { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 32 | /// Creates a new InceptionEventBuilder with default values [INFO] [stdout] 33 | pub fn new(keys: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn with_isith(mut self, isith: TholderSith) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn with_ndigs(mut self, ndigs: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn with_nsith(mut self, nsith: TholderSith) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn with_toad(mut self, toad: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn with_wits(mut self, wits: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn with_cnfg(mut self, cnfg: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn with_data(mut self, data: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn with_version(mut self, version: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn with_kind(mut self, kind: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn with_code(mut self, code: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn with_intive(mut self, intive: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn with_delpre(mut self, delpre: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InteractEventBuilder` is never constructed [INFO] [stdout] --> src/keri/core/eventing/interact.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InteractEventBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/eventing/interact.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl InteractEventBuilder { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 20 | /// Create a new InteractEventBuilder with required fields [INFO] [stdout] 21 | pub fn new(pre: String, dig: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn with_sn(mut self, sn: usize) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn with_data_list(mut self, data: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn with_data_map(mut self, data: IndexMap) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn with_version(mut self, version: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn with_kind(mut self, kind: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/keri/core/eventing/kever.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Kever<'db> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 33 | pub db: Arc<&'db Baser<'db>>, [INFO] [stdout] | ^^ [INFO] [stdout] 34 | version: String, // Version of KERI protocol [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | ilk: Ilk, // Event type ilk [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | pub delpre: Option, // Delegator prefix if any [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | pub(crate) delegated: bool, // True if delegated event, False otherwise [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | fner: Option, // First seen ordinal number [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | dater: Option, // First seen timestamp [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub(crate) sner: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | pub verfers: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 44 | tholder: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | pub(crate) prefixer: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | pub(crate) serder: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | pub ndigers: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | pub(crate) ntholder: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | cuts: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | adds: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub(crate) wits: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | toader: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | last_est: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | est_only: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | do_not_delegate: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/eventing/kever.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl<'db> Kever<'db> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn reload(db: Arc<&'db Baser<'db>>, state: KeyStateRecord) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | fn incept(&mut self, serder: SerderKERI) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | fn config(&mut self, serder: SerderKERI, est_only: Option) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | fn val_sigs_wigs_del( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 833 | fn locally_owned(&self, pre: Option<&str>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 846 | fn locally_delegated(&self, delpre: Option<&str>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 853 | fn locally_membered(&self, pre: Option<&str>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 863 | fn locally_contributed_indices(&self, _verfers: &[Verfer]) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 875 | pub fn locally_witnessed(&self, wits: Option<&[String]>, serder: Option<&SerderKERI>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 926 | pub fn derive_backs( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1027 | pub fn verfers(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1031 | pub fn sner(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1035 | pub fn last_est(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1039 | fn escrow_mf_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1051 | fn escrow_ps_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1063 | fn escrow_pw_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1075 | fn escrow_delegable_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1111 | fn exposeds(&self, sigers: &[Siger]) -> Result, KERIError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1154 | fn validate_delegation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1211 | pub fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1441 | pub fn rotate( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1591 | pub fn log_event( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1726 | pub fn state(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1840 | fn tholder(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1844 | pub fn toader(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1848 | pub fn wits(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1852 | pub fn prefixer(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1856 | pub fn serder(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1860 | pub fn delpre(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1864 | fn ndigs(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1897 | pub fn fetch_prior_digers(&self, sn: Option) -> Result>, KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1949 | pub fn transferable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeverBuilder` is never constructed [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1963:12 [INFO] [stdout] | [INFO] [stdout] 1963 | pub struct KeverBuilder<'db> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1981:12 [INFO] [stdout] | [INFO] [stdout] 1979 | impl<'db> KeverBuilder<'db> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 1980 | /// Create a new KeverBuilder with required database [INFO] [stdout] 1981 | pub fn new(db: Arc<&'db Baser<'db>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 2000 | pub fn with_state(mut self, state: KeyStateRecord) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2006 | pub fn with_serder(mut self, serder: SerderKERI) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2012 | pub fn with_sigers(mut self, sigers: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2018 | pub fn with_wigers(mut self, wigers: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2024 | pub fn with_est_only(mut self, est_only: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2030 | pub fn with_delseqner(mut self, delseqner: Seqner) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2036 | pub fn with_delsaider(mut self, delsaider: Saider) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2042 | pub fn with_firner(mut self, firner: Seqner) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2048 | pub fn with_dater(mut self, dater: Dater) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2054 | pub fn with_eager(mut self, eager: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2060 | pub fn with_local(mut self, local: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2066 | pub fn with_check(mut self, check: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2072 | pub fn build(self) -> Result, KERIError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Kevery` is never constructed [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Kevery<'db> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cue` is never constructed [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Cue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rvy` is never constructed [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Rvy<'db> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 78 | impl<'db> Kevery<'db> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 79 | /// Timeout constants (in seconds) [INFO] [stdout] 80 | pub const TIMEOUT_OOE: u64 = 1200; // seconds to timeout out of order escrows [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 81 | pub const TIMEOUT_PSE: u64 = 3600; // seconds to timeout partially signed or delegated escrows [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 82 | pub const TIMEOUT_PWE: u64 = 3600; // seconds to timeout partially witnessed escrows [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 83 | pub const TIMEOUT_LDE: u64 = 3600; // seconds to timeout likely duplicitous escrows [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 84 | pub const TIMEOUT_UWE: u64 = 3600; // seconds to timeout unverified receipt escrows [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 85 | pub const TIMEOUT_URE: u64 = 3600; // seconds to timeout unverified receipt escrows [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | pub const TIMEOUT_VRE: u64 = 3600; // seconds to timeout unverified transferable receipt escrows [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 87 | pub const TIMEOUT_KSN: u64 = 3600; // seconds to timeout key state notice message escrows [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | pub const TIMEOUT_QNF: u64 = 300; // seconds to timeout query not found escrows [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn kevers(&self) -> &HashMap> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn kevers_mut(&mut self) -> &mut HashMap> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn prefixes(&self) -> &IndexSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn process_event( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | fn fetch_est_event(&self, pre: &str, sn: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 576 | fn fetch_witness_state(&self, _pre: &str, _sn: u64) -> Result, KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 582 | fn escrow_oo_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | fn escrow_ld_event(&self, _serder: &SerderKERI, _sigers: &[Siger]) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 619 | pub fn process_receipt_witness( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 751 | pub fn process_attached_receipt_couples( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 761 | pub fn process_attached_receipt_quadruples( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 790 | pub fn process_receipt( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 941 | fn escrow_u_receipt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 958 | fn escrow_uw_receipt( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 986 | pub fn process_query( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1320 | pub fn fully_witnessed(&self, serder: &SerderKERI) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1337 | fn escrow_query_not_found_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeveryBuilder` is never constructed [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1360:12 [INFO] [stdout] | [INFO] [stdout] 1360 | pub struct KeveryBuilder<'db> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1373:12 [INFO] [stdout] | [INFO] [stdout] 1371 | impl<'db> KeveryBuilder<'db> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 1372 | /// Create a new KeveryBuilder instance [INFO] [stdout] 1373 | pub fn new(db: Arc<&'db Baser<'db>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1387 | pub fn with_cues(mut self, cues: VecDeque) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1393 | pub fn with_rvy(mut self, rvy: Rvy<'db>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1399 | pub fn with_lax(mut self, lax: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1405 | pub fn with_local(mut self, local: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1411 | pub fn with_cloned(mut self, cloned: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1417 | pub fn with_direct(mut self, direct: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1423 | pub fn with_check(mut self, check: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1429 | pub fn build(self) -> Result, KERIError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryEventBuilder` is never constructed [INFO] [stdout] --> src/keri/core/eventing/query.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct QueryEventBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/eventing/query.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl QueryEventBuilder { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 19 | /// Create a new QueryEventBuilder [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn with_route(mut self, route: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn with_reply_route(mut self, reply_route: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn with_query(mut self, query: IndexMap) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn with_stamp(mut self, stamp: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn with_version(mut self, version: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_kind(mut self, kind: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn build(self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReceiptEventBuilder` is never constructed [INFO] [stdout] --> src/keri/core/eventing/receipt.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ReceiptEventBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_version`, `with_kind`, and `build` are never used [INFO] [stdout] --> src/keri/core/eventing/receipt.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ReceiptEventBuilder { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn new(pre: String, sn: usize, said: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn with_version(mut self, version: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn with_kind(mut self, kind: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn build(self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReplyEventBuilder` is never constructed [INFO] [stdout] --> src/keri/core/eventing/reply.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ReplyEventBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/eventing/reply.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReplyEventBuilder { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 17 | /// Create a new ReplyEventBuilder [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn with_route(mut self, route: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn with_data(mut self, data: IndexMap) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn with_stamp(mut self, stamp: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn with_version(mut self, version: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn with_kind(mut self, kind: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RotateEventBuilder` is never constructed [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RotateEventBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl RotateEventBuilder { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 33 | pub fn new(pre: String, keys: Vec, dig: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn with_ilk(mut self, ilk: String) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn with_sn(mut self, sn: usize) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn with_isith(mut self, isith: TholderSith) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn with_ndigs(mut self, ndigs: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn with_next_keys(mut self, ndigs: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn with_nsith(mut self, nsith: TholderSith) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn with_toad(mut self, toad: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn with_wits(mut self, wits: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn with_cuts(mut self, cuts: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn with_adds(mut self, adds: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn with_data(mut self, data: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn with_version(mut self, version: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn with_kind(mut self, kind: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn with_intive(mut self, intive: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StateEventBuilder` is never constructed [INFO] [stdout] --> src/keri/core/eventing/state.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct StateEventBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/eventing/state.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl StateEventBuilder { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 36 | /// Create a new StateEventBuilder with required fields [INFO] [stdout] 37 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn with_stamp(mut self, stamp: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn with_sith(mut self, sith: TholderSith) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn with_ndigs(mut self, ndigs: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn with_nsith(mut self, nsith: TholderSith) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn with_toad(mut self, toad: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn with_wits(mut self, wits: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn with_cnfg(mut self, cnfg: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn with_dpre(mut self, dpre: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn with_version(mut self, version: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn with_kind(mut self, kind: String) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn with_intive(mut self, intive: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn build(self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tsgs` is never constructed [INFO] [stdout] --> src/keri/core/parsing.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Tsgs { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trqs` is never constructed [INFO] [stdout] --> src/keri/core/parsing.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Trqs { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trrs` is never constructed [INFO] [stdout] --> src/keri/core/parsing.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Trrs { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ssgs` is never constructed [INFO] [stdout] --> src/keri/core/parsing.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Ssgs { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Frcs` is never constructed [INFO] [stdout] --> src/keri/core/parsing.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Frcs { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ssts` is never constructed [INFO] [stdout] --> src/keri/core/parsing.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Ssts { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sscs` is never constructed [INFO] [stdout] --> src/keri/core/parsing.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Sscs { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SadTsgs` is never constructed [INFO] [stdout] --> src/keri/core/parsing.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct SadTsgs { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SadSigers` is never constructed [INFO] [stdout] --> src/keri/core/parsing.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct SadSigers { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SadCigars` is never constructed [INFO] [stdout] --> src/keri/core/parsing.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct SadCigars { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SadPathGroup` is never used [INFO] [stdout] --> src/keri/core/parsing.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | pub enum SadPathGroup { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/keri/core/parsing.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_local` is never used [INFO] [stdout] --> src/keri/core/parsing.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 191 | /// Determines if the message is local [INFO] [stdout] 192 | pub fn is_local(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MessageHandler` is never used [INFO] [stdout] --> src/keri/core/parsing.rs:204:11 [INFO] [stdout] | [INFO] [stdout] 204 | pub trait MessageHandler: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/keri/core/parsing.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct Parser<'a, R> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handlers` is never constructed [INFO] [stdout] --> src/keri/core/parsing.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Handlers<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/parsing.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 227 | impl<'a, R> Parser<'a, R> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn parse_one(&mut self, ims: &[u8]) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | fn try_parse_one_message(&mut self) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn process_parsed_message(&mut self, message: Message) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | fn try_parse_message(&mut self) -> Result<(Message, usize), MatterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 806 | pub fn new(reader: R, framed: bool, pipeline: bool, handlers: Handlers<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 820 | fn process_attachments( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1074 | async fn dispatch_message(&mut self, msg: Message) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1211 | fn process_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1537 | pub fn sad_path_sig_group( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1645 | pub fn trans_idx_sig_groups( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1707 | pub fn non_trans_receipt_couples( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_stream` is never used [INFO] [stdout] --> src/keri/core/parsing.rs:1735:18 [INFO] [stdout] | [INFO] [stdout] 1734 | impl<'a, R: AsyncRead + Unpin + Send> Parser<'a, R> { [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] 1735 | pub async fn parse_stream(&mut self, once: Option) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIMEOUT_RPE` is never used [INFO] [stdout] --> src/keri/core/routing/revery.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const TIMEOUT_RPE: u64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Revery` is never constructed [INFO] [stdout] --> src/keri/core/routing/revery.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Revery<'db> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReplyMessageCue` is never constructed [INFO] [stdout] --> src/keri/core/routing/revery.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ReplyMessageCue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/routing/revery.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'db> Revery<'db> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 49 | /// Initialize new Revery instance [INFO] [stdout] 50 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn prefixes(&self) -> &indexmap::IndexSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn process_reply( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn accept_reply( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | pub fn update_reply( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | pub fn remove_reply(&self, saider: &Saider) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | pub fn escrow_reply( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 546 | pub fn process_escrow_reply(&mut self) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 588 | fn process_single_escrow(&self, route: &str, saider: &Saider) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Route` is never constructed [INFO] [stdout] --> src/keri/core/routing/route.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Route { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/keri/core/routing/route.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Route { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 23 | /// Initialize instance of route [INFO] [stdout] 24 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RouteResource` is never used [INFO] [stdout] --> src/keri/core/routing/route.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub trait RouteResource: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile_uri_template` is never used [INFO] [stdout] --> src/keri/core/routing/route.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn compile_uri_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Router` is never constructed [INFO] [stdout] --> src/keri/core/routing/router.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Router { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/routing/router.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 22 | impl Router { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 23 | /// Default resource function name [INFO] [stdout] 24 | pub const DEFAULT_RESOURCE_FUNC: &'static str = "processReply"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new(routes: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn add_route( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn dispatch( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn find_route( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn route_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn has_route(&self, route: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DefaultRouteResource` is never constructed [INFO] [stdout] --> src/keri/core/routing/router.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct DefaultRouteResource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_version_span` is never used [INFO] [stdout] --> src/keri/core/serdering/mod.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_version_span(vrsn: &Versionage, kind: &Kinds) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/keri/core/serdering/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct BaseSerder { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 51 | /// Serialized message as bytes [INFO] [stdout] 52 | raw: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | /// Serializable attribute dictionary (key event dict) [INFO] [stdout] 54 | pub sad: Sadder, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | /// Protocol identifier type (e.g., 'KERI' or 'ACDC') [INFO] [stdout] 56 | proto: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 57 | /// Event version information [INFO] [stdout] 58 | vrsn: Versionage, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | /// Serialization kind (json, cbor, msgpack, binary) [INFO] [stdout] 60 | kind: Kinds, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | /// Number of bytes in serialized event [INFO] [stdout] 62 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | /// qb64 self-addressing identifier given by appropriate saidive field [INFO] [stdout] 64 | said: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | /// CESR genus code for this Serder [INFO] [stdout] 66 | genus: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | /// CESR genus code table version for this Serder [INFO] [stdout] 68 | gvrsn: Versionage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BaseSerder` 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/keri/core/serdering/mod.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl BaseSerder { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 88 | pub fn from_init( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn from_sad(sad: &Sadder) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn prepare_version( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn compute_said(raw: &[u8], genus: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn compare_said(&self, said: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | fn get_primary_said_label(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn loads(raw: &[u8], size: Option, kind: Kinds) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn dumps(sad: &Sadder, kind: &Kinds) -> Result, KERIError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn verify(&self) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn makify( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/keri/core/serdering/mod.rs:576:8 [INFO] [stdout] | [INFO] [stdout] 569 | pub trait Serder: Any + Send + Sync { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 576 | fn pretty(&self, size: Option) -> String; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 579 | fn raw(&self) -> &[u8]; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 582 | fn sad(&self) -> Sadder; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 585 | fn genus(&self) -> &str; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 588 | fn gvrsn(&self) -> &Versionage; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 591 | fn kind(&self) -> &Kinds; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | fn proto(&self) -> &str; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 597 | fn protocol(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 602 | fn vrsn(&self) -> &Versionage; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 605 | fn version(&self) -> &Versionage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 613 | fn said(&self) -> Option<&str>; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 616 | fn saidb(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 621 | fn ilk(&self) -> Option<&str>; [INFO] [stdout] | ^^^ [INFO] [stdout] 622 | [INFO] [stdout] 623 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 624 | [INFO] [stdout] 625 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/keri/core/serdering/mod.rs:630:8 [INFO] [stdout] | [INFO] [stdout] 629 | pub trait Rawifiable: Sized { [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 630 | fn from_raw(raw: &[u8], smell: Option) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Verifiable` is never used [INFO] [stdout] --> src/keri/core/serdering/mod.rs:777:11 [INFO] [stdout] | [INFO] [stdout] 777 | pub trait Verifiable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/keri/core/serdering/mod.rs:821:9 [INFO] [stdout] | [INFO] [stdout] 820 | pub struct SerderKERI { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 821 | pub base: BaseSerder, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SerderKERI` 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/keri/core/serdering/mod.rs:876:12 [INFO] [stdout] | [INFO] [stdout] 875 | impl SerderKERI { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 876 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | pub fn from_sad(sad: &Sadder) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 897 | pub fn from_sad_and_saids( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 916 | pub fn estive(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 922 | pub fn ked(&self) -> Sadder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 927 | pub fn pre(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 941 | pub fn preb(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 946 | pub fn sner(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 965 | pub fn sn(&self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 973 | pub fn snh(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 978 | pub fn seals(&self) -> Option>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1000 | pub fn traits(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1005 | pub fn tholder(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1028 | pub fn keys(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1045 | pub fn verfers(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1059 | pub fn ntholder(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1076 | pub fn ndigs(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1093 | pub fn ndigers(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1107 | pub fn bner(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1126 | pub fn bn(&self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 1134 | pub fn backs(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1151 | pub fn berfers(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1165 | pub fn prior(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1176 | pub fn priorb(&self) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1181 | pub fn cuts(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1198 | pub fn adds(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1215 | pub fn delpre(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1226 | pub fn delpreb(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1231 | pub fn stamp(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1242 | pub fn uuid(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1253 | pub fn nonce(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1264 | pub fn ilk(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1274 | pub fn compare_said(&self, said: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_version` is never used [INFO] [stdout] --> src/keri/core/serdering/mod.rs:1293:4 [INFO] [stdout] | [INFO] [stdout] 1293 | fn parse_version(version_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SerderACDC` is never constructed [INFO] [stdout] --> src/keri/core/serdering/mod.rs:1315:12 [INFO] [stdout] | [INFO] [stdout] 1315 | pub struct SerderACDC { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/serdering/mod.rs:1365:12 [INFO] [stdout] | [INFO] [stdout] 1363 | impl SerderACDC { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 1364 | /// Creates a new `SerderACDC` by constructing its `BaseSerder` from a sad. [INFO] [stdout] 1365 | pub fn from_sad(sad: &Sadder) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1376 | pub fn uuid(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1391 | pub fn uuidb(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1400 | pub fn issuer(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1415 | pub fn issuerb(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1424 | pub fn regi(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1439 | pub fn regib(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1450 | pub fn schema(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1465 | pub fn attrib(&self) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1478 | pub fn issuee(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1496 | pub fn issueeb(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1505 | pub fn attagg(&self) -> Option<&SadValue> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1517 | pub fn edge(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1530 | pub fn rule(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/keri/core/serdering/mod.rs:1562:12 [INFO] [stdout] | [INFO] [stdout] 1560 | impl SerderACDC { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 1561 | /// Public verification method that delegates to the trait method [INFO] [stdout] 1562 | pub fn verify(&self) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Serdery` is never constructed [INFO] [stdout] --> src/keri/core/serdering/mod.rs:1568:12 [INFO] [stdout] | [INFO] [stdout] 1568 | pub struct Serdery; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `reap` are never used [INFO] [stdout] --> src/keri/core/serdering/mod.rs:1572:12 [INFO] [stdout] | [INFO] [stdout] 1570 | impl Serdery { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 1571 | /// Create a new Serdery instance [INFO] [stdout] 1572 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1588 | pub fn reap( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_iterable` is never used [INFO] [stdout] --> src/keri/core/serdering/mod.rs:1629:4 [INFO] [stdout] | [INFO] [stdout] 1629 | fn is_iterable(value: &SadValue) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/core/serdering/sad.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SadValue { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn loads(raw: &[u8], size: Option, kind: Kinds) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn dumps(sad: &Sadder, kind: &Kinds) -> Result, KERIError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn is_object(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn is_number(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn is_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn is_i64(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn is_u64(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn is_f64(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn as_bool(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn as_i64(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn as_u64(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn as_f64(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn as_str(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn as_array(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn as_object(&self) -> Option<&IndexMap> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn as_array_mut(&mut self) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn as_object_mut(&mut self) -> Option<&mut IndexMap> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn take_array(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn take_object(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn take_string(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn take_bool(self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn take_number(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn from_bool(b: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn from_i64(i: i64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn from_u64(u: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn from_f64(f: f64) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn from_string>(s: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn from_array>(a: A) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn from_object>(o: O) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn pointer(&self, path: &str) -> Option<&SadValue> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn pointer_mut(&mut self, path: &str) -> Option<&mut SadValue> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn get(&self, index: I) -> Option<&SadValue> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn get_mut(&mut self, index: I) -> Option<&mut SadValue> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Index` is never used [INFO] [stdout] --> src/keri/core/serdering/sad.rs:370:11 [INFO] [stdout] | [INFO] [stdout] 370 | pub trait Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_said_placeholders` is never used [INFO] [stdout] --> src/keri/core/serdering/sad.rs:613:8 [INFO] [stdout] | [INFO] [stdout] 613 | pub fn set_said_placeholders(sad: &mut Sadder, saids: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_with_type` is never used [INFO] [stdout] --> src/keri/core/serdering/sad.rs:718:8 [INFO] [stdout] | [INFO] [stdout] 718 | pub fn default_with_type(ilk: Ilk, orig: &Sadder) -> Sadder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_validation_schema` is never used [INFO] [stdout] --> src/keri/core/serdering/sad.rs:991:8 [INFO] [stdout] | [INFO] [stdout] 991 | pub fn build_validation_schema() -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate` is never used [INFO] [stdout] --> src/keri/core/serdering/sad.rs:1053:8 [INFO] [stdout] | [INFO] [stdout] 1053 | pub fn validate(sad: &Sadder) -> Result<(), KERIError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_field` is never used [INFO] [stdout] --> src/keri/core/serdering/sad.rs:1472:4 [INFO] [stdout] | [INFO] [stdout] 1472 | fn has_field(sad: &Sadder, field: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_non_empty_string` is never used [INFO] [stdout] --> src/keri/core/serdering/sad.rs:1477:4 [INFO] [stdout] | [INFO] [stdout] 1477 | fn has_non_empty_string(sad: &Sadder, field: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_string_array` is never used [INFO] [stdout] --> src/keri/core/serdering/sad.rs:1486:4 [INFO] [stdout] | [INFO] [stdout] 1486 | fn has_string_array(sad: &Sadder, field: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_array` is never used [INFO] [stdout] --> src/keri/core/serdering/sad.rs:1495:4 [INFO] [stdout] | [INFO] [stdout] 1495 | fn is_array(sad: &Sadder, field: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_object` is never used [INFO] [stdout] --> src/keri/core/serdering/sad.rs:1504:4 [INFO] [stdout] | [INFO] [stdout] 1504 | fn is_object(sad: &Sadder, field: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid` is never used [INFO] [stdout] --> src/keri/core/serdering/sad.rs:1514:8 [INFO] [stdout] | [INFO] [stdout] 1514 | pub fn is_valid(sad: &Sadder) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ilk` is never used [INFO] [stdout] --> src/keri/core/serdering/sad.rs:1522:8 [INFO] [stdout] | [INFO] [stdout] 1522 | pub fn ilk(sad: &Sadder) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_primary_said_label` is never used [INFO] [stdout] --> src/keri/core/serdering/sad.rs:1548:8 [INFO] [stdout] | [INFO] [stdout] 1548 | pub fn get_primary_said_label(sad: &Sadder) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_local`, `to_map`, and `from_map` are never used [INFO] [stdout] --> src/keri/db/basing/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl EventSourceRecord { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn with_local(local: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn to_map(&self) -> HashMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn from_map(map: &HashMap) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_nullified` are never used [INFO] [stdout] --> src/keri/db/basing/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl LocationRecord { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 113 | /// Create a new LocationRecord [INFO] [stdout] 114 | pub fn new(url: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn is_nullified(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_values`, `is_allowed`, `is_enabled`, `set_allowed`, `set_enabled`, and `set_name` are never used [INFO] [stdout] --> src/keri/db/basing/mod.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl EndpointRecord { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn with_values(allowed: Option, enabled: Option, name: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn is_allowed(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn is_enabled(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn set_allowed(&mut self, allowed: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn set_enabled(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn set_name(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocationKey` is never constructed [INFO] [stdout] --> src/keri/db/basing/mod.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct LocationKey { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EndpointKey` is never constructed [INFO] [stdout] --> src/keri/db/basing/mod.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct EndpointKey { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/keri/db/basing/mod.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 254 | impl LocationKey { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 255 | pub fn new(eid: String, scheme: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/keri/db/basing/mod.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 260 | impl EndpointKey { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 261 | pub fn new(cid: String, role: String, eid: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/keri/db/basing/mod.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 268 | pub struct Baser<'db> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 269 | /// Base database [INFO] [stdout] 270 | lmdber: Arc<&'db LMDBer>, // The base LMDB database [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 271 | [INFO] [stdout] 272 | pub prefixes: IndexSet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 273 | pub groups: IndexSet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 274 | pub kevers: HashMap>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub habs: Komer<'db, HabitatRecord>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub names: Suber<'db>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | pub evts: Suber<'db>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fels: OnSuber<'db>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub kels: OnIoDupSuber<'db, Utf8Codec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub fons: CesrSuber<'db, Number>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub esrs: Komer<'db, EventSourceRecord>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub dtss: DupSuber<'db>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | pub sdts: CesrSuber<'db, Dater>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | pub rpys: SerderSuber<'db, SerderKERI>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub ssgs: CatCesrIoSetSuber<'db, Siger>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 374 | pub scgs: CatCesrIoSetSuber<'db, Verfer>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub rpes: CesrIoSetSuber<'db, Saider>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub aess: Suber<'db>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub sigs: DupSuber<'db>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | pub wigs: DupSuber<'db>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | pub wits: IoDupSuber<'db>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub rcts: DupSuber<'db>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | pub vrcs: DupSuber<'db>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | pub states: Komer<'db, KeyStateRecord>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 444 | [INFO] [stdout] 445 | pub locs: Komer<'db, LocationRecord>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 446 | [INFO] [stdout] 447 | pub ends: Komer<'db, EndpointRecord>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 448 | [INFO] [stdout] 449 | pub eans: CesrSuber<'db, Saider>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 450 | [INFO] [stdout] 451 | pub lans: CesrSuber<'db, Saider>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 452 | [INFO] [stdout] 453 | pub pses: IoDupSuber<'db>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/basing/mod.rs:476:15 [INFO] [stdout] | [INFO] [stdout] 474 | impl<'db> Baser<'db> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 475 | /// Maximum number of named databases [INFO] [stdout] 476 | pub const MAX_NAMED_DBS: u32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | pub fn new(lmdber: Arc<&'db LMDBer>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | pub fn get_ke_last(&self, key: K) -> Result, KERIError> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn get_evt(&self, key: K) -> Result>, KERIError> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 628 | pub fn opened(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 638 | pub fn path(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 644 | pub fn temp(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | pub fn ri_key(pre: &str, ri: u64) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 653 | pub fn fully_witnessed(&self, serder: &SerderKERI) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 669 | pub fn fetch_all_sealing_event_by_event_seal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 687 | pub fn clone_pre_iter(&self, pre: &str, fn_num: Option) -> Result>, DBError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | pub fn clone_delegation(&self, kever: &Kever<'db>) -> Result>, DBError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 763 | pub fn clone_evt_msg(&self, pre: &str, fn_num: u64, dig: &str) -> Result, DBError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 935 | pub fn get_fel_item_all_pre_iter(&self) -> Result, DBError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 969 | pub fn clone_all_pre_iter(&self) -> Result>, DBError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 994 | pub fn cnt_sigs(&self, key: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 999 | pub fn get_sigs_iter( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1028 | pub fn fetch_tsgs( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1103 | fn klasify_triple(&self, triple: &[Vec]) -> Result<(Prefixer, Seqner, Diger), KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_with_watchers` are never used [INFO] [stdout] --> src/keri/db/basing/habitat_record.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl HabitatRecord { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 58 | /// Create a new HabitatRecord with required hid field [INFO] [stdout] 59 | pub fn new(hid: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn new_with_watchers(hid: String, watchers: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_state_est_event`, `to_map`, and `from_map` are never used [INFO] [stdout] --> src/keri/db/basing/key_state_record.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl StateEERecord { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 147 | /// Create a new StateEERecord from a StateEstEvent [INFO] [stdout] 148 | pub fn from_state_est_event(event: &StateEstEvent) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn to_map(&self) -> IndexMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn from_map(map: &IndexMap) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_map` and `from_map` are never used [INFO] [stdout] --> src/keri/db/basing/key_state_record.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 230 | impl KeyStateRecord { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 231 | /// Convert to a map representation [INFO] [stdout] 232 | pub fn to_map(&self) -> IndexMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn from_map(map: &IndexMap) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StateEstEvent` is never constructed [INFO] [stdout] --> src/keri/db/basing/key_state_record.rs:452:12 [INFO] [stdout] | [INFO] [stdout] 452 | pub struct StateEstEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ON` is never used [INFO] [stdout] --> src/keri/db/dbing/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const MAX_ON: u64 = u64::MAX; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/keri/db/dbing/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl LMDBer { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 16 | pub fn builder() -> LMDBerBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LMDBerBuilder` is never constructed [INFO] [stdout] --> src/keri/db/dbing/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct LMDBerBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `temp`, `reopen`, and `build` are never used [INFO] [stdout] --> src/keri/db/dbing/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl LMDBerBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 39 | pub fn name(mut self, name: impl Into) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn temp(mut self, temp: bool) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn reopen(mut self, reopen: bool) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `readonly` and `version` are never read [INFO] [stdout] --> src/keri/db/dbing/mod.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct LMDBer { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | pub readonly: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `base`, `opened`, `temp`, `env`, and `path` are never used [INFO] [stdout] --> src/keri/db/dbing/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl LMDBer { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 97 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn base(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn opened(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn temp(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn env(&self) -> Option<&Arc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn path(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/dbing/mod.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 164 | impl LMDBer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 165 | // Constants specific to LMDBer [INFO] [stdout] 166 | pub const MAX_NAMED_DBS: u32 = 96; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 167 | pub const MAP_SIZE: usize = 104857600; // 100MB [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn reopen( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn version(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn set_version(&mut self, version: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn open_database(&self, name: Option<&str>) -> Result, DBError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn len(&self, db: &BytesDatabase) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | pub fn get_val_last(&self, db: &BytesDatabase, key: &[u8]) -> Result>, DBError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | pub fn del_val(&self, db: &BytesDatabase, key: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | pub fn set_on_val( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 662 | pub fn append_on_val( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 743 | pub fn put_on_val( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 802 | pub fn get_on_val( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 849 | pub fn del_on_val( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 898 | pub fn cnt_on_vals( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 959 | pub fn get_on_item_iter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1015 | pub fn get_on_val_iter( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1046 | pub fn put_io_set_vals( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1124 | pub fn get_io_set_vals( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1181 | pub fn add_io_set_val( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1255 | pub fn del_io_set_vals( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1330 | pub fn del_io_set_val( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1401 | pub fn set_io_set_vals( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1462 | pub fn cnt_io_set_vals( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1487 | pub fn get_io_set_vals_iter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1548 | pub fn get_io_set_val_last( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1639 | pub fn get_top_io_set_items_iter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1684 | pub fn add_val(&self, db: &BytesDatabase, key: &[u8], val: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1741 | pub fn put_vals( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1786 | pub fn get_vals_iter( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1835 | pub fn cnt_vals(&self, db: &BytesDatabase, key: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1853 | fn count_duplicates( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1889 | pub fn del_vals( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1959 | pub fn get_io_dup_vals(&self, db: &BytesDatabase, key: &[u8]) -> Result>, DBError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2022 | pub fn put_io_dup_vals( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2136 | pub fn add_io_dup_val( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2146 | pub fn get_io_dup_vals_iter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2219 | pub fn cnt_io_dup_vals(&self, db: &BytesDatabase, key: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2279 | pub fn del_io_dup_vals(&self, db: &BytesDatabase, key: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2334 | pub fn del_io_dup_val( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2433 | pub fn get_io_dup_val_last( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2510 | pub fn get_top_io_dup_item_iter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2581 | pub fn add_on_io_dup_val( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2615 | pub fn append_on_io_dup_val( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2648 | pub fn del_on_io_dup_vals( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2679 | pub fn del_on_io_dup_val( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2715 | pub fn get_on_io_dup_item_iter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2760 | pub fn get_on_io_dup_val_iter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2794 | pub fn get_on_io_dup_last_item_iter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2950 | pub fn get_on_io_dup_item_back_iter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3115 | pub fn get_on_io_dup_last_val_iter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3151 | pub fn get_on_io_dup_val_back_iter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_key` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn on_key(top: impl AsRef<[u8]>, on: u64, sep: Option<[u8; 1]>) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sn_key` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn sn_key(pre: impl AsRef<[u8]>, sn: u64) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fn_key` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn fn_key(pre: impl AsRef<[u8]>, fn_val: u64) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dg_key` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn dg_key(pre: impl AsRef<[u8]>, dig: impl AsRef<[u8]>) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dt_key` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn dt_key(pre: impl AsRef<[u8]>, dts: impl AsRef<[u8]>) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_key` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn split_key( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_on_key` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn split_on_key( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_sn_key` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn split_sn_key( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_fn_key` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn split_fn_key( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_key_on` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn split_key_on( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_key_sn` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn split_key_sn( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_key_fn` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn split_key_fn( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_key_dt` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn split_key_dt(key: impl AsRef<[u8]>) -> Result<(Vec, DateTime), DBError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `suffix` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn suffix(key: impl AsRef<[u8]>, ion: u64, sep: Option<[u8; 1]>) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unsuffix` is never used [INFO] [stdout] --> src/keri/db/dbing/keys.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn unsuffix(iokey: impl AsRef<[u8]>, sep: Option<[u8; 1]>) -> Result<(Vec, u64), DBError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db`, `sdb`, `kind`, and `sep` are never read [INFO] [stdout] --> src/keri/db/koming.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct KomerBase<'db, T> [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | db: Arc<&'db LMDBer>, // The base LMDB database [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub sdb: Database, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub kind: SerialKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub sep: String, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/koming.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 65 | / impl<'db, T> KomerBase<'db, T> [INFO] [stdout] 66 | | where [INFO] [stdout] 67 | | T: Serialize + for<'de> Deserialize<'de> + Debug, [INFO] [stdout] | |_____________________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn to_key>(&self, keys: &[K], topive: bool) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn to_keys(&self, key: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn serialize(&self, val: &T) -> Result, KomerError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn deserialize(&self, val: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn serialize_json(&self, val: &T) -> Result, KomerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn deserialize_json(&self, val: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn serialize_msgpack(&self, val: &T) -> Result, KomerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn deserialize_msgpack(&self, val: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn serialize_cbor(&self, val: &T) -> Result, KomerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn deserialize_cbor(&self, val: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_item_iter(&self, keys: &[K]) -> Result, T)>, KomerError> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn get_full_item_iter(&self, keys: &[K]) -> Result, T)>, KomerError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn put(&self, keys: &[K], val: &T) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get(&self, keys: &[K]) -> Result, KomerError> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn rem(&self, keys: &[K]) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn cnt_all(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/koming.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 266 | / impl<'db, T> Komer<'db, T> [INFO] [stdout] 267 | | where [INFO] [stdout] 268 | | T: Serialize + for<'de> Deserialize<'de> + Debug, [INFO] [stdout] | |_____________________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn new(db: Arc<&'db LMDBer>, subkey: &str, kind: SerialKind) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn put(&self, keys: &[K], val: &T) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn pin(&self, keys: &[K], val: &T) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn get(&self, keys: &[K]) -> Result, KomerError> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn get_json(&self, keys: &[K]) -> Result, KomerError> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn get_item_iter(&self, keys: &[K]) -> Result, T)>, KomerError> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | pub fn rem(&self, keys: &[K]) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn trim(&self, keys: &[K]) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn cnt_all(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/keri/db/subing/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum SuberError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | KeyConversionError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | ValueConversionError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | DeserializationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | EncryptionError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | DecryptionError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | VerferError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | EmptyKeys, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SuberError` 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 functions `serialize` and `deserialize` are never used [INFO] [stdout] --> src/keri/db/subing/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub trait ValueCodec { [INFO] [stdout] | ---------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 58 | fn serialize>>(val: &T) -> Result, SuberError>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn deserialize>>(bytes: &[u8]) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `verify` and `dupsort` are never read [INFO] [stdout] --> src/keri/db/subing/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct SuberBase<'db, C: ValueCodec = Utf8Codec> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | verify: bool, // Whether to verify data when deserializing [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 99 | dupsort: bool, // Whether the database allows duplicates [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_dupsort`, `ser`, and `des` are never used [INFO] [stdout] --> src/keri/db/subing/mod.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl<'db, C: ValueCodec> SuberBase<'db, C> { [INFO] [stdout] | ------------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn is_dupsort(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn ser>>(&self, val: &T) -> Result, SuberError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn des>>(&self, val: &[u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/keri/db/subing/mod.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct Suber<'a, C: ValueCodec = Utf8Codec> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 225 | pub base: SuberBase<'a, C>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/mod.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 228 | impl<'db, C: ValueCodec> Suber<'db, C> { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 229 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn put, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn pin, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub fn get, V: TryFrom>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn rem>(&self, keys: &[K]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn trim>(&self, keys: &[K], topive: bool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn get_full_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn get_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn to_key>(&self, keys: &[K], topive: bool) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn cnt_all(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base` and `formats` are never read [INFO] [stdout] --> src/keri/db/subing/catcesr.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CatCesrSuberBase<'db, M: Matter> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 18 | pub base: CesrSuberBase<'db, M>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub formats: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/catcesr.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'db, M: Matter + Parsable> CatCesrSuberBase<'db, M> { [INFO] [stdout] | -------------------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn ser(&self, val: &[&dyn Matter]) -> Result, SuberError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn des(&self, val: &[u8]) -> Result>, SuberError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn ser_from_siger(&self, siger: &Siger) -> Result, SuberError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn des_to_siger(&self, val: &[u8]) -> Result>, SuberError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn ser_from_seqner_saider( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn des_to_seqner_saider(&self, val: &[u8]) -> Result>, SuberError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn ser_from_verfer_cigar( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub fn des_to_verfer_cigar(&self, val: &[u8]) -> Result>, SuberError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn ser_from_number_saider( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn des_to_number_saider(&self, val: &[u8]) -> Result>, SuberError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn ser_from_prefixer_seqner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn des_to_prefixer_seqner(&self, val: &[u8]) -> Result>, SuberError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn ser_from_seqner_diger( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn des_to_seqner_diger(&self, val: &[u8]) -> Result>, SuberError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn ser_from_dater_seqner_diger( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn des_to_dater_seqner_diger( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | pub fn ser_from_prefixer_seqner_saider( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub fn des_to_prefixer_seqner_saider( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CatCesrSuber` is never constructed [INFO] [stdout] --> src/keri/db/subing/catcesr.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct CatCesrSuber<'db, M: Matter> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/catcesr.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 483 | impl<'db, M: Matter + Parsable> CatCesrSuber<'db, M> { [INFO] [stdout] | ---------------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn put>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | pub fn pin>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | pub fn get>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | pub fn rem>(&self, keys: &[K]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 553 | pub fn trim>(&self, keys: &[K], topive: bool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 558 | pub fn get_full_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | pub fn get_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 576 | pub fn process_items( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | pub fn to_key>(&self, keys: &[K], topive: bool) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 595 | pub fn to_keys(&self, key: &[u8]) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 600 | pub fn cnt_all(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base` and `io_set_suber` are never read [INFO] [stdout] --> src/keri/db/subing/catcesrioset.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CatCesrIoSetSuber<'db, M: Matter> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 10 | pub base: CatCesrSuberBase<'db, M>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub io_set_suber: IoSetSuber<'db>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/catcesrioset.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'db, M: Matter + Parsable> CatCesrIoSetSuber<'db, M> { [INFO] [stdout] | --------------------------------------------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn ser(&self, val: &[&dyn Matter]) -> Result, SuberError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn des(&self, val: &[u8]) -> Result>, SuberError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn put>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn add>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn pin>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get>(&self, keys: &[K]) -> Result>>, SuberError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_iter>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_last>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn rem>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn cnt>(&self, keys: &[K]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn get_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn process_items( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn to_key>(&self, keys: &[K], topive: bool) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn to_keys(&self, key: &[u8]) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn trim>(&self, keys: &[K], topive: bool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn get_full_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn cnt_all(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/keri/db/subing/cesr.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct CesrSuber<'db, M: Matter> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 149 | base: CesrSuberBase<'db, M>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/cesr.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl<'db, M: Matter + Parsable> CesrSuber<'db, M> { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 153 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn pin>(&self, keys: &[K], val: &M) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn put>(&self, keys: &[K], val: &M) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get>(&self, keys: &[K]) -> Result, SuberError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn rem>(&self, keys: &[K]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn trim>(&self, keys: &[K], topive: bool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn get_full_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn get_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn process_items( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn cnt_all(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base` and `io_set_suber` are never read [INFO] [stdout] --> src/keri/db/subing/cesrioset.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CesrIoSetSuber<'db, M: Matter> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 10 | pub base: CesrSuberBase<'db, M>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub io_set_suber: IoSetSuber<'db, crate::keri::db::subing::cesr::CesrCodec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/cesrioset.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'db, M: Matter + Parsable> CesrIoSetSuber<'db, M> { [INFO] [stdout] | ------------------------------------------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn put>(&self, keys: &[K], vals: &[&M]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn add>(&self, keys: &[K], val: &M) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn pin>(&self, keys: &[K], vals: &[&M]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get>(&self, keys: &[K]) -> Result, SuberError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_iter>(&self, keys: &[K]) -> Result, SuberError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_last>(&self, keys: &[K]) -> Result, SuberError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn rem>(&self, keys: &[K], val: Option<&M>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn cnt>(&self, keys: &[K]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn to_key>(&self, keys: &[K], topive: bool) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn to_keys(&self, key: &[u8]) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn trim>(&self, keys: &[K], topive: bool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn get_full_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn cnt_all(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn is_dupsort(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/keri/db/subing/dup.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DupSuber<'db, C: ValueCodec = Utf8Codec> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 10 | pub base: SuberBase<'db, C>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/dup.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'db, C: ValueCodec> DupSuber<'db, C> { [INFO] [stdout] | ----------------------------------------- associated items in this implementation [INFO] [stdout] 14 | /// Creates a new `DupSuber`. [INFO] [stdout] 15 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn is_dupsort(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn put, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn add, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn pin, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn get, R: TryFrom>>(&self, keys: &[K]) -> Result, SuberError> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn get_last, R: TryFrom>>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn get_iter, R: TryFrom> + 'static>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn get_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn cnt>(&self, keys: &[K]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn rem, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/keri/db/subing/iodup.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct IoDupSuber<'db, C: ValueCodec = Utf8Codec> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | base: DupSuber<'db, C>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/iodup.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'db, C: ValueCodec> IoDupSuber<'db, C> { [INFO] [stdout] | ------------------------------------------- associated items in this implementation [INFO] [stdout] 38 | /// Creates a new `IoDupSuber` instance. [INFO] [stdout] 39 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn put, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn add, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn pin, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn get, R: TryFrom>>(&self, keys: &[K]) -> Result, SuberError> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn get_iter, R: TryFrom> + 'static>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn get_last, R: TryFrom>>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn rem, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn cnt>(&self, keys: &[K]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn get_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub fn get_full_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | pub fn trim>(&self, keys: &[K], topive: bool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn is_dupsort(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/keri/db/subing/ioset.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct IoSetSuber<'db, C: ValueCodec = Utf8Codec> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | pub base: SuberBase<'db, C>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/ioset.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'db, C: ValueCodec> IoSetSuber<'db, C> { [INFO] [stdout] | ------------------------------------------- associated items in this implementation [INFO] [stdout] 13 | /// Creates a new `IoSetSuber`. [INFO] [stdout] 14 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn put, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn add, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn pin, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn get, R: TryFrom>>(&self, keys: &[K]) -> Result, SuberError> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn get_iter, R: TryFrom> + 'static>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn get_last, R: TryFrom>>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn rem, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn cnt>(&self, keys: &[K]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn get_item_iter, R: TryFrom>>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | pub fn get_full_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn trim>(&self, keys: &[K], topive: bool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub fn cntAll(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/keri/db/subing/on.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OnSuberBase<'db, C: ValueCodec = Utf8Codec> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | pub base: SuberBase<'db, C>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/on.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'db, C: ValueCodec> crate::keri::db::subing::on::OnSuberBase<'db, C> { [INFO] [stdout] | ------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn is_dupsort(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn put_on, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn pin_on, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn append_on, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_on, R: TryFrom>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn rem_on>(&self, keys: &[K], on: u32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn cnt_on>(&self, keys: &[K], on: u32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn get_on_iter, R: TryFrom> + 'static>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn get_on_item_iter, R: TryFrom> + 'static>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base` and `on_base` are never read [INFO] [stdout] --> src/keri/db/subing/on.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 294 | pub struct OnSuber<'db, C: ValueCodec = Utf8Codec> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 295 | pub base: Suber<'db, C>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 296 | pub on_base: OnSuberBase<'db, C>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/on.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 299 | impl<'db, C: ValueCodec> OnSuber<'db, C> { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] 300 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn put, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn pin, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn get, V: TryFrom>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn rem>(&self, keys: &[K]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | pub fn trim>(&self, keys: &[K], topive: bool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn get_full_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn get_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn cnt_all(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn is_dupsort(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn put_on, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn pin_on, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn append_on, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn get_on, R: TryFrom>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn rem_on>(&self, keys: &[K], on: u32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn cnt_on>(&self, keys: &[K], on: u32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | pub fn get_on_iter, R: TryFrom> + 'static>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn get_on_item_iter, R: TryFrom> + 'static>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `on_base` and `io_dup_suber` are never read [INFO] [stdout] --> src/keri/db/subing/oniodup.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct OnIoDupSuber<'db, C: ValueCodec = Utf8Codec> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | pub on_base: OnSuberBase<'db, C>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub io_dup_suber: IoDupSuber<'db, C>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/oniodup.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'db, C: ValueCodec> OnIoDupSuber<'db, C> { [INFO] [stdout] | --------------------------------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn add_on, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn append_on, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_on, R: TryFrom>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn rem_on, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn get_on_iter, R: TryFrom> + 'static>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn get_on_item_iter, R: TryFrom> + 'static>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn get_on_last_iter, R: TryFrom> + 'static>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn get_on_last_item_iter, R: TryFrom> + 'static>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn get_on_back_iter, R: TryFrom> + 'static>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn get_on_item_back_iter, R: TryFrom> + 'static>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn cnt_on>(&self, keys: &[K], on: u32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 426 | pub fn get_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | pub fn add, V: ?Sized + Clone + Into>>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | pub fn get_last, R: TryFrom>>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn get_io_dup_val_last, R: TryFrom>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | pub fn get, R: TryFrom>>(&self, keys: &[K]) -> Result, SuberError> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | pub fn is_dupsort(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SerderCodec` is never constructed [INFO] [stdout] --> src/keri/db/subing/serder.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SerderCodec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/keri/db/subing/serder.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SerderCodec { [INFO] [stdout] | ---------------------------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(verify: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db`, `sdb`, `sep`, and `verify` are never read [INFO] [stdout] --> src/keri/db/subing/serder.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SerderSuberBase<'db, S: Serder + Rawifiable + 'static> { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 41 | db: Arc<&'db LMDBer>, // The base LMDB database [INFO] [stdout] | ^^ [INFO] [stdout] 42 | sdb: BytesDatabase, // The sub-database [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | sep: u8, // Separator for combining keys [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | verify: bool, // Whether to verify data when deserializing [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/serder.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl<'db, S: Serder + Rawifiable + 'static> SerderSuberBase<'db, S> { [INFO] [stdout] | ------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 49 | /// Create a new SerderSuberBase instance [INFO] [stdout] 50 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn to_key>(&self, keys: &[K], topive: bool) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn to_keys(&self, key: &[u8]) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn ser(&self, val: &S) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn des(&self, val: &[u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn get>(&self, keys: &[K]) -> Result, SuberError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn put>(&self, keys: &[K], val: &S) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn pin>(&self, keys: &[K], val: &S) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn rem>(&self, keys: &[K]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn trim>(&self, keys: &[K], topive: bool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn get_full_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn get_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn cnt_all(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/keri/db/subing/serder.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct SerderSuber<'db, S: Serder + Rawifiable + 'static> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 211 | base: SerderSuberBase<'db, S>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/serder.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl<'db, S: Serder + Rawifiable + 'static> SerderSuber<'db, S> { [INFO] [stdout] | --------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 215 | /// Create a new SerderSuber instance [INFO] [stdout] 216 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn put>(&self, keys: &[K], val: &S) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn pin>(&self, keys: &[K], val: &S) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn get>(&self, keys: &[K]) -> Result, SuberError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn rem>(&self, keys: &[K]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn trim>(&self, keys: &[K], topive: bool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn get_full_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn get_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn cnt_all(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SerderKERISuber` is never used [INFO] [stdout] --> src/keri/db/subing/serder.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | pub type SerderKERISuber<'db> = SerderSuber<'db, SerderKERI>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SerderACDCSuber` is never used [INFO] [stdout] --> src/keri/db/subing/serder.rs:282:10 [INFO] [stdout] | [INFO] [stdout] 282 | pub type SerderACDCSuber<'db> = SerderSuber<'db, SerderACDC>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SignerTrait` is never used [INFO] [stdout] --> src/keri/db/subing/signer.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait SignerTrait: Matter + Parsable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SignerSuber` is never constructed [INFO] [stdout] --> src/keri/db/subing/signer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SignerSuber<'db> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/signer.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'db> SignerSuber<'db> { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get>(&self, keys: &[K]) -> Result, SuberError> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn put>(&self, keys: &[K], val: &Signer) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn pin>(&self, keys: &[K], val: &Signer) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn trim>(&self, keys: &[K], topive: bool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn cnt_all(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/keri/db/subing/signer.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct CryptSignerSuber<'db> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 133 | base: CesrSuberBase<'db, Signer>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/keri/db/subing/signer.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl<'db> CryptSignerSuber<'db> { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 137 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn pin>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn put>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn rem>(&self, keys: &[K]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn trim>(&self, keys: &[K], topive: bool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn get_full_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn get_item_iter>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn process_items( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn cnt_all(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nowiso8601` is never used [INFO] [stdout] --> src/keri/help/helping.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn nowiso8601() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/cesr/counting/mod.rs:1007:5 [INFO] [stdout] | [INFO] [stdout] 1007 | /// Returns a HashMap mapping CESR hard code prefixes to their sizes [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 1007 | /// Returns a HashMap mapping CESR hard code prefixes to their sizes [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/cesr/counting/mod.rs:1128:5 [INFO] [stdout] | [INFO] [stdout] 1128 | base.checked_pow(exp).unwrap_or_else(|| u64::MAX) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 1128 - base.checked_pow(exp).unwrap_or_else(|| u64::MAX) [INFO] [stdout] 1128 + base.checked_pow(exp).unwrap_or(u64::MAX) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant redefinition of a binding `code_str` [INFO] [stdout] --> src/cesr/counting/mod.rs:1253:9 [INFO] [stdout] | [INFO] [stdout] 1253 | let mut code_str = code_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `code_str` is initially defined here [INFO] [stdout] --> src/cesr/counting/mod.rs:1202:13 [INFO] [stdout] | [INFO] [stdout] 1202 | let mut code_str = match code { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals [INFO] [stdout] = note: `#[warn(clippy::redundant_locals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/cesr/counting/mod.rs:1380:23 [INFO] [stdout] | [INFO] [stdout] 1380 | return if first.len() > 0 && first[0] == 0xfc { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!first.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manually reimplementing `div_ceil` [INFO] [stdout] --> src/cesr/counting/mod.rs:1396:19 [INFO] [stdout] | [INFO] [stdout] 1396 | let bhs = ((hs * 3 + 3) / 4) as usize; // ceiling division of hs * 3 / 4 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `(hs * 3).div_ceil(4)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil [INFO] [stdout] = note: `#[warn(clippy::manual_div_ceil)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manually reimplementing `div_ceil` [INFO] [stdout] --> src/cesr/counting/mod.rs:1421:19 [INFO] [stdout] | [INFO] [stdout] 1421 | let bcs = (fs * 3 + 3) / 4; // ceiling division of fs * 3 / 4 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `(fs * 3).div_ceil(4)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `from_*` usually take no `self` [INFO] [stdout] --> src/cesr/dater.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn from_b64(&self, s: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] = note: `#[warn(clippy::wrong_self_convention)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/cesr/diger.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let code = code.unwrap_or_else(|| mtr_dex::BLAKE3_256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 23 - let code = code.unwrap_or_else(|| mtr_dex::BLAKE3_256); [INFO] [stdout] 23 + let code = code.unwrap_or(mtr_dex::BLAKE3_256); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/cesr/diger.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let code = code.unwrap_or_else(|| mtr_dex::BLAKE3_256); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 48 - let code = code.unwrap_or_else(|| mtr_dex::BLAKE3_256); [INFO] [stdout] 48 + let code = code.unwrap_or(mtr_dex::BLAKE3_256); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/cesr/indexing/siger.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | self.base.full_size() as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.base.full_size()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `on` after checking its variant with `is_none` [INFO] [stdout] --> src/cesr/indexing/mod.rs:614:34 [INFO] [stdout] | [INFO] [stdout] 609 | if on.is_none() { [INFO] [stdout] | --------------- help: try: `if let Some() = on` [INFO] [stdout] ... [INFO] [stdout] 614 | let on_val = on.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] = note: `#[warn(clippy::unnecessary_unwrap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> src/cesr/indexing/mod.rs:1287:12 [INFO] [stdout] | [INFO] [stdout] 1287 | if bfs % 3 != 0 || (bfs * 4 / 3) != fs { [INFO] [stdout] | ^^^^^^^^^^^^ help: replace with: `!bfs.is_multiple_of(3)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] = note: `#[warn(clippy::manual_is_multiple_of)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manually reimplementing `div_ceil` [INFO] [stdout] --> src/cesr/indexing/mod.rs:1324:5 [INFO] [stdout] | [INFO] [stdout] 1324 | (a + b - 1) / b [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `a.div_ceil(b)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/cesr/indexing/mod.rs:1381:9 [INFO] [stdout] | [INFO] [stdout] 1381 | size.fs.or_else(|| Some(0)).unwrap() as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] help: use `or` instead [INFO] [stdout] | [INFO] [stdout] 1381 - size.fs.or_else(|| Some(0)).unwrap() as usize [INFO] [stdout] 1381 + size.fs.or(Some(0)).unwrap() as usize [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/cesr/indexing/mod.rs:1386:12 [INFO] [stdout] | [INFO] [stdout] 1386 | if soft.len() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `soft.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cesr/number.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | let base = BaseMatter::new(Some(&bytes), Some(code), None, None)?; [INFO] [stdout] | ^^^^^^ help: change this to: `bytes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/cesr/number.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let num = if numh.len() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `numh.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/cesr/saider.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | match deversify(&sad["v"].as_str().unwrap_or("")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `sad["v"].as_str().unwrap_or("")` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/cesr/saider.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | /// the Saider's qb64b. If prefixed is true, also checks if the label field in sad matches [INFO] [stdout] | ^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] = note: `#[warn(clippy::doc_overindented_list_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/cesr/saider.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | /// the Saider's qb64. If versioned is true and sad includes a version field 'v', also [INFO] [stdout] | ^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/cesr/saider.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | /// validates that the version field matches the version field of the modified sad. [INFO] [stdout] | ^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Result::Err` [INFO] [stdout] --> src/cesr/saider.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | / self.verify_internal(sad, prefixed, versioned, kind_opt, label, ignore) [INFO] [stdout] 344 | | .unwrap_or_else(|_| false) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 344 - .unwrap_or_else(|_| false) [INFO] [stdout] 344 + .unwrap_or(false) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `.as_ref().map(|v| v.as_slice())` on an `Option` value [INFO] [stdout] --> src/cesr/saider.rs:418:45 [INFO] [stdout] | [INFO] [stdout] 418 | let ignore_slice: Option<&[&str]> = ignore_refs.as_ref().map(|v| v.as_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using as_deref: `ignore_refs.as_deref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref [INFO] [stdout] = note: `#[warn(clippy::option_as_ref_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `prikey` after checking its variant with `is_some` [INFO] [stdout] --> src/cesr/signing/cipher.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 114 | let decrypter = if prikey.is_some() { [INFO] [stdout] | ------------------- help: try: `if let Some() = prikey` [INFO] [stdout] 115 | Decrypter::from_qb64b(&mut prikey.unwrap().to_vec(), Some(false))? [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `seed` after checking its variant with `is_some` [INFO] [stdout] --> src/cesr/signing/decrypter.rs:50:58 [INFO] [stdout] | [INFO] [stdout] 48 | if seed.is_some() { [INFO] [stdout] | ----------------- help: try: `if let Some() = seed` [INFO] [stdout] 49 | // Derive decryption key from signing key [INFO] [stdout] 50 | let signer = Signer::from_qb64b(&mut seed.unwrap().to_vec(), None)?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cesr/signing/decrypter.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | let base = BaseMatter::new(Some(&raw), Some(code), None, None)?; [INFO] [stdout] | ^^^^ help: change this to: `raw` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `verkey` after checking its variant with `is_some` [INFO] [stdout] --> src/cesr/signing/encrypter.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 28 | let raw_bytes = if raw.is_none() && verkey.is_some() { [INFO] [stdout] | ---------------- the check is happening here [INFO] [stdout] 29 | let verfer = Verfer::from_qb64b(&mut verkey.unwrap().to_vec(), None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `errors::MatterError` [INFO] [stdout] --> src/cesr/signing/encrypter.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(MatterError::ValueError(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 33 | | "Unsupported verkey derivation code = {}", [INFO] [stdout] 34 | | verfer.code() [INFO] [stdout] 35 | | )) [INFO] [stdout] 36 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] help: consider removing `.into()` [INFO] [stdout] | [INFO] [stdout] 32 ~ return Err(MatterError::ValueError(format!( [INFO] [stdout] 33 + "Unsupported verkey derivation code = {}", [INFO] [stdout] 34 + verfer.code() [INFO] [stdout] 35 ~ ))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `errors::MatterError` [INFO] [stdout] --> src/cesr/signing/encrypter.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | MatterError::ValueError("Invalid verkey format".to_string()).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `MatterError::ValueError("Invalid verkey format".to_string())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `errors::MatterError` [INFO] [stdout] --> src/cesr/signing/encrypter.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | return Err(MatterError::ValueError( [INFO] [stdout] | ________________________^ [INFO] [stdout] 49 | | "Either raw or verkey must be provided".to_string(), [INFO] [stdout] 50 | | ) [INFO] [stdout] 51 | | .into()); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] help: consider removing `.into()` [INFO] [stdout] | [INFO] [stdout] 48 ~ return Err(MatterError::ValueError( [INFO] [stdout] 49 + "Either raw or verkey must be provided".to_string(), [INFO] [stdout] 50 ~ )); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `errors::MatterError` [INFO] [stdout] --> src/cesr/signing/encrypter.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | MatterError::ValueError(format!("Unsupported encrypter code = {}", code)).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `MatterError::ValueError(format!("Unsupported encrypter code = {}", code))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `errors::MatterError` [INFO] [stdout] --> src/cesr/signing/encrypter.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | .ok_or_else(|| MatterError::ValueError("Invalid seed format".to_string()).into())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `MatterError::ValueError("Invalid seed format".to_string())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `code` after checking its variant with `is_none` [INFO] [stdout] --> src/cesr/signing/encrypter.rs:121:45 [INFO] [stdout] | [INFO] [stdout] 102 | if code.is_none() { [INFO] [stdout] | ----------------- help: try: `if let Some() = code` [INFO] [stdout] ... [INFO] [stdout] 121 | if self.is_qb64_cipher_code(code.unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `code` after checking its variant with `is_none` [INFO] [stdout] --> src/cesr/signing/encrypter.rs:123:51 [INFO] [stdout] | [INFO] [stdout] 102 | if code.is_none() { [INFO] [stdout] | ----------------- help: try: `if let Some() = code` [INFO] [stdout] ... [INFO] [stdout] 123 | } else if self.is_qb2_cipher_code(code.unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `code` after checking its variant with `is_none` [INFO] [stdout] --> src/cesr/signing/encrypter.rs:125:54 [INFO] [stdout] | [INFO] [stdout] 102 | if code.is_none() { [INFO] [stdout] | ----------------- help: try: `if let Some() = code` [INFO] [stdout] ... [INFO] [stdout] 125 | } else if self.is_stream_cipher_code(code.unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `code` after checking its variant with `is_none` [INFO] [stdout] --> src/cesr/signing/encrypter.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 102 | if code.is_none() { [INFO] [stdout] | ----------------- help: try: `if let Some() = code` [INFO] [stdout] ... [INFO] [stdout] 131 | code.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `errors::MatterError` [INFO] [stdout] --> src/cesr/signing/encrypter.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | return Err(MatterError::ValueError(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 114 | | "Unsupported primitive with code = {} when cipher code is missing", [INFO] [stdout] 115 | | p.code() [INFO] [stdout] 116 | | )) [INFO] [stdout] 117 | | .into()); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] help: consider removing `.into()` [INFO] [stdout] | [INFO] [stdout] 113 ~ return Err(MatterError::ValueError(format!( [INFO] [stdout] 114 + "Unsupported primitive with code = {} when cipher code is missing", [INFO] [stdout] 115 + p.code() [INFO] [stdout] 116 ~ ))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `errors::MatterError` [INFO] [stdout] --> src/cesr/signing/encrypter.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | return Err(MatterError::InvalidCode(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 130 | | "Invalid primitive cipher code = {} not qb64 or qb2", [INFO] [stdout] 131 | | code.unwrap() [INFO] [stdout] 132 | | )) [INFO] [stdout] 133 | | .into()); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] help: consider removing `.into()` [INFO] [stdout] | [INFO] [stdout] 129 ~ return Err(MatterError::InvalidCode(format!( [INFO] [stdout] 130 + "Invalid primitive cipher code = {} not qb64 or qb2", [INFO] [stdout] 131 + code.unwrap() [INFO] [stdout] 132 ~ ))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `errors::MatterError` [INFO] [stdout] --> src/cesr/signing/encrypter.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | return Err(MatterError::EmptyMaterialError( [INFO] [stdout] | ________________________^ [INFO] [stdout] 138 | | "Neither serialization or primitive are provided".to_string(), [INFO] [stdout] 139 | | ) [INFO] [stdout] 140 | | .into()); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] help: consider removing `.into()` [INFO] [stdout] | [INFO] [stdout] 137 ~ return Err(MatterError::EmptyMaterialError( [INFO] [stdout] 138 + "Neither serialization or primitive are provided".to_string(), [INFO] [stdout] 139 ~ )); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `errors::MatterError` [INFO] [stdout] --> src/cesr/signing/encrypter.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | MatterError::ValueError("Invalid public key format".to_string()).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `MatterError::ValueError("Invalid public key format".to_string())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/cesr/signing/salter.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / pub fn signers( [INFO] [stdout] 147 | | &self, [INFO] [stdout] 148 | | count: usize, [INFO] [stdout] 149 | | start: usize, [INFO] [stdout] ... | [INFO] [stdout] 154 | | temp: bool, [INFO] [stdout] 155 | | ) -> Result, MatterError> { [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cesr/signing/signer.rs:409:58 [INFO] [stdout] | [INFO] [stdout] 409 | let signing_key = SigningKey::from_slice(&signer.raw()) [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `signer.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of a named constant with interior mutability [INFO] [stdout] --> src/cesr/tholder.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 211 | } else if bex_dex::MAP.contains_key(matter.code()) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: there is a compiler inserted call to `Deref::deref` here [INFO] [stdout] = help: this lint can be silenced by assigning the value to a local variable before borrowing [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_interior_mutable_const [INFO] [stdout] = note: `#[warn(clippy::borrow_interior_mutable_const)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `iter().cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable [INFO] [stdout] --> src/cesr/tholder.rs:423:53 [INFO] [stdout] | [INFO] [stdout] 423 | let mut unique_indices: Vec = indices.iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `.to_vec()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_cloned_collect [INFO] [stdout] = note: `#[warn(clippy::iter_cloned_collect)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/cesr/tholder.rs:657:33 [INFO] [stdout] | [INFO] [stdout] 657 | ... nested_sum = nested_sum + *weight; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `nested_sum += *weight` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] = note: `#[warn(clippy::assign_op_pattern)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `!RangeInclusive::contains` implementation [INFO] [stdout] --> src/cesr/tholder.rs:910:16 [INFO] [stdout] | [INFO] [stdout] 910 | if int_val < 0 || int_val > 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `!(0..=1).contains(&int_val)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] = note: `#[warn(clippy::manual_range_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cesr/verfer.rs:102:55 [INFO] [stdout] | [INFO] [stdout] 102 | let pk = match ed25519::PublicKey::from_slice(&self.raw()) { [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cesr/verfer.rs:136:59 [INFO] [stdout] | [INFO] [stdout] 136 | let verifying_key = VerifyingKey::from_sec1_bytes(&self.raw()) [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/cesr/verfer.rs:176:48 [INFO] [stdout] | [INFO] [stdout] 176 | let public_key = PublicKey::from_slice(&self.raw()) [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `self.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `push` immediately after creation [INFO] [stdout] --> src/cesr/mod.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / let mut vec = Vec::new(); [INFO] [stdout] 71 | | vec.push(self.major as u8); [INFO] [stdout] 72 | | vec.push(self.minor as u8); [INFO] [stdout] | |___________________________________^ help: consider using the `vec![]` macro: `let vec = vec![..];` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push [INFO] [stdout] = note: `#[warn(clippy::vec_init_then_push)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `LOW` contains a capitalized acronym [INFO] [stdout] --> src/cesr/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | LOW, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter (notice the capitalization): `Low` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] = note: `#[warn(clippy::upper_case_acronyms)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `MED` contains a capitalized acronym [INFO] [stdout] --> src/cesr/mod.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | MED, [INFO] [stdout] | ^^^ help: consider making the acronym lowercase, except the initial letter: `Med` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: name `HIGH` contains a capitalized acronym [INFO] [stdout] --> src/cesr/mod.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | HIGH, [INFO] [stdout] | ^^^^ help: consider making the acronym lowercase, except the initial letter: `High` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named constant with interior mutability [INFO] [stdout] --> src/cesr/mod.rs:655:15 [INFO] [stdout] | [INFO] [stdout] 655 | pub const MAP: once_cell::sync::Lazy> = [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to make this a `static` item [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const [INFO] [stdout] = note: `#[warn(clippy::declare_interior_mutable_const)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named constant with interior mutability [INFO] [stdout] --> src/cesr/mod.rs:702:15 [INFO] [stdout] | [INFO] [stdout] 702 | pub const MAP: once_cell::sync::Lazy> = [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to make this a `static` item [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/cesr/mod.rs:2200:13 [INFO] [stdout] | [INFO] [stdout] 2192 | / let val = match c { [INFO] [stdout] 2193 | | b'A'..=b'Z' => c - b'A', [INFO] [stdout] 2194 | | b'a'..=b'z' => c - b'a' + 26, [INFO] [stdout] 2195 | | b'0'..=b'9' => c - b'0' + 52, [INFO] [stdout] ... | [INFO] [stdout] 2198 | | _ => unreachable!(), [INFO] [stdout] 2199 | | }; [INFO] [stdout] | |______________- unnecessary `let` binding [INFO] [stdout] 2200 | val [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 2192 ~ [INFO] [stdout] 2193 ~ match c { [INFO] [stdout] 2194 + b'A'..=b'Z' => c - b'A', [INFO] [stdout] 2195 + b'a'..=b'z' => c - b'a' + 26, [INFO] [stdout] 2196 + b'0'..=b'9' => c - b'0' + 52, [INFO] [stdout] 2197 + b'+' => 62, [INFO] [stdout] 2198 + b'/' => 63, [INFO] [stdout] 2199 + _ => unreachable!(), [INFO] [stdout] 2200 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Sizage` which implements the `Copy` trait [INFO] [stdout] --> src/cesr/mod.rs:2316:20 [INFO] [stdout] | [INFO] [stdout] 2316 | let size = sizes[code].clone(); // Assumes valid sizes from unit tests [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `sizes[code]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `size.fs` after checking its variant with `is_none` [INFO] [stdout] --> src/cesr/mod.rs:2513:13 [INFO] [stdout] | [INFO] [stdout] 2509 | let fs = if size.fs.is_none() { [INFO] [stdout] | -------------------- help: try: `if let Some() = size.fs` [INFO] [stdout] ... [INFO] [stdout] 2513 | size.fs.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taken reference of right operand [INFO] [stdout] --> src/cesr/mod.rs:2502:27 [INFO] [stdout] | [INFO] [stdout] 2502 | if size.xs > 0 && xtra != &"A".repeat(size.xs as usize) { [INFO] [stdout] | ^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | help: use the right value directly: `"A".repeat(size.xs as usize)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref [INFO] [stdout] = note: `#[warn(clippy::op_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/cesr/mod.rs:2533:16 [INFO] [stdout] | [INFO] [stdout] 2533 | if midpad.len() > 0 { midpad[0] } else { 0 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!midpad.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Sizage` which implements the `Copy` trait [INFO] [stdout] --> src/cesr/mod.rs:2611:20 [INFO] [stdout] | [INFO] [stdout] 2611 | let size = sizes[hard.as_str()].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `sizes[hard.as_str()]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/cesr/mod.rs:2761:12 [INFO] [stdout] | [INFO] [stdout] 2761 | if !(ss > 0) || (fs == hs + ss && ls != 0) { [INFO] [stdout] | ^^^^^^^^^ help: try: `(ss <= 0)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Sizage` which implements the `Copy` trait [INFO] [stdout] --> src/cesr/mod.rs:2749:20 [INFO] [stdout] | [INFO] [stdout] 2749 | let size = sizes[code].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `sizes[code]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> src/cesr/mod.rs:2817:16 [INFO] [stdout] | [INFO] [stdout] 2817 | if (ls + rs as u32) % 3 != 0 || cs % 4 != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `!(ls + rs as u32).is_multiple_of(3)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Sizage` which implements the `Copy` trait [INFO] [stdout] --> src/cesr/mod.rs:2993:16 [INFO] [stdout] | [INFO] [stdout] 2993 | let size = sizes[code].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `sizes[code]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manually reimplementing `div_ceil` [INFO] [stdout] --> src/cesr/mod.rs:3018:13 [INFO] [stdout] | [INFO] [stdout] 3018 | let n = (l * 3 + 3) / 4; // Equivalent to ceiling of l*3/4 [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `(l * 3).div_ceil(4)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manually reimplementing `div_ceil` [INFO] [stdout] --> src/cesr/mod.rs:3076:13 [INFO] [stdout] | [INFO] [stdout] 3076 | let n = (l * 3 + 3) / 4; // Equivalent to ceiling of l*3/4 [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `(l * 3).div_ceil(4)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/cesr/mod.rs:3095:18 [INFO] [stdout] | [INFO] [stdout] 3095 | let result = adjusted_i.to_u64().unwrap_or_else(|| 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 3095 - let result = adjusted_i.to_u64().unwrap_or_else(|| 0); [INFO] [stdout] 3095 + let result = adjusted_i.to_u64().unwrap_or(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/cesr/mod.rs:3103:9 [INFO] [stdout] | [INFO] [stdout] 3103 | (c >= 'A' && c <= 'Z') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use: `('A'..='Z').contains(&c)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/cesr/mod.rs:3104:16 [INFO] [stdout] | [INFO] [stdout] 3104 | || (c >= 'a' && c <= 'z') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use: `('a'..='z').contains(&c)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/cesr/mod.rs:3105:16 [INFO] [stdout] | [INFO] [stdout] 3105 | || (c >= '0' && c <= '9') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use: `('0'..='9').contains(&c)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/cesr/mod.rs:3166:12 [INFO] [stdout] | [INFO] [stdout] 3166 | if soft.len() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `soft.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant name ends with the enum's name [INFO] [stdout] --> src/hio/errors.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | HioError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same postfix: `Error` [INFO] [stdout] --> src/hio/errors.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pub enum HioError { [INFO] [stdout] 6 | | #[error("Hio Error: {0}")] [INFO] [stdout] 7 | | HioError(String), [INFO] [stdout] ... | [INFO] [stdout] 16 | | SerializationError(String), [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the postfixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (13/7) [INFO] [stdout] --> src/hio/filing.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | / pub fn new( [INFO] [stdout] 85 | | name: Option, [INFO] [stdout] 86 | | base: Option, [INFO] [stdout] 87 | | temp: Option, [INFO] [stdout] ... | [INFO] [stdout] 97 | | fext: Option, [INFO] [stdout] 98 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/hio/filing.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / pub fn reopen( [INFO] [stdout] 171 | | &mut self, [INFO] [stdout] 172 | | temp: Option, [INFO] [stdout] 173 | | head_dir_path: Option, [INFO] [stdout] ... | [INFO] [stdout] 179 | | fext: Option, [INFO] [stdout] 180 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/hio/filing.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | / pub fn exists( [INFO] [stdout] 484 | | &self, [INFO] [stdout] 485 | | name: &str, [INFO] [stdout] 486 | | base: &str, [INFO] [stdout] ... | [INFO] [stdout] 491 | | fext: Option<&str>, [INFO] [stdout] 492 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/hio/helping.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / pub fn ocfn>( [INFO] [stdout] 31 | | path: P, [INFO] [stdout] 32 | | read: bool, [INFO] [stdout] 33 | | write: bool, [INFO] [stdout] ... | [INFO] [stdout] 38 | | perm: u32, [INFO] [stdout] 39 | | ) -> Result { [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `or_insert_with` to construct default value [INFO] [stdout] --> src/hio/hicting.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | .or_insert_with(VecDeque::new) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default [INFO] [stdout] = note: `#[warn(clippy::unwrap_or_default)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/keri/app/configing.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / pub fn open_cf( [INFO] [stdout] 19 | | name: Option, [INFO] [stdout] 20 | | temp: Option, [INFO] [stdout] 21 | | reopen: Option, [INFO] [stdout] ... | [INFO] [stdout] 26 | | human: Option, [INFO] [stdout] 27 | | ) -> Result { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (14/7) [INFO] [stdout] --> src/keri/app/configing.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / pub fn new( [INFO] [stdout] 95 | | name: Option, [INFO] [stdout] 96 | | base: Option, [INFO] [stdout] 97 | | temp: Option, [INFO] [stdout] ... | [INFO] [stdout] 108 | | human: Option, [INFO] [stdout] 109 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/keri/app/configing.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | / pub fn reopen( [INFO] [stdout] 290 | | &mut self, [INFO] [stdout] 291 | | temp: Option, [INFO] [stdout] 292 | | head_dir_path: Option, [INFO] [stdout] ... | [INFO] [stdout] 298 | | fext: Option, [INFO] [stdout] 299 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/keri/app/configing.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | / pub fn exists( [INFO] [stdout] 306 | | &self, [INFO] [stdout] 307 | | name: &str, [INFO] [stdout] 308 | | base: &str, [INFO] [stdout] ... | [INFO] [stdout] 313 | | fext: Option<&str>, [INFO] [stdout] 314 | | ) -> Result { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (11/7) [INFO] [stdout] --> src/keri/app/habbing.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / pub fn new( [INFO] [stdout] 61 | | ks: Keeper<'db>, [INFO] [stdout] 62 | | db: Baser<'db>, [INFO] [stdout] 63 | | mgr: Manager<'db>, [INFO] [stdout] ... | [INFO] [stdout] 71 | | temp: bool, [INFO] [stdout] 72 | | ) -> Result { [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (12/7) [INFO] [stdout] --> src/keri/app/habbing.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / pub fn make( [INFO] [stdout] 94 | | &mut self, [INFO] [stdout] 95 | | d_n_d: Option, [INFO] [stdout] 96 | | code: Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 105 | | wits: Option>, [INFO] [stdout] 106 | | ) -> Result { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (12/7) [INFO] [stdout] --> src/keri/app/habbing.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | / pub fn incept( [INFO] [stdout] 303 | | &mut self, [INFO] [stdout] 304 | | transferable: Option, [INFO] [stdout] 305 | | code: Option<&str>, [INFO] [stdout] ... | [INFO] [stdout] 314 | | delpre: Option, [INFO] [stdout] 315 | | ) -> Result { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/keri/app/habbing.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | / pub fn rotate( [INFO] [stdout] 369 | | &mut self, [INFO] [stdout] 370 | | count: Option, [INFO] [stdout] 371 | | ncount: Option, [INFO] [stdout] ... | [INFO] [stdout] 377 | | data: Option>, [INFO] [stdout] 378 | | ) -> Result, KERIError> { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the function `Diger::from_ser` doesn't need a mutable reference [INFO] [stdout] --> src/keri/app/habbing.rs:446:53 [INFO] [stdout] | [INFO] [stdout] 446 | let new_diger = Diger::from_ser(&mut verfer.qb64b(), Some(prior_diger.code()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed [INFO] [stdout] = note: `#[warn(clippy::unnecessary_mut_passed)]` on by default [INFO] [stdout] help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] 446 - let new_diger = Diger::from_ser(&mut verfer.qb64b(), Some(prior_diger.code()))?; [INFO] [stdout] 446 + let new_diger = Diger::from_ser(&verfer.qb64b(), Some(prior_diger.code()))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/keri/app/habbing.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | if !kever [INFO] [stdout] | _____________^ [INFO] [stdout] 457 | | .ntholder [INFO] [stdout] 458 | | .as_ref() [INFO] [stdout] 459 | | .map_or(false, |tholder| tholder.satisfy(&indices)) [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] = note: `#[warn(clippy::unnecessary_map_or)]` on by default [INFO] [stdout] help: use `is_some_and` instead [INFO] [stdout] | [INFO] [stdout] 459 - .map_or(false, |tholder| tholder.satisfy(&indices)) [INFO] [stdout] 459 + .is_some_and(|tholder| tholder.satisfy(&indices)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/app/habbing.rs:535:13 [INFO] [stdout] | [INFO] [stdout] 535 | &serder.raw(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `serder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/app/habbing.rs:617:13 [INFO] [stdout] | [INFO] [stdout] 617 | &serder.raw(), // ser: serialized event to sign [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `serder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/keri/app/habbing.rs:745:53 [INFO] [stdout] | [INFO] [stdout] 745 | let mut query_params = query.unwrap_or_else(|| IndexMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `IndexMap::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/app/habbing.rs:828:17 [INFO] [stdout] | [INFO] [stdout] 828 | &serder.raw(), // ser: serialized event to sign [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `serder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/app/habbing.rs:853:17 [INFO] [stdout] | [INFO] [stdout] 853 | &serder.raw(), // ser: serialized event to sign [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `serder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/app/habbing.rs:987:17 [INFO] [stdout] | [INFO] [stdout] 987 | &serder.raw(), // Sign the original event, not the receipt [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `serder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/app/habbing.rs:1010:17 [INFO] [stdout] | [INFO] [stdout] 1010 | &serder.raw(), // Sign the original event, not the receipt [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `serder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/app/habbing.rs:1144:13 [INFO] [stdout] | [INFO] [stdout] 1144 | &serder.raw(), // Sign the original event, not the receipt [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `serder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the method `parse_one` doesn't need a mutable reference [INFO] [stdout] --> src/keri/app/habbing.rs:1180:28 [INFO] [stdout] | [INFO] [stdout] 1180 | self.psr.parse_one(&mut msg.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed [INFO] [stdout] help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] 1180 - self.psr.parse_one(&mut msg.clone())?; [INFO] [stdout] 1180 + self.psr.parse_one(&msg.clone())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/keri/app/habbing.rs:1310:57 [INFO] [stdout] | [INFO] [stdout] 1310 | return Err(KERIError::MissingEntryError(format!( [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 1311 | | "Missing event data for key" [INFO] [stdout] 1312 | | ))); [INFO] [stdout] | |_________________^ help: consider using `.to_string()`: `"Missing event data for key".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/keri/app/habbing.rs:1547:10 [INFO] [stdout] | [INFO] [stdout] 1547 | ) -> Result>>, KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/keri/app/habbing.rs:1624:10 [INFO] [stdout] | [INFO] [stdout] 1624 | ) -> Result>>, KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/keri/app/habbing.rs:1647:10 [INFO] [stdout] | [INFO] [stdout] 1647 | ) -> Result>>, KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/keri/app/habbing.rs:1721:5 [INFO] [stdout] | [INFO] [stdout] 1721 | / pub fn reply( [INFO] [stdout] 1722 | | &self, [INFO] [stdout] 1723 | | route: String, [INFO] [stdout] 1724 | | data: Option>, [INFO] [stdout] ... | [INFO] [stdout] 1729 | | pipelined: Option, [INFO] [stdout] 1730 | | ) -> Result, KERIError> { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/keri/app/habbing.rs:2307:42 [INFO] [stdout] | [INFO] [stdout] 2307 | KERIError::MissingEntryError(format!("Missing event message for digest key")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Missing event message for digest key".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (13/7) [INFO] [stdout] --> src/keri/app/habbing.rs:2768:5 [INFO] [stdout] | [INFO] [stdout] 2768 | / pub fn new( [INFO] [stdout] 2769 | | ks: Keeper<'db>, [INFO] [stdout] 2770 | | db: Baser<'db>, [INFO] [stdout] 2771 | | mgr: Manager<'db>, [INFO] [stdout] ... | [INFO] [stdout] 2781 | | delpre: Option, [INFO] [stdout] 2782 | | ) -> Result { [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (21/7) [INFO] [stdout] --> src/keri/app/habbing.rs:2795:5 [INFO] [stdout] | [INFO] [stdout] 2795 | / pub fn make( [INFO] [stdout] 2796 | | &mut self, [INFO] [stdout] 2797 | | secrecies: Option>>, [INFO] [stdout] 2798 | | iridx: Option, [INFO] [stdout] ... | [INFO] [stdout] 2816 | | tier: Option, [INFO] [stdout] 2817 | | ) -> Result { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/keri/app/habbing.rs:2819:54 [INFO] [stdout] | [INFO] [stdout] 2819 | if !(self.ks.opened() && self.db.opened() && self.cf.as_ref().map_or(false, |cf| cf.opened)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use `is_some_and` instead [INFO] [stdout] | [INFO] [stdout] 2819 - if !(self.ks.opened() && self.db.opened() && self.cf.as_ref().map_or(false, |cf| cf.opened)) [INFO] [stdout] 2819 + if !(self.ks.opened() && self.db.opened() && self.cf.as_ref().is_some_and(|cf| cf.opened)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `bool` which implements the `Copy` trait [INFO] [stdout] --> src/keri/app/habbing.rs:2847:26 [INFO] [stdout] | [INFO] [stdout] 2847 | let temp_clone = self.temp.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.temp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/keri/app/habbing.rs:3065:5 [INFO] [stdout] | [INFO] [stdout] 3065 | / pub fn rotate( [INFO] [stdout] 3066 | | &mut self, [INFO] [stdout] 3067 | | isith: Option, [INFO] [stdout] 3068 | | nsith: Option, [INFO] [stdout] ... | [INFO] [stdout] 3073 | | data: Option>, [INFO] [stdout] 3074 | | ) -> Result, KERIError> { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/keri/app/keeping/creators.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / fn create( [INFO] [stdout] 42 | | &self, [INFO] [stdout] 43 | | codes: Option>, [INFO] [stdout] 44 | | count: Option, [INFO] [stdout] ... | [INFO] [stdout] 50 | | temp: Option, [INFO] [stdout] 51 | | ) -> Vec; [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/keri/app/keeping/creators.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | / pub fn create_with_options( [INFO] [stdout] 194 | | &self, [INFO] [stdout] 195 | | codes: Option>, [INFO] [stdout] 196 | | count: usize, [INFO] [stdout] ... | [INFO] [stdout] 202 | | temp: bool, [INFO] [stdout] 203 | | ) -> Vec { [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/keri/app/keeping/keeper.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / impl Default for PubLot { [INFO] [stdout] 39 | | fn default() -> Self { [INFO] [stdout] 40 | | Self { [INFO] [stdout] 41 | | pubs: Vec::new(), [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Default)] [INFO] [stdout] 19 | pub struct PubLot { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/keri/app/keeping/keeper.rs:63:34 [INFO] [stdout] | [INFO] [stdout] 63 | serde_json::to_value(&self.ridx).unwrap(), [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `self.ridx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/keri/app/keeping/keeper.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | serde_json::to_value(&self.kidx).unwrap(), [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `self.kidx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `push` immediately after creation [INFO] [stdout] --> src/keri/app/keeping/keeper.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / let mut result = Vec::new(); [INFO] [stdout] 55 | | [INFO] [stdout] 56 | | // Convert the struct to key-value pairs similar to Python's asdict [INFO] [stdout] 57 | | result.push(( [INFO] [stdout] ... | [INFO] [stdout] 68 | | )); [INFO] [stdout] 69 | | result.push(("dt".to_string(), serde_json::to_value(&self.dt).unwrap())); [INFO] [stdout] | |_________________________________________________________________________________^ help: consider using the `vec![]` macro: `let result = vec![..];` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `push` immediately after creation [INFO] [stdout] --> src/keri/app/keeping/keeper.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | / let mut result = Vec::new(); [INFO] [stdout] 107 | | [INFO] [stdout] 108 | | // Convert the struct to key-value pairs similar to Python's asdict [INFO] [stdout] 109 | | result.push(("old".to_string(), serde_json::to_value(&self.old).unwrap())); [INFO] [stdout] 110 | | result.push(("new".to_string(), serde_json::to_value(&self.new).unwrap())); [INFO] [stdout] 111 | | result.push(("nxt".to_string(), serde_json::to_value(&self.nxt).unwrap())); [INFO] [stdout] | |___________________________________________________________________________________^ help: consider using the `vec![]` macro: `let result = vec![..];` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/keri/app/keeping/keeper.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 167 | serde_json::to_value(&self.pidx).unwrap(), [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `self.pidx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `push` immediately after creation [INFO] [stdout] --> src/keri/app/keeping/keeper.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | / let mut result = Vec::new(); [INFO] [stdout] 163 | | [INFO] [stdout] 164 | | // Convert the struct to key-value pairs similar to Python's asdict [INFO] [stdout] 165 | | result.push(( [INFO] [stdout] ... | [INFO] [stdout] 183 | | serde_json::to_value(&self.tier).unwrap(), [INFO] [stdout] 184 | | )); [INFO] [stdout] | |___________^ help: consider using the `vec![]` macro: `let result = vec![..];` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/keri/app/keeping/keeper.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | / impl Default for PubSet { [INFO] [stdout] 199 | | fn default() -> Self { [INFO] [stdout] 200 | | Self { pubs: Vec::new() } [INFO] [stdout] 201 | | } [INFO] [stdout] 202 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute [INFO] [stdout] | [INFO] [stdout] 192 + #[derive(Default)] [INFO] [stdout] 193 | pub struct PubSet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `push` immediately after creation [INFO] [stdout] --> src/keri/app/keeping/keeper.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | / let mut result = Vec::new(); [INFO] [stdout] 210 | | [INFO] [stdout] 211 | | // Convert the struct to key-value pairs similar to Python's asdict [INFO] [stdout] 212 | | result.push(( [INFO] [stdout] 213 | | "pubs".to_string(), [INFO] [stdout] 214 | | serde_json::to_value(&self.pubs).unwrap(), [INFO] [stdout] 215 | | )); [INFO] [stdout] | |___________^ help: consider using the `vec![]` macro: `let result = vec![..];` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Arc<&'db LMDBer>` [INFO] [stdout] --> src/keri/app/keeping/keeper.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | lmdber: Arc<&'db LMDBer>, // The base LMDB database [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `&'db LMDBer` [INFO] [stdout] | [INFO] [stdout] = note: `&'db LMDBer` is already a pointer, `Arc<&'db LMDBer>` allocates a pointer on the heap [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_allocation [INFO] [stdout] = note: `#[warn(clippy::redundant_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Arc<&'db LMDBer>` [INFO] [stdout] --> src/keri/app/keeping/keeper.rs:291:24 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn new(lmdber: Arc<&'db LMDBer>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `&'db LMDBer` [INFO] [stdout] | [INFO] [stdout] = note: `&'db LMDBer` is already a pointer, `Arc<&'db LMDBer>` allocates a pointer on the heap [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_allocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/keri/app/keeping/manager.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | let algo = algo.unwrap_or_else(|| Algos::Salty); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 107 - let algo = algo.unwrap_or_else(|| Algos::Salty); [INFO] [stdout] 107 + let algo = algo.unwrap_or(Algos::Salty); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/keri/app/keeping/manager.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | let tier = tier.unwrap_or_else(|| Tiers::LOW); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 123 - let tier = tier.unwrap_or_else(|| Tiers::LOW); [INFO] [stdout] 123 + let tier = tier.unwrap_or(Tiers::LOW); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the function `Some` doesn't need a mutable reference [INFO] [stdout] --> src/keri/app/keeping/manager.rs:146:67 [INFO] [stdout] | [INFO] [stdout] 146 | self.encrypter = Some(Encrypter::new(None, None, Some(&mut self.aeid()))?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed [INFO] [stdout] help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] 146 - self.encrypter = Some(Encrypter::new(None, None, Some(&mut self.aeid()))?); [INFO] [stdout] 146 + self.encrypter = Some(Encrypter::new(None, None, Some(&self.aeid()))?); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (13/7) [INFO] [stdout] --> src/keri/app/keeping/manager.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | / pub fn ingest( [INFO] [stdout] 188 | | &mut self, [INFO] [stdout] 189 | | secrecies: Vec>, [INFO] [stdout] 190 | | iridx: Option, [INFO] [stdout] ... | [INFO] [stdout] 200 | | temp: Option, [INFO] [stdout] 201 | | ) -> Result<(String, Vec>), KERIError> { [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `iridx.saturating_sub(1)` is never smaller than `0` and has therefore no effect [INFO] [stdout] --> src/keri/app/keeping/manager.rs:328:24 [INFO] [stdout] | [INFO] [stdout] 328 | if ridx == iridx.saturating_sub(1).max(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `iridx.saturating_sub(1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_min_or_max [INFO] [stdout] = note: `#[warn(clippy::unnecessary_min_or_max)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/app/keeping/manager.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | /// aeid may match current aeid (no change) [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/app/keeping/manager.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | /// aeid may be empty (unencrypts and removes aeid) [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/app/keeping/manager.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | /// aeid may be different and not empty (reencrypts) [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/keri/app/keeping/manager.rs:605:9 [INFO] [stdout] | [INFO] [stdout] 605 | / if !current_aeid.is_empty() { [INFO] [stdout] 606 | | if self._seed.is_empty() [INFO] [stdout] 607 | | || !self [INFO] [stdout] 608 | | .encrypter [INFO] [stdout] ... | [INFO] [stdout] 620 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 605 ~ if !current_aeid.is_empty() [INFO] [stdout] 606 ~ && (self._seed.is_empty() [INFO] [stdout] 607 | || !self [INFO] [stdout] ... [INFO] [stdout] 612 | })? [INFO] [stdout] 613 ~ .verify_seed(&self._seed)?) [INFO] [stdout] 614 | { [INFO] [stdout] ... [INFO] [stdout] 618 | ))); [INFO] [stdout] 619 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (15/7) [INFO] [stdout] --> src/keri/app/keeping/manager.rs:900:5 [INFO] [stdout] | [INFO] [stdout] 900 | / pub fn incept( [INFO] [stdout] 901 | | &mut self, [INFO] [stdout] 902 | | icodes: Option>, [INFO] [stdout] 903 | | icount: Option, [INFO] [stdout] ... | [INFO] [stdout] 915 | | temp: Option, [INFO] [stdout] 916 | | ) -> Result<(Vec, Vec), KERIError> { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/keri/app/keeping/manager.rs:923:21 [INFO] [stdout] | [INFO] [stdout] 923 | let icode = icode.unwrap_or_else(|| mtr_dex::ED25519_SEED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 923 - let icode = icode.unwrap_or_else(|| mtr_dex::ED25519_SEED); [INFO] [stdout] 923 + let icode = icode.unwrap_or(mtr_dex::ED25519_SEED); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary closure used to substitute value for `Option::None` [INFO] [stdout] --> src/keri/app/keeping/manager.rs:924:21 [INFO] [stdout] | [INFO] [stdout] 924 | let ncode = ncode.unwrap_or_else(|| mtr_dex::ED25519_SEED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations [INFO] [stdout] help: use `unwrap_or` instead [INFO] [stdout] | [INFO] [stdout] 924 - let ncode = ncode.unwrap_or_else(|| mtr_dex::ED25519_SEED); [INFO] [stdout] 924 + let ncode = ncode.unwrap_or(mtr_dex::ED25519_SEED); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/keri/app/keeping/manager.rs:943:33 [INFO] [stdout] | [INFO] [stdout] 943 | salt.unwrap_or_else(|| Vec::new()) [INFO] [stdout] | ^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Vec::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Option<&str>` which implements the `Copy` trait [INFO] [stdout] --> src/keri/app/keeping/manager.rs:963:13 [INFO] [stdout] | [INFO] [stdout] 963 | stem.clone(), [INFO] [stdout] | ^^^^^^^^^^^^ help: try removing the `clone` call: `stem` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the function `Diger::from_ser` doesn't need a mutable reference [INFO] [stdout] --> src/keri/app/keeping/manager.rs:1012:33 [INFO] [stdout] | [INFO] [stdout] 1012 | Diger::from_ser(&mut signer.verfer.qb64b(), None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed [INFO] [stdout] help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] 1012 - Diger::from_ser(&mut signer.verfer.qb64b(), None) [INFO] [stdout] 1012 + Diger::from_ser(&signer.verfer.qb64b(), None) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary use of `to_vec` [INFO] [stdout] --> src/keri/app/keeping/manager.rs:1034:26 [INFO] [stdout] | [INFO] [stdout] 1034 | Some(&creator.salt().as_bytes().to_vec()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `creator.salt().as_bytes()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned [INFO] [stdout] = note: `#[warn(clippy::unnecessary_to_owned)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary use of `to_vec` [INFO] [stdout] --> src/keri/app/keeping/manager.rs:1041:51 [INFO] [stdout] | [INFO] [stdout] 1041 | pp.salt = String::from_utf8_lossy(&creator.salt().as_bytes().to_vec()).to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `creator.salt().as_bytes()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/keri/app/keeping/manager.rs:1309:5 [INFO] [stdout] | [INFO] [stdout] 1309 | / pub fn rotate( [INFO] [stdout] 1310 | | &self, [INFO] [stdout] 1311 | | pre: &[u8], [INFO] [stdout] 1312 | | ncodes: Option>, [INFO] [stdout] ... | [INFO] [stdout] 1318 | | erase: Option, [INFO] [stdout] 1319 | | ) -> Result<(Vec, Vec), KERIError> { [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the function `Diger::from_ser` doesn't need a mutable reference [INFO] [stdout] --> src/keri/app/keeping/manager.rs:1466:33 [INFO] [stdout] | [INFO] [stdout] 1466 | Diger::from_ser(&mut signer.verfer.qb64b(), None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed [INFO] [stdout] help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] 1466 - Diger::from_ser(&mut signer.verfer.qb64b(), None) [INFO] [stdout] 1466 + Diger::from_ser(&signer.verfer.qb64b(), None) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/keri/app/keeping/manager.rs:1544:5 [INFO] [stdout] | [INFO] [stdout] 1544 | / pub fn sign( [INFO] [stdout] 1545 | | &self, [INFO] [stdout] 1546 | | ser: &[u8], [INFO] [stdout] 1547 | | pubs: Option>, [INFO] [stdout] ... | [INFO] [stdout] 1553 | | _path: Option<(usize, usize)>, [INFO] [stdout] 1554 | | ) -> Result, KERIError> { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/core/eventing/incept.rs:386:56 [INFO] [stdout] | [INFO] [stdout] 386 | if (self.code.is_none() || !is_digest_code(&self.code.as_ref().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.code.as_ref().unwrap()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `self.data_list` after checking its variant with `is_some` [INFO] [stdout] --> src/keri/core/eventing/interact.rs:93:57 [INFO] [stdout] | [INFO] [stdout] 92 | if self.data_list.is_some() { [INFO] [stdout] | --------------------------- help: try: `if let Some() = self.data_list` [INFO] [stdout] 93 | ked.insert("a".to_string(), SadValue::Array(self.data_list.unwrap())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Arc<&'db Baser<'db>>` [INFO] [stdout] --> src/keri/core/eventing/kever.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | pub db: Arc<&'db Baser<'db>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `&'db Baser<'db>` [INFO] [stdout] | [INFO] [stdout] = note: `&'db Baser<'db>` is already a pointer, `Arc<&'db Baser<'db>>` allocates a pointer on the heap [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_allocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Arc<&'db Baser<'db>>` [INFO] [stdout] --> src/keri/core/eventing/kever.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | db: Arc<&'db Baser<'db>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `&'db Baser<'db>` [INFO] [stdout] | [INFO] [stdout] = note: `&'db Baser<'db>` is already a pointer, `Arc<&'db Baser<'db>>` allocates a pointer on the heap [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_allocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (13/7) [INFO] [stdout] --> src/keri/core/eventing/kever.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / pub fn new( [INFO] [stdout] 84 | | db: Arc<&'db Baser<'db>>, [INFO] [stdout] 85 | | state: Option, [INFO] [stdout] 86 | | serder: Option, [INFO] [stdout] ... | [INFO] [stdout] 96 | | check: Option, [INFO] [stdout] 97 | | ) -> Result { [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Ilk` which implements the `Copy` trait [INFO] [stdout] --> src/keri/core/eventing/kever.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | let ilk = serder.ilk().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `serder.ilk().unwrap()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Arc<&'db Baser<'db>>` [INFO] [stdout] --> src/keri/core/eventing/kever.rs:213:23 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn reload(db: Arc<&'db Baser<'db>>, state: KeyStateRecord) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `&'db Baser<'db>` [INFO] [stdout] | [INFO] [stdout] = note: `&'db Baser<'db>` is already a pointer, `Arc<&'db Baser<'db>>` allocates a pointer on the heap [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_allocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/keri/core/eventing/kever.rs:227:36 [INFO] [stdout] | [INFO] [stdout] 227 | let dater = Dater::from_dt((&state.dt).parse().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `state.dt` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/keri/core/eventing/kever.rs:584:10 [INFO] [stdout] | [INFO] [stdout] 584 | ) -> Result< [INFO] [stdout] | __________^ [INFO] [stdout] 585 | | ( [INFO] [stdout] 586 | | Vec, [INFO] [stdout] 587 | | Option>, [INFO] [stdout] ... | [INFO] [stdout] 592 | | KERIError, [INFO] [stdout] 593 | | > { [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (12/7) [INFO] [stdout] --> src/keri/core/eventing/kever.rs:571:5 [INFO] [stdout] | [INFO] [stdout] 571 | / fn val_sigs_wigs_del( [INFO] [stdout] 572 | | &self, [INFO] [stdout] 573 | | serder: SerderKERI, [INFO] [stdout] 574 | | mut sigers: Vec, [INFO] [stdout] ... | [INFO] [stdout] 592 | | KERIError, [INFO] [stdout] 593 | | > { [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression can be written more simply using `.retain()` [INFO] [stdout] --> src/keri/core/eventing/kever.rs:619:17 [INFO] [stdout] | [INFO] [stdout] 619 | / sigers = sigers [INFO] [stdout] 620 | | .into_iter() [INFO] [stdout] 621 | | .filter(|siger| !indices.contains(&siger.index())) [INFO] [stdout] 622 | | .collect(); [INFO] [stdout] | |______________________________^ help: consider calling `.retain()` instead: `sigers.retain(|siger| !indices.contains(&siger.index()))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_retain [INFO] [stdout] = note: `#[warn(clippy::manual_retain)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/core/eventing/kever.rs:629:45 [INFO] [stdout] | [INFO] [stdout] 629 | let (sigers, indices) = verify_sigs(&serder.raw(), sigers, &verfers)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `serder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/core/eventing/kever.rs:691:54 [INFO] [stdout] | [INFO] [stdout] 691 | let (wigers, windices) = verify_sigs(&serder.raw(), wigers, &werfers)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `serder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/keri/core/eventing/kever.rs:804:9 [INFO] [stdout] | [INFO] [stdout] 804 | / if self.locally_delegated(delpre.as_deref()) && !self.locally_owned(None) { [INFO] [stdout] 805 | | if delseqner.is_none() || delsaider.is_none() { [INFO] [stdout] 806 | | // Escrow delegable event [INFO] [stdout] 807 | | self.escrow_delegable_event(&serder, &sigers, wigers, local)?; [INFO] [stdout] ... | [INFO] [stdout] 815 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 804 ~ if self.locally_delegated(delpre.as_deref()) && !self.locally_owned(None) [INFO] [stdout] 805 ~ && (delseqner.is_none() || delsaider.is_none()) { [INFO] [stdout] 806 | // Escrow delegable event [INFO] [stdout] ... [INFO] [stdout] 813 | ))); [INFO] [stdout] 814 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/keri/core/eventing/kever.rs:929:10 [INFO] [stdout] | [INFO] [stdout] 929 | ) -> Result<(Vec, Vec, Vec), KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/keri/core/eventing/kever.rs:952:49 [INFO] [stdout] | [INFO] [stdout] 952 | let cuts = serder.cuts().unwrap_or_else(|| Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Vec::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/keri/core/eventing/kever.rs:974:49 [INFO] [stdout] | [INFO] [stdout] 974 | let adds = serder.adds().unwrap_or_else(|| Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Vec::new` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (10/7) [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1154:5 [INFO] [stdout] | [INFO] [stdout] 1154 | / fn validate_delegation( [INFO] [stdout] 1155 | | &self, [INFO] [stdout] 1156 | | _serder: &SerderKERI, [INFO] [stdout] 1157 | | _sigers: &[Siger], [INFO] [stdout] ... | [INFO] [stdout] 1164 | | _local: bool, [INFO] [stdout] 1165 | | ) -> Result<(Option, Option), KERIError> { [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1182:9 [INFO] [stdout] | [INFO] [stdout] 1182 | /// signatures of event. Index is offset into keys list from latest [INFO] [stdout] | ^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1183:9 [INFO] [stdout] | [INFO] [stdout] 1183 | /// est event and when provided index is offset into key digest list [INFO] [stdout] | ^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1184:9 [INFO] [stdout] | [INFO] [stdout] 1184 | /// from prior next est event to latest est event. [INFO] [stdout] | ^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1186:9 [INFO] [stdout] | [INFO] [stdout] 1186 | /// event. Index is offset into wits list from latest est event [INFO] [stdout] | ^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1188:9 [INFO] [stdout] | [INFO] [stdout] 1188 | /// If this event is not delegated then seqner is ignored [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1190:9 [INFO] [stdout] | [INFO] [stdout] 1190 | /// If this event is not delegated then diger is ignored [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1192:9 [INFO] [stdout] | [INFO] [stdout] 1192 | /// If cloned mode then firner maybe provided (not None) [INFO] [stdout] | ^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1193:9 [INFO] [stdout] | [INFO] [stdout] 1193 | /// When firner provided then compare fn of dater and database and [INFO] [stdout] | ^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1194:9 [INFO] [stdout] | [INFO] [stdout] 1194 | /// first seen if not match then log and add cue notify problem [INFO] [stdout] | ^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1196:9 [INFO] [stdout] | [INFO] [stdout] 1196 | /// If cloned mode then dater maybe provided (not None) [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1197:9 [INFO] [stdout] | [INFO] [stdout] 1197 | /// When dater provided then use dater for first seen datetime [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1199:9 [INFO] [stdout] | [INFO] [stdout] 1199 | /// Enables only being eager in escrow processing not initial parsing. [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1200:9 [INFO] [stdout] | [INFO] [stdout] 1200 | /// If false, only use pre-existing information if any. [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1202:9 [INFO] [stdout] | [INFO] [stdout] 1202 | /// True means event source is local (protected). [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1203:9 [INFO] [stdout] | [INFO] [stdout] 1203 | /// False means event source is remote (unprotected). [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1205:9 [INFO] [stdout] | [INFO] [stdout] 1205 | /// Useful for reinitializing the Kevers from a persisted KEL without [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1206:9 [INFO] [stdout] | [INFO] [stdout] 1206 | /// updating non-idempotent first seen .fels and timestamps. [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (11/7) [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 1211 | / pub fn update( [INFO] [stdout] 1212 | | &mut self, [INFO] [stdout] 1213 | | serder: SerderKERI, [INFO] [stdout] 1214 | | sigers: Vec, [INFO] [stdout] ... | [INFO] [stdout] 1222 | | check: bool, [INFO] [stdout] 1223 | | ) -> Result<(), KERIError> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant redefinition of a binding `local` [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1244:9 [INFO] [stdout] | [INFO] [stdout] 1244 | let local = local; // No conversion needed, bool is already bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `local` is initially defined here [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1221:9 [INFO] [stdout] | [INFO] [stdout] 1221 | local: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1444:10 [INFO] [stdout] | [INFO] [stdout] 1444 | ) -> Result<(Tholder, Number, Vec, Vec, Vec), KERIError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1539:38 [INFO] [stdout] | [INFO] [stdout] 1539 | if self.ndigers.is_none() || self.ndigers.as_ref().map_or(true, |d| d.is_empty()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use `is_none_or` instead [INFO] [stdout] | [INFO] [stdout] 1539 - if self.ndigers.is_none() || self.ndigers.as_ref().map_or(true, |d| d.is_empty()) { [INFO] [stdout] 1539 + if self.ndigers.is_none() || self.ndigers.as_ref().is_none_or(|d| d.is_empty()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (11/7) [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1591:5 [INFO] [stdout] | [INFO] [stdout] 1591 | / pub fn log_event( [INFO] [stdout] 1592 | | &self, [INFO] [stdout] 1593 | | serder: SerderKERI, [INFO] [stdout] 1594 | | sigers: Vec, [INFO] [stdout] ... | [INFO] [stdout] 1602 | | local: bool, [INFO] [stdout] 1603 | | ) -> Result<(Option, chrono::DateTime), KERIError> { [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `seqner` after checking its variant with `is_some` [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1659:26 [INFO] [stdout] | [INFO] [stdout] 1655 | && seqner.is_some() [INFO] [stdout] | ---------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 1659 | let seqner = seqner.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `unwrap` on `saider` after checking its variant with `is_some` [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1660:26 [INFO] [stdout] | [INFO] [stdout] 1656 | && saider.is_some() [INFO] [stdout] | ---------------- the check is happening here [INFO] [stdout] ... [INFO] [stdout] 1660 | let saider = saider.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: try using `match` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this if-then-else expression returns a bool literal [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1605:21 [INFO] [stdout] | [INFO] [stdout] 1605 | let local = if local { true } else { false }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can reduce it to: `local` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool [INFO] [stdout] = note: `#[warn(clippy::needless_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `unwrap_or_else` to construct default value [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1849:27 [INFO] [stdout] | [INFO] [stdout] 1849 | self.wits.clone().unwrap_or_else(Vec::new) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1896:9 [INFO] [stdout] | [INFO] [stdout] 1896 | /// to current .last_est [INFO] [stdout] | ^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1909:21 [INFO] [stdout] | [INFO] [stdout] 1909 | / if last_est.s > 0 { [INFO] [stdout] 1910 | | last_est.s - 1 [INFO] [stdout] 1911 | | } else { [INFO] [stdout] 1912 | | return Ok(None); [INFO] [stdout] 1913 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 1908 ~ Some(last_est) [INFO] [stdout] 1909 ~ if last_est.s > 0 => { [INFO] [stdout] 1910 | last_est.s - 1 [INFO] [stdout] 1911 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `std::vec::Vec` [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1936:48 [INFO] [stdout] | [INFO] [stdout] 1936 | let serder = SerderKERI::from_raw(&Vec::from(raw.unwrap()), None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `Vec::from()`: `raw.unwrap()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1953:24 [INFO] [stdout] | [INFO] [stdout] 1953 | && self.ndigers.clone().unwrap().len() > 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!self.ndigers.clone().unwrap().is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Arc<&'db Baser<'db>>` [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1964:9 [INFO] [stdout] | [INFO] [stdout] 1964 | db: Arc<&'db Baser<'db>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `&'db Baser<'db>` [INFO] [stdout] | [INFO] [stdout] = note: `&'db Baser<'db>` is already a pointer, `Arc<&'db Baser<'db>>` allocates a pointer on the heap [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_allocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Arc<&'db Baser<'db>>` [INFO] [stdout] --> src/keri/core/eventing/kever.rs:1981:20 [INFO] [stdout] | [INFO] [stdout] 1981 | pub fn new(db: Arc<&'db Baser<'db>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `&'db Baser<'db>` [INFO] [stdout] | [INFO] [stdout] = note: `&'db Baser<'db>` is already a pointer, `Arc<&'db Baser<'db>>` allocates a pointer on the heap [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_allocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Arc<&'db Baser<'db>>` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | pub db: Arc<&'db Baser<'db>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `&'db Baser<'db>` [INFO] [stdout] | [INFO] [stdout] = note: `&'db Baser<'db>` is already a pointer, `Arc<&'db Baser<'db>>` allocates a pointer on the heap [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_allocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Arc<&'db Baser<'db>>` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | db: Arc<&'db Baser<'db>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `&'db Baser<'db>` [INFO] [stdout] | [INFO] [stdout] = note: `&'db Baser<'db>` is already a pointer, `Arc<&'db Baser<'db>>` allocates a pointer on the heap [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_allocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / pub fn new( [INFO] [stdout] 102 | | cues: Option>, [INFO] [stdout] 103 | | db: Arc<&'db Baser<'db>>, [INFO] [stdout] 104 | | rvy: Option>, [INFO] [stdout] ... | [INFO] [stdout] 109 | | check: Option, [INFO] [stdout] 110 | | ) -> Result { [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant redefinition of a binding `db` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let db = db; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `db` is initially defined here [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | db: Arc<&'db Baser<'db>>, [INFO] [stdout] | ^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `unwrap_or_else` to construct default value [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | cues: cues.unwrap_or_else(VecDeque::new), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | /// If this event is not delegated then seqner is ignored [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | /// If this event is not delegated then saider is ignored [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | /// If cloned mode then firner maybe provided (not None) [INFO] [stdout] | ^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | /// If cloned mode then dater maybe provided (not None) [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | /// False means only use pre-existing information if any. [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | /// False means remote (unprotected). [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | /// None means use default .local. [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (10/7) [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | / pub fn process_event( [INFO] [stdout] 161 | | &mut self, [INFO] [stdout] 162 | | serder: SerderKERI, [INFO] [stdout] 163 | | sigers: Vec, [INFO] [stdout] ... | [INFO] [stdout] 170 | | local: Option, [INFO] [stdout] 171 | | ) -> Result<(), KERIError> { [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | return Err(KERIError::ValueError(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 190 | | "Invalid pre = {:?} for evt = {:?}. Error: {:?}", [INFO] [stdout] 191 | | &pre, &ked, e [INFO] [stdout] 192 | | )) [INFO] [stdout] 193 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] help: consider removing `.into()` [INFO] [stdout] | [INFO] [stdout] 189 ~ return Err(KERIError::ValueError(format!( [INFO] [stdout] 190 + "Invalid pre = {:?} for evt = {:?}. Error: {:?}", [INFO] [stdout] 191 + &pre, &ked, e [INFO] [stdout] 192 ~ ))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | KERIError::OutOfOrderError(format!("Out-of-order event={:?}.", ked)).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::OutOfOrderError(format!("Out-of-order event={:?}.", ked))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | return Err(KERIError::ValueError(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 284 | | "Invalid sn={} for inception event={:?}.", [INFO] [stdout] 285 | | sn, [INFO] [stdout] 286 | | serder.ked() [INFO] [stdout] 287 | | )) [INFO] [stdout] 288 | | .into()); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] help: consider removing `.into()` [INFO] [stdout] | [INFO] [stdout] 283 ~ return Err(KERIError::ValueError(format!( [INFO] [stdout] 284 + "Invalid sn={} for inception event={:?}.", [INFO] [stdout] 285 + sn, [INFO] [stdout] 286 + serder.ked() [INFO] [stdout] 287 ~ ))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 309 | &serder.raw(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `serder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:316:37 [INFO] [stdout] | [INFO] [stdout] 316 | verify_sigs(&serder.raw(), w, &berfers)? [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `serder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:355:32 [INFO] [stdout] | [INFO] [stdout] 355 | return Err(KERIError::LikelyDuplicitousError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::LikelyDuplicitousError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:385:32 [INFO] [stdout] | [INFO] [stdout] 385 | return Err(KERIError::OutOfOrderError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::OutOfOrderError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:463:33 [INFO] [stdout] | [INFO] [stdout] 463 | ... &serder.raw(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `serder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:475:45 [INFO] [stdout] | [INFO] [stdout] 475 | ... verify_sigs(&serder.raw(), w, &werfers)? [INFO] [stdout] | ^^^^^^^^^^^^^ help: change this to: `serder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:512:40 [INFO] [stdout] | [INFO] [stdout] 512 | ... return Err(KERIError::LikelyDuplicitousError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::LikelyDuplicitousError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:526:36 [INFO] [stdout] | [INFO] [stdout] 526 | return Err(KERIError::LikelyDuplicitousError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::LikelyDuplicitousError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:541:30 [INFO] [stdout] | [INFO] [stdout] 541 | let key = sn_key(&pre, sn); [INFO] [stdout] | ^^^^ help: change this to: `pre` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:606:9 [INFO] [stdout] | [INFO] [stdout] 606 | /// witness list of latest establishment event for receipted event. [INFO] [stdout] | ^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 607 | /// Signature uses key pair derived from nontrans witness prefix in [INFO] [stdout] | ^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | /// associated witness list. [INFO] [stdout] | ^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | /// False means remote (unprotected). [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | /// None means use default .local. [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:669:28 [INFO] [stdout] | [INFO] [stdout] 669 | return Err(KERIError::UnverifiedWitnessReceiptError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::UnverifiedWitnessReceiptError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:689:24 [INFO] [stdout] | [INFO] [stdout] 689 | return Err(KERIError::ValueError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::ValueError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:742:36 [INFO] [stdout] | [INFO] [stdout] 742 | if wiger_verfer.verify(&wiger.raw(), &lserder.raw())? { [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `wiger.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:742:50 [INFO] [stdout] | [INFO] [stdout] 742 | if wiger_verfer.verify(&wiger.raw(), &lserder.raw())? { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `lserder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:781:9 [INFO] [stdout] | [INFO] [stdout] 781 | /// False means remote (unprotected). [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 782 | /// None means use default .local. [INFO] [stdout] | ^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `dig_bytes.get(0)` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:817:31 [INFO] [stdout] | [INFO] [stdout] 817 | String::from_utf8(dig_bytes.get(0).unwrap().to_vec()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `dig_bytes.first()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] = note: `#[warn(clippy::get_first)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:834:24 [INFO] [stdout] | [INFO] [stdout] 834 | return Err(KERIError::UnverifiedReceiptError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::UnverifiedReceiptError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:851:24 [INFO] [stdout] | [INFO] [stdout] 851 | return Err(KERIError::ValueError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::ValueError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:902:25 [INFO] [stdout] | [INFO] [stdout] 902 | .verify(&cigar.raw(), &lserder.raw())? [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `cigar.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:902:39 [INFO] [stdout] | [INFO] [stdout] 902 | .verify(&cigar.raw(), &lserder.raw())? [INFO] [stdout] | ^^^^^^^^^^^^^^ help: change this to: `lserder.raw()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1021:21 [INFO] [stdout] | [INFO] [stdout] 1021 | KERIError::ValueError("No valid destination for reply".to_string()).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::ValueError("No valid destination for reply".to_string())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1084:32 [INFO] [stdout] | [INFO] [stdout] 1084 | return Err(KERIError::QueryNotFoundError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::QueryNotFoundError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1105:36 [INFO] [stdout] | [INFO] [stdout] 1105 | return Err(KERIError::QueryNotFoundError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::QueryNotFoundError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1125:36 [INFO] [stdout] | [INFO] [stdout] 1125 | return Err(KERIError::QueryNotFoundError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::QueryNotFoundError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1191:32 [INFO] [stdout] | [INFO] [stdout] 1191 | return Err(KERIError::QueryNotFoundError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::QueryNotFoundError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1197:42 [INFO] [stdout] | [INFO] [stdout] 1197 | let dg_key = dg_key(pre, &kever.serder().unwrap().said().unwrap_or_default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `kever.serder().unwrap().said().unwrap_or_default()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1220:36 [INFO] [stdout] | [INFO] [stdout] 1220 | return Err(KERIError::QueryNotFoundError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::QueryNotFoundError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1285:32 [INFO] [stdout] | [INFO] [stdout] 1285 | return Err(KERIError::QueryNotFoundError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::QueryNotFoundError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `keri::KERIError` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1313:28 [INFO] [stdout] | [INFO] [stdout] 1313 | return Err(KERIError::ValueError(msg).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `KERIError::ValueError(msg)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Arc<&'db Baser<'db>>` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1361:9 [INFO] [stdout] | [INFO] [stdout] 1361 | db: Arc<&'db Baser<'db>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `&'db Baser<'db>` [INFO] [stdout] | [INFO] [stdout] = note: `&'db Baser<'db>` is already a pointer, `Arc<&'db Baser<'db>>` allocates a pointer on the heap [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_allocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of `Arc<&'db Baser<'db>>` [INFO] [stdout] --> src/keri/core/eventing/kevery.rs:1373:20 [INFO] [stdout] | [INFO] [stdout] 1373 | pub fn new(db: Arc<&'db Baser<'db>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `&'db Baser<'db>` [INFO] [stdout] | [INFO] [stdout] = note: `&'db Baser<'db>` is already a pointer, `Arc<&'db Baser<'db>>` allocates a pointer on the heap [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_allocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:327:24 [INFO] [stdout] | [INFO] [stdout] 327 | if let Some(_) = n.as_u64() { [INFO] [stdout] | -------^^^^^^^------------- help: try: `if n.as_u64().is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:379:24 [INFO] [stdout] | [INFO] [stdout] 379 | if let Some(_) = n.as_u64() { [INFO] [stdout] | -------^^^^^^^------------- help: try: `if n.as_u64().is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> src/keri/core/eventing/rotate.rs:413:24 [INFO] [stdout] | [INFO] [stdout] 413 | if let Some(_) = n.as_u64() { [INFO] [stdout] | -------^^^^^^^------------- help: try: `if n.as_u64().is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/keri/core/eventing/state.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / pub fn new( [INFO] [stdout] 38 | | pre: String, [INFO] [stdout] 39 | | sn: u64, [INFO] [stdout] 40 | | pig: String, [INFO] [stdout] ... | [INFO] [stdout] 45 | | eevt: StateEERecord, [INFO] [stdout] 46 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (14/7) [INFO] [stdout] --> src/keri/core/filing.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | / pub fn new( [INFO] [stdout] 209 | | name: S1, [INFO] [stdout] 210 | | base: S2, [INFO] [stdout] 211 | | temp: bool, [INFO] [stdout] ... | [INFO] [stdout] 225 | | S1: Into, [INFO] [stdout] 226 | | S2: Into, [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/keri/core/filing.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | / pub fn reopen( [INFO] [stdout] 302 | | &mut self, [INFO] [stdout] 303 | | temp: Option, [INFO] [stdout] 304 | | head_dir_path: Option, [INFO] [stdout] ... | [INFO] [stdout] 310 | | fext: Option, [INFO] [stdout] 311 | | ) -> Result { [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/keri/core/filing.rs:338:37 [INFO] [stdout] | [INFO] [stdout] 338 | self.path.is_none() || !self.path.as_ref().map_or(false, |p| p.exists()) || !reuse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] help: use `is_some_and` instead [INFO] [stdout] | [INFO] [stdout] 338 - self.path.is_none() || !self.path.as_ref().map_or(false, |p| p.exists()) || !reuse; [INFO] [stdout] 338 + self.path.is_none() || !self.path.as_ref().is_some_and(|p| p.exists()) || !reuse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/filing.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | /// old directory or file at clean path if any. [INFO] [stdout] | ^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/filing.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | /// True means ensure path ends with fext [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/keri/core/filing.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | /// False means do not ensure path ends with fext [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (11/7) [INFO] [stdout] --> src/keri/core/filing.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | / pub fn remake( [INFO] [stdout] 401 | | &self, [INFO] [stdout] 402 | | name: &str, [INFO] [stdout] 403 | | base: &str, [INFO] [stdout] ... | [INFO] [stdout] 411 | | fext: Option<&str>, [INFO] [stdout] 412 | | ) -> Result<(PathBuf, Option), CoreError> { [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [WARN] too many lines in the log, truncating it