[INFO] fetching crate qudag-crypto 0.5.1... [INFO] checking qudag-crypto-0.5.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [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 a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac80d2bf2625bccd33e0d35916ce8988db78106c9a3a52dbbebdbe8e9a695092 [INFO] running `Command { std: "docker" "start" "-a" "ac80d2bf2625bccd33e0d35916ce8988db78106c9a3a52dbbebdbe8e9a695092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac80d2bf2625bccd33e0d35916ce8988db78106c9a3a52dbbebdbe8e9a695092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac80d2bf2625bccd33e0d35916ce8988db78106c9a3a52dbbebdbe8e9a695092", kill_on_drop: false }` [INFO] [stdout] ac80d2bf2625bccd33e0d35916ce8988db78106c9a3a52dbbebdbe8e9a695092 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb74f45c4a0d781fd4014d71c6d4a810e9e137aa851e725590fe530d3f68b974 [INFO] running `Command { std: "docker" "start" "-a" "bb74f45c4a0d781fd4014d71c6d4a810e9e137aa851e725590fe530d3f68b974", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling version_check v0.9.5 [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] Checking subtle v2.6.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pqcrypto-traits v0.3.5 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Compiling pqcrypto-internals v0.2.10 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling pqcrypto-dilithium v0.5.0 [INFO] [stderr] Compiling pqcrypto-kyber v0.5.0 [INFO] [stderr] Compiling pqcrypto-hqc v0.2.1 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking qudag-crypto v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `qudag-crypto` (example "test_ml_kem_api") due to 3 previous errors [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] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` on by default [INFO] [stdout] [INFO] [stdout] [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] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/ml_dsa_performance.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion, Throughput}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `qudag_crypto::ml_dsa::MLDsa`, `qudag_crypto::ml_dsa::SIGNATURE_LENGTH` [INFO] [stdout] --> benches/mldsa_benchmarks.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use qudag_crypto::ml_dsa::{MLDsa, SIGNATURE_LENGTH}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ no `SIGNATURE_LENGTH` in `ml_dsa` [INFO] [stdout] | | [INFO] [stdout] | no `MLDsa` in `ml_dsa` [INFO] [stdout] | help: a similar name exists in the module: `MlDsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/mldsa_benchmarks.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion, Throughput}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [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[E0599]: no function or associated item named `generate_keypair` found for struct `MlKem768` in the current scope [INFO] [stdout] --> examples/test_ml_kem_api.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | let (pk, sk) = MlKem768::generate_keypair(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `MlKem768` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/test_ml_kem_api.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | let (ciphertext, shared_secret1) = MlKem768::encapsulate(&pk, &mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ -------- unexpected argument #2 of type `&mut ThreadRng` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/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] 14 - let (ciphertext, shared_secret1) = MlKem768::encapsulate(&pk, &mut rng); [INFO] [stdout] 14 + let (ciphertext, shared_secret1) = MlKem768::encapsulate(&pk); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/test_ml_kem_api.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let (ciphertext, shared_secret1) = MlKem768::encapsulate(&pk, &mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------------------ this expression has type `Result<(qudag_crypto::Ciphertext, SharedSecret), KEMError>` [INFO] [stdout] | | [INFO] [stdout] | expected `Result<(Ciphertext, SharedSecret), ...>`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(qudag_crypto::Ciphertext, SharedSecret), KEMError>` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] help: try wrapping the pattern in `Ok` [INFO] [stdout] | [INFO] [stdout] 14 | let Ok((ciphertext, shared_secret1)) = MlKem768::encapsulate(&pk, &mut rng); [INFO] [stdout] | +++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-crypto` (bench "mldsa_benchmarks") due to 2 previous errors [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] [stderr] error: could not compile `qudag-crypto` (test "ml_kem_tests") due to 1 previous error; 3 warnings emitted [INFO] [stdout] warning: unused import: `MlDsa` [INFO] [stdout] --> benches/ml_dsa_performance.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use qudag_crypto::ml_dsa::{MlDsa, MlDsaKeyPair, MlDsaPublicKey}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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] For more information about this 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] [stderr] error: could not compile `qudag-crypto` (test "test_vectors") due to 1 previous error [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)]` 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[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate [INFO] [stdout] --> benches/ml_dsa_performance.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | impl Clone for MlDsaKeyPair { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | `qudag_crypto::MlDsaKeyPair` is not defined in the current crate [INFO] [stdout] | [INFO] [stdout] = note: impl doesn't have any local type before any uncovered type parameters [INFO] [stdout] = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules [INFO] [stdout] = note: define and implement a trait or new type instead [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 `criterion` [INFO] [stdout] --> benches/ml_dsa_performance.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | criterion::black_box(keypairs) [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` 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 `criterion` [INFO] [stdout] --> benches/ml_dsa_performance.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | criterion::black_box(results) [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` 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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `criterion` [INFO] [stdout] --> benches/ml_dsa_performance.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | criterion::black_box(signature); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` 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 `criterion` [INFO] [stdout] --> benches/ml_dsa_performance.rs:530:13 [INFO] [stdout] | [INFO] [stdout] 530 | criterion::black_box(keypair.public_key().len()); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` 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 `criterion` [INFO] [stdout] --> benches/ml_dsa_performance.rs:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | criterion::black_box(keypair.secret_key().len()); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` 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 `criterion` [INFO] [stdout] --> benches/ml_dsa_performance.rs:544:13 [INFO] [stdout] | [INFO] [stdout] 544 | criterion::black_box(signature.len()); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` 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: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] Some errors have detailed explanations: E0117, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0117`. [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] 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[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] [stderr] error: could not compile `qudag-crypto` (bench "ml_dsa_performance") due to 8 previous errors; 1 warning emitted [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[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] [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] 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] [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)]` on by default [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] Some errors have detailed explanations: E0432, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bb74f45c4a0d781fd4014d71c6d4a810e9e137aa851e725590fe530d3f68b974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb74f45c4a0d781fd4014d71c6d4a810e9e137aa851e725590fe530d3f68b974", kill_on_drop: false }` [INFO] [stdout] bb74f45c4a0d781fd4014d71c6d4a810e9e137aa851e725590fe530d3f68b974