[INFO] fetching crate qudag-crypto 0.5.1... [INFO] testing qudag-crypto-0.5.1 against 1.91.0 for beta-1.92-2 [INFO] extracting crate qudag-crypto 0.5.1 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qudag-crypto 0.5.1 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.53.2 [INFO] [stderr] Downloaded pqcrypto-traits v0.3.5 [INFO] [stderr] Downloaded pqcrypto-internals v0.2.10 [INFO] [stderr] Downloaded rustix v1.0.7 [INFO] [stderr] Downloaded pqcrypto-kyber v0.5.0 [INFO] [stderr] Downloaded pqcrypto-dilithium v0.5.0 [INFO] [stderr] Downloaded pqcrypto-hqc v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d37760e3f0e09bc93466de7110b0c088937edeefca7364a4d586a045c9f93750 [INFO] running `Command { std: "docker" "start" "-a" "d37760e3f0e09bc93466de7110b0c088937edeefca7364a4d586a045c9f93750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d37760e3f0e09bc93466de7110b0c088937edeefca7364a4d586a045c9f93750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d37760e3f0e09bc93466de7110b0c088937edeefca7364a4d586a045c9f93750", kill_on_drop: false }` [INFO] [stdout] d37760e3f0e09bc93466de7110b0c088937edeefca7364a4d586a045c9f93750 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70222630adec592b55a44065e2f6214bb1e0cf126ec4346bfd10314ae2866bb3 [INFO] running `Command { std: "docker" "start" "-a" "70222630adec592b55a44065e2f6214bb1e0cf126ec4346bfd10314ae2866bb3", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling inout v0.1.4 [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 cc v1.2.27 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling pqcrypto-internals v0.2.10 [INFO] [stderr] Compiling pqcrypto-dilithium v0.5.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling pqcrypto-kyber v0.5.0 [INFO] [stderr] Compiling pqcrypto-hqc v0.2.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling qudag-crypto v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "70222630adec592b55a44065e2f6214bb1e0cf126ec4346bfd10314ae2866bb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70222630adec592b55a44065e2f6214bb1e0cf126ec4346bfd10314ae2866bb3", kill_on_drop: false }` [INFO] [stdout] 70222630adec592b55a44065e2f6214bb1e0cf126ec4346bfd10314ae2866bb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ea30ba2f06fbf3c4db1a1b7ca3886d22b0e5f4be02136524a68531571f7a868 [INFO] running `Command { std: "docker" "start" "-a" "9ea30ba2f06fbf3c4db1a1b7ca3886d22b0e5f4be02136524a68531571f7a868", 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 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 unarray v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [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 doc comment [INFO] [stdout] --> tests/ml_dsa_comprehensive_tests.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | /// Property-based test for ML-DSA correctness [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/ml_dsa_comprehensive_tests.rs:317:1 [INFO] [stdout] | [INFO] [stdout] 317 | /// Property-based test for ML-DSA signature uniqueness [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/ml_dsa_comprehensive_tests.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | /// Property-based test for ML-DSA verification failure with wrong message [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `qudag_crypto::kem::ml_kem` [INFO] [stdout] --> tests/test_vectors.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use qudag_crypto::kem::ml_kem::*; [INFO] [stdout] | ^^^^^^ could not find `ml_kem` in `kem` [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] For more information about this error, try `rustc --explain E0432`. [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] [stderr] error: could not compile `qudag-crypto` (test "test_vectors") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rayon` [INFO] [stdout] --> tests/concurrent_tests.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rayon` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rayon`, use `cargo add rayon` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tokio::sync::{Barrier, Semaphore}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::sync::Barrier`, `tokio::sync::Semaphore` [INFO] [stdout] --> tests/concurrent_tests.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | use tokio::sync::{Barrier, Semaphore}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:275:3 [INFO] [stdout] | [INFO] [stdout] 275 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:368:3 [INFO] [stdout] | [INFO] [stdout] 368 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:491:3 [INFO] [stdout] | [INFO] [stdout] 491 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [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] 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::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] | ^^^^^^^^ 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] For more information about this error, try `rustc --explain E0432`. [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] --> /opt/rustwide/workdir/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] help: import `KeyEncapsulation` directly [INFO] [stdout] | [INFO] [stdout] 6 | ml_kem::{qudag_crypto::kem::KeyEncapsulation, MlKem768}, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-crypto` (test "ml_kem_tests") due to 1 previous error; 3 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | tokio::task::yield_now().await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:449:21 [INFO] [stdout] | [INFO] [stdout] 449 | tokio::task::yield_now().await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:556:21 [INFO] [stdout] | [INFO] [stdout] 556 | tokio::task::yield_now().await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ciphertext`, `CryptoError`, `MlDsa`, and `SharedSecret` [INFO] [stdout] --> tests/concurrent_tests.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | kem::{Ciphertext, KeyEncapsulation, PublicKey, SecretKey, SharedSecret}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 11 | ml_dsa::{MlDsa, MlDsaKeyPair, MlDsaPublicKey}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | ml_kem::MlKem768, [INFO] [stdout] 13 | CryptoError, [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: `RngCore` [INFO] [stdout] --> tests/concurrent_tests.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use rand::{thread_rng, RngCore}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> tests/concurrent_tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | let handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | let handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-crypto` (test "integration_tests") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/concurrent_tests.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | match fingerprint.verify(original_data, public_key) { [INFO] [stdout] | ^^^^^^ ------------- unexpected argument #1 of type `&Vec` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/fingerprint.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn verify(&self, public_key: &MlDsaPublicKey) -> Result<(), FingerprintError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 232 - match fingerprint.verify(original_data, public_key) { [INFO] [stdout] 232 + match fingerprint.verify(public_key) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | let handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:382:22 [INFO] [stdout] | [INFO] [stdout] 382 | let handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/concurrent_tests.rs:435:48 [INFO] [stdout] | [INFO] [stdout] 435 | ... if fingerprint.verify(&data, &public_key).is_ok() { [INFO] [stdout] | ^^^^^^ ----- unexpected argument #1 of type `&Vec` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/fingerprint.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn verify(&self, public_key: &MlDsaPublicKey) -> Result<(), FingerprintError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 435 - if fingerprint.verify(&data, &public_key).is_ok() { [INFO] [stdout] 435 + if fingerprint.verify(&public_key).is_ok() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/concurrent_tests.rs:502:22 [INFO] [stdout] | [INFO] [stdout] 502 | let handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret_key_ptr` [INFO] [stdout] --> tests/ml_dsa_comprehensive_tests.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let secret_key_ptr = keypair.secret_key().as_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key_ptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/concurrent_tests.rs:542:49 [INFO] [stdout] | [INFO] [stdout] 542 | ... let _ = fingerprint.verify(&data, &public_key); [INFO] [stdout] | ^^^^^^ ----- unexpected argument #1 of type `&Vec` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/fingerprint.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn verify(&self, public_key: &MlDsaPublicKey) -> Result<(), FingerprintError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 542 - let _ = fingerprint.verify(&data, &public_key); [INFO] [stdout] 542 + let _ = fingerprint.verify(&public_key); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for struct `Vec>` in the current scope [INFO] [stdout] --> tests/concurrent_tests.rs:600:10 [INFO] [stdout] | [INFO] [stdout] 599 | let ml_kem_results: Vec<_> = test_data [INFO] [stdout] | __________________________________- [INFO] [stdout] 600 | | .par_iter() [INFO] [stdout] | |_________-^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 600 - .par_iter() [INFO] [stdout] 600 + .iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for struct `Vec>` in the current scope [INFO] [stdout] --> tests/concurrent_tests.rs:613:10 [INFO] [stdout] | [INFO] [stdout] 612 | let fingerprint_results: Vec<_> = test_data [INFO] [stdout] | _______________________________________- [INFO] [stdout] 613 | | .par_iter() [INFO] [stdout] | |_________-^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 613 - .par_iter() [INFO] [stdout] 613 + .iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/concurrent_tests.rs:617:25 [INFO] [stdout] | [INFO] [stdout] 617 | fingerprint.verify(data, &public_key).is_ok() [INFO] [stdout] | ^^^^^^ ---- unexpected argument #1 of type `&[u8]` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/fingerprint.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn verify(&self, public_key: &MlDsaPublicKey) -> Result<(), FingerprintError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 617 - fingerprint.verify(data, &public_key).is_ok() [INFO] [stdout] 617 + fingerprint.verify(&public_key).is_ok() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PUBLIC_KEY_SIZE` is never used [INFO] [stdout] --> tests/ml_dsa_comprehensive_tests.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub const PUBLIC_KEY_SIZE: usize = 1312; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SECRET_KEY_SIZE` is never used [INFO] [stdout] --> tests/ml_dsa_comprehensive_tests.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const SECRET_KEY_SIZE: usize = 2560; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIGNATURE_SIZE` is never used [INFO] [stdout] --> tests/ml_dsa_comprehensive_tests.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub const SIGNATURE_SIZE: usize = 2420; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEED_SIZE` is never used [INFO] [stdout] --> tests/ml_dsa_comprehensive_tests.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub const SEED_SIZE: usize = 32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEED_SIZE` is never used [INFO] [stdout] --> tests/ml_dsa_comprehensive_tests.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub const SEED_SIZE: usize = 32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PUBLIC_KEY_SIZE` is never used [INFO] [stdout] --> tests/ml_dsa_comprehensive_tests.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub const PUBLIC_KEY_SIZE: usize = 2592; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SECRET_KEY_SIZE` is never used [INFO] [stdout] --> tests/ml_dsa_comprehensive_tests.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub const SECRET_KEY_SIZE: usize = 4896; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIGNATURE_SIZE` is never used [INFO] [stdout] --> tests/ml_dsa_comprehensive_tests.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub const SIGNATURE_SIZE: usize = 4627; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEED_SIZE` is never used [INFO] [stdout] --> tests/ml_dsa_comprehensive_tests.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | pub const SEED_SIZE: usize = 32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `par_iter` found for struct `Vec>` in the current scope [INFO] [stdout] --> tests/concurrent_tests.rs:628:10 [INFO] [stdout] | [INFO] [stdout] 627 | let ml_dsa_results: Vec<_> = test_data [INFO] [stdout] | __________________________________- [INFO] [stdout] 628 | | .par_iter() [INFO] [stdout] | |_________-^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 628 - .par_iter() [INFO] [stdout] 628 + .iter() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::HashFunction` [INFO] [stdout] --> tests/concurrent_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | hash::HashFunction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyEncapsulation` [INFO] [stdout] --> tests/concurrent_tests.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | kem::{Ciphertext, KeyEncapsulation, PublicKey, SecretKey, SharedSecret}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0433, E0599. [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 "concurrent_tests") due to 25 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9ea30ba2f06fbf3c4db1a1b7ca3886d22b0e5f4be02136524a68531571f7a868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ea30ba2f06fbf3c4db1a1b7ca3886d22b0e5f4be02136524a68531571f7a868", kill_on_drop: false }` [INFO] [stdout] 9ea30ba2f06fbf3c4db1a1b7ca3886d22b0e5f4be02136524a68531571f7a868