[INFO] fetching crate qudag-crypto 0.5.1...
[INFO] testing qudag-crypto-0.5.1 against 1.100.0-beta.1 for beta-1.100-2
[INFO] extracting crate qudag-crypto 0.5.1 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate qudag-crypto 0.5.1
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate qudag-crypto 0.5.1
[INFO] tweaked toml for crates.io crate qudag-crypto 0.5.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate qudag-crypto 0.5.1 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate qudag-crypto 0.5.1 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3eb44a7d72b175f7f57e45613bf0d545cebbf2d7ae1664ca924996ffc19cb7da
[INFO] running `Command { std: "docker" "start" "3eb44a7d72b175f7f57e45613bf0d545cebbf2d7ae1664ca924996ffc19cb7da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3eb44a7d72b175f7f57e45613bf0d545cebbf2d7ae1664ca924996ffc19cb7da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3eb44a7d72b175f7f57e45613bf0d545cebbf2d7ae1664ca924996ffc19cb7da" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3eb44a7d72b175f7f57e45613bf0d545cebbf2d7ae1664ca924996ffc19cb7da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3eb44a7d72b175f7f57e45613bf0d545cebbf2d7ae1664ca924996ffc19cb7da" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling pqcrypto-traits v0.3.5
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling base64ct v1.8.0
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling constant_time_eq v0.3.1
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling arrayref v0.3.9
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling poly1305 v0.8.0
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling argon2 v0.5.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling pqcrypto-internals v0.2.10
[INFO] [stderr]    Compiling pqcrypto-dilithium v0.5.0
[INFO] [stderr]    Compiling pqcrypto-hqc v0.2.1
[INFO] [stderr]    Compiling blake3 v1.8.2
[INFO] [stderr]    Compiling pqcrypto-kyber v0.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling chacha20 v0.9.1
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling chacha20poly1305 v0.10.1
[INFO] [stderr]    Compiling x25519-dalek v2.0.1
[INFO] [stderr]    Compiling ed25519-dalek v2.1.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling qudag-crypto v0.5.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused dependency `aes-gcm`
[INFO] [stderr]   --> Cargo.toml:25:15
[INFO] [stderr]    |
[INFO] [stderr] 25 | [dependencies.aes-gcm]
[INFO] [stderr]    |               ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `aes-gcm`
[INFO] [stderr] warning: unused dependency `argon2`
[INFO] [stderr]   --> Cargo.toml:28:15
[INFO] [stderr]    |
[INFO] [stderr] 28 | [dependencies.argon2]
[INFO] [stderr]    |               ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `argon2`
[INFO] [stderr] warning: unused dependency `chacha20poly1305`
[INFO] [stderr]   --> Cargo.toml:34:15
[INFO] [stderr]    |
[INFO] [stderr] 34 | [dependencies.chacha20poly1305]
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `chacha20poly1305`
[INFO] [stderr] warning: unused dependency `ed25519-dalek`
[INFO] [stderr]   --> Cargo.toml:40:15
[INFO] [stderr]    |
[INFO] [stderr] 40 | [dependencies.ed25519-dalek]
[INFO] [stderr]    |               ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `ed25519-dalek`
[INFO] [stderr] warning: unused dependency `hex`
[INFO] [stderr]   --> Cargo.toml:43:15
[INFO] [stderr]    |
[INFO] [stderr] 43 | [dependencies.hex]
[INFO] [stderr]    |               ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `hex`
[INFO] [stderr] warning: unused dependency `hkdf`
[INFO] [stderr]   --> Cargo.toml:46:15
[INFO] [stderr]    |
[INFO] [stderr] 46 | [dependencies.hkdf]
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `hkdf`
[INFO] [stderr] warning: unused dependency `pqcrypto-kyber`
[INFO] [stderr]   --> Cargo.toml:58:15
[INFO] [stderr]    |
[INFO] [stderr] 58 | [dependencies.pqcrypto-kyber]
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `pqcrypto-kyber`
[INFO] [stderr] warning: unused dependency `serde`
[INFO] [stderr]   --> Cargo.toml:70:15
[INFO] [stderr]    |
[INFO] [stderr] 70 | [dependencies.serde]
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `serde`
[INFO] [stderr] warning: unused dependency `tracing`
[INFO] [stderr]   --> Cargo.toml:86:15
[INFO] [stderr]    |
[INFO] [stderr] 86 | [dependencies.tracing]
[INFO] [stderr]    |               ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `tracing`
[INFO] [stderr] warning: unused dependency `x25519-dalek`
[INFO] [stderr]   --> Cargo.toml:89:15
[INFO] [stderr]    |
[INFO] [stderr] 89 | [dependencies.x25519-dalek]
[INFO] [stderr]    |               ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `x25519-dalek`
[INFO] [stderr] warning: `qudag-crypto` (manifest) generated 10 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s
[INFO] running `Command { std: "docker" "inspect" "3eb44a7d72b175f7f57e45613bf0d545cebbf2d7ae1664ca924996ffc19cb7da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3eb44a7d72b175f7f57e45613bf0d545cebbf2d7ae1664ca924996ffc19cb7da" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling bit-vec v0.8.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling bit-set v0.8.0
[INFO] [stderr]    Compiling unarray v0.1.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand_xorshift v0.4.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.1
[INFO] [stderr]    Compiling qudag-crypto v0.5.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling rusty-fork v0.3.0
[INFO] [stderr]    Compiling proptest v1.7.0
[INFO] [stdout] warning: unused import: `FingerprintError`
[INFO] [stdout]  --> tests/fingerprint_tests.rs:1:46
[INFO] [stdout]   |
[INFO] [stdout] 1 | use qudag_crypto::fingerprint::{Fingerprint, FingerprintError};
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fingerprint_ptr`
[INFO] [stdout]   --> tests/fingerprint_tests.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let fingerprint_ptr = fingerprint.data().as_ptr();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint_ptr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hex_literal`
[INFO] [stdout]  --> tests/ml_kem_tests.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use hex_literal::hex;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `hex_literal`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hex_literal`, use `cargo add hex_literal` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KEMError` and `SharedSecret`
[INFO] [stdout]  --> tests/ml_kem_tests.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Ciphertext, KEMError, KeyEncapsulation, PublicKey, SecretKey, SharedSecret,
[INFO] [stdout]   |                 ^^^^^^^^                                          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid format string: expected `}`, found `l`
[INFO] [stdout]    --> tests/prop_tests.rs:255:13
[INFO] [stdout]     |
[INFO] [stdout] 255 | /             prop_assert!(result.is_err() || {
[INFO] [stdout] 256 | |                 let original_ss = MlKem768::decapsulate(&keypair.secret_key, &ciphertext).unwrap();
[INFO] [stdout] 257 | |                 result.unwrap().as_bytes() != original_ss.as_bytes()
[INFO] [stdout] 258 | |             });
[INFO] [stdout]     | |______________^ expected `}` in format string
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you intended to print `{`, you can escape it using `{{`
[INFO] [stdout]     = note: this error originates in the macro `concat` which comes from the expansion of the macro `prop_assert` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeyEncapsulation`
[INFO] [stdout]  --> tests/ml_kem_tests.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Ciphertext, KEMError, KeyEncapsulation, PublicKey, SecretKey, SharedSecret,
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `qudag_crypto::hqc::HQC`, `qudag_crypto::ml_dsa::MLDsa`, `qudag_crypto::ml_dsa::SIGNATURE_LENGTH`
[INFO] [stdout]  --> tests/integration_tests.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |         hqc::HQC,
[INFO] [stdout]   |         ^^^^^---
[INFO] [stdout]   |              |
[INFO] [stdout]   |              no `HQC` in `hqc`
[INFO] [stdout] 5 |         ml_dsa::{MLDsa, SIGNATURE_LENGTH},
[INFO] [stdout]   |                  ^^^^^  ^^^^^^^^^^^^^^^^ no `SIGNATURE_LENGTH` in `ml_dsa`
[INFO] [stdout]   |                  |
[INFO] [stdout]   |                  no `MLDsa` in `ml_dsa`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 4 -         hqc::HQC,
[INFO] [stdout] 4 +         hqc::Hqc,
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 5 -         ml_dsa::{MLDsa, SIGNATURE_LENGTH},
[INFO] [stdout] 5 +         ml_dsa::{MlDsa, SIGNATURE_LENGTH},
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: trait `KeyEncapsulation` is private
[INFO] [stdout]   --> tests/integration_tests.rs:6:18
[INFO] [stdout]    |
[INFO] [stdout]  6 |         ml_kem::{KeyEncapsulation, MlKem768},
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^ private trait
[INFO] [stdout]    |
[INFO] [stdout] note: the trait `KeyEncapsulation` is defined here
[INFO] [stdout]   --> src/ml_kem/mod.rs:12:40
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::kem::{Ciphertext, KEMError, KeyEncapsulation, PublicKey, SecretKey, SharedSecret};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ct`
[INFO] [stdout]   --> tests/ml_kem_tests.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let ct = Ciphertext::from_bytes(&ct_bytes).unwrap_or_else(|_| panic!("Failed to create ciphertext"));
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_ct`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `qudag_crypto::ml_dsa::MlDsa87`, `qudag_crypto::signatures`
[INFO] [stdout]   --> tests/prop_tests.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 |     ml_dsa::MlDsa87,
[INFO] [stdout]    |     ^^^^^^^^-------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             no `MlDsa87` in `ml_dsa`
[INFO] [stdout] 10 |     ml_kem::{Metrics as MlKemMetrics, MlKem768},
[INFO] [stdout] 11 |     signatures,
[INFO] [stdout]    |     ^^^^^^^^^^ no `signatures` in the root
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout]  9 -     ml_dsa::MlDsa87,
[INFO] [stdout]  9 +     ml_dsa::MlDsa,
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 11 -     signatures,
[INFO] [stdout] 11 +     signature,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::rngs::SeedableRng`
[INFO] [stdout]   --> tests/prop_tests.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rand::rngs::{SeedableRng, StdRng};
[INFO] [stdout]    |                  ^^^^^^^^^^^ no `SeedableRng` in `rngs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ct_bytes`
[INFO] [stdout]   --> tests/hqc_tests.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         ct_bytes in prop::collection::vec(0u8..255, Hqc256::CIPHERTEXT_SIZE)
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ct_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ct`
[INFO] [stdout]    --> tests/integration_tests.rs:100:18
[INFO] [stdout]     |
[INFO] [stdout] 100 |             let (ct, ss) = MlKem768::encapsulate(&pk).expect("Failed to encapsulate");
[INFO] [stdout]     |                  ^^ help: if this is intentional, prefix it with an underscore: `_ct`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qudag-crypto` (test "integration_tests") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `qudag-crypto` (test "ml_kem_tests") due to 1 previous error; 3 warnings emitted
[INFO] [stdout] error[E0425]: cannot find function `generate_keypair` in module `kem`
[INFO] [stdout]   --> tests/prop_tests.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 |         kem::generate_keypair(&mut rng)
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^ not found in `kem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encapsulate` in module `kem`
[INFO] [stdout]   --> tests/prop_tests.rs:28:49
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let (shared_secret1, ciphertext) = kem::encapsulate(&keypair.public_key).unwrap();
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ not found in `kem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decapsulate` in module `kem`
[INFO] [stdout]   --> tests/prop_tests.rs:29:35
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let shared_secret2 = kem::decapsulate(&keypair.secret_key, &ciphertext).unwrap();
[INFO] [stdout]    |                                   ^^^^^^^^^^^ not found in `kem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `constant_time_compare` in module `kem`
[INFO] [stdout]   --> tests/prop_tests.rs:31:38
[INFO] [stdout]    |
[INFO] [stdout] 31 |         prop_assert!(bool::from(kem::constant_time_compare(&shared_secret1, &shared_secret2)));
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^ not found in `kem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encapsulate` in module `kem`
[INFO] [stdout]   --> tests/prop_tests.rs:47:29
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let (_, ct1) = kem::encapsulate(&keypair1.public_key).unwrap();
[INFO] [stdout]    |                             ^^^^^^^^^^^ not found in `kem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encapsulate` in module `kem`
[INFO] [stdout]   --> tests/prop_tests.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let (_, ct2) = kem::encapsulate(&keypair2.public_key).unwrap();
[INFO] [stdout]    |                             ^^^^^^^^^^^ not found in `kem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decapsulate` in module `kem`
[INFO] [stdout]   --> tests/prop_tests.rs:50:28
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let result1 = kem::decapsulate(&keypair2.secret_key, &ct1);
[INFO] [stdout]    |                            ^^^^^^^^^^^ not found in `kem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decapsulate` in module `kem`
[INFO] [stdout]   --> tests/prop_tests.rs:51:28
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let result2 = kem::decapsulate(&keypair1.secret_key, &ct2);
[INFO] [stdout]    |                            ^^^^^^^^^^^ not found in `kem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `KeyPair` in module `encryption`
[INFO] [stdout]   --> tests/prop_tests.rs:97:78
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn arb_enc_keypair()(mut rng in any::<[u8; 32]>()) -> Result<encryption::KeyPair, encryption::EncryptionError> {
[INFO] [stdout]    |                                                                              ^^^^^^^ not found in `encryption`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_keypair` in module `encryption`
[INFO] [stdout]   --> tests/prop_tests.rs:99:21
[INFO] [stdout]    |
[INFO] [stdout] 99 |         encryption::generate_keypair(&mut rng)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ not found in `encryption`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encrypt` in module `encryption`
[INFO] [stdout]    --> tests/prop_tests.rs:112:38
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let ciphertext = encryption::encrypt(&mut rng, &keypair.public_key, &message).unwrap();
[INFO] [stdout]     |                                      ^^^^^^^ not found in `encryption`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decrypt` in module `encryption`
[INFO] [stdout]    --> tests/prop_tests.rs:113:37
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let decrypted = encryption::decrypt(&keypair.secret_key, &ciphertext).unwrap();
[INFO] [stdout]     |                                     ^^^^^^^ not found in `encryption`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encrypt` in module `encryption`
[INFO] [stdout]    --> tests/prop_tests.rs:128:42
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let mut ciphertext = encryption::encrypt(&mut rng, &keypair.public_key, &message).unwrap();
[INFO] [stdout]     |                                          ^^^^^^^ not found in `encryption`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decrypt` in module `encryption`
[INFO] [stdout]    --> tests/prop_tests.rs:133:31
[INFO] [stdout]     |
[INFO] [stdout] 133 |             match encryption::decrypt(&keypair.secret_key, &ciphertext) {
[INFO] [stdout]     |                               ^^^^^^^ not found in `encryption`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Metrics as MlKemMetrics`, `SecurityParameter`, and `error::CryptoError`
[INFO] [stdout]   --> tests/prop_tests.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout]  4 |     error::CryptoError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  7 |     hqc::{Hqc256, SecurityParameter},
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     ml_kem::{Metrics as MlKemMetrics, MlKem768},
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `qudag_crypto::ml_kem::*`
[INFO] [stdout]  --> tests/timing_tests.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use qudag_crypto::ml_kem::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_keypair` in this scope
[INFO] [stdout]   --> tests/timing_tests.rs:23:45
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let (_, duration) = measure_time(|| generate_keypair(&mut rng));
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_keypair` in this scope
[INFO] [stdout]   --> tests/timing_tests.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let keypair = generate_keypair(&mut rng).unwrap();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encapsulate` in this scope
[INFO] [stdout]   --> tests/timing_tests.rs:47:45
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let (_, duration) = measure_time(|| encapsulate(&keypair.public_key));
[INFO] [stdout]    |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_keypair` in this scope
[INFO] [stdout]   --> tests/timing_tests.rs:64:19
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let keypair = generate_keypair(&mut rng).unwrap();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encapsulate` in this scope
[INFO] [stdout]   --> tests/timing_tests.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let (_, ct) = encapsulate(&keypair.public_key).unwrap();
[INFO] [stdout]    |                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decapsulate` in this scope
[INFO] [stdout]   --> tests/timing_tests.rs:72:45
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let (_, duration) = measure_time(|| decapsulate(&keypair.secret_key, &ct));
[INFO] [stdout]    |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `decapsulate` in this scope
[INFO] [stdout]   --> tests/timing_tests.rs:80:45
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let (_, duration) = measure_time(|| decapsulate(&keypair.secret_key, &invalid_ct));
[INFO] [stdout]    |                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `constant_time_compare` in this scope
[INFO] [stdout]    --> tests/timing_tests.rs:108:45
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let (_, duration) = measure_time(|| constant_time_compare(&data1, &data2));
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `constant_time_compare` in this scope
[INFO] [stdout]    --> tests/timing_tests.rs:115:45
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let (_, duration) = measure_time(|| constant_time_compare(&data1, &data2));
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]   --> tests/prop_tests.rs:19:31
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let mut rng = StdRng::from_seed(rng);
[INFO] [stdout]    |                               ^^^^^^^^^ associated function or constant not found in `StdRng`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use rand::SeedableRng;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qudag-crypto` (test "timing_tests") due to 9 previous errors; 1 warning emitted
[INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]   --> tests/prop_tests.rs:60:31
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut rng = StdRng::from_seed(rng);
[INFO] [stdout]    |                               ^^^^^^^^^ associated function or constant not found in `StdRng`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use rand::SeedableRng;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]   --> tests/prop_tests.rs:98:31
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut rng = StdRng::from_seed(rng);
[INFO] [stdout]    |                               ^^^^^^^^^ associated function or constant not found in `StdRng`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use rand::SeedableRng;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]    --> tests/prop_tests.rs:110:23
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let mut rng = thread_rng();
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]    --> tests/prop_tests.rs:126:23
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let mut rng = thread_rng();
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:187:32
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let mut rng1 = StdRng::from_seed(seed1);
[INFO] [stdout]     |                                ^^^^^^^^^ associated function or constant not found in `StdRng`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::SeedableRng;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `constant_time_eq` in this scope
[INFO] [stdout]   --> tests/security_tests.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |     assert!(constant_time_eq(&a, &b));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `constant_time_eq` in this scope
[INFO] [stdout]   --> tests/security_tests.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |     assert!(!constant_time_eq(&a, &c));
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:188:32
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let mut rng2 = StdRng::from_seed(seed2);
[INFO] [stdout]     |                                ^^^^^^^^^ associated function or constant not found in `StdRng`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::SeedableRng;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `zeroize::Zeroize`
[INFO] [stdout]  --> tests/security_tests.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use zeroize::Zeroize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:191:37
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let mut rng1_copy = StdRng::from_seed(seed1);
[INFO] [stdout]     |                                     ^^^^^^^^^ associated function or constant not found in `StdRng`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::SeedableRng;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qudag-crypto` (test "security_tests") due to 2 previous errors; 1 warning emitted
[INFO] [stdout] error[E0599]: no associated function or constant named `generate_keypair` found for struct `MlKem768` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:192:35
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let keypair1a = MlKem768::generate_keypair(&mut rng1).unwrap();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^ associated function or constant not found in `MlKem768`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `generate_keypair` found for struct `MlKem768` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:193:35
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let keypair1b = MlKem768::generate_keypair(&mut rng1_copy).unwrap();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^ associated function or constant not found in `MlKem768`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `generate_keypair` found for struct `MlKem768` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:199:34
[INFO] [stdout]     |
[INFO] [stdout] 199 |         let keypair2 = MlKem768::generate_keypair(&mut rng2).unwrap();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^ associated function or constant not found in `MlKem768`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> tests/prop_tests.rs:205:26
[INFO] [stdout]     |
[INFO] [stdout] 205 |         let (ss1, ct1) = MlKem768::encapsulate(&keypair1a.public_key, &mut rng1).unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^                        --------- unexpected argument #2
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ml_kem/mod.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn encapsulate(pk: &PublicKey) -> Result<(Ciphertext, SharedSecret), KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 205 -         let (ss1, ct1) = MlKem768::encapsulate(&keypair1a.public_key, &mut rng1).unwrap();
[INFO] [stdout] 205 +         let (ss1, ct1) = MlKem768::encapsulate(&keypair1a.public_key).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> tests/prop_tests.rs:206:26
[INFO] [stdout]     |
[INFO] [stdout] 206 |         let (ss2, ct2) = MlKem768::encapsulate(&keypair1a.public_key, &mut rng2).unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^                        --------- unexpected argument #2
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ml_kem/mod.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn encapsulate(pk: &PublicKey) -> Result<(Ciphertext, SharedSecret), KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 206 -         let (ss2, ct2) = MlKem768::encapsulate(&keypair1a.public_key, &mut rng2).unwrap();
[INFO] [stdout] 206 +         let (ss2, ct2) = MlKem768::encapsulate(&keypair1a.public_key).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/prop_tests.rs:214:74
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let recovered_ss1 = MlKem768::decapsulate(&keypair1a.secret_key, &ct1).unwrap();
[INFO] [stdout]     |                             ---------------------                        ^^^^ expected `&Ciphertext`, found `&SharedSecret`
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&qudag_crypto::Ciphertext`
[INFO] [stdout]                found reference `&SharedSecret`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ml_kem/mod.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 160 |     pub fn decapsulate(sk: &SecretKey, ct: &Ciphertext) -> Result<SharedSecret, KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/prop_tests.rs:215:74
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let recovered_ss2 = MlKem768::decapsulate(&keypair1a.secret_key, &ct2).unwrap();
[INFO] [stdout]     |                             ---------------------                        ^^^^ expected `&Ciphertext`, found `&SharedSecret`
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&qudag_crypto::Ciphertext`
[INFO] [stdout]                found reference `&SharedSecret`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ml_kem/mod.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 160 |     pub fn decapsulate(sk: &SecretKey, ct: &Ciphertext) -> Result<SharedSecret, KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:225:31
[INFO] [stdout]     |
[INFO] [stdout] 225 |         let mut rng = StdRng::from_seed(seed);
[INFO] [stdout]     |                               ^^^^^^^^^ associated function or constant not found in `StdRng`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::SeedableRng;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `generate_keypair` found for struct `MlKem768` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:226:33
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let keypair = MlKem768::generate_keypair(&mut rng).unwrap();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^ associated function or constant not found in `MlKem768`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> tests/prop_tests.rs:233:34
[INFO] [stdout]     |
[INFO] [stdout] 233 |         let (shared_secret, _) = MlKem768::encapsulate(&keypair.public_key, &mut rng).unwrap();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^                      -------- unexpected argument #2
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ml_kem/mod.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn encapsulate(pk: &PublicKey) -> Result<(Ciphertext, SharedSecret), KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 233 -         let (shared_secret, _) = MlKem768::encapsulate(&keypair.public_key, &mut rng).unwrap();
[INFO] [stdout] 233 +         let (shared_secret, _) = MlKem768::encapsulate(&keypair.public_key).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:243:31
[INFO] [stdout]     |
[INFO] [stdout] 243 |         let mut rng = StdRng::from_seed(seed);
[INFO] [stdout]     |                               ^^^^^^^^^ associated function or constant not found in `StdRng`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::SeedableRng;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `generate_keypair` found for struct `MlKem768` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:244:33
[INFO] [stdout]     |
[INFO] [stdout] 244 |         let keypair = MlKem768::generate_keypair(&mut rng).unwrap();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^ associated function or constant not found in `MlKem768`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> tests/prop_tests.rs:245:31
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let (_, ciphertext) = MlKem768::encapsulate(&keypair.public_key, &mut rng).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^                      -------- unexpected argument #2
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ml_kem/mod.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn encapsulate(pk: &PublicKey) -> Result<(Ciphertext, SharedSecret), KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 245 -         let (_, ciphertext) = MlKem768::encapsulate(&keypair.public_key, &mut rng).unwrap();
[INFO] [stdout] 245 +         let (_, ciphertext) = MlKem768::encapsulate(&keypair.public_key).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_bytes_mut` found for struct `SharedSecret` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:249:36
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let ct_bytes = tampered_ct.as_bytes_mut();
[INFO] [stdout]     |                                    ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 249 -         let ct_bytes = tampered_ct.as_bytes_mut();
[INFO] [stdout] 249 +         let ct_bytes = tampered_ct.as_bytes();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/prop_tests.rs:253:69
[INFO] [stdout]     |
[INFO] [stdout] 253 |             let result = MlKem768::decapsulate(&keypair.secret_key, &tampered_ct);
[INFO] [stdout]     |                          ---------------------                      ^^^^^^^^^^^^ expected `&Ciphertext`, found `&SharedSecret`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&qudag_crypto::Ciphertext`
[INFO] [stdout]                found reference `&SharedSecret`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ml_kem/mod.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 160 |     pub fn decapsulate(sk: &SecretKey, ct: &Ciphertext) -> Result<SharedSecret, KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/prop_tests.rs:256:78
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 let original_ss = MlKem768::decapsulate(&keypair.secret_key, &ciphertext).unwrap();
[INFO] [stdout]     |                                   ---------------------                      ^^^^^^^^^^^ expected `&Ciphertext`, found `&SharedSecret`
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&qudag_crypto::Ciphertext`
[INFO] [stdout]                found reference `&SharedSecret`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ml_kem/mod.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 160 |     pub fn decapsulate(sk: &SecretKey, ct: &Ciphertext) -> Result<SharedSecret, KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:273:31
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let mut rng = StdRng::from_seed(seed);
[INFO] [stdout]     |                               ^^^^^^^^^ associated function or constant not found in `StdRng`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::SeedableRng;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:306:31
[INFO] [stdout]     |
[INFO] [stdout] 306 |         let mut rng = StdRng::from_seed(seed);
[INFO] [stdout]     |                               ^^^^^^^^^ associated function or constant not found in `StdRng`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::SeedableRng;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:325:31
[INFO] [stdout]     |
[INFO] [stdout] 325 |         let mut rng = StdRng::from_seed(seed);
[INFO] [stdout]     |                               ^^^^^^^^^ associated function or constant not found in `StdRng`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::SeedableRng;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:352:31
[INFO] [stdout]     |
[INFO] [stdout] 352 |         let mut rng = StdRng::from_seed(seed);
[INFO] [stdout]     |                               ^^^^^^^^^ associated function or constant not found in `StdRng`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::SeedableRng;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `generate_keypair` found for struct `qudag_crypto::Hqc256` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:353:31
[INFO] [stdout]     |
[INFO] [stdout] 353 |         let keypair = Hqc256::generate_keypair(&mut rng).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^ associated function or constant not found in `qudag_crypto::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> tests/prop_tests.rs:357:30
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let ciphertext = Hqc256::encrypt(&keypair.public_key, plaintext, &mut rng).unwrap();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^                                 -------- unexpected argument #3
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/hqc.rs:462:12
[INFO] [stdout]     |
[INFO] [stdout] 462 |     pub fn encrypt(pk: &PublicKey, message: &[u8]) -> Result<Vec<u8>, HqcError> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 357 -             let ciphertext = Hqc256::encrypt(&keypair.public_key, plaintext, &mut rng).unwrap();
[INFO] [stdout] 357 +             let ciphertext = Hqc256::encrypt(&keypair.public_key, plaintext).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> tests/prop_tests.rs:363:31
[INFO] [stdout]     |
[INFO] [stdout] 363 |             let ciphertext2 = Hqc256::encrypt(&keypair.public_key, plaintext, &mut rng).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^                                 -------- unexpected argument #3
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/hqc.rs:462:12
[INFO] [stdout]     |
[INFO] [stdout] 462 |     pub fn encrypt(pk: &PublicKey, message: &[u8]) -> Result<Vec<u8>, HqcError> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 363 -             let ciphertext2 = Hqc256::encrypt(&keypair.public_key, plaintext, &mut rng).unwrap();
[INFO] [stdout] 363 +             let ciphertext2 = Hqc256::encrypt(&keypair.public_key, plaintext).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Vec<u8>` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:364:40
[INFO] [stdout]     |
[INFO] [stdout] 364 |             prop_assert_ne!(ciphertext.as_bytes(), ciphertext2.as_bytes());
[INFO] [stdout]     |                                        ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following traits which provide `as_bytes` are implemented but not in scope; perhaps you want to import one of them
[INFO] [stdout]     |
[INFO] [stdout]   1 + use blake2::as_bytes::AsBytes;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use zerocopy::IntoBytes;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 364 -             prop_assert_ne!(ciphertext.as_bytes(), ciphertext2.as_bytes());
[INFO] [stdout] 364 +             prop_assert_ne!(ciphertext.bytes(), ciphertext2.as_bytes());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_bytes` found for struct `Vec<u8>` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:364:64
[INFO] [stdout]     |
[INFO] [stdout] 364 |             prop_assert_ne!(ciphertext.as_bytes(), ciphertext2.as_bytes());
[INFO] [stdout]     |                                                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following traits which provide `as_bytes` are implemented but not in scope; perhaps you want to import one of them
[INFO] [stdout]     |
[INFO] [stdout]   1 + use blake2::as_bytes::AsBytes;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use zerocopy::IntoBytes;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `bytes` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 364 -             prop_assert_ne!(ciphertext.as_bytes(), ciphertext2.as_bytes());
[INFO] [stdout] 364 +             prop_assert_ne!(ciphertext.as_bytes(), ciphertext2.bytes());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:374:31
[INFO] [stdout]     |
[INFO] [stdout] 374 |         let mut rng = StdRng::from_seed(seed);
[INFO] [stdout]     |                               ^^^^^^^^^ associated function or constant not found in `StdRng`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::SeedableRng;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `generate_keypair` found for struct `qudag_crypto::Hqc256` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:375:31
[INFO] [stdout]     |
[INFO] [stdout] 375 |         let keypair = Hqc256::generate_keypair(&mut rng).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^ associated function or constant not found in `qudag_crypto::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> tests/prop_tests.rs:377:26
[INFO] [stdout]     |
[INFO] [stdout] 377 |         let ciphertext = Hqc256::encrypt(&keypair.public_key, &plaintext, &mut rng).unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^                                  -------- unexpected argument #3
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/hqc.rs:462:12
[INFO] [stdout]     |
[INFO] [stdout] 462 |     pub fn encrypt(pk: &PublicKey, message: &[u8]) -> Result<Vec<u8>, HqcError> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 377 -         let ciphertext = Hqc256::encrypt(&keypair.public_key, &plaintext, &mut rng).unwrap();
[INFO] [stdout] 377 +         let ciphertext = Hqc256::encrypt(&keypair.public_key, &plaintext).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_bytes_mut` found for struct `Vec<u8>` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:381:37
[INFO] [stdout]     |
[INFO] [stdout] 381 |         let ct_bytes = corrupted_ct.as_bytes_mut();
[INFO] [stdout]     |                                     ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `IntoBytes` which provides `as_bytes_mut` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use zerocopy::IntoBytes;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_mut` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 381 -         let ct_bytes = corrupted_ct.as_bytes_mut();
[INFO] [stdout] 381 +         let ct_bytes = corrupted_ct.as_mut();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]    --> tests/prop_tests.rs:415:22
[INFO] [stdout]     |
[INFO] [stdout] 415 |         let hasher = HashFunction::blake3();
[INFO] [stdout]     |                      ^^^^^^^^^^^^  ------ not an associated item of trait `HashFunction`, so `HashFunction` is interpreted as a type
[INFO] [stdout]     |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]     |
[INFO] [stdout] 415 |         let hasher = <dyn HashFunction>::blake3();
[INFO] [stdout]     |                      ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]    --> tests/prop_tests.rs:444:22
[INFO] [stdout]     |
[INFO] [stdout] 444 |         let hasher = HashFunction::blake3();
[INFO] [stdout]     |                      ^^^^^^^^^^^^  ------ not an associated item of trait `HashFunction`, so `HashFunction` is interpreted as a type
[INFO] [stdout]     |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]     |
[INFO] [stdout] 444 |         let hasher = <dyn HashFunction>::blake3();
[INFO] [stdout]     |                      ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:472:31
[INFO] [stdout]     |
[INFO] [stdout] 472 |         let mut rng = StdRng::from_seed(seed);
[INFO] [stdout]     |                               ^^^^^^^^^ associated function or constant not found in `StdRng`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SeedableRng` which provides `from_seed` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::SeedableRng;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `generate_keypair` found for struct `MlKem768` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:475:37
[INFO] [stdout]     |
[INFO] [stdout] 475 |         let kem_keypair = MlKem768::generate_keypair(&mut rng).unwrap();
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^ associated function or constant not found in `MlKem768`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `generate_keypair` found for struct `qudag_crypto::Hqc256` in the current scope
[INFO] [stdout]    --> tests/prop_tests.rs:477:35
[INFO] [stdout]     |
[INFO] [stdout] 477 |         let hqc_keypair = Hqc256::generate_keypair(&mut rng).unwrap();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^ associated function or constant not found in `qudag_crypto::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]    --> tests/prop_tests.rs:478:22
[INFO] [stdout]     |
[INFO] [stdout] 478 |         let hasher = HashFunction::blake3();
[INFO] [stdout]     |                      ^^^^^^^^^^^^  ------ not an associated item of trait `HashFunction`, so `HashFunction` is interpreted as a type
[INFO] [stdout]     |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]     |
[INFO] [stdout] 478 |         let hasher = <dyn HashFunction>::blake3();
[INFO] [stdout]     |                      ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> tests/prop_tests.rs:481:39
[INFO] [stdout]     |
[INFO] [stdout] 481 |         let (shared_secret, kem_ct) = MlKem768::encapsulate(&kem_keypair.public_key, &mut rng).unwrap();
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^                          -------- unexpected argument #2
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ml_kem/mod.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn encapsulate(pk: &PublicKey) -> Result<(Ciphertext, SharedSecret), KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 481 -         let (shared_secret, kem_ct) = MlKem768::encapsulate(&kem_keypair.public_key, &mut rng).unwrap();
[INFO] [stdout] 481 +         let (shared_secret, kem_ct) = MlKem768::encapsulate(&kem_keypair.public_key).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> tests/prop_tests.rs:492:79
[INFO] [stdout]     |
[INFO] [stdout] 492 |         let recovered_secret = MlKem768::decapsulate(&kem_keypair.secret_key, &kem_ct).unwrap();
[INFO] [stdout]     |                                ---------------------                          ^^^^^^^ expected `&Ciphertext`, found `&SharedSecret`
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&qudag_crypto::Ciphertext`
[INFO] [stdout]                found reference `&SharedSecret`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ml_kem/mod.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 160 |     pub fn decapsulate(sk: &SecretKey, ct: &Ciphertext) -> Result<SharedSecret, KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0432, E0599, E0782.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qudag-crypto` (test "prop_tests") due to 62 previous errors; 1 warning emitted
[INFO] [stderr] warning: unused dependency `aes-gcm`
[INFO] [stderr]   --> Cargo.toml:25:15
[INFO] [stderr]    |
[INFO] [stderr] 25 | [dependencies.aes-gcm]
[INFO] [stderr]    |               ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `aes-gcm`
[INFO] [stderr] warning: unused dependency `argon2`
[INFO] [stderr]   --> Cargo.toml:28:15
[INFO] [stderr]    |
[INFO] [stderr] 28 | [dependencies.argon2]
[INFO] [stderr]    |               ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `argon2`
[INFO] [stderr] warning: unused dependency `chacha20poly1305`
[INFO] [stderr]   --> Cargo.toml:34:15
[INFO] [stderr]    |
[INFO] [stderr] 34 | [dependencies.chacha20poly1305]
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `chacha20poly1305`
[INFO] [stderr] warning: unused dependency `ed25519-dalek`
[INFO] [stderr]   --> Cargo.toml:40:15
[INFO] [stderr]    |
[INFO] [stderr] 40 | [dependencies.ed25519-dalek]
[INFO] [stderr]    |               ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `ed25519-dalek`
[INFO] [stderr] warning: unused dependency `hex`
[INFO] [stderr]   --> Cargo.toml:43:15
[INFO] [stderr]    |
[INFO] [stderr] 43 | [dependencies.hex]
[INFO] [stderr]    |               ^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `hex`
[INFO] [stderr] warning: unused dependency `hkdf`
[INFO] [stderr]   --> Cargo.toml:46:15
[INFO] [stderr]    |
[INFO] [stderr] 46 | [dependencies.hkdf]
[INFO] [stderr]    |               ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `hkdf`
[INFO] [stderr] warning: unused dependency `pqcrypto-kyber`
[INFO] [stderr]   --> Cargo.toml:58:15
[INFO] [stderr]    |
[INFO] [stderr] 58 | [dependencies.pqcrypto-kyber]
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `pqcrypto-kyber`
[INFO] [stderr] warning: unused dependency `serde`
[INFO] [stderr]   --> Cargo.toml:70:15
[INFO] [stderr]    |
[INFO] [stderr] 70 | [dependencies.serde]
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `serde`
[INFO] [stderr] warning: unused dependency `tracing`
[INFO] [stderr]   --> Cargo.toml:86:15
[INFO] [stderr]    |
[INFO] [stderr] 86 | [dependencies.tracing]
[INFO] [stderr]    |               ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `tracing`
[INFO] [stderr] warning: unused dependency `x25519-dalek`
[INFO] [stderr]   --> Cargo.toml:89:15
[INFO] [stderr]    |
[INFO] [stderr] 89 | [dependencies.x25519-dalek]
[INFO] [stderr]    |               ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `x25519-dalek`
[INFO] [stderr] warning: `qudag-crypto` (manifest) generated 10 warnings
[INFO] running `Command { std: "docker" "inspect" "3eb44a7d72b175f7f57e45613bf0d545cebbf2d7ae1664ca924996ffc19cb7da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3eb44a7d72b175f7f57e45613bf0d545cebbf2d7ae1664ca924996ffc19cb7da", kill_on_drop: false }`
[INFO] [stdout] 3eb44a7d72b175f7f57e45613bf0d545cebbf2d7ae1664ca924996ffc19cb7da
