[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] testing postrv/mcafee-three-party-crypto against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [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] 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] validating manifest of git repo https://github.com/postrv/mcafee-three-party-crypto on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc7d103d972c925b887f1d345e02440b0d81e653549e895281e47946242be7e8 [INFO] running `Command { std: "docker" "start" "-a" "dc7d103d972c925b887f1d345e02440b0d81e653549e895281e47946242be7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc7d103d972c925b887f1d345e02440b0d81e653549e895281e47946242be7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc7d103d972c925b887f1d345e02440b0d81e653549e895281e47946242be7e8", kill_on_drop: false }` [INFO] [stdout] dc7d103d972c925b887f1d345e02440b0d81e653549e895281e47946242be7e8 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bf2a788c670ef208d6310e475ff8241fd67b788f3200035c787cfb378216506b [INFO] running `Command { std: "docker" "start" "-a" "bf2a788c670ef208d6310e475ff8241fd67b788f3200035c787cfb378216506b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mcafee v0.1.0 (/opt/rustwide/workdir) [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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.02s [INFO] running `Command { std: "docker" "inspect" "bf2a788c670ef208d6310e475ff8241fd67b788f3200035c787cfb378216506b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf2a788c670ef208d6310e475ff8241fd67b788f3200035c787cfb378216506b", kill_on_drop: false }` [INFO] [stdout] bf2a788c670ef208d6310e475ff8241fd67b788f3200035c787cfb378216506b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ae6202260d6846d5179c419aa2cbdb5c63a8bbd6726c0b3662fc6e99646a46ab [INFO] running `Command { std: "docker" "start" "-a" "ae6202260d6846d5179c419aa2cbdb5c63a8bbd6726c0b3662fc6e99646a46ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.5.0 [INFO] [stderr] Compiling mcafee v0.1.0 (/opt/rustwide/workdir) [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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling 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 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 `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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: 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `Debug` and `Clone`, 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 `test` profile [unoptimized + debuginfo] target(s) in 35.91s [INFO] running `Command { std: "docker" "inspect" "ae6202260d6846d5179c419aa2cbdb5c63a8bbd6726c0b3662fc6e99646a46ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae6202260d6846d5179c419aa2cbdb5c63a8bbd6726c0b3662fc6e99646a46ab", kill_on_drop: false }` [INFO] [stdout] ae6202260d6846d5179c419aa2cbdb5c63a8bbd6726c0b3662fc6e99646a46ab [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5a246952e076c32555a84ddb4831a828df3416e7a06cad812b3f163ed78e771d [INFO] running `Command { std: "docker" "start" "-a" "5a246952e076c32555a84ddb4831a828df3416e7a06cad812b3f163ed78e771d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/crypto/vdf/state.rs:6:28 [INFO] [stderr] | [INFO] [stderr] 6 | use tracing::{debug, info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/crypto/sharing/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::random_bytes` [INFO] [stderr] --> src/crypto/utils/padding.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use super::random_bytes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::error::CryptoResult` [INFO] [stderr] --> src/crypto/utils/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::error::CryptoResult; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `computation_time` is never read [INFO] [stderr] --> src/crypto/vdf/temporal.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct TemporalProof { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 21 | computation_time: Duration, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TemporalProof` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/crypto/sharing/mod.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Share { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | id: u8, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Share` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `shares` is never read [INFO] [stderr] --> src/crypto/sharing/mod.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 73 | pub struct ThreePartySecretSharing { [INFO] [stderr] | ----------------------- field in this struct [INFO] [stderr] 74 | config: SharingConfig, [INFO] [stderr] 75 | shares: Vec>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `pad_data` is never used [INFO] [stderr] --> src/crypto/sharing/mod.rs:148:8 [INFO] [stderr] | [INFO] [stderr] 78 | impl ThreePartySecretSharing { [INFO] [stderr] | ---------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 148 | fn pad_data(&self, data: &[u8]) -> CryptoResult> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mcafee` (lib) generated 8 warnings (run `cargo fix --lib -p mcafee` to apply 4 suggestions) [INFO] [stderr] warning: unused import: `temporal::TemporalVDF` [INFO] [stderr] --> src/crypto/vdf/mod.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub use temporal::TemporalVDF; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `vdf::temporal::TemporalVDF` [INFO] [stderr] --> src/crypto/mod.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub use vdf::temporal::TemporalVDF; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `vdf::temporal::TemporalConfig` [INFO] [stderr] --> src/crypto/mod.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub use vdf::temporal::TemporalConfig; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sharing::ThreePartySecretSharing` [INFO] [stderr] --> src/crypto/mod.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub use sharing::ThreePartySecretSharing; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | let mut secret_bytes = secret.as_bytes().to_vec(); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token_a` [INFO] [stderr] --> src/main.rs:138:52 [INFO] [stderr] | [INFO] [stderr] 138 | fn create_auth_challenge(&self, message: &str, token_a: &[u8], token_b: &[u8], token_c: &[u8]) -> (Vec>, String, String) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token_b` [INFO] [stderr] --> src/main.rs:138:68 [INFO] [stderr] | [INFO] [stderr] 138 | fn create_auth_challenge(&self, message: &str, token_a: &[u8], token_b: &[u8], token_c: &[u8]) -> (Vec>, String, String) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token_c` [INFO] [stderr] --> src/main.rs:138:84 [INFO] [stderr] | [INFO] [stderr] 138 | fn create_auth_challenge(&self, message: &str, token_a: &[u8], token_b: &[u8], token_c: &[u8]) -> (Vec>, String, String) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `auth_parts` [INFO] [stderr] --> src/main.rs:187:10 [INFO] [stderr] | [INFO] [stderr] 187 | let (auth_parts, verification_hash, timestamp) = auth.create_auth_challenge( [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_parts` [INFO] [stderr] [INFO] [stderr] warning: constant `CYCLE_LENGTH` is never used [INFO] [stderr] --> src/crypto/vdf/temporal.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub const CYCLE_LENGTH: usize = 4; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `TemporalProof` is never constructed [INFO] [stderr] --> src/crypto/vdf/temporal.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct TemporalProof { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TemporalProof` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `min_iteration_time`, `enforce_timing`, `memory_size`, and `verification_steps` are never read [INFO] [stderr] --> src/crypto/vdf/temporal.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct TemporalConfig { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 29 | /// Minimum time that must be spent on each iteration [INFO] [stderr] 30 | pub min_iteration_time: Duration, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 31 | /// Whether to enforce strict timing requirements [INFO] [stderr] 32 | pub enforce_timing: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 33 | /// Size of the working memory in bytes [INFO] [stderr] 34 | pub memory_size: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 35 | /// Number of verification steps required [INFO] [stderr] 36 | pub verification_steps: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TemporalConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `TemporalVDF` is never constructed [INFO] [stderr] --> src/crypto/vdf/temporal.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct TemporalVDF { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TemporalVDF` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `is_initialized` is never used [INFO] [stderr] --> src/crypto/vdf/temporal.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 60 | impl TemporalVDF { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] 61 | /// Check if the VDF has been initialized with input data [INFO] [stderr] 62 | pub fn is_initialized(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/crypto/vdf/temporal.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 67 | impl TemporalVDF { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 68 | pub fn new(config: TemporalConfig) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn initialize(&mut self, input: &[u8]) -> CryptoResult<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | pub fn iterate(&mut self) -> CryptoResult<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 169 | pub fn generate_proof(&self) -> CryptoResult { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 209 | pub fn verify_proof(&self, proof: &TemporalProof) -> CryptoResult { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 270 | pub fn is_complete(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 275 | pub fn get_output(&self) -> CryptoResult> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_ITERATIONS` is never used [INFO] [stderr] --> src/crypto/vdf/state.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub const MAX_ITERATIONS: usize = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `VDFState` is never constructed [INFO] [stderr] --> src/crypto/vdf/state.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct VDFState { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VDFState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `advance`, `current_iteration`, `is_complete`, and `elapsed` are never used [INFO] [stderr] --> src/crypto/vdf/state.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl VDFState { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 27 | /// Creates a new VDF state tracker [INFO] [stderr] 28 | pub fn new(min_iteration_time: Duration, enforce_timing: bool) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn advance(&mut self) -> CryptoResult<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | pub fn current_iteration(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn is_complete(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn elapsed(&self) -> Duration { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Share` is never constructed [INFO] [stderr] --> src/crypto/sharing/mod.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Share { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Share` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `verify`, and `data` are never used [INFO] [stderr] --> src/crypto/sharing/mod.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl Share { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 28 | /// Creates a new share with given data and ID [INFO] [stderr] 29 | pub fn new(data: Vec, id: u8) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn verify(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn data(&self) -> &[u8] { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `parallel`, `parallel_threshold`, and `block_size` are never read [INFO] [stderr] --> src/crypto/sharing/mod.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 53 | pub struct SharingConfig { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 54 | /// Whether to use parallel processing for large messages [INFO] [stderr] 55 | pub parallel: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 56 | /// Minimum size for using parallel processing [INFO] [stderr] 57 | pub parallel_threshold: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 58 | /// Block size for processing [INFO] [stderr] 59 | pub block_size: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SharingConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ThreePartySecretSharing` is never constructed [INFO] [stderr] --> src/crypto/sharing/mod.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 73 | pub struct ThreePartySecretSharing { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/crypto/sharing/mod.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 78 | impl ThreePartySecretSharing { [INFO] [stderr] | ---------------------------- associated items in this implementation [INFO] [stderr] 79 | /// Creates a new instance with given configuration [INFO] [stderr] 80 | pub fn new(config: SharingConfig) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub fn default() -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | pub fn split(&mut self, secret: &[u8]) -> CryptoResult> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 109 | pub fn reconstruct(&self, shares: &[Share]) -> CryptoResult> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 148 | fn pad_data(&self, data: &[u8]) -> CryptoResult> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 209 | fn split_parallel(&mut self, data: &[u8]) -> CryptoResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 214 | fn split_sequential(&mut self, data: &[u8]) -> CryptoResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 262 | fn reconstruct_parallel(&self, shares: &[Share]) -> CryptoResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 267 | fn reconstruct_sequential(&self, shares: &[Share]) -> CryptoResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `xor_bytes` is never used [INFO] [stderr] --> src/crypto/utils/mod.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn xor_bytes(a: &[u8], b: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `random_bytes` is never used [INFO] [stderr] --> src/crypto/utils/mod.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn random_bytes(length: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `enforce_delay` is never used [INFO] [stderr] --> src/crypto/utils/mod.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn enforce_delay(start: Instant, min_delay: Duration) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `pad_to_block_size` is never used [INFO] [stderr] --> src/crypto/utils/mod.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn pad_to_block_size(data: &[u8], block_size: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ALIGNMENT` is never used [INFO] [stderr] --> src/crypto/utils/padding.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | pub(crate) const ALIGNMENT: usize = 16; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `LENGTH_SIZE` is never used [INFO] [stderr] --> src/crypto/utils/padding.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | const LENGTH_SIZE: usize = 8; // Using u64 for length prefix [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_padded_size` is never used [INFO] [stderr] --> src/crypto/utils/padding.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn calculate_padded_size(input_size: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `pad_data` is never used [INFO] [stderr] --> src/crypto/utils/padding.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn pad_data(data: &[u8]) -> CryptoResult> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `unpad_data` is never used [INFO] [stderr] --> src/crypto/utils/padding.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn unpad_data(padded: &[u8]) -> CryptoResult> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `InvalidInput`, `InvalidState`, `TimingViolation`, `VerificationFailed`, and `Timeout` are never constructed [INFO] [stderr] --> src/error.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub enum CryptoError { [INFO] [stderr] | ----------- variants in this enum [INFO] [stderr] 9 | #[error("Invalid input: {0}")] [INFO] [stderr] 10 | InvalidInput(String), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 13 | InvalidState(String), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 16 | TimingViolation { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | VerificationFailed(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | Timeout(Duration), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: type alias `CryptoResult` is never used [INFO] [stderr] --> src/error.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | pub type CryptoResult = Result; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mcafee` (bin "mcafee") generated 38 warnings (4 duplicates) (run `cargo fix --bin "mcafee"` to apply 5 suggestions) [INFO] [stderr] warning: fields `memory_size` and `verification_steps` are never read [INFO] [stderr] --> src/crypto/vdf/temporal.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct TemporalConfig { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 34 | pub memory_size: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 35 | /// Number of verification steps required [INFO] [stderr] 36 | pub verification_steps: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TemporalConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `elapsed` is never used [INFO] [stderr] --> src/crypto/vdf/state.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl VDFState { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn elapsed(&self) -> Duration { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/crypto/sharing/mod.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Share { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | id: u8, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Share` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `data` is never used [INFO] [stderr] --> src/crypto/sharing/mod.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl Share { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn data(&self) -> &[u8] { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `block_size` is never read [INFO] [stderr] --> src/crypto/sharing/mod.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 53 | pub struct SharingConfig { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 59 | pub block_size: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SharingConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Timeout` is never constructed [INFO] [stderr] --> src/error.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub enum CryptoError { [INFO] [stderr] | ----------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 28 | Timeout(Duration), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused variable: `padded_size` [INFO] [stderr] --> tests/integration_tests.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 162 | let padded_size = shares[0].data().len(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padded_size` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/crypto/sharing/mod.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Share { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | id: u8, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Share` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `dimensions`, `bits_per_pixel`, `modality`, and `share_padded` are never read [INFO] [stderr] --> examples/medical_image.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 18 | struct ProtectedImage { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 19 | dimensions: (usize, usize), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 20 | bits_per_pixel: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 21 | modality: ImageModality, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | share_padded: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProtectedImage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `MRI`, `CT`, and `Ultrasound` are never constructed [INFO] [stderr] --> examples/medical_image.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 29 | enum ImageModality { [INFO] [stderr] | ------------- variants in this enum [INFO] [stderr] 30 | XRay, [INFO] [stderr] 31 | MRI, [INFO] [stderr] | ^^^ [INFO] [stderr] 32 | CT, [INFO] [stderr] | ^^ [INFO] [stderr] 33 | Ultrasound, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ImageModality` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `mcafee` (bin "mcafee" test) generated 22 warnings (16 duplicates) [INFO] [stderr] warning: `mcafee` (test "integration_tests") generated 1 warning [INFO] [stderr] warning: `mcafee` (lib test) generated 7 warnings (6 duplicates) [INFO] [stderr] warning: `mcafee` (example "medical_image") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mcafee-153558864dc3a6a7) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test crypto::sharing::tests::test_invalid_shares ... ok [INFO] [stdout] test crypto::sharing::tests::test_basic_sharing ... ok [INFO] [stdout] test crypto::utils::padding::tests::test_empty_input ... ok [INFO] [stdout] test crypto::utils::padding::tests::test_padding_alignment ... ok [INFO] [stdout] 2025-06-29T12:53:46.667637Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 1/4 in 14.68µs [INFO] [stdout] 2025-06-29T12:53:46.670067Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 2/4 in 16.871µs [INFO] [stdout] 2025-06-29T12:53:46.670155Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 3/4 in 8.189µs [INFO] [stdout] 2025-06-29T12:53:46.670201Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 4/4 in 6.529µs [INFO] [stdout] 2025-06-29T12:53:46.667952Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 1/4 in 9.18µs [INFO] [stdout] 2025-06-29T12:53:46.670522Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 2/4 in 6.12µs [INFO] [stdout] 2025-06-29T12:53:46.670631Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 3/4 in 5.86µs [INFO] [stdout] 2025-06-29T12:53:46.670711Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 4/4 in 5.411µs [INFO] [stdout] test crypto::utils::tests::test_pad_to_block_size ... ok [INFO] [stdout] test crypto::utils::tests::test_random_bytes ... ok [INFO] [stdout] test crypto::vdf::temporal::tests::test_proof_state_tracking ... ok [INFO] [stdout] test crypto::utils::padding::tests::test_large_data_padding ... ok [INFO] [stdout] test crypto::utils::tests::test_xor_bytes ... ok [INFO] [stdout] test tests::test_default_config ... ok [INFO] [stdout] test crypto::vdf::temporal::tests::test_incomplete_state ... ok [INFO] [stdout] test crypto::vdf::temporal::tests::test_vdf_cycle ... ok [INFO] [stdout] test crypto::vdf::temporal::tests::test_proof_verification ... ok [INFO] [stdout] 2025-06-29T12:53:46.679152Z  INFO mcafee::crypto::vdf::state: Completed VDF iteration iteration=1 elapsed=49.75µs [INFO] [stdout] 2025-06-29T12:53:46.679221Z  INFO mcafee::crypto::vdf::state: Completed VDF iteration iteration=2 elapsed=138.07µs [INFO] [stdout] 2025-06-29T12:53:46.679233Z  INFO mcafee::crypto::vdf::state: Completed VDF iteration iteration=3 elapsed=151.5µs [INFO] [stdout] 2025-06-29T12:53:46.679242Z  INFO mcafee::crypto::vdf::state: Completed VDF iteration iteration=4 elapsed=161.01µs [INFO] [stdout] test crypto::vdf::state::tests::test_state_progression ... ok [INFO] [stdout] test crypto::utils::padding::tests::test_medical_image_size ... ok [INFO] [stdout] 2025-06-29T12:53:46.721079Z  INFO mcafee::crypto::vdf::state: Completed VDF iteration iteration=2 elapsed=56.218399ms [INFO] [stdout] test crypto::vdf::state::tests::test_timing_enforcement ... ok [INFO] [stdout] test crypto::utils::tests::test_enforce_delay ... ok [INFO] [stdout] 2025-06-29T12:53:46.775074Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 1/4 in 104.628788ms [INFO] [stdout] test crypto::sharing::tests::test_large_data_sharing ... ok [INFO] [stdout] 2025-06-29T12:53:46.875291Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 2/4 in 100.089938ms [INFO] [stdout] 2025-06-29T12:53:46.975487Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 3/4 in 100.088183ms [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mcafee-ed69255ff6ea819b) [INFO] [stdout] 2025-06-29T12:53:47.075688Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 4/4 in 100.097052ms [INFO] [stdout] test crypto::vdf::temporal::tests::test_state_consistency ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test crypto::sharing::tests::test_basic_sharing ... ok [INFO] [stdout] test crypto::sharing::tests::test_invalid_shares ... ok [INFO] [stdout] test crypto::utils::padding::tests::test_empty_input ... 2025-06-29T12:53:47.092068Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 1/4 in 52.32µs [INFO] [stdout] ok [INFO] [stdout] 2025-06-29T12:53:47.092174Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 2/4 in 14.07µs [INFO] [stdout] 2025-06-29T12:53:47.092191Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 3/4 in 4.06µs [INFO] [stdout] 2025-06-29T12:53:47.092208Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 4/4 in 10.1µs [INFO] [stdout] test crypto::utils::padding::tests::test_padding_alignment ... ok [INFO] [stdout] test crypto::utils::tests::test_random_bytes ... ok [INFO] [stdout] test crypto::vdf::temporal::tests::test_vdf_cycle ... ok [INFO] [stdout] 2025-06-29T12:53:47.092993Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 1/4 in 7.74µs [INFO] [stdout] 2025-06-29T12:53:47.093082Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 2/4 in 5.32µs [INFO] [stdout] 2025-06-29T12:53:47.093095Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 3/4 in 4.1µs [INFO] [stdout] 2025-06-29T12:53:47.093107Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 4/4 in 3.85µs [INFO] [stdout] 2025-06-29T12:53:47.094005Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 1/4 in 6.85µs [INFO] [stdout] 2025-06-29T12:53:47.095053Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 2/4 in 9.1µs [INFO] [stdout] test crypto::vdf::temporal::tests::test_proof_verification ... 2025-06-29T12:53:47.095126Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 3/4 in 5.65µs [INFO] [stdout] 2025-06-29T12:53:47.094126Z  INFO mcafee::crypto::vdf::state: Completed VDF iteration iteration=1 elapsed=20.29µs [INFO] [stdout] 2025-06-29T12:53:47.095195Z  INFO mcafee::crypto::vdf::state: Completed VDF iteration iteration=2 elapsed=1.10156ms [INFO] [stdout] 2025-06-29T12:53:47.095264Z  INFO mcafee::crypto::vdf::state: Completed VDF iteration iteration=3 elapsed=1.17288ms [INFO] [stdout] 2025-06-29T12:53:47.095300Z  INFO mcafee::crypto::vdf::state: Completed VDF iteration iteration=4 elapsed=1.2081ms [INFO] [stdout] ok [INFO] [stdout] 2025-06-29T12:53:47.095241Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 4/4 in 6.18µs [INFO] [stdout] test crypto::utils::padding::tests::test_large_data_padding ... ok [INFO] [stdout] test crypto::utils::tests::test_pad_to_block_size ... ok [INFO] [stdout] test crypto::vdf::temporal::tests::test_incomplete_state ... ok [INFO] [stdout] test crypto::utils::tests::test_xor_bytes ... ok [INFO] [stdout] test crypto::vdf::state::tests::test_state_progression ... ok [INFO] [stdout] test crypto::vdf::temporal::tests::test_proof_state_tracking ... ok [INFO] [stdout] 2025-06-29T12:53:47.144085Z  INFO mcafee::crypto::vdf::state: Completed VDF iteration iteration=2 elapsed=53.216736ms [INFO] [stdout] test crypto::vdf::state::tests::test_timing_enforcement ... ok [INFO] [stdout] test crypto::utils::padding::tests::test_medical_image_size ... ok [INFO] [stdout] test crypto::utils::tests::test_enforce_delay ... ok [INFO] [stdout] 2025-06-29T12:53:47.194078Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 1/4 in 102.461133ms [INFO] [stdout] 2025-06-29T12:53:47.294283Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 2/4 in 100.085482ms [INFO] [stdout] test crypto::sharing::tests::test_large_data_sharing ... ok [INFO] [stdout] 2025-06-29T12:53:47.398208Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 3/4 in 100.097533ms [INFO] [stdout] 2025-06-29T12:53:47.498472Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 4/4 in 100.090002ms [INFO] [stdout] test crypto::vdf::temporal::tests::test_state_consistency ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/integration_tests-b063d469119eccb6) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] 2025-06-29T12:53:47.504274Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 1/4 in 16.35µs [INFO] [stdout] 2025-06-29T12:53:47.504395Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 2/4 in 10.75µs [INFO] [stdout] 2025-06-29T12:53:47.504438Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 3/4 in 8.79µs [INFO] [stdout] 2025-06-29T12:53:47.504477Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 4/4 in 8.37µs [INFO] [stdout] 2025-06-29T12:53:47.504606Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 1/4 in 8.95µs [INFO] [stdout] 2025-06-29T12:53:47.504652Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 2/4 in 9.99µs [INFO] [stdout] 2025-06-29T12:53:47.504688Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 3/4 in 9.28µs [INFO] [stdout] 2025-06-29T12:53:47.504730Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 4/4 in 8.68µs [INFO] [stdout] 2025-06-29T12:53:47.504853Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 1/4 in 8.21µs [INFO] [stdout] 2025-06-29T12:53:47.504899Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 2/4 in 8µs [INFO] [stdout] 2025-06-29T12:53:47.504938Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 3/4 in 7.82µs [INFO] [stdout] 2025-06-29T12:53:47.504968Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 4/4 in 7.63µs [INFO] [stdout] test test_secret_sharing_with_vdf ... ok [INFO] [stdout] 2025-06-29T12:53:47.506780Z  INFO integration_tests: Original size: 100000, Padded size: 100016 [INFO] [stdout] 2025-06-29T12:53:47.510065Z  INFO integration_tests: Splitting data into shares... [INFO] [stdout] 2025-06-29T12:53:47.661667Z  INFO integration_tests: Reconstructing from shares... [INFO] [stdout] test test_large_data_parallel ... ok [INFO] [stdout] 2025-06-29T12:53:47.838794Z  INFO integration_tests: Splitting medical image... [INFO] [stdout] 2025-06-29T12:53:48.411657Z  INFO integration_tests: Applying temporal protection... [INFO] [stdout] 2025-06-29T12:53:48.983544Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 1/4 in 48.552776ms [INFO] [stdout] 2025-06-29T12:53:49.031741Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 2/4 in 48.114217ms [INFO] [stdout] 2025-06-29T12:53:49.079060Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 3/4 in 47.245626ms [INFO] [stdout] 2025-06-29T12:53:49.127135Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 4/4 in 48.000657ms [INFO] [stdout] 2025-06-29T12:53:49.794073Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 1/4 in 46.728816ms [INFO] [stdout] 2025-06-29T12:53:49.840750Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 2/4 in 46.600317ms [INFO] [stdout] 2025-06-29T12:53:49.888457Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 3/4 in 47.628926ms [INFO] [stdout] 2025-06-29T12:53:49.935818Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 4/4 in 47.283047ms [INFO] [stdout] 2025-06-29T12:53:50.611520Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 1/4 in 54.511706ms [INFO] [stdout] 2025-06-29T12:53:50.665283Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 2/4 in 53.670686ms [INFO] [stdout] 2025-06-29T12:53:50.717154Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 3/4 in 51.796257ms [INFO] [stdout] 2025-06-29T12:53:50.767680Z  INFO mcafee::crypto::vdf::temporal: Completed iteration 4/4 in 50.435537ms [INFO] [stdout] 2025-06-29T12:53:50.922193Z  INFO integration_tests: Verifying reconstruction... [INFO] [stdout] test test_realistic_medical_image ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.54s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5a246952e076c32555a84ddb4831a828df3416e7a06cad812b3f163ed78e771d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a246952e076c32555a84ddb4831a828df3416e7a06cad812b3f163ed78e771d", kill_on_drop: false }` [INFO] [stdout] 5a246952e076c32555a84ddb4831a828df3416e7a06cad812b3f163ed78e771d