[INFO] cloning repository https://github.com/postrv/mcafee-three-party-crypto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/postrv/mcafee-three-party-crypto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpostrv%2Fmcafee-three-party-crypto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpostrv%2Fmcafee-three-party-crypto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4781f7ba59cf84f288c6455a8cf555d1a95b2493 [INFO] checking postrv/mcafee-three-party-crypto against master#d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpostrv%2Fmcafee-three-party-crypto" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/postrv/mcafee-three-party-crypto on toolchain d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/postrv/mcafee-three-party-crypto [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/postrv/mcafee-three-party-crypto [INFO] tweaked toml for git repo https://github.com/postrv/mcafee-three-party-crypto written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/postrv/mcafee-three-party-crypto 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" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1054a42ae88cb59ab8a45646c71b9d5e4cce3de0bec75c63b7b758f88bc1d1ba [INFO] running `Command { std: "docker" "start" "-a" "1054a42ae88cb59ab8a45646c71b9d5e4cce3de0bec75c63b7b758f88bc1d1ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1054a42ae88cb59ab8a45646c71b9d5e4cce3de0bec75c63b7b758f88bc1d1ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1054a42ae88cb59ab8a45646c71b9d5e4cce3de0bec75c63b7b758f88bc1d1ba", kill_on_drop: false }` [INFO] [stdout] 1054a42ae88cb59ab8a45646c71b9d5e4cce3de0bec75c63b7b758f88bc1d1ba [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 468cbfb828215206f4927f72aa36cd2cf894ccf05a3b15f86c5bcba801f8e962 [INFO] running `Command { std: "docker" "start" "-a" "468cbfb828215206f4927f72aa36cd2cf894ccf05a3b15f86c5bcba801f8e962", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking clap_lex v0.7.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking clap_builder v4.5.21 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking clap v4.5.21 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking mcafee v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/crypto/vdf/state.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/crypto/sharing/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::random_bytes` [INFO] [stdout] --> src/crypto/utils/padding.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::random_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::CryptoResult` [INFO] [stdout] --> src/crypto/utils/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::CryptoResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `computation_time` is never read [INFO] [stdout] --> src/crypto/vdf/temporal.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TemporalProof { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | computation_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemporalProof` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/crypto/sharing/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Share { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | id: u8, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Share` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shares` is never read [INFO] [stdout] --> src/crypto/sharing/mod.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ThreePartySecretSharing { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 74 | config: SharingConfig, [INFO] [stdout] 75 | shares: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pad_data` is never used [INFO] [stdout] --> src/crypto/sharing/mod.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl ThreePartySecretSharing { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | fn pad_data(&self, data: &[u8]) -> CryptoResult> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/crypto/vdf/state.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `temporal::TemporalVDF` [INFO] [stdout] --> src/crypto/vdf/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use temporal::TemporalVDF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/crypto/sharing/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::random_bytes` [INFO] [stdout] --> src/crypto/utils/padding.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::random_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::CryptoResult` [INFO] [stdout] --> src/crypto/utils/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::CryptoResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vdf::temporal::TemporalVDF` [INFO] [stdout] --> src/crypto/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use vdf::temporal::TemporalVDF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vdf::temporal::TemporalConfig` [INFO] [stdout] --> src/crypto/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use vdf::temporal::TemporalConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sharing::ThreePartySecretSharing` [INFO] [stdout] --> src/crypto/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use sharing::ThreePartySecretSharing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut secret_bytes = secret.as_bytes().to_vec(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_a` [INFO] [stdout] --> src/main.rs:138:52 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_auth_challenge(&self, message: &str, token_a: &[u8], token_b: &[u8], token_c: &[u8]) -> (Vec>, String, String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_b` [INFO] [stdout] --> src/main.rs:138:68 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_auth_challenge(&self, message: &str, token_a: &[u8], token_b: &[u8], token_c: &[u8]) -> (Vec>, String, String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_c` [INFO] [stdout] --> src/main.rs:138:84 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_auth_challenge(&self, message: &str, token_a: &[u8], token_b: &[u8], token_c: &[u8]) -> (Vec>, String, String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_parts` [INFO] [stdout] --> src/main.rs:187:10 [INFO] [stdout] | [INFO] [stdout] 187 | let (auth_parts, verification_hash, timestamp) = auth.create_auth_challenge( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_parts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLE_LENGTH` is never used [INFO] [stdout] --> src/crypto/vdf/temporal.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const CYCLE_LENGTH: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemporalProof` is never constructed [INFO] [stdout] --> src/crypto/vdf/temporal.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TemporalProof { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemporalProof` 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: fields `min_iteration_time`, `enforce_timing`, `memory_size`, and `verification_steps` are never read [INFO] [stdout] --> src/crypto/vdf/temporal.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TemporalConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 29 | /// Minimum time that must be spent on each iteration [INFO] [stdout] 30 | pub min_iteration_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | /// Whether to enforce strict timing requirements [INFO] [stdout] 32 | pub enforce_timing: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | /// Size of the working memory in bytes [INFO] [stdout] 34 | pub memory_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | /// Number of verification steps required [INFO] [stdout] 36 | pub verification_steps: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemporalConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemporalVDF` is never constructed [INFO] [stdout] --> src/crypto/vdf/temporal.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct TemporalVDF { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemporalVDF` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_initialized` is never used [INFO] [stdout] --> src/crypto/vdf/temporal.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl TemporalVDF { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 61 | /// Check if the VDF has been initialized with input data [INFO] [stdout] 62 | pub fn is_initialized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/crypto/vdf/temporal.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl TemporalVDF { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 68 | pub fn new(config: TemporalConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn initialize(&mut self, input: &[u8]) -> CryptoResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn iterate(&mut self) -> CryptoResult<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn generate_proof(&self) -> CryptoResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn verify_proof(&self, proof: &TemporalProof) -> CryptoResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub fn is_complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn get_output(&self) -> CryptoResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ITERATIONS` is never used [INFO] [stdout] --> src/crypto/vdf/state.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MAX_ITERATIONS: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VDFState` is never constructed [INFO] [stdout] --> src/crypto/vdf/state.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct VDFState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VDFState` 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`, `advance`, `current_iteration`, `is_complete`, and `elapsed` are never used [INFO] [stdout] --> src/crypto/vdf/state.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl VDFState { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 27 | /// Creates a new VDF state tracker [INFO] [stdout] 28 | pub fn new(min_iteration_time: Duration, enforce_timing: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn advance(&mut self) -> CryptoResult<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn current_iteration(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn is_complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn elapsed(&self) -> Duration { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Share` is never constructed [INFO] [stdout] --> src/crypto/sharing/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Share { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Share` 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`, `verify`, and `data` are never used [INFO] [stdout] --> src/crypto/sharing/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Share { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 28 | /// Creates a new share with given data and ID [INFO] [stdout] 29 | pub fn new(data: Vec, id: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn verify(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parallel`, `parallel_threshold`, and `block_size` are never read [INFO] [stdout] --> src/crypto/sharing/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct SharingConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 54 | /// Whether to use parallel processing for large messages [INFO] [stdout] 55 | pub parallel: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | /// Minimum size for using parallel processing [INFO] [stdout] 57 | pub parallel_threshold: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | /// Block size for processing [INFO] [stdout] 59 | pub block_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharingConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreePartySecretSharing` is never constructed [INFO] [stdout] --> src/crypto/sharing/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ThreePartySecretSharing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/crypto/sharing/mod.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl ThreePartySecretSharing { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 79 | /// Creates a new instance with given configuration [INFO] [stdout] 80 | pub fn new(config: SharingConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn split(&mut self, secret: &[u8]) -> CryptoResult> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn reconstruct(&self, shares: &[Share]) -> CryptoResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn pad_data(&self, data: &[u8]) -> CryptoResult> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | fn split_parallel(&mut self, data: &[u8]) -> CryptoResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn split_sequential(&mut self, data: &[u8]) -> CryptoResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | fn reconstruct_parallel(&self, shares: &[Share]) -> CryptoResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn reconstruct_sequential(&self, shares: &[Share]) -> CryptoResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xor_bytes` is never used [INFO] [stdout] --> src/crypto/utils/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn xor_bytes(a: &[u8], b: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_bytes` is never used [INFO] [stdout] --> src/crypto/utils/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn random_bytes(length: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enforce_delay` is never used [INFO] [stdout] --> src/crypto/utils/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn enforce_delay(start: Instant, min_delay: Duration) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad_to_block_size` is never used [INFO] [stdout] --> src/crypto/utils/mod.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn pad_to_block_size(data: &[u8], block_size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALIGNMENT` is never used [INFO] [stdout] --> src/crypto/utils/padding.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) const ALIGNMENT: usize = 16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LENGTH_SIZE` is never used [INFO] [stdout] --> src/crypto/utils/padding.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const LENGTH_SIZE: usize = 8; // Using u64 for length prefix [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_padded_size` is never used [INFO] [stdout] --> src/crypto/utils/padding.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn calculate_padded_size(input_size: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad_data` is never used [INFO] [stdout] --> src/crypto/utils/padding.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn pad_data(data: &[u8]) -> CryptoResult> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpad_data` is never used [INFO] [stdout] --> src/crypto/utils/padding.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn unpad_data(padded: &[u8]) -> CryptoResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidInput`, `InvalidState`, `TimingViolation`, `VerificationFailed`, and `Timeout` are never constructed [INFO] [stdout] --> src/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CryptoError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 9 | #[error("Invalid input: {0}")] [INFO] [stdout] 10 | InvalidInput(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | InvalidState(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | TimingViolation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | VerificationFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Timeout(Duration), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CryptoResult` is never used [INFO] [stdout] --> src/error.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub type CryptoResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/crypto/vdf/state.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/crypto/sharing/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::random_bytes` [INFO] [stdout] --> src/crypto/utils/padding.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::random_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::CryptoResult` [INFO] [stdout] --> src/crypto/utils/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::CryptoResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padded_size` [INFO] [stdout] --> tests/integration_tests.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let padded_size = shares[0].data().len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padded_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/crypto/vdf/state.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `temporal::TemporalVDF` [INFO] [stdout] --> src/crypto/vdf/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use temporal::TemporalVDF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/crypto/sharing/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::random_bytes` [INFO] [stdout] --> src/crypto/utils/padding.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::random_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::CryptoResult` [INFO] [stdout] --> src/crypto/utils/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::CryptoResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vdf::temporal::TemporalVDF` [INFO] [stdout] --> src/crypto/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use vdf::temporal::TemporalVDF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vdf::temporal::TemporalConfig` [INFO] [stdout] --> src/crypto/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use vdf::temporal::TemporalConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sharing::ThreePartySecretSharing` [INFO] [stdout] --> src/crypto/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use sharing::ThreePartySecretSharing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dimensions`, `bits_per_pixel`, `modality`, and `share_padded` are never read [INFO] [stdout] --> examples/medical_image.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct ProtectedImage { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 19 | dimensions: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | bits_per_pixel: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | modality: ImageModality, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | share_padded: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtectedImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MRI`, `CT`, and `Ultrasound` are never constructed [INFO] [stdout] --> examples/medical_image.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | enum ImageModality { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 30 | XRay, [INFO] [stdout] 31 | MRI, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | CT, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | Ultrasound, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageModality` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/crypto/sharing/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Share { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | id: u8, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Share` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shares` is never read [INFO] [stdout] --> src/crypto/sharing/mod.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ThreePartySecretSharing { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 74 | config: SharingConfig, [INFO] [stdout] 75 | shares: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pad_data` is never used [INFO] [stdout] --> src/crypto/sharing/mod.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl ThreePartySecretSharing { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | fn pad_data(&self, data: &[u8]) -> CryptoResult> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut secret_bytes = secret.as_bytes().to_vec(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_a` [INFO] [stdout] --> src/main.rs:138:52 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_auth_challenge(&self, message: &str, token_a: &[u8], token_b: &[u8], token_c: &[u8]) -> (Vec>, String, String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_b` [INFO] [stdout] --> src/main.rs:138:68 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_auth_challenge(&self, message: &str, token_a: &[u8], token_b: &[u8], token_c: &[u8]) -> (Vec>, String, String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_c` [INFO] [stdout] --> src/main.rs:138:84 [INFO] [stdout] | [INFO] [stdout] 138 | fn create_auth_challenge(&self, message: &str, token_a: &[u8], token_b: &[u8], token_c: &[u8]) -> (Vec>, String, String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_parts` [INFO] [stdout] --> src/main.rs:187:10 [INFO] [stdout] | [INFO] [stdout] 187 | let (auth_parts, verification_hash, timestamp) = auth.create_auth_challenge( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_parts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `memory_size` and `verification_steps` are never read [INFO] [stdout] --> src/crypto/vdf/temporal.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TemporalConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub memory_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | /// Number of verification steps required [INFO] [stdout] 36 | pub verification_steps: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemporalConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_initialized` is never used [INFO] [stdout] --> src/crypto/vdf/temporal.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl TemporalVDF { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 61 | /// Check if the VDF has been initialized with input data [INFO] [stdout] 62 | pub fn is_initialized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `elapsed` is never used [INFO] [stdout] --> src/crypto/vdf/state.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl VDFState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn elapsed(&self) -> Duration { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/crypto/sharing/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Share { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | id: u8, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Share` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `data` is never used [INFO] [stdout] --> src/crypto/sharing/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Share { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_size` is never read [INFO] [stdout] --> src/crypto/sharing/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct SharingConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | pub block_size: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharingConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shares` is never read [INFO] [stdout] --> src/crypto/sharing/mod.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct ThreePartySecretSharing { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 74 | config: SharingConfig, [INFO] [stdout] 75 | shares: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pad_data` is never used [INFO] [stdout] --> src/crypto/sharing/mod.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl ThreePartySecretSharing { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | fn pad_data(&self, data: &[u8]) -> CryptoResult> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Timeout` is never constructed [INFO] [stdout] --> src/error.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CryptoError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | Timeout(Duration), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.56s [INFO] running `Command { std: "docker" "inspect" "468cbfb828215206f4927f72aa36cd2cf894ccf05a3b15f86c5bcba801f8e962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468cbfb828215206f4927f72aa36cd2cf894ccf05a3b15f86c5bcba801f8e962", kill_on_drop: false }` [INFO] [stdout] 468cbfb828215206f4927f72aa36cd2cf894ccf05a3b15f86c5bcba801f8e962