[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 master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegofornalha%2FQuDAG" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/diegofornalha/QuDAG on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cmake v0.1.54 [INFO] [stderr] Downloaded rustls-platform-verifier v0.5.3 [INFO] [stderr] Downloaded prettyplease v0.2.34 [INFO] [stderr] Downloaded pathfinder_geometry v0.5.1 [INFO] [stderr] Downloaded plotters-backend v0.3.7 [INFO] [stderr] Downloaded aws-lc-rs v1.13.1 [INFO] [stderr] Downloaded redox_users v0.5.0 [INFO] [stderr] Downloaded dwrote v0.11.3 [INFO] [stderr] Downloaded csv-core v0.1.12 [INFO] [stderr] Downloaded futures-rustls v0.26.0 [INFO] [stderr] Downloaded pathfinder_simd v0.5.5 [INFO] [stderr] Downloaded clap_derive v4.5.40 [INFO] [stderr] Downloaded font-kit v0.14.3 [INFO] [stderr] Downloaded x25519-dalek v2.0.1 [INFO] [stderr] Downloaded hickory-resolver v0.24.4 [INFO] [stderr] Downloaded libp2p-kad v0.46.2 [INFO] [stderr] Downloaded plotters v0.3.7 [INFO] [stderr] Downloaded webpki-root-certs v1.0.0 [INFO] [stderr] Downloaded clap_builder v4.5.40 [INFO] [stderr] Downloaded proptest v1.7.0 [INFO] [stderr] Downloaded netlink-packet-route v0.17.1 [INFO] [stderr] Downloaded libp2p-gossipsub v0.47.0 [INFO] [stderr] Downloaded prometheus-client v0.22.3 [INFO] [stderr] Downloaded libp2p-swarm v0.45.1 [INFO] [stderr] Downloaded quick-protobuf v0.8.1 [INFO] [stderr] Downloaded security-framework v3.2.0 [INFO] [stderr] Downloaded ed25519-dalek v2.1.1 [INFO] [stderr] Downloaded hickory-proto v0.24.4 [INFO] [stderr] Downloaded rcgen v0.13.2 [INFO] [stderr] Downloaded rcgen v0.11.3 [INFO] [stderr] Downloaded rtnetlink v0.13.1 [INFO] [stderr] Downloaded libp2p-core v0.42.0 [INFO] [stderr] Downloaded libp2p-identity v0.2.11 [INFO] [stderr] Downloaded fastbloom v0.9.0 [INFO] [stderr] Downloaded clap v4.5.40 [INFO] [stderr] Downloaded windows-core v0.53.0 [INFO] [stderr] Downloaded snow v0.9.6 [INFO] [stderr] Downloaded igd-next v0.14.3 [INFO] [stderr] Downloaded libp2p v0.54.1 [INFO] [stderr] Downloaded libp2p-mdns v0.46.0 [INFO] [stderr] Downloaded libp2p-noise v0.45.0 [INFO] [stderr] Downloaded libp2p-request-response v0.27.0 [INFO] [stderr] Downloaded yamux v0.13.5 [INFO] [stderr] Downloaded data-encoding-macro v0.1.18 [INFO] [stderr] Downloaded core-text v20.1.0 [INFO] [stderr] Downloaded wio v0.2.2 [INFO] [stderr] Downloaded libp2p-allow-block-list v0.4.0 [INFO] [stderr] Downloaded futures-ticker v0.0.3 [INFO] [stderr] Downloaded prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Downloaded libp2p-quic v0.11.1 [INFO] [stderr] Downloaded if-addrs v0.10.2 [INFO] [stderr] Downloaded libp2p-swarm-derive v0.35.0 [INFO] [stderr] Downloaded unsigned-varint v0.7.2 [INFO] [stderr] Downloaded multibase v0.9.1 [INFO] [stderr] Downloaded plotters-svg v0.3.7 [INFO] [stderr] Downloaded hex_fmt v0.3.0 [INFO] [stderr] Downloaded quick-protobuf-codec v0.3.1 [INFO] [stderr] Downloaded dtoa v1.0.10 [INFO] [stderr] Downloaded libp2p-tcp v0.42.0 [INFO] [stderr] Downloaded yamux v0.12.1 [INFO] [stderr] Downloaded multihash v0.19.3 [INFO] [stderr] Downloaded unsigned-varint v0.8.0 [INFO] [stderr] Downloaded rw-stream-sink v0.4.0 [INFO] [stderr] Downloaded wait-timeout v0.2.1 [INFO] [stderr] Downloaded rusty-fork v0.3.0 [INFO] [stderr] Downloaded yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Downloaded plotters-bitmap v0.3.7 [INFO] [stderr] Downloaded libp2p-connection-limits v0.4.0 [INFO] [stderr] Downloaded libp2p-dns v0.42.0 [INFO] [stderr] Downloaded libp2p-metrics v0.15.0 [INFO] [stderr] Downloaded asynchronous-codec v0.7.0 [INFO] [stderr] Downloaded libp2p-tls v0.5.0 [INFO] [stderr] Downloaded futures-bounded v0.2.4 [INFO] [stderr] Downloaded libp2p-upnp v0.3.0 [INFO] [stderr] Downloaded multistream-select v0.13.0 [INFO] [stderr] Downloaded libp2p-yamux v0.46.0 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.16 [INFO] [stderr] Downloaded multiaddr v0.18.2 [INFO] [stderr] Downloaded unarray v0.1.4 [INFO] [stderr] Downloaded if-watch v3.2.1 [INFO] [stderr] Downloaded base-x v0.2.11 [INFO] [stderr] Downloaded rand_xorshift v0.4.0 [INFO] [stderr] Downloaded webpki-root-certs v0.26.11 [INFO] [stderr] Downloaded freetype-sys v0.20.1 [INFO] [stderr] Downloaded libp2p-identify v0.45.0 [INFO] [stderr] Downloaded aws-lc-sys v0.29.0 [INFO] [stderr] Downloaded windows v0.53.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79795c886c52f1aa1ecc4174ea1670207a4bdca9652a71e0ec795cb6f1f7cd04 [INFO] running `Command { std: "docker" "start" "-a" "79795c886c52f1aa1ecc4174ea1670207a4bdca9652a71e0ec795cb6f1f7cd04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79795c886c52f1aa1ecc4174ea1670207a4bdca9652a71e0ec795cb6f1f7cd04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79795c886c52f1aa1ecc4174ea1670207a4bdca9652a71e0ec795cb6f1f7cd04", kill_on_drop: false }` [INFO] [stdout] 79795c886c52f1aa1ecc4174ea1670207a4bdca9652a71e0ec795cb6f1f7cd04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54ca0a132ef8b8eb1c5c394f6add7ed32fa38cbff201066ae4351caea459ba9d [INFO] running `Command { std: "docker" "start" "-a" "54ca0a132ef8b8eb1c5c394f6add7ed32fa38cbff201066ae4351caea459ba9d", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Checking multihash v0.19.3 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling quinn-udp v0.5.12 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling quinn v0.11.8 [INFO] [stderr] Checking lru-slab v0.1.2 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking wide v0.7.32 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking const-random v0.1.18 [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 num_cpus v1.17.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling pathfinder_simd v0.5.5 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling font-kit v0.14.3 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking fastbloom v0.9.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking flate2 v1.1.2 [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 plotters-svg v0.3.7 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking image v0.24.9 [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] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling libp2p-swarm-derive v0.35.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking netlink-packet-core v0.7.0 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking netlink-packet-route v0.17.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Checking webpki-roots v1.0.0 [INFO] [stderr] Checking rcgen v0.13.2 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking plotters-bitmap v0.3.7 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking pest v2.8.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking futures-bounded v0.2.4 [INFO] [stderr] Checking libp2p-identity v0.2.11 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking quick-protobuf-codec v0.3.1 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking yamux v0.13.5 [INFO] [stderr] Checking futures-ticker v0.0.3 [INFO] [stderr] Checking yamux v0.12.1 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking netlink-sys v0.8.7 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking netlink-proto v0.11.5 [INFO] [stderr] Checking rtnetlink v0.13.1 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking if-watch v3.2.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking qudag-crypto v0.1.0 (/opt/rustwide/workdir/core/crypto) [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [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 rustix v1.0.7 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.11 [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); [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); [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); [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, [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 serde_spanned v0.6.9 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking json5 v0.4.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>, [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) -> 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 tempfile v3.20.0 [INFO] [stderr] Checking libp2p-core v0.42.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-noise v0.45.0 [INFO] [stderr] Checking libp2p-tcp v0.42.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking libp2p-allow-block-list v0.4.0 [INFO] [stderr] Checking libp2p-request-response v0.27.0 [INFO] [stderr] Checking libp2p-connection-limits v0.4.0 [INFO] [stderr] Checking libp2p-gossipsub v0.47.0 [INFO] [stderr] Checking libp2p-kad v0.46.2 [INFO] [stderr] Checking libp2p-identify v0.45.0 [INFO] [stderr] Checking libp2p-mdns v0.46.0 [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] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> core/crypto/benches/ml_dsa_performance.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion, Throughput}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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[E0432]: unresolved import `qudag_dag::consensus::DagConsensus` [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use qudag_dag::consensus::DagConsensus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DagConsensus` in `consensus` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 2 - use qudag_dag::consensus::DagConsensus; [INFO] [stdout] 2 + use qudag_dag::consensus::Consensus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BenchmarkId, Throughput}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Confidence` and `ConsensusMetrics` [INFO] [stdout] --> core/dag/tests/integration_qr_avalanche.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Confidence, ConsensusMetrics [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: `std::collections::HashMap` [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [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: `std::sync::Arc` [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64` and `Ordering` [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::atomic::{AtomicU64, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `qudag_crypto::ml_dsa::MLDsa`, `qudag_crypto::ml_dsa::SIGNATURE_LENGTH` [INFO] [stdout] --> core/crypto/benches/mldsa_benchmarks.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use qudag_crypto::ml_dsa::{MLDsa, SIGNATURE_LENGTH}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ no `SIGNATURE_LENGTH` in `ml_dsa` [INFO] [stdout] | | [INFO] [stdout] | no `MLDsa` in `ml_dsa` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 2 - use qudag_crypto::ml_dsa::{MLDsa, SIGNATURE_LENGTH}; [INFO] [stdout] 2 + use qudag_crypto::ml_dsa::{MlDsa, SIGNATURE_LENGTH}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> core/crypto/benches/mldsa_benchmarks.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion, Throughput}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConsensusError` [INFO] [stdout] --> core/dag/tests/network_conditions_tests.rs:3:76 [INFO] [stdout] | [INFO] [stdout] 3 | use qudag_dag::{QRAvalanche, QRAvalancheConfig, VertexId, ConsensusStatus, ConsensusError}; [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: `std::collections::HashSet` [INFO] [stdout] --> core/dag/tests/network_conditions_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MlDsa` [INFO] [stdout] --> core/crypto/benches/ml_dsa_performance.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use qudag_crypto::ml_dsa::{MlDsa, MlDsaKeyPair, MlDsaPublicKey}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (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[E0433]: cannot find module or crate `criterion` in this scope [INFO] [stdout] --> core/crypto/benches/ml_dsa_performance.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | criterion::black_box(keypair.public_key().len()); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `criterion` in this scope [INFO] [stdout] --> core/crypto/benches/ml_dsa_performance.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | criterion::black_box(keypair.secret_key().len()); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `qudag_dag::consensus::DagConsensus` [INFO] [stdout] --> core/dag/benches/consensus_benchmarks.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use qudag_dag::consensus::DagConsensus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DagConsensus` in `consensus` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 2 - use qudag_dag::consensus::DagConsensus; [INFO] [stdout] 2 + use qudag_dag::consensus::Consensus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> core/dag/benches/consensus_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[E0433]: cannot find module or crate `criterion` in this scope [INFO] [stdout] --> core/crypto/benches/ml_dsa_performance.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | criterion::black_box(signature.len()); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[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[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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PUBLIC_KEY_BYTES` in this scope [INFO] [stdout] --> core/crypto/tests/test_vectors.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(keypair.public_key.len(), PUBLIC_KEY_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECRET_KEY_BYTES` in this scope [INFO] [stdout] --> core/crypto/tests/test_vectors.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(keypair.secret_key.len(), SECRET_KEY_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHARED_SECRET_BYTES` in this scope [INFO] [stdout] --> core/crypto/tests/test_vectors.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(shared_secret1.len(), SHARED_SECRET_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SHARED_SECRET_BYTES` in this scope [INFO] [stdout] --> core/crypto/tests/test_vectors.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(shared_secret2.len(), SHARED_SECRET_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CIPHERTEXT_BYTES` in this scope [INFO] [stdout] --> core/crypto/tests/test_vectors.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(ciphertext.len(), CIPHERTEXT_BYTES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `RngCore` in this scope [INFO] [stdout] --> core/crypto/tests/test_vectors.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | impl RngCore for TestRng { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use proptest::prelude::RngCore; [INFO] [stdout] | [INFO] [stdout] 1 + use rand::RngCore; [INFO] [stdout] | [INFO] [stdout] 1 + use rand_core::RngCore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | format!("vertex_{}", i), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `String` [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Vec` [INFO] [stdout] | [INFO] [stdout] 34 | format!("vertex_{}", i).into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` 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` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] help: the trait `FromIterator` is not implemented for `Vec` [INFO] [stdout] but trait `FromIterator` is implemented for it [INFO] [stdout] --> /rustc/b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd/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/b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd/library/core/src/iter/traits/iterator.rs:2079:4 [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] [stderr] error: could not compile `qudag-crypto` (bench "mldsa_benchmarks") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0603]: module `ml_kem` is private [INFO] [stdout] --> core/crypto/tests/test_vectors.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] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let vertex = Vertex::new( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | i as u64, [INFO] [stdout] | -------- expected `VertexId`, found `u64` [INFO] [stdout] ... [INFO] [stdout] 36 | self.rng.gen_range(0..self.node_count) as u64, // Random node ID [INFO] [stdout] | --------------------------------------------- unexpected argument #4 of type `u64` [INFO] [stdout] | [INFO] [stdout] note: expected `HashSet`, found `Vec` [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | vec![0u8; 256], // Simulate message payload [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `HashSet` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> core/dag/src/vertex.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(id: VertexId, payload: Vec, parents: std::collections::HashSet) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 33 ~ /* VertexId */, [INFO] [stdout] 34 | format!("vertex_{}", i), [INFO] [stdout] 35 ~ /* HashSet */, // Random node ID [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/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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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[E0425]: cannot find function `generate_keypair` in this scope [INFO] [stdout] --> core/crypto/tests/test_vectors.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | 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/test_vectors.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | let (shared_secret1, ciphertext) = 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/test_vectors.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | let shared_secret2 = decapsulate(&keypair.secret_key, &ciphertext).unwrap(); [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/test_vectors.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | assert!(bool::from(constant_time_compare(&shared_secret1, &shared_secret2))); [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/test_vectors.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let keypair1 = generate_keypair(&mut rng).unwrap(); [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/test_vectors.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let keypair2 = generate_keypair(&mut rng).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-crypto` (bench "ml_dsa_performance") due to 4 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [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[E0432]: unresolved imports `crate::Graph`, `crate::Node`, `crate::NodeState`, `crate::QrAvalanche`, `crate::ConsensusEvent`, `crate::DagError` [INFO] [stdout] --> core/dag/tests/consensus_performance_tests.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Graph, Node, NodeState, QrAvalanche, ConsensusEvent, DagError}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ no `DagError` in the root [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `ConsensusEvent` in the root [INFO] [stdout] | | | | no `QrAvalanche` in the root [INFO] [stdout] | | | no `NodeState` in the root [INFO] [stdout] | | no `Node` in the root [INFO] [stdout] | no `Graph` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] qudag_dag::Graph [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] qudag_dag::Node [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] qudag_dag::NodeState [INFO] [stdout] = help: consider importing one of these enums instead: [INFO] [stdout] qudag_dag::DagError [INFO] [stdout] qudag_dag::dag::DagError [INFO] [stdout] [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, [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 { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-crypto` (test "test_vectors") due to 13 previous errors [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`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> core/dag/tests/consensus_performance_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::sync::mpsc; [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/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 method named `id` found for struct `Vertex` in the current scope [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | vertices[parent_idx].id(), [INFO] [stdout] | ^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> core/dag/tests/integration_qr_avalanche.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | let status = consensus.run_fast_consensus_round(&vertex_id).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_vertex` found for struct `Graph` in the current scope [INFO] [stdout] --> core/dag/benches/consensus_benchmarks.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | graph.add_vertex(i); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Graph` [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[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] [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[E0599]: no method named `id` found for struct `Vertex` in the current scope [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | vertices[i].id(), [INFO] [stdout] | ^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | let edge = Edge::new( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | 1.0, // Weight [INFO] [stdout] | --- unexpected argument #3 of type `{float}` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> core/dag/src/edge.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(from: Hash, to: Hash) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 52 - vertices[i].id(), [INFO] [stdout] 53 - 1.0, // Weight [INFO] [stdout] 52 + vertices[i].id(), // Weight [INFO] [stdout] | [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: E0277, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_edge` found for struct `Graph` in the current scope [INFO] [stdout] --> core/dag/benches/consensus_benchmarks.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | graph.add_edge(rng.gen_range(0..i), i); [INFO] [stdout] | ^^^^^^^^ method not found in `Graph` [INFO] [stdout] [INFO] [stdout] [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] [stderr] error: could not compile `qudag-crypto` (bench "hqc_benchmarks") due to 8 previous errors; 1 warning emitted [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 { [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 { [INFO] [stdout] 94 + fn arb_enc_keypair()(mut rng in any::<[u8; 32]>()) -> Result { [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] 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[E0599]: no method named `add_vertex` found for struct `Graph` in the current scope [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | graph.add_vertex(vertex); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-dag` (test "liveness_tests") due to 5 previous errors [INFO] [stderr] error: could not compile `qudag-dag` (bench "consensus_benchmarks") due to 4 previous errors [INFO] [stdout] error[E0599]: no method named `add_edge` found for struct `Graph` in the current scope [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | graph.add_edge(edge); [INFO] [stdout] | ^^^^^^^^ method not found in `Graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | ... format!("byzantine_vertex_{}", i), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `String` [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `Vec` [INFO] [stdout] | [INFO] [stdout] 202 | format!("byzantine_vertex_{}", i).into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:200:54 [INFO] [stdout] | [INFO] [stdout] 200 | ... let conflicting_vertex = Vertex::new( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 201 | ... (node_count + i) as u64, [INFO] [stdout] | ----------------------- expected `VertexId`, found `u64` [INFO] [stdout] ... [INFO] [stdout] 204 | ... i as u64, [INFO] [stdout] | -------- unexpected argument #4 of type `u64` [INFO] [stdout] | [INFO] [stdout] note: expected `HashSet`, found `Vec<{integer}>` [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:203:33 [INFO] [stdout] | [INFO] [stdout] 203 | ... vec![0xFF; 256], // Different payload [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `HashSet` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> core/dag/src/vertex.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(id: VertexId, payload: Vec, parents: std::collections::HashSet) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 201 ~ /* VertexId */, [INFO] [stdout] 202 | format!("byzantine_vertex_{}", i), [INFO] [stdout] 203 ~ /* HashSet */, [INFO] [stdout] | [INFO] [stdout] [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] [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] 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[E0599]: no method named `add_vertex` found for struct `Graph` in the current scope [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:206:35 [INFO] [stdout] | [INFO] [stdout] 206 | ... graph.add_vertex(conflicting_vertex); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Graph` [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[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] 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] 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] 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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-dag` (test "network_sim") due to 8 previous errors [INFO] [stderr] error: could not compile `qudag-dag` (test "consensus_performance_tests") due to 1 previous error; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-dag` (bench "finality_benchmarks") due to 12 previous errors; 3 warnings emitted [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] [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] 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 { [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 { [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 { [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 { [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 = ::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 = ::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 = ::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 { [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] running `Command { std: "docker" "inspect" "54ca0a132ef8b8eb1c5c394f6add7ed32fa38cbff201066ae4351caea459ba9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54ca0a132ef8b8eb1c5c394f6add7ed32fa38cbff201066ae4351caea459ba9d", kill_on_drop: false }` [INFO] [stdout] 54ca0a132ef8b8eb1c5c394f6add7ed32fa38cbff201066ae4351caea459ba9d