[INFO] cloning repository https://github.com/diegofornalha/QuDAG
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diegofornalha/QuDAG" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegofornalha%2FQuDAG", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegofornalha%2FQuDAG'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 52dc3005a86b6e63120514b0448ec5b4a4dfde03
[INFO] checking diegofornalha/QuDAG against try#3fada14ee01d755dc8076e611f11bf65b28ffd21 for pr-154971
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegofornalha%2FQuDAG" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/diegofornalha/QuDAG
[INFO] finished tweaking git repo https://github.com/diegofornalha/QuDAG
[INFO] tweaked toml for git repo https://github.com/diegofornalha/QuDAG written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/diegofornalha/QuDAG on toolchain 3fada14ee01d755dc8076e611f11bf65b28ffd21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/diegofornalha/QuDAG 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" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libp2p-yamux v0.46.0
[INFO] [stderr]   Downloaded libp2p-identity v0.2.11
[INFO] [stderr]   Downloaded libp2p v0.54.1
[INFO] [stderr]   Downloaded libp2p-connection-limits v0.4.0
[INFO] [stderr]   Downloaded libp2p-metrics v0.15.0
[INFO] [stderr]   Downloaded libp2p-swarm-derive v0.35.0
[INFO] [stderr]   Downloaded libp2p-dns v0.42.0
[INFO] [stderr]   Downloaded libp2p-allow-block-list v0.4.0
[INFO] [stderr]   Downloaded futures-ticker v0.0.3
[INFO] [stderr]   Downloaded libp2p-upnp v0.3.0
[INFO] [stderr]   Downloaded pathfinder_geometry v0.5.1
[INFO] [stderr]   Downloaded plotters-bitmap v0.3.7
[INFO] [stderr]   Downloaded libp2p-quic v0.11.1
[INFO] [stderr]   Downloaded libp2p-request-response v0.27.0
[INFO] [stderr]   Downloaded dwrote v0.11.3
[INFO] [stderr]   Downloaded libp2p-core v0.42.0
[INFO] [stderr]   Downloaded font-kit v0.14.3
[INFO] [stderr]   Downloaded libp2p-kad v0.46.2
[INFO] [stderr]   Downloaded libp2p-gossipsub v0.47.0
[INFO] [stderr]   Downloaded libp2p-swarm v0.45.1
[INFO] [stderr]   Downloaded aws-lc-rs v1.13.1
[INFO] [stderr]   Downloaded pathfinder_simd v0.5.5
[INFO] [stderr]   Downloaded libp2p-noise v0.45.0
[INFO] [stderr]   Downloaded yamux v0.13.5
[INFO] [stderr]   Downloaded libp2p-mdns v0.46.0
[INFO] [stderr]   Downloaded libp2p-identify v0.45.0
[INFO] [stderr]   Downloaded libp2p-tcp v0.42.0
[INFO] [stderr]   Downloaded libp2p-tls v0.5.0
[INFO] [stderr]   Downloaded freetype-sys v0.20.1
[INFO] [stderr]   Downloaded aws-lc-sys v0.29.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 62dfe1d29f83b444f0ca7363ab55c3c37c5c0fa87a24656552008ace216bf3e5
[INFO] running `Command { std: "docker" "start" "-a" "62dfe1d29f83b444f0ca7363ab55c3c37c5c0fa87a24656552008ace216bf3e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62dfe1d29f83b444f0ca7363ab55c3c37c5c0fa87a24656552008ace216bf3e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62dfe1d29f83b444f0ca7363ab55c3c37c5c0fa87a24656552008ace216bf3e5", kill_on_drop: false }`
[INFO] [stdout] 62dfe1d29f83b444f0ca7363ab55c3c37c5c0fa87a24656552008ace216bf3e5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e277c19f4173881fd8387a7ed6e231ee1ed340d5cea649bb0dd3a241ef9c9667
[INFO] running `Command { std: "docker" "start" "-a" "e277c19f4173881fd8387a7ed6e231ee1ed340d5cea649bb0dd3a241ef9c9667", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.173
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking constant_time_eq v0.3.1
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]     Checking bit-vec v0.8.0
[INFO] [stderr]     Checking unarray v0.1.4
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking unsigned-varint v0.8.0
[INFO] [stderr]     Checking quick-protobuf v0.8.1
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]     Checking bit-set v0.8.0
[INFO] [stderr]     Checking base-x v0.2.11
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking unsigned-varint v0.7.2
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking multihash v0.19.3
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling aws-lc-rs v1.13.1
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]    Compiling rustls v0.23.28
[INFO] [stderr]     Checking bytemuck v1.23.1
[INFO] [stderr]     Checking tinyvec v1.9.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling snow v0.9.6
[INFO] [stderr]    Compiling prometheus-client v0.22.3
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]    Compiling quinn-udp v0.5.12
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]     Checking time-core v0.1.4
[INFO] [stderr]     Checking dtoa v1.0.10
[INFO] [stderr]     Checking siphasher v1.0.1
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]    Compiling quinn v0.11.8
[INFO] [stderr]     Checking hex_fmt v0.3.0
[INFO] [stderr]     Checking lru-slab v0.1.2
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]     Checking wide v0.7.32
[INFO] [stderr]     Checking winnow v0.7.11
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]     Checking ucd-trie v0.1.7
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]     Checking clap_builder v4.5.40
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling yeslogic-fontconfig-sys v6.0.0
[INFO] [stderr]    Compiling pathfinder_simd v0.5.5
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking dashmap v6.1.0
[INFO] [stderr]     Checking yasna v0.5.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand_xorshift v0.4.0
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]     Checking poly1305 v0.8.0
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking libloading v0.8.8
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking jpeg-decoder v0.3.1
[INFO] [stderr]     Checking weezl v0.1.10
[INFO] [stderr]    Compiling font-kit v0.14.3
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]     Checking float-ord v0.3.2
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]     Checking ttf-parser v0.20.0
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]     Checking gif v0.12.0
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]    Compiling blake3 v1.8.2
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling aws-lc-sys v0.29.0
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling freetype-sys v0.20.1
[INFO] [stderr]     Checking fastbloom v0.9.0
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking pathfinder_geometry v0.5.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking plotters-bitmap v0.3.7
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling data-encoding-macro-internal v0.1.16
[INFO] [stderr]     Checking tokio v1.45.1
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]     Checking data-encoding-macro v0.1.18
[INFO] [stderr]    Compiling libp2p-swarm-derive v0.35.0
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking multibase v0.9.1
[INFO] [stderr]     Checking netlink-packet-utils v0.5.2
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking chacha20 v0.9.1
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking netlink-packet-core v0.7.0
[INFO] [stderr]     Checking chacha20poly1305 v0.10.1
[INFO] [stderr]     Checking rustls-native-certs v0.8.1
[INFO] [stderr]    Compiling prometheus-client-derive-encode v0.4.2
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]     Checking netlink-packet-route v0.17.1
[INFO] [stderr]     Checking webpki-roots v1.0.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking rcgen v0.13.2
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking pest v2.8.1
[INFO] [stderr]    Compiling clap_derive v4.5.40
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking x25519-dalek v2.0.1
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking libp2p-identity v0.2.11
[INFO] [stderr]     Checking clap v4.5.40
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking asynchronous-codec v0.7.0
[INFO] [stderr]     Checking futures-bounded v0.2.4
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking quick-protobuf-codec v0.3.1
[INFO] [stderr]     Checking multistream-select v0.13.0
[INFO] [stderr]     Checking rw-stream-sink v0.4.0
[INFO] [stderr]     Checking yamux v0.12.1
[INFO] [stderr]     Checking futures-ticker v0.0.3
[INFO] [stderr]     Checking yamux v0.13.5
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking netlink-sys v0.8.7
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]     Checking netlink-proto v0.11.5
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking h2 v0.4.10
[INFO] [stderr]     Checking rtnetlink v0.13.1
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking qudag-crypto v0.1.0 (/opt/rustwide/workdir/core/crypto)
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking if-watch v3.2.1
[INFO] [stdout] warning: unused import: `subtle::ConstantTimeEq`
[INFO] [stdout]  --> core/crypto/src/kem/ml_kem.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use subtle::ConstantTimeEq;
[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: `subtle::ConstantTimeEq`
[INFO] [stdout]  --> core/crypto/src/ml_kem/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use subtle::ConstantTimeEq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `zeroize::Zeroize`
[INFO] [stdout]  --> core/crypto/src/ml_kem/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use zeroize::Zeroize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `subtle::ConstantTimeEq`
[INFO] [stdout]   --> core/crypto/src/ml_dsa/mod.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | use subtle::ConstantTimeEq;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ZeroizeOnDrop` and `Zeroize`
[INFO] [stdout]  --> core/crypto/src/hqc.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use zeroize::{Zeroize, ZeroizeOnDrop};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stdout] warning: unused variable: `t1`
[INFO] [stdout]    --> core/crypto/src/ml_dsa/mod.rs:688:5
[INFO] [stdout]     |
[INFO] [stdout] 688 |     t1: &[[i32; 256]; ML_DSA_K],
[INFO] [stdout]     |     ^^ help: if this is intentional, prefix it with an underscore: `_t1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c_tilde`
[INFO] [stdout]    --> core/crypto/src/ml_dsa/mod.rs:689:5
[INFO] [stdout]     |
[INFO] [stdout] 689 |     c_tilde: &[u8; 64],
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c_tilde`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]    --> core/crypto/src/ml_dsa/mod.rs:691:5
[INFO] [stdout]     |
[INFO] [stdout] 691 |     h: &[u8],
[INFO] [stdout]     |     ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> core/crypto/src/signature.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct PublicKey(Vec<u8>);
[INFO] [stdout]    |            --------- ^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `PublicKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> core/crypto/src/signature.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct SecretKey(Vec<u8>);
[INFO] [stdout]    |            --------- ^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `SecretKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> core/crypto/src/signature.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct Signature(Vec<u8>);
[INFO] [stdout]    |            --------- ^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `Signature` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `secure_zero` is never used
[INFO] [stdout]   --> core/crypto/src/ml_dsa/mod.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn secure_zero(data: &mut [u8]) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ML_DSA_TAU` is never used
[INFO] [stdout]   --> core/crypto/src/ml_dsa/mod.rs:67:7
[INFO] [stdout]    |
[INFO] [stdout] 67 | const ML_DSA_TAU: usize = 49; // number of ±1 coefficients in challenge
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ML_DSA_BETA` is never used
[INFO] [stdout]   --> core/crypto/src/ml_dsa/mod.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 | const ML_DSA_BETA: i32 = 196; // largest coefficient in signature polynomial
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ML_DSA_GAMMA1` is never used
[INFO] [stdout]   --> core/crypto/src/ml_dsa/mod.rs:69:7
[INFO] [stdout]    |
[INFO] [stdout] 69 | const ML_DSA_GAMMA1: i32 = 524288; // parameter for high-order bits
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ML_DSA_GAMMA2` is never used
[INFO] [stdout]   --> core/crypto/src/ml_dsa/mod.rs:70:7
[INFO] [stdout]    |
[INFO] [stdout] 70 | const ML_DSA_GAMMA2: i32 = 95232;  // parameter for low-order bits
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `security` and `g` are never read
[INFO] [stdout]   --> core/crypto/src/hqc.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Parameters {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 20 |     /// Security level
[INFO] [stdout] 21 |     security: SecurityParameter,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     g: Vec<u32>,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Parameters` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `params` is never read
[INFO] [stdout]   --> core/crypto/src/hqc.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub struct PublicKey {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 60 |     params: Parameters,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PublicKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `params` is never read
[INFO] [stdout]   --> core/crypto/src/hqc.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct SecretKey {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 68 |     params: Parameters,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SecretKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `params` is never read
[INFO] [stdout]   --> core/crypto/src/hqc.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct Ciphertext {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 76 |     params: Parameters,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ciphertext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> core/crypto/src/kem/ml_kem.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         ct_hasher.finalize_xof().read(&mut ct);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let _ = ct_hasher.finalize_xof().read(&mut ct);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> core/crypto/src/kem/ml_kem.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         ss_hasher.finalize_xof().read(&mut ss);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let _ = ss_hasher.finalize_xof().read(&mut ss);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> core/crypto/src/kem/ml_kem.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |         pk_hasher.finalize_xof().read(&mut derived_pk);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let _ = pk_hasher.finalize_xof().read(&mut derived_pk);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> core/crypto/src/kem/ml_kem.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         ss_hasher.finalize_xof().read(&mut ss);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let _ = ss_hasher.finalize_xof().read(&mut ss);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking qudag-dag v0.1.0 (/opt/rustwide/workdir/core/dag)
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> core/dag/src/lib.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct DAGConsensus {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 82 |     dag: Dag,
[INFO] [stdout] 83 |     config: ConsensusConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `state` and `max_concurrent` are never read
[INFO] [stdout]   --> core/dag/src/dag.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct Dag {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 62 |     state: Arc<RwLock<ProcessingState>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     max_concurrent: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Dag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `would_create_cycle` is never used
[INFO] [stdout]    --> core/dag/src/graph.rs:284:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | impl Graph {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 284 |     fn would_create_cycle(&self, from: &Hash, to: &Hash, visited: &mut HashSet<Hash>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking multiaddr v0.18.2
[INFO] [stderr]     Checking hickory-proto v0.24.4
[INFO] [stderr]     Checking libp2p-core v0.42.0
[INFO] [stderr]     Checking tempfile v3.20.0
[INFO] [stderr]     Checking rusty-fork v0.3.0
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking proptest v1.7.0
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking libp2p-swarm v0.45.1
[INFO] [stderr]     Checking libp2p-yamux v0.46.0
[INFO] [stderr]     Checking libp2p-tcp v0.42.0
[INFO] [stderr]     Checking libp2p-noise v0.45.0
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking libp2p-mdns v0.46.0
[INFO] [stderr]     Checking libp2p-request-response v0.27.0
[INFO] [stderr]     Checking libp2p-identify v0.45.0
[INFO] [stderr]     Checking libp2p-allow-block-list v0.4.0
[INFO] [stderr]     Checking libp2p-kad v0.46.2
[INFO] [stderr]     Checking libp2p-connection-limits v0.4.0
[INFO] [stderr]     Checking libp2p-gossipsub v0.47.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper-util v0.1.14
[INFO] [stdout] error[E0432]: unresolved import `tokio_test`
[INFO] [stdout]  --> core/dag/tests/liveness_tests.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_test::block_on;
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_test`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio_test`, use `cargo add tokio_test` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `criterion`
[INFO] [stdout]  --> core/crypto/benches/hqc_benchmarks.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion};
[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 `rand_chacha`
[INFO] [stdout]  --> core/crypto/benches/hqc_benchmarks.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand_chacha::ChaCha20Rng;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `rand_chacha`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand_chacha`, use `cargo add rand_chacha` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CryptoRng`, `RngCore`, and `SeedableRng`
[INFO] [stdout]  --> core/crypto/benches/hqc_benchmarks.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::{SeedableRng, CryptoRng, RngCore};
[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]    --> core/crypto/tests/prop_tests.rs:252:13
[INFO] [stdout]     |
[INFO] [stdout] 252 | /             prop_assert!(result.is_err() || {
[INFO] [stdout] 253 | |                 let original_ss = MlKem768::decapsulate(&keypair.secret_key, &ciphertext).unwrap();
[INFO] [stdout] 254 | |                 result.unwrap().as_bytes() != original_ss.as_bytes()
[INFO] [stdout] 255 | |             });
[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] error[E0599]: no associated function or constant named `keygen` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]   --> core/crypto/benches/hqc_benchmarks.rs:34:31
[INFO] [stdout]    |
[INFO] [stdout] 34 |             black_box(Hqc256::keygen().expect("Key generation failed"));
[INFO] [stdout]    |                               ^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `qudag_crypto::signatures`, `qudag_crypto::ml_dsa::MlDsa87`
[INFO] [stdout]  --> core/crypto/tests/prop_tests.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     kem, signatures, encryption, fingerprint::Fingerprint,
[INFO] [stdout]   |          ^^^^^^^^^^ no `signatures` in the root
[INFO] [stdout] 4 |     ml_kem::{MlKem768, Metrics as MlKemMetrics},
[INFO] [stdout] 5 |     ml_dsa::MlDsa87,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no `MlDsa87` in `ml_dsa`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 3 -     kem, signatures, encryption, fingerprint::Fingerprint,
[INFO] [stdout] 3 +     kem, signature, encryption, fingerprint::Fingerprint,
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 5 -     ml_dsa::MlDsa87,
[INFO] [stdout] 5 +     ml_dsa::MlDsa,
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `keygen` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]  --> core/crypto/tests/hqc_tests.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let (pk, sk) = Hqc256::keygen().expect("Key generation should succeed");
[INFO] [stdout]   |                            ^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `keygen` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]   --> core/crypto/benches/hqc_benchmarks.rs:83:28
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let (pk, sk) = Hqc256::keygen().expect("Key generation failed");
[INFO] [stdout]    |                            ^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::rngs::SeedableRng`
[INFO] [stdout]   --> core/crypto/tests/prop_tests.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::rngs::{StdRng, SeedableRng};
[INFO] [stdout]    |                          ^^^^^^^^^^^ no `SeedableRng` in `rngs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these traits instead:
[INFO] [stdout]            rand::SeedableRng
[INFO] [stdout]            rand_core::SeedableRng
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `encrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]   --> core/crypto/benches/hqc_benchmarks.rs:88:31
[INFO] [stdout]    |
[INFO] [stdout] 88 |             black_box(Hqc256::encrypt(black_box(&pk), black_box(message)).expect("Encryption failed"));
[INFO] [stdout]    |                               ^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `keygen` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]   --> core/crypto/tests/hqc_tests.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let (pk, sk) = Hqc256::keygen().expect("Key generation should succeed");
[INFO] [stdout]    |                            ^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `encrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]   --> core/crypto/tests/hqc_tests.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let ciphertext = Hqc256::encrypt(&pk, message).expect("Encryption should succeed");
[INFO] [stdout]    |                              ^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `decrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]   --> core/crypto/tests/hqc_tests.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let decrypted = Hqc256::decrypt(&sk, &ciphertext).expect("Decryption should succeed");
[INFO] [stdout]    |                             ^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `keygen` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]   --> core/crypto/tests/hqc_tests.rs:27:27
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let (_, sk) = Hqc256::keygen().expect("Key generation should succeed");
[INFO] [stdout]    |                           ^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `criterion`
[INFO] [stdout]  --> core/crypto/benches/crypto_benchmarks.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion};
[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[E0603]: trait `KeyEncapsulation` is private
[INFO] [stdout]   --> core/crypto/benches/crypto_benchmarks.rs:2:38
[INFO] [stdout]    |
[INFO] [stdout]  2 | use qudag_crypto::ml_kem::{MlKem768, KeyEncapsulation};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^ private trait
[INFO] [stdout]    |
[INFO] [stdout] note: the trait `KeyEncapsulation` is defined here
[INFO] [stdout]   --> core/crypto/src/ml_kem/mod.rs:10:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::kem::{KEMError, KeyEncapsulation, PublicKey, SecretKey, Ciphertext, SharedSecret};
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: import `KeyEncapsulation` directly
[INFO] [stdout]    |
[INFO] [stdout]  2 | use qudag_crypto::ml_kem::{MlKem768, qudag_crypto::kem::KeyEncapsulation};
[INFO] [stdout]    |                                      +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> core/dag/tests/liveness_tests.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |         id: id.to_string(),
[INFO] [stdout]   |             ^^^^^^^^^^^^^^ expected `VertexId`, found `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: a value of type `Vec<VertexId>` cannot be built from an iterator over elements of type `String`
[INFO] [stdout]  --> core/dag/tests/liveness_tests.rs:9:56
[INFO] [stdout]   |
[INFO] [stdout] 9 |         parents: parents.into_iter().map(String::from).collect(),
[INFO] [stdout]   |                                                        ^^^^^^^ value of type `Vec<VertexId>` cannot be built from `std::iter::Iterator<Item=String>`
[INFO] [stdout]   |
[INFO] [stdout] help: the trait `FromIterator<String>` is not implemented for `Vec<VertexId>`
[INFO] [stdout]       but trait `FromIterator<VertexId>` is implemented for it
[INFO] [stdout]  --> /rustc/3fada14ee01d755dc8076e611f11bf65b28ffd21/library/alloc/src/vec/mod.rs:3888:0
[INFO] [stdout]   = help: for that trait implementation, expected `VertexId`, found `String`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]  --> core/dag/tests/liveness_tests.rs:9:38
[INFO] [stdout]   |
[INFO] [stdout] 9 |         parents: parents.into_iter().map(String::from).collect(),
[INFO] [stdout]   |                  ------- ----------- ^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `String` here
[INFO] [stdout]   |                  |       |
[INFO] [stdout]   |                  |       `Iterator::Item` is `&str` here
[INFO] [stdout]   |                  this expression has type `Vec<&str>`
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout]  --> /rustc/3fada14ee01d755dc8076e611f11bf65b28ffd21/library/core/src/iter/traits/iterator.rs:2079:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `encrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]   --> core/crypto/benches/hqc_benchmarks.rs:92:30
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let ciphertext = Hqc256::encrypt(&pk, message).expect("Encryption failed");
[INFO] [stdout]    |                              ^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `decrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]   --> core/crypto/tests/hqc_tests.rs:31:26
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let result = Hqc256::decrypt(&sk, &invalid_ciphertext);
[INFO] [stdout]    |                          ^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `decrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]   --> core/crypto/benches/hqc_benchmarks.rs:95:31
[INFO] [stdout]    |
[INFO] [stdout] 95 |             black_box(Hqc256::decrypt(black_box(&sk), black_box(&ciphertext)).expect("Decryption failed"));
[INFO] [stdout]    |                               ^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `params` of struct `Hqc` is private
[INFO] [stdout]    --> core/crypto/benches/hqc_benchmarks.rs:102:25
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let byte_len = (hqc.params.n + 7) / 8;
[INFO] [stdout]     |                         ^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> core/dag/tests/liveness_tests.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |             id,
[INFO] [stdout]    |             ^^ expected `VertexId`, found `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `keygen` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]   --> core/crypto/tests/hqc_tests.rs:44:28
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let (pk, sk) = Hqc256::keygen().expect("Key generation should succeed");
[INFO] [stdout]    |                            ^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0616.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[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] warning: unused imports: `MlDsaError`, `MlDsaKeyPair`, `MlDsaPublicKey`, and `MlDsa`
[INFO] [stdout]  --> core/crypto/tests/basic_ml_dsa_test.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use qudag_crypto::ml_dsa::{MlDsa, MlDsaKeyPair, MlDsaPublicKey, MlDsaError};
[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 `encrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]   --> core/crypto/tests/hqc_tests.rs:46:30
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let ciphertext = Hqc256::encrypt(&pk, &message).expect("Encryption should succeed");
[INFO] [stdout]    |                              ^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> core/dag/tests/liveness_tests.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |             parents,
[INFO] [stdout]    |             ^^^^^^^ expected `Vec<VertexId>`, found `Vec<String>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<VertexId>`
[INFO] [stdout]               found struct `Vec<String>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `decrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]   --> core/crypto/tests/hqc_tests.rs:47:29
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let decrypted = Hqc256::decrypt(&sk, &ciphertext).expect("Decryption should succeed");
[INFO] [stdout]    |                             ^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qudag-crypto` (bench "crypto_benchmarks") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no associated function or constant named `encrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]   --> core/crypto/tests/hqc_tests.rs:64:29
[INFO] [stdout]    |
[INFO] [stdout] 64 |             let _ = Hqc256::encrypt(&pk, &message);
[INFO] [stdout]    |                             ^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qudag-crypto` (bench "hqc_benchmarks") due to 8 previous errors; 1 warning emitted
[INFO] [stdout] error[E0425]: cannot find function `generate_keypair` in module `kem`
[INFO] [stdout]   --> core/crypto/tests/prop_tests.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |         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]   --> core/crypto/tests/prop_tests.rs:25:49
[INFO] [stdout]    |
[INFO] [stdout] 25 |         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]   --> core/crypto/tests/prop_tests.rs:26:35
[INFO] [stdout]    |
[INFO] [stdout] 26 |         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]   --> core/crypto/tests/prop_tests.rs:28:38
[INFO] [stdout]    |
[INFO] [stdout] 28 |         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]   --> core/crypto/tests/prop_tests.rs:44:29
[INFO] [stdout]    |
[INFO] [stdout] 44 |         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]   --> core/crypto/tests/prop_tests.rs:45:29
[INFO] [stdout]    |
[INFO] [stdout] 45 |         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]   --> core/crypto/tests/prop_tests.rs:47:28
[INFO] [stdout]    |
[INFO] [stdout] 47 |         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]   --> core/crypto/tests/prop_tests.rs:48:28
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let result2 = kem::decapsulate(&keypair1.secret_key, &ct2);
[INFO] [stdout]    |                            ^^^^^^^^^^^ not found in `kem`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `KeyPair` in module `encryption`
[INFO] [stdout]   --> core/crypto/tests/prop_tests.rs:94:78
[INFO] [stdout]    |
[INFO] [stdout] 94 |     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] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::kem::KeyPair;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use qudag_crypto::KeyPair;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `KeyPair`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 94 -     fn arb_enc_keypair()(mut rng in any::<[u8; 32]>()) -> Result<encryption::KeyPair, encryption::EncryptionError> {
[INFO] [stdout] 94 +     fn arb_enc_keypair()(mut rng in any::<[u8; 32]>()) -> Result<KeyPair, encryption::EncryptionError> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_keypair` in module `encryption`
[INFO] [stdout]   --> core/crypto/tests/prop_tests.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |         encryption::generate_keypair(&mut rng)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^ not found in `encryption`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:107:23
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let mut rng = thread_rng();
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::thread_rng;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encrypt` in module `encryption`
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:109:38
[INFO] [stdout]     |
[INFO] [stdout] 109 |         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]    --> core/crypto/tests/prop_tests.rs:110:37
[INFO] [stdout]     |
[INFO] [stdout] 110 |         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 `thread_rng` in this scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:123:23
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut rng = thread_rng();
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use rand::thread_rng;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encrypt` in module `encryption`
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:125:42
[INFO] [stdout]     |
[INFO] [stdout] 125 |         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]    --> core/crypto/tests/prop_tests.rs:130:31
[INFO] [stdout]     |
[INFO] [stdout] 130 |             match encryption::decrypt(&keypair.secret_key, &ciphertext) {
[INFO] [stdout]     |                               ^^^^^^^ not found in `encryption`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qudag-dag` (test "liveness_tests") due to 5 previous errors
[INFO] [stdout] warning: unused imports: `Metrics as MlKemMetrics`, `SecurityParameter`, and `error::CryptoError`
[INFO] [stdout]  --> core/crypto/tests/prop_tests.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 |     ml_kem::{MlKem768, Metrics as MlKemMetrics},
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     ml_dsa::MlDsa87,
[INFO] [stdout] 6 |     hqc::{Hqc256, SecurityParameter},
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     hash::HashFunction,
[INFO] [stdout] 8 |     error::CryptoError
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `qudag_dag::QrAvalanche`
[INFO] [stdout]  --> core/dag/tests/network_sim.rs:1:41
[INFO] [stdout]   |
[INFO] [stdout] 1 | use qudag_dag::{Graph, Node, NodeState, QrAvalanche};
[INFO] [stdout]   |                                         ^^^^^^^^^^^ no `QrAvalanche` in the root
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 1 - use qudag_dag::{Graph, Node, NodeState, QrAvalanche};
[INFO] [stdout] 1 + use qudag_dag::{Graph, Node, NodeState, QRAvalanche};
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `ml_kem` is private
[INFO] [stdout]  --> core/crypto/tests/timing_tests.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use qudag_crypto::kem::ml_kem::*;
[INFO] [stdout]   |                        ^^^^^^ private module
[INFO] [stdout]   |
[INFO] [stdout] note: the module `ml_kem` is defined here
[INFO] [stdout]  --> core/crypto/src/kem/mod.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod ml_kem;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qudag-crypto` (test "hqc_tests") due to 10 previous errors
[INFO] [stderr] error: could not compile `qudag-crypto` (test "ml_dsa_comprehensive_tests") due to 2 previous errors; 5 warnings emitted
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> core/crypto/tests/ml_dsa_comprehensive_tests.rs:258:1
[INFO] [stdout]     |
[INFO] [stdout] 258 | /// 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]    --> core/crypto/tests/ml_dsa_comprehensive_tests.rs:284:1
[INFO] [stdout]     |
[INFO] [stdout] 284 | /// 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]    --> core/crypto/tests/ml_dsa_comprehensive_tests.rs:312:1
[INFO] [stdout]     |
[INFO] [stdout] 312 | /// 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] warning: unused import: `MlDsa`
[INFO] [stdout]   --> core/crypto/tests/ml_dsa_comprehensive_tests.rs:10:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | use qudag_crypto::ml_dsa::{MlDsa, MlDsaKeyPair, MlDsaPublicKey, MlDsaError};
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0533]: expected unit struct, unit variant or constant, found struct variant `MlDsaError::InvalidKeyLength`
[INFO] [stdout]    --> core/crypto/tests/ml_dsa_comprehensive_tests.rs:139:43
[INFO] [stdout]     |
[INFO] [stdout] 139 |     assert!(matches!(result.unwrap_err(), MlDsaError::InvalidKeyLength));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a unit struct, unit variant or constant
[INFO] [stdout]     |
[INFO] [stdout] help: the struct variant's fields are being ignored
[INFO] [stdout]     |
[INFO] [stdout] 139 |     assert!(matches!(result.unwrap_err(), MlDsaError::InvalidKeyLength { expected: _, found: _ }));
[INFO] [stdout]     |                                                                        +++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0533]: expected unit struct, unit variant or constant, found struct variant `MlDsaError::InvalidSignatureLength`
[INFO] [stdout]    --> core/crypto/tests/ml_dsa_comprehensive_tests.rs:149:43
[INFO] [stdout]     |
[INFO] [stdout] 149 |     assert!(matches!(result.unwrap_err(), MlDsaError::InvalidSignatureLength));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a unit struct, unit variant or constant
[INFO] [stdout]     |
[INFO] [stdout] help: the struct variant's fields are being ignored
[INFO] [stdout]     |
[INFO] [stdout] 149 |     assert!(matches!(result.unwrap_err(), MlDsaError::InvalidSignatureLength { expected: _, found: _ }));
[INFO] [stdout]     |                                                                              +++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `secret_key_ptr`
[INFO] [stdout]    --> core/crypto/tests/ml_dsa_comprehensive_tests.rs:217:9
[INFO] [stdout]     |
[INFO] [stdout] 217 |     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] For more information about this error, try `rustc --explain E0533`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ConsensusEvent` in this scope
[INFO] [stdout]   --> core/dag/tests/network_sim.rs:22:31
[INFO] [stdout]    |
[INFO] [stdout] 22 |     events_rx: mpsc::Receiver<ConsensusEvent>,
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct SimNode<ConsensusEvent> {
[INFO] [stdout]    |               ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_keypair` in this scope
[INFO] [stdout]   --> core/crypto/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]   --> core/crypto/tests/timing_tests.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |     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]   --> core/crypto/tests/timing_tests.rs:46:45
[INFO] [stdout]    |
[INFO] [stdout] 46 |         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]   --> core/crypto/tests/timing_tests.rs:62:19
[INFO] [stdout]    |
[INFO] [stdout] 62 |     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]   --> core/crypto/tests/timing_tests.rs:63:19
[INFO] [stdout]    |
[INFO] [stdout] 63 |     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]   --> core/crypto/tests/timing_tests.rs:70:45
[INFO] [stdout]    |
[INFO] [stdout] 70 |         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]   --> core/crypto/tests/timing_tests.rs:78:45
[INFO] [stdout]    |
[INFO] [stdout] 78 |         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]    --> core/crypto/tests/timing_tests.rs:106:45
[INFO] [stdout]     |
[INFO] [stdout] 106 |         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]    --> core/crypto/tests/timing_tests.rs:113:45
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let (_, duration) = measure_time(|| constant_time_compare(&data1, &data2));
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `blake3::Hash` cannot be dereferenced
[INFO] [stdout]   --> core/dag/tests/network_sim.rs:63:25
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let node_hash = *test_node.hash();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qudag-crypto` (test "timing_tests") due to 10 previous errors
[INFO] [stdout] error[E0432]: unresolved import `criterion`
[INFO] [stdout]  --> core/crypto/benches/crypto_optimized.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BenchmarkId};
[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] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> core/crypto/benches/crypto_optimized.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[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 imports: `AtomicU64` and `Ordering`
[INFO] [stdout]  --> core/crypto/benches/crypto_optimized.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::atomic::{AtomicU64, Ordering};
[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]   --> core/crypto/tests/prop_tests.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 |         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] warning: unexpected `cfg` condition value: `proptest`
[INFO] [stdout]    --> core/dag/tests/qr_avalanche_tests.rs:248:7
[INFO] [stdout]     |
[INFO] [stdout] 248 | #[cfg(feature = "proptest")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `proptest` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ConsensusError` and `DagMessage`
[INFO] [stdout]  --> core/dag/tests/qr_avalanche_tests.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     QRAvalanche, ConsensusStatus, ConsensusError, 
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     Vertex, VertexId, DagMessage
[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]   --> core/crypto/tests/prop_tests.rs:57:31
[INFO] [stdout]    |
[INFO] [stdout] 57 |         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] warning: unused import: `HashMap`
[INFO] [stdout]  --> core/dag/tests/qr_avalanche_tests.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::sleep`
[INFO] [stdout]  --> core/dag/tests/qr_avalanche_tests.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::time::sleep;
[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]   --> core/crypto/tests/prop_tests.rs:95:31
[INFO] [stdout]    |
[INFO] [stdout] 95 |         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] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `blake3::Hash` cannot be dereferenced
[INFO] [stdout]    --> core/dag/tests/network_sim.rs:133:21
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let node_hash = *test_node.hash();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qudag-crypto` (bench "crypto_optimized") due to 1 previous error; 2 warnings emitted
[INFO] [stdout] error[E0614]: type `blake3::Hash` cannot be dereferenced
[INFO] [stdout]    --> core/dag/tests/network_sim.rs:160:21
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let node_hash = *test_node.hash();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `blake3::Hash` cannot be dereferenced
[INFO] [stdout]    --> core/dag/tests/network_sim.rs:192:21
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let node_hash = *test_node.hash();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ConsensusEvent` in this scope
[INFO] [stdout]    --> core/dag/tests/network_sim.rs:114:21
[INFO] [stdout]     |
[INFO] [stdout] 114 |                     ConsensusEvent::NodeFinalized(hash) => Some((hash, NodeState::Final)),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ use of undeclared type `ConsensusEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ConsensusEvent` in this scope
[INFO] [stdout]    --> core/dag/tests/network_sim.rs:115:21
[INFO] [stdout]     |
[INFO] [stdout] 115 |                     ConsensusEvent::NodeRejected(hash) => Some((hash, NodeState::Rejected)),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ use of undeclared type `ConsensusEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0614.
[INFO] [stdout] 
[INFO] [stdout] For more information about an 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]    --> core/crypto/tests/prop_tests.rs:184:32
[INFO] [stdout]     |
[INFO] [stdout] 184 |         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[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:185:32
[INFO] [stdout]     |
[INFO] [stdout] 185 |         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] error[E0599]: no associated function or constant named `from_seed` found for struct `StdRng` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:188:37
[INFO] [stdout]     |
[INFO] [stdout] 188 |         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] [stderr] error: could not compile `qudag-dag` (test "network_sim") due to 8 previous errors
[INFO] [stdout] error[E0599]: no associated function or constant named `generate_keypair` found for struct `qudag_crypto::MlKem768` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:189:35
[INFO] [stdout]     |
[INFO] [stdout] 189 |         let keypair1a = MlKem768::generate_keypair(&mut rng1).unwrap();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^ associated function or constant not found in `qudag_crypto::MlKem768`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `generate_keypair` found for struct `qudag_crypto::MlKem768` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:190:35
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let keypair1b = MlKem768::generate_keypair(&mut rng1_copy).unwrap();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^ associated function or constant not found in `qudag_crypto::MlKem768`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> core/dag/src/invariant_tests.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 179 |     /// Property-based test for DAG invariants
[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] error[E0599]: no associated function or constant named `generate_keypair` found for struct `qudag_crypto::MlKem768` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:196:34
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let keypair2 = MlKem768::generate_keypair(&mut rng2).unwrap();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^ associated function or constant not found in `qudag_crypto::MlKem768`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:202:26
[INFO] [stdout]     |
[INFO] [stdout] 202 |         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]    --> core/crypto/src/ml_kem/mod.rs:87:12
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub fn encapsulate(pk: &PublicKey) -> Result<(Ciphertext, SharedSecret), KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 202 -         let (ss1, ct1) = MlKem768::encapsulate(&keypair1a.public_key, &mut rng1).unwrap();
[INFO] [stdout] 202 +         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]    --> core/crypto/tests/prop_tests.rs:203:26
[INFO] [stdout]     |
[INFO] [stdout] 203 |         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]    --> core/crypto/src/ml_kem/mod.rs:87:12
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub fn encapsulate(pk: &PublicKey) -> Result<(Ciphertext, SharedSecret), KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 203 -         let (ss2, ct2) = MlKem768::encapsulate(&keypair1a.public_key, &mut rng2).unwrap();
[INFO] [stdout] 203 +         let (ss2, ct2) = MlKem768::encapsulate(&keypair1a.public_key).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:211:74
[INFO] [stdout]     |
[INFO] [stdout] 211 |         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]    --> core/crypto/src/ml_kem/mod.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn decapsulate(sk: &SecretKey, ct: &Ciphertext) -> Result<SharedSecret, KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:212:74
[INFO] [stdout]     |
[INFO] [stdout] 212 |         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]    --> core/crypto/src/ml_kem/mod.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 |     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]    --> core/crypto/tests/prop_tests.rs:222:31
[INFO] [stdout]     |
[INFO] [stdout] 222 |         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::MlKem768` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:223:33
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let keypair = MlKem768::generate_keypair(&mut rng).unwrap();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^ associated function or constant not found in `qudag_crypto::MlKem768`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:230:34
[INFO] [stdout]     |
[INFO] [stdout] 230 |         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]    --> core/crypto/src/ml_kem/mod.rs:87:12
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub fn encapsulate(pk: &PublicKey) -> Result<(Ciphertext, SharedSecret), KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 230 -         let (shared_secret, _) = MlKem768::encapsulate(&keypair.public_key, &mut rng).unwrap();
[INFO] [stdout] 230 +         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]    --> core/crypto/tests/prop_tests.rs:240:31
[INFO] [stdout]     |
[INFO] [stdout] 240 |         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::MlKem768` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:241:33
[INFO] [stdout]     |
[INFO] [stdout] 241 |         let keypair = MlKem768::generate_keypair(&mut rng).unwrap();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^ associated function or constant not found in `qudag_crypto::MlKem768`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:242:31
[INFO] [stdout]     |
[INFO] [stdout] 242 |         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]    --> core/crypto/src/ml_kem/mod.rs:87:12
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub fn encapsulate(pk: &PublicKey) -> Result<(Ciphertext, SharedSecret), KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 242 -         let (_, ciphertext) = MlKem768::encapsulate(&keypair.public_key, &mut rng).unwrap();
[INFO] [stdout] 242 +         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]    --> core/crypto/tests/prop_tests.rs:246:36
[INFO] [stdout]     |
[INFO] [stdout] 246 |         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] 246 -         let ct_bytes = tampered_ct.as_bytes_mut();
[INFO] [stdout] 246 +         let ct_bytes = tampered_ct.as_bytes();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:250:69
[INFO] [stdout]     |
[INFO] [stdout] 250 |             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]    --> core/crypto/src/ml_kem/mod.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn decapsulate(sk: &SecretKey, ct: &Ciphertext) -> Result<SharedSecret, KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:253:78
[INFO] [stdout]     |
[INFO] [stdout] 253 |                 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]    --> core/crypto/src/ml_kem/mod.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 |     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]    --> core/crypto/tests/prop_tests.rs:270:31
[INFO] [stdout]     |
[INFO] [stdout] 270 |         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]    --> core/crypto/tests/prop_tests.rs:303:31
[INFO] [stdout]     |
[INFO] [stdout] 303 |         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]    --> core/crypto/tests/prop_tests.rs:322:31
[INFO] [stdout]     |
[INFO] [stdout] 322 |         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]    --> core/crypto/tests/prop_tests.rs:349:31
[INFO] [stdout]     |
[INFO] [stdout] 349 |         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::hqc::Hqc256` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:350:31
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let keypair = Hqc256::generate_keypair(&mut rng).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `encrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:354:38
[INFO] [stdout]     |
[INFO] [stdout] 354 |             let ciphertext = Hqc256::encrypt(&keypair.public_key, plaintext, &mut rng).unwrap();
[INFO] [stdout]     |                                      ^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `decrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:355:37
[INFO] [stdout]     |
[INFO] [stdout] 355 |             let decrypted = Hqc256::decrypt(&keypair.secret_key, &ciphertext).unwrap();
[INFO] [stdout]     |                                     ^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `encrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:360:39
[INFO] [stdout]     |
[INFO] [stdout] 360 |             let ciphertext2 = Hqc256::encrypt(&keypair.public_key, plaintext, &mut rng).unwrap();
[INFO] [stdout]     |                                       ^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[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]    --> core/crypto/tests/prop_tests.rs:371:31
[INFO] [stdout]     |
[INFO] [stdout] 371 |         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::hqc::Hqc256` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:372:31
[INFO] [stdout]     |
[INFO] [stdout] 372 |         let keypair = Hqc256::generate_keypair(&mut rng).unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `encrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:374:34
[INFO] [stdout]     |
[INFO] [stdout] 374 |         let ciphertext = Hqc256::encrypt(&keypair.public_key, &plaintext, &mut rng).unwrap();
[INFO] [stdout]     |                                  ^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `decrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:386:38
[INFO] [stdout]     |
[INFO] [stdout] 386 |         let decrypt_result = Hqc256::decrypt(&keypair.secret_key, &corrupted_ct);
[INFO] [stdout]     |                                      ^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:412:22
[INFO] [stdout]     |
[INFO] [stdout] 412 |         let hasher = HashFunction::blake3();
[INFO] [stdout]     |                      ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]     |
[INFO] [stdout] 412 |         let hasher = <dyn HashFunction>::blake3();
[INFO] [stdout]     |                      ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:441:22
[INFO] [stdout]     |
[INFO] [stdout] 441 |         let hasher = HashFunction::blake3();
[INFO] [stdout]     |                      ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]     |
[INFO] [stdout] 441 |         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]    --> core/crypto/tests/prop_tests.rs:469:31
[INFO] [stdout]     |
[INFO] [stdout] 469 |         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::MlKem768` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:472:37
[INFO] [stdout]     |
[INFO] [stdout] 472 |         let kem_keypair = MlKem768::generate_keypair(&mut rng).unwrap();
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^ associated function or constant not found in `qudag_crypto::MlKem768`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `generate_keypair` found for struct `qudag_crypto::hqc::Hqc256` in the current scope
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:474:35
[INFO] [stdout]     |
[INFO] [stdout] 474 |         let hqc_keypair = Hqc256::generate_keypair(&mut rng).unwrap();
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^ associated function or constant not found in `qudag_crypto::hqc::Hqc256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]    --> core/crypto/tests/prop_tests.rs:475:22
[INFO] [stdout]     |
[INFO] [stdout] 475 |         let hasher = HashFunction::blake3();
[INFO] [stdout]     |                      ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]     |
[INFO] [stdout] 475 |         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]    --> core/crypto/tests/prop_tests.rs:478:39
[INFO] [stdout]     |
[INFO] [stdout] 478 |         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]    --> core/crypto/src/ml_kem/mod.rs:87:12
[INFO] [stdout]     |
[INFO] [stdout]  87 |     pub fn encapsulate(pk: &PublicKey) -> Result<(Ciphertext, SharedSecret), KEMError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 478 -         let (shared_secret, kem_ct) = MlKem768::encapsulate(&kem_keypair.public_key, &mut rng).unwrap();
[INFO] [stdout] 478 +         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]    --> core/crypto/tests/prop_tests.rs:489:79
[INFO] [stdout]     |
[INFO] [stdout] 489 |         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]    --> core/crypto/src/ml_kem/mod.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 |     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 61 previous errors; 1 warning emitted
[INFO] [stdout] error[E0277]: can't compare `Vec<blake3::Hash>` with `&Vec<blake3::Hash>`
[INFO] [stdout]    --> core/dag/src/node.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |         assert_eq!(node.parents(), &parents);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Vec<blake3::Hash> == &Vec<blake3::Hash>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `PartialEq<&Vec<blake3::Hash>>` is not implemented for `Vec<blake3::Hash>`
[INFO] [stdout]     = help: the following other types implement trait `PartialEq<Rhs>`:
[INFO] [stdout]               `Vec<T, A1>` implements `PartialEq<Vec<U, A2>>`
[INFO] [stdout]               `Vec<T, A>` implements `PartialEq<&[U; N]>`
[INFO] [stdout]               `Vec<T, A>` implements `PartialEq<&[U]>`
[INFO] [stdout]               `Vec<T, A>` implements `PartialEq<&mut [U]>`
[INFO] [stdout]               `Vec<T, A>` implements `PartialEq<[U; N]>`
[INFO] [stdout]               `Vec<T, A>` implements `PartialEq<[U]>`
[INFO] [stdout]               `Vec<u8>` implements `PartialEq<ByteStr>`
[INFO] [stdout]               `Vec<u8>` implements `PartialEq<ByteString>`
[INFO] [stdout]             and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> core/dag/src/consensus_tests.rs:143:60
[INFO] [stdout]     |
[INFO] [stdout] 143 |                 create_test_vertex(vertex_id, vec![parents.last().unwrap()])
[INFO] [stdout]     |                                                            ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `core::slice::<impl [T]>::last`
[INFO] [stdout]    --> /rustc/3fada14ee01d755dc8076e611f11bf65b28ffd21/library/core/src/slice/mod.rs:281:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> core/dag/src/consensus_tests.rs:143:52
[INFO] [stdout]     |
[INFO] [stdout] 143 |                 create_test_vertex(vertex_id, vec![parents.last().unwrap()])
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]     = note: required for `Vec<str>` to implement `Deref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> core/dag/src/consensus_tests.rs:140:37
[INFO] [stdout]     |
[INFO] [stdout] 140 |             let vertex = if parents.is_empty() {
[INFO] [stdout]     |                                     ^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Vec::<T, A>::is_empty`
[INFO] [stdout]    --> /rustc/3fada14ee01d755dc8076e611f11bf65b28ffd21/library/alloc/src/vec/mod.rs:3047:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> core/dag/src/consensus_tests.rs:137:27
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let mut parents = vec![];
[INFO] [stdout]     |                           ^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Vec`
[INFO] [stdout]    --> /rustc/3fada14ee01d755dc8076e611f11bf65b28ffd21/library/alloc/src/vec/mod.rs:438:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> core/dag/src/consensus_tests.rs:137:27
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let mut parents = vec![];
[INFO] [stdout]     |                           ^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Vec::<T>::new`
[INFO] [stdout]    --> /rustc/3fada14ee01d755dc8076e611f11bf65b28ffd21/library/alloc/src/vec/mod.rs:463:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<str>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> core/dag/src/consensus_tests.rs:147:21
[INFO] [stdout]     |
[INFO] [stdout] 147 |             parents.push(*vertex_id);
[INFO] [stdout]     |                     ^^^^ method cannot be called on `Vec<str>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `str: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>`
[INFO] [stdout]    --> core/dag/src/invariant_tests.rs:187:17
[INFO] [stdout]     |
[INFO] [stdout] 187 |             let mut vertex_ids = Vec::new();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |                         parents.push(vertex_ids[j].as_str());
[INFO] [stdout]     |                                      ------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `vertex_ids` an explicit type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 187 |             let mut vertex_ids: Vec<T> = Vec::new();
[INFO] [stdout]     |                               ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>`
[INFO] [stdout]    --> core/dag/src/invariant_tests.rs:332:17
[INFO] [stdout]     |
[INFO] [stdout] 332 |             let mut vertex_ids = Vec::new();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 339 |                     .map(|&p| vertex_ids[p].as_str())
[INFO] [stdout]     |                               ------------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `vertex_ids` an explicit type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 332 |             let mut vertex_ids: Vec<T> = Vec::new();
[INFO] [stdout]     |                               ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> core/dag/src/invariant_tests.rs:499:21
[INFO] [stdout]     |
[INFO] [stdout] 498 |                 let attack_result = match attack {
[INFO] [stdout]     |                                           ------ this expression has type `&&str`
[INFO] [stdout] 499 |                     "duplicate_vertex" => {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] help: consider dereferencing to access the inner value using the `Deref` trait
[INFO] [stdout]     |
[INFO] [stdout] 498 |                 let attack_result = match *attack {
[INFO] [stdout]     |                                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> core/dag/src/invariant_tests.rs:508:21
[INFO] [stdout]     |
[INFO] [stdout] 498 |                 let attack_result = match attack {
[INFO] [stdout]     |                                           ------ this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 508 |                     "invalid_parent" => {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] help: consider dereferencing to access the inner value using the `Deref` trait
[INFO] [stdout]     |
[INFO] [stdout] 498 |                 let attack_result = match *attack {
[INFO] [stdout]     |                                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> core/dag/src/invariant_tests.rs:516:21
[INFO] [stdout]     |
[INFO] [stdout] 498 |                 let attack_result = match attack {
[INFO] [stdout]     |                                           ------ this expression has type `&&str`
[INFO] [stdout] ...
[INFO] [stdout] 516 |                     "circular_reference" => {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^ expected `&&str`, found `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&&_`
[INFO] [stdout]                found reference `&'static _`
[INFO] [stdout] help: consider dereferencing to access the inner value using the `Deref` trait
[INFO] [stdout]     |
[INFO] [stdout] 498 |                 let attack_result = match *attack {
[INFO] [stdout]     |                                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> core/dag/src/invariant_tests.rs:292:34
[INFO] [stdout]     |
[INFO] [stdout] 291 |                         let parents = if vertex_counter > 0 {
[INFO] [stdout]     |                             ------- borrow later stored here
[INFO] [stdout] 292 |                             vec![format!("V{}", vertex_counter - 1).as_str()]
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use
[INFO] [stdout] 293 |                         } else {
[INFO] [stdout]     |                         - temporary value is freed at the end of this statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload`
[INFO] [stdout]    --> core/dag/src/invariant_tests.rs:287:22
[INFO] [stdout]     |
[INFO] [stdout] 287 |             for (op, payload) in operations {
[INFO] [stdout]     |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> core/dag/src/invariant_tests.rs:435:26
[INFO] [stdout]     |
[INFO] [stdout] 434 |                 let parents = if i > 0 {
[INFO] [stdout]     |                     ------- borrow later stored here
[INFO] [stdout] 435 |                     vec![format!("msg_{}", i - 1).as_str()]
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use
[INFO] [stdout] 436 |                 } else {
[INFO] [stdout]     |                 - temporary value is freed at the end of this statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]    --> core/dag/src/invariant_tests.rs:432:21
[INFO] [stdout]     |
[INFO] [stdout] 432 |             for (i, message) in message_sequence.iter().enumerate() {
[INFO] [stdout]     |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0599, E0716.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qudag-dag` (lib test) due to 14 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e277c19f4173881fd8387a7ed6e231ee1ed340d5cea649bb0dd3a241ef9c9667", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e277c19f4173881fd8387a7ed6e231ee1ed340d5cea649bb0dd3a241ef9c9667", kill_on_drop: false }`
[INFO] [stdout] e277c19f4173881fd8387a7ed6e231ee1ed340d5cea649bb0dd3a241ef9c9667
