[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/52dc3005a86b6e63120514b0448ec5b4a4dfde03 against master#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegofornalha%2FQuDAG" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/diegofornalha/QuDAG on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "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" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libp2p-connection-limits v0.4.0 [INFO] [stderr] Downloaded libp2p-allow-block-list v0.4.0 [INFO] [stderr] Downloaded futures-bounded v0.2.4 [INFO] [stderr] Downloaded multihash v0.19.3 [INFO] [stderr] Downloaded netlink-packet-core v0.7.0 [INFO] [stderr] Downloaded resolv-conf v0.7.4 [INFO] [stderr] Downloaded libp2p-quic v0.11.1 [INFO] [stderr] Downloaded config v0.14.1 [INFO] [stderr] Downloaded prettyplease v0.2.34 [INFO] [stderr] Downloaded rtnetlink v0.13.1 [INFO] [stderr] Downloaded hickory-resolver v0.24.4 [INFO] [stderr] Downloaded libp2p-kad v0.46.2 [INFO] [stderr] Downloaded aws-lc-rs v1.13.1 [INFO] [stderr] Downloaded netlink-packet-route v0.17.1 [INFO] [stderr] Downloaded webpki-root-certs v1.0.0 [INFO] [stderr] Downloaded reqwest v0.12.20 [INFO] [stderr] Downloaded libp2p-gossipsub v0.47.0 [INFO] [stderr] Downloaded libp2p-swarm v0.45.1 [INFO] [stderr] Downloaded windows-core v0.53.0 [INFO] [stderr] Downloaded libp2p-core v0.42.0 [INFO] [stderr] Downloaded libp2p-identity v0.2.11 [INFO] [stderr] Downloaded syn v2.0.103 [INFO] [stderr] Downloaded yamux v0.13.5 [INFO] [stderr] Downloaded multiaddr v0.18.2 [INFO] [stderr] Downloaded libp2p v0.54.1 [INFO] [stderr] Downloaded fastbloom v0.9.0 [INFO] [stderr] Downloaded libp2p-mdns v0.46.0 [INFO] [stderr] Downloaded libp2p-identify v0.45.0 [INFO] [stderr] Downloaded libp2p-metrics v0.15.0 [INFO] [stderr] Downloaded libp2p-noise v0.45.0 [INFO] [stderr] Downloaded oid-registry v0.7.1 [INFO] [stderr] Downloaded libp2p-request-response v0.27.0 [INFO] [stderr] Downloaded netlink-proto v0.11.5 [INFO] [stderr] Downloaded netlink-sys v0.8.7 [INFO] [stderr] Downloaded if-watch v3.2.1 [INFO] [stderr] Downloaded libp2p-tcp v0.42.0 [INFO] [stderr] Downloaded libp2p-swarm-derive v0.35.0 [INFO] [stderr] Downloaded windows-registry v0.5.2 [INFO] [stderr] Downloaded libp2p-dns v0.42.0 [INFO] [stderr] Downloaded libp2p-tls v0.5.0 [INFO] [stderr] Downloaded libp2p-upnp v0.3.0 [INFO] [stderr] Downloaded libp2p-yamux v0.46.0 [INFO] [stderr] Downloaded libc v0.2.173 [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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0818f181be6ab1234a8a7070a8c87956e2a4eea6b42afa5c28e50cb3daf630ae [INFO] running `Command { std: "docker" "start" "-a" "0818f181be6ab1234a8a7070a8c87956e2a4eea6b42afa5c28e50cb3daf630ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0818f181be6ab1234a8a7070a8c87956e2a4eea6b42afa5c28e50cb3daf630ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0818f181be6ab1234a8a7070a8c87956e2a4eea6b42afa5c28e50cb3daf630ae", kill_on_drop: false }` [INFO] [stdout] 0818f181be6ab1234a8a7070a8c87956e2a4eea6b42afa5c28e50cb3daf630ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16051822ee9d05698bdbbcfc2d554d8b9a8b8f5e4568222b0d98d728b1e01782 [INFO] running `Command { std: "docker" "start" "-a" "16051822ee9d05698bdbbcfc2d554d8b9a8b8f5e4568222b0d98d728b1e01782", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking multihash v0.19.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling quinn-udp v0.5.12 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Compiling quinn v0.11.8 [INFO] [stderr] Checking lru-slab v0.1.2 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking uint v0.9.5 [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 toml_write v0.1.2 [INFO] [stderr] Checking wide v0.7.32 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling pathfinder_simd v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling font-kit v0.14.3 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.29.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Checking fastbloom v0.9.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking plotters-bitmap v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling libp2p-swarm-derive v0.35.0 [INFO] [stderr] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking netlink-packet-core v0.7.0 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking netlink-packet-route v0.17.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking webpki-roots v1.0.0 [INFO] [stderr] Checking rcgen v0.13.2 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking pin-project v1.1.10 [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 ed25519-dalek v2.1.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking libp2p-identity v0.2.11 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking futures-bounded v0.2.4 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking quick-protobuf-codec v0.3.1 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking yamux v0.12.1 [INFO] [stderr] Checking yamux v0.13.5 [INFO] [stderr] Checking futures-ticker v0.0.3 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking netlink-sys v0.8.7 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking qudag-crypto v0.1.0 (/opt/rustwide/workdir/core/crypto) [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking netlink-proto v0.11.5 [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] [stderr] Checking bincode v1.3.3 [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 serde_spanned v0.6.9 [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] [stderr] Checking tower-http v0.6.6 [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 toml_datetime v0.6.11 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking rtnetlink v0.13.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking qudag-dag v0.1.0 (/opt/rustwide/workdir/core/dag) [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking if-watch v3.2.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking plotters v0.3.7 [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 libp2p-core v0.42.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking toml v0.8.23 [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 config v0.14.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking libp2p-request-response v0.27.0 [INFO] [stderr] Checking libp2p-mdns v0.46.0 [INFO] [stderr] Checking libp2p-kad v0.46.2 [INFO] [stderr] Checking libp2p-allow-block-list v0.4.0 [INFO] [stderr] Checking libp2p-identify v0.45.0 [INFO] [stderr] Checking libp2p-connection-limits v0.4.0 [INFO] [stderr] Checking libp2p-gossipsub v0.47.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> core/dag/benches/dag_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 `criterion` [INFO] [stdout] --> core/dag/benches/qr_avalanche_benchmarks.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BenchmarkId}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> core/dag/benches/dag_benchmarks.rs:77:61 [INFO] [stdout] | [INFO] [stdout] 77 | graph.update_node_state(node.hash(), crate::node::NodeState::Verified).unwrap_or(()); [INFO] [stdout] | ^^^^ unresolved import [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 77 | graph.update_node_state(node.hash(), crate::qudag_dag::node::NodeState::Verified).unwrap_or(()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use qudag_dag::NodeState; [INFO] [stdout] | [INFO] [stdout] help: if you import `NodeState`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 77 - graph.update_node_state(node.hash(), crate::node::NodeState::Verified).unwrap_or(()); [INFO] [stdout] 77 + graph.update_node_state(node.hash(), NodeState::Verified).unwrap_or(()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Edge` [INFO] [stdout] --> core/dag/benches/dag_benchmarks.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use qudag_dag::{Node, Graph, Edge}; [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: `ConsensusStatus` [INFO] [stdout] --> core/dag/benches/qr_avalanche_benchmarks.rs:4:59 [INFO] [stdout] | [INFO] [stdout] 4 | use qudag_dag::{QRAvalanche, QRAvalancheConfig, VertexId, ConsensusStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/dag_benchmarks.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | c.bench_function("node_creation", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 11 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 10 | c.bench_function("node_creation", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/qr_avalanche_benchmarks.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | |b, &vertex_count| { [INFO] [stdout] | ^ [INFO] [stdout] 37 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | |b: /* Type */, &vertex_count| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `blake3::Hash` cannot be dereferenced [INFO] [stdout] --> core/dag/benches/dag_benchmarks.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let node_hash = *node.hash(); [INFO] [stdout] | ^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/qr_avalanche_benchmarks.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | |b, &participant_count| { [INFO] [stdout] | ^ [INFO] [stdout] 63 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 62 | |b: /* Type */, &participant_count| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/dag_benchmarks.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | c.bench_function("node_addition", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 24 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 23 | c.bench_function("node_addition", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `blake3::Hash` cannot be dereferenced [INFO] [stdout] --> core/dag/benches/dag_benchmarks.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let hash = *node.hash(); [INFO] [stdout] | ^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/dag_benchmarks.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 44 | c.bench_function("cycle_detection", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 45 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 44 | c.bench_function("cycle_detection", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/qr_avalanche_benchmarks.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | |b, &vote_count| { [INFO] [stdout] | ^ [INFO] [stdout] 90 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 89 | |b: /* Type */, &vote_count| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/qr_avalanche_benchmarks.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | |b, &conflict_count| { [INFO] [stdout] | ^ [INFO] [stdout] 117 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 116 | |b: /* Type */, &conflict_count| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/qr_avalanche_benchmarks.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | |b, &byzantine_count| { [INFO] [stdout] | ^ [INFO] [stdout] 146 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 145 | |b: /* Type */, &byzantine_count| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/qr_avalanche_benchmarks.rs:182:14 [INFO] [stdout] | [INFO] [stdout] 182 | |b, &concurrent_vertices| { [INFO] [stdout] | ^ [INFO] [stdout] 183 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 182 | |b: /* Type */, &concurrent_vertices| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>` [INFO] [stdout] --> core/dag/benches/dag_benchmarks.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let mut nodes = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | vec![*nodes[i-1].hash()] [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `nodes` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 59 | let mut nodes: Vec = Vec::new(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/qr_avalanche_benchmarks.rs:243:14 [INFO] [stdout] | [INFO] [stdout] 243 | |b, config| { [INFO] [stdout] | ^ [INFO] [stdout] 244 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 243 | |b: /* Type */, config| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/qr_avalanche_benchmarks.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | |b, config| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 244 | b.to_async(&rt).iter(|| async { [INFO] [stdout] 245 | let mut consensus = QRAvalanche::with_config(config.clone()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 243 | |b, config: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/qr_avalanche_benchmarks.rs:274:14 [INFO] [stdout] | [INFO] [stdout] 274 | |b, &vertex_count| { [INFO] [stdout] | ^ [INFO] [stdout] 275 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 274 | |b: /* Type */, &vertex_count| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/qr_avalanche_benchmarks.rs:316:14 [INFO] [stdout] | [INFO] [stdout] 316 | |b, &byzantine_ratio| { [INFO] [stdout] | ^ [INFO] [stdout] 317 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 316 | |b: /* Type */, &byzantine_ratio| { [INFO] [stdout] | ++++++++++++ [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[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/dag_benchmarks.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 74 | group.bench_function("state_updates", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 75 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 74 | group.bench_function("state_updates", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/hqc_benchmarks.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | c.bench_function("hqc128_keygen", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 8 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 7 | c.bench_function("hqc128_keygen", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/hqc_benchmarks.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | c.bench_function("hqc192_keygen", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 16 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 15 | c.bench_function("hqc192_keygen", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/hqc_benchmarks.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | c.bench_function("hqc256_keygen", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 24 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 23 | c.bench_function("hqc256_keygen", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/hqc_benchmarks.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | c.bench_function("hqc256_keygen_compat", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 33 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 32 | c.bench_function("hqc256_keygen_compat", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/dag_benchmarks.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | graph.update_node_state(node.hash(), crate::node::NodeState::Verified).unwrap_or(()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-dag` (bench "qr_avalanche_benchmarks") due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `keygen` found for struct `qudag_crypto::hqc::Hqc256` in the current scope [INFO] [stdout] --> core/crypto/tests/hqc_tests.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | let (pk, sk) = Hqc256::keygen().expect("Key generation should succeed"); [INFO] [stdout] | ^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/tests/hqc_tests.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(!pk.as_bytes().is_empty()); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/tests/hqc_tests.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(!sk.as_bytes().is_empty()); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `keygen` found for struct `qudag_crypto::hqc::Hqc256` in the current scope [INFO] [stdout] --> core/crypto/tests/hqc_tests.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | let (pk, sk) = Hqc256::keygen().expect("Key generation should succeed"); [INFO] [stdout] | ^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `qudag_dag::consensus::QrAvalanche`, `qudag_dag::consensus::ConsensusEngine`, `qudag_dag::consensus::Vote`, `qudag_dag::consensus::VoteResult`, `qudag_dag::tip_selection::TipSelector`, `qudag_dag::node::NodeId`, `qudag_dag::error::Result` [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | consensus::{QrAvalanche, ConsensusEngine, Vote, VoteResult}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ no `VoteResult` in `consensus` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Vote` in `consensus` [INFO] [stdout] | | no `ConsensusEngine` in `consensus` [INFO] [stdout] | no `QrAvalanche` in `consensus` [INFO] [stdout] 10 | tip_selection::TipSelector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `TipSelector` in `tip_selection` [INFO] [stdout] 11 | node::{NodeState, NodeId}, [INFO] [stdout] | ^^^^^^ no `NodeId` in `node` [INFO] [stdout] 12 | error::{DagError, Result}, [INFO] [stdout] | ^^^^^^ no `Result` in `error` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] std::fmt::Result [INFO] [stdout] std::io::Result [INFO] [stdout] std::result::Result [INFO] [stdout] std::thread::Result [INFO] [stdout] core::fmt::Result [INFO] [stdout] core::result::Result [INFO] [stdout] anyhow::Result [INFO] [stdout] futures::io::Result [INFO] [stdout] qudag_dag::Result [INFO] [stdout] serde_json::Result [INFO] [stdout] tokio::io::Result [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 9 - consensus::{QrAvalanche, ConsensusEngine, Vote, VoteResult}, [INFO] [stdout] 9 + consensus::{QRAvalanche, ConsensusEngine, Vote, VoteResult}, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 9 - consensus::{QrAvalanche, ConsensusEngine, Vote, VoteResult}, [INFO] [stdout] 9 + consensus::{QrAvalanche, ConsensusError, Vote, VoteResult}, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 10 - tip_selection::TipSelector, [INFO] [stdout] 10 + tip_selection::TipSelection, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 - node::{NodeState, NodeId}, [INFO] [stdout] 11 + node::{NodeState, Node}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DagError` and `Graph` [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Graph, Node, QrDag, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | error::{DagError, Result}, [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: `Mutex` [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::sync::{Barrier, RwLock, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blake3::Hash` [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use blake3::Hash; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `encrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope [INFO] [stdout] --> core/crypto/tests/hqc_tests.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | let ciphertext = Hqc256::encrypt(&pk, message).expect("Encryption should succeed"); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope [INFO] [stdout] --> core/crypto/tests/hqc_tests.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | let decrypted = Hqc256::decrypt(&sk, &ciphertext).expect("Decryption should succeed"); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-dag` (bench "dag_benchmarks") due to 10 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no function or associated item named `keygen` found for struct `qudag_crypto::hqc::Hqc256` in the current scope [INFO] [stdout] --> core/crypto/tests/hqc_tests.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | let (_, sk) = Hqc256::keygen().expect("Key generation should succeed"); [INFO] [stdout] | ^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope [INFO] [stdout] --> core/crypto/tests/hqc_tests.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | let result = Hqc256::decrypt(&sk, &invalid_ciphertext); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/tests/hqc_tests.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | assert_ne!(&decrypted[..test_message.len().min(decrypted.len())], test_message); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/hqc_benchmarks.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | c.bench_function("hqc128_encrypt", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 48 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 47 | c.bench_function("hqc128_encrypt", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `blake3::Hash` cannot be dereferenced [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | let genesis_hash = *genesis_node.hash(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/hqc_benchmarks.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | c.bench_function("hqc128_decrypt", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 56 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 55 | c.bench_function("hqc128_decrypt", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `keygen` found for struct `qudag_crypto::hqc::Hqc256` in the current scope [INFO] [stdout] --> core/crypto/tests/hqc_tests.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | let (pk, sk) = Hqc256::keygen().expect("Key generation should succeed"); [INFO] [stdout] | ^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/hqc_benchmarks.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | c.bench_function("hqc256_encrypt", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 67 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 66 | c.bench_function("hqc256_encrypt", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/hqc_benchmarks.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | c.bench_function("hqc256_decrypt", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 75 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 74 | c.bench_function("hqc256_decrypt", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `encrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope [INFO] [stdout] --> core/crypto/tests/hqc_tests.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | let ciphertext = Hqc256::encrypt(&pk, &message).expect("Encryption should succeed"); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope [INFO] [stdout] --> core/crypto/tests/hqc_tests.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | let decrypted = Hqc256::decrypt(&sk, &ciphertext).expect("Decryption should succeed"); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/hqc_benchmarks.rs:86:48 [INFO] [stdout] | [INFO] [stdout] 86 | c.bench_function("hqc256_compat_encrypt", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 87 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 86 | c.bench_function("hqc256_compat_encrypt", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `encrypt` found for struct `qudag_crypto::hqc::Hqc256` in the current scope [INFO] [stdout] --> core/crypto/tests/hqc_tests.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | let _ = Hqc256::encrypt(&pk, &message); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | dag.add_node(genesis_node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | dag.add_node(genesis_node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/hqc_benchmarks.rs:93:48 [INFO] [stdout] | [INFO] [stdout] 93 | c.bench_function("hqc256_compat_decrypt", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 94 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 93 | c.bench_function("hqc256_compat_decrypt", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> core/crypto/benches/ml_kem_benchmarks.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BenchmarkId}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `blake3::Hash` cannot be dereferenced [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | let node_hash = *node.hash(); [INFO] [stdout] | ^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `qudag_crypto::signatures`, `qudag_crypto::ml_dsa::MlDsa87` [INFO] [stdout] --> core/crypto/tests/prop_tests.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | kem, signatures, encryption, fingerprint::Fingerprint, [INFO] [stdout] | ^^^^^^^^^^ no `signatures` in the root [INFO] [stdout] 4 | ml_kem::{MlKem768, Metrics as MlKemMetrics}, [INFO] [stdout] 5 | ml_dsa::MlDsa87, [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `MlDsa87` in `ml_dsa` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 3 - kem, signatures, encryption, fingerprint::Fingerprint, [INFO] [stdout] 3 + kem, signature, encryption, fingerprint::Fingerprint, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 - ml_dsa::MlDsa87, [INFO] [stdout] 5 + ml_dsa::MlDsa, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-crypto` (test "hqc_tests") due to 13 previous errors [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] [stderr] error: could not compile `qudag-crypto` (bench "hqc_benchmarks") due to 21 previous errors; 1 warning emitted [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[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] | ^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Consensus` [INFO] [stdout] | no `DagConsensus` in `consensus` [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] 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[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/hqc_benchmarks.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 108 | c.bench_function("hqc128_poly_mult_add", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 109 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 108 | c.bench_function("hqc128_poly_mult_add", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/hqc_benchmarks.rs:114:47 [INFO] [stdout] | [INFO] [stdout] 114 | c.bench_function("hqc128_bytes_to_bits", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 115 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 114 | c.bench_function("hqc128_bytes_to_bits", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/hqc_benchmarks.rs:121:47 [INFO] [stdout] | [INFO] [stdout] 121 | c.bench_function("hqc128_bits_to_bytes", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 122 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 121 | c.bench_function("hqc128_bits_to_bytes", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MlDsaError`, `MlDsaKeyPair`, `MlDsaPublicKey`, and `MlDsa` [INFO] [stdout] --> core/crypto/tests/basic_ml_dsa_test.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use qudag_crypto::ml_dsa::{MlDsa, MlDsaKeyPair, MlDsaPublicKey, MlDsaError}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:76:33 [INFO] [stdout] | [INFO] [stdout] 76 | match dag_clone.add_node(node).await { [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | let (thread_id, successful, failed, hashes) = handle.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [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[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] --> /opt/rustwide/workdir/core/crypto/src/kem/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod ml_kem; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `node_count` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | let final_dag_size = dag.node_count().await; [INFO] [stdout] | ^^^^^^^^^^ method not found in `Arc` [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[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/ml_kem_benchmarks.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | group.bench_function("keygen_performance", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 11 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 10 | group.bench_function("keygen_performance", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encapsulate` in module `kem` [INFO] [stdout] --> core/crypto/tests/prop_tests.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | let (shared_secret1, ciphertext) = kem::encapsulate(&keypair.public_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decapsulate` in module `kem` [INFO] [stdout] --> core/crypto/tests/prop_tests.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | let shared_secret2 = kem::decapsulate(&keypair.secret_key, &ciphertext).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `constant_time_compare` in module `kem` [INFO] [stdout] --> core/crypto/tests/prop_tests.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | prop_assert!(bool::from(kem::constant_time_compare(&shared_secret1, &shared_secret2))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `kem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encapsulate` in module `kem` [INFO] [stdout] --> core/crypto/tests/prop_tests.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | let (_, ct1) = kem::encapsulate(&keypair1.public_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encapsulate` in module `kem` [INFO] [stdout] --> core/crypto/tests/prop_tests.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | let (_, ct2) = kem::encapsulate(&keypair2.public_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decapsulate` in module `kem` [INFO] [stdout] --> core/crypto/tests/prop_tests.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | let result1 = kem::decapsulate(&keypair2.secret_key, &ct1); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decapsulate` in module `kem` [INFO] [stdout] --> core/crypto/tests/prop_tests.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | let result2 = kem::decapsulate(&keypair1.secret_key, &ct2); [INFO] [stdout] | ^^^^^^^^^^^ not found in `kem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: 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[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/ml_kem_benchmarks.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | group.bench_function("encapsulate_performance", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 25 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | group.bench_function("encapsulate_performance", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/ml_kem_benchmarks.rs:39:54 [INFO] [stdout] | [INFO] [stdout] 39 | group.bench_function("decapsulate_performance", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 40 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 39 | group.bench_function("decapsulate_performance", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | if dag.get_node(hash).await.is_some() { [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | if dag.get_node(hash).await.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/ml_kem_benchmarks.rs:54:75 [INFO] [stdout] | [INFO] [stdout] 54 | group.bench_with_input(BenchmarkId::new("exchange", size), size, |b, &size| { [INFO] [stdout] | ^ [INFO] [stdout] 55 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 54 | group.bench_with_input(BenchmarkId::new("exchange", size), size, |b: /* Type */, &size| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `blake3::Hash` cannot be dereferenced [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | let genesis_hash = *genesis_node.hash(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/ml_kem_benchmarks.rs:74:45 [INFO] [stdout] | [INFO] [stdout] 74 | group.bench_function("ops_per_second", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 75 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 74 | group.bench_function("ops_per_second", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/ml_kem_benchmarks.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 89 | group.bench_function("latency_test", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 90 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 89 | group.bench_function("latency_test", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/benches/ml_kem_benchmarks.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | group.bench_function("memory_efficiency", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 108 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 107 | group.bench_function("memory_efficiency", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [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] [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] warning: unused import: `qudag_crypto::kem::KeyEncapsulation` [INFO] [stdout] --> core/crypto/benches/ml_kem_benchmarks.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use qudag_crypto::kem::KeyEncapsulation; [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_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | dag.add_node(genesis_node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | dag.add_node(genesis_node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `blake3::Hash` cannot be dereferenced [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | let node_hash = *node.hash(); [INFO] [stdout] | ^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-crypto` (test "test_vectors") due to 13 previous errors [INFO] [stderr] error: could not compile `qudag-crypto` (bench "ml_kem_benchmarks") due to 8 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `add_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | dag.add_node(node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | dag.add_node(node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^ function or associated item 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[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | if state.is_finalized() { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^ function or associated item 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/concurrent_consensus_tests.rs:288:24 [INFO] [stdout] | [INFO] [stdout] 288 | let genesis_hash = *genesis_node.hash(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `qudag_crypto::ml_dsa::MLDsa`, `qudag_crypto::ml_dsa::SIGNATURE_LENGTH`, `qudag_crypto::hqc::HQC` [INFO] [stdout] --> core/crypto/tests/integration_tests.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | ml_dsa::{MLDsa, SIGNATURE_LENGTH}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ no `SIGNATURE_LENGTH` in `ml_dsa` [INFO] [stdout] | | [INFO] [stdout] | no `MLDsa` in `ml_dsa` [INFO] [stdout] 6 | hqc::HQC, [INFO] [stdout] | ^^^^^^^^ no `HQC` in `hqc` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 - ml_dsa::{MLDsa, SIGNATURE_LENGTH}, [INFO] [stdout] 5 + ml_dsa::{MlDsa, SIGNATURE_LENGTH}, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 - hqc::HQC, [INFO] [stdout] 6 + hqc::Hqc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^ function or associated item 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[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] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [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[E0603]: trait `KeyEncapsulation` is private [INFO] [stdout] --> core/crypto/tests/integration_tests.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | ml_kem::{MlKem768, KeyEncapsulation}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `KeyEncapsulation` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/core/crypto/src/ml_kem/mod.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::kem::{KEMError, KeyEncapsulation, PublicKey, SecretKey, Ciphertext, SharedSecret}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `KeyEncapsulation` directly [INFO] [stdout] | [INFO] [stdout] 4 | ml_kem::{MlKem768, qudag_crypto::kem::KeyEncapsulation}, [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/tests/prop_tests.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | let keypair = keypair.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-crypto` (test "integration_tests") due to 6 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `add_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | dag.add_node(genesis_node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/tests/integration_tests.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | let signature = sk.sign(message).expect("Failed to sign message"); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/tests/integration_tests.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | let ciphertext = pk.encrypt(message).expect("Failed to encrypt message"); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/tests/prop_tests.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | let keypair = keypair.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/tests/integration_tests.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let decrypted = sk.decrypt(&ciphertext).expect("Failed to decrypt message"); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/tests/prop_tests.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | let keypair = keypair.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/tests/integration_tests.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | let signature = sk.sign(message).expect("Failed to sign"); [INFO] [stdout] | ^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/tests/prop_tests.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | let keypair = keypair.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | dag.add_node(genesis_node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ct` [INFO] [stdout] --> core/crypto/tests/integration_tests.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | let (ct, ss) = MlKem768::encapsulate(&pk).expect("Failed to encapsulate"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `blake3::Hash` cannot be dereferenced [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | let node_hash = *node.hash(); [INFO] [stdout] | ^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^ function or associated item 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 method named `add_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | dag.add_node(node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^ function or associated item 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[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | dag.add_node(node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^ function or associated item 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 function or associated item 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] | ^^^^^^^^^^^^^^^^ function or associated item not found in `qudag_crypto::MlKem768` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^^^^^^^^ function or associated item not found in `qudag_crypto::MlKem768` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:324:67 [INFO] [stdout] | [INFO] [stdout] 324 | let current_state = if let Some(node) = dag_clone.get_node(&node_hash).await { [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | node.state() [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^^^^^^^^ function or associated item 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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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[E0599]: no variant or associated item named `Processing` found for enum `NodeState` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:335:32 [INFO] [stdout] | [INFO] [stdout] 335 | NodeState::Processing => { [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `NodeState` [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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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 variant or associated item named `Processing` found for enum `NodeState` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:333:81 [INFO] [stdout] | [INFO] [stdout] 333 | if i % 3 == 0 { NodeState::Verified } else { NodeState::Processing } [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `NodeState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^ function or associated item 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 function or associated item 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] | ^^^^^^^^^^^^^^^^ function or associated item 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] --> /opt/rustwide/workdir/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 function or associated item 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] | ^^^^^^^^^ function or associated item 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 function or associated item 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] | ^^^^^^^^^^^^^^^^ function or associated item 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] --> /opt/rustwide/workdir/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 `update_node_state` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:344:33 [INFO] [stdout] | [INFO] [stdout] 344 | match dag_clone.update_node_state(&node_hash, next_state).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Arc` [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[E0599]: no method named `get_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:349:63 [INFO] [stdout] | [INFO] [stdout] 349 | if let Some(updated_node) = dag_clone.get_node(&node_hash).await { [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [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] --> /opt/rustwide/workdir/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[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:350:32 [INFO] [stdout] | [INFO] [stdout] 350 | ... if updated_node.state() != next_state { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [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] --> /opt/rustwide/workdir/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 function or associated item 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] | ^^^^^^^^^ function or associated item 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[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/tests/prop_tests.rs:288:34 [INFO] [stdout] | [INFO] [stdout] 288 | signature_set.insert(signature.as_bytes().to_vec()); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:405:33 [INFO] [stdout] | [INFO] [stdout] 405 | if let Some(node) = dag.get_node(node_hash).await { [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:406:33 [INFO] [stdout] | [INFO] [stdout] 406 | *state_counts.entry(node.state()).or_insert(0) += 1; [INFO] [stdout] | ^^^^ cannot infer type [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] --> /opt/rustwide/workdir/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 function or associated item 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] | ^^^^^^^^^ function or associated item 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/concurrent_consensus_tests.rs:433:24 [INFO] [stdout] | [INFO] [stdout] 433 | let genesis_hash = *genesis_node.hash(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^ function or associated item 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 method named `add_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | dag.add_node(genesis_node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:434:5 [INFO] [stdout] | [INFO] [stdout] 434 | dag.add_node(genesis_node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^ function or associated item 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/concurrent_consensus_tests.rs:450:25 [INFO] [stdout] | [INFO] [stdout] 450 | let node_hash = *node.hash(); [INFO] [stdout] | ^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^^^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | dag.add_node(node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:451:9 [INFO] [stdout] | [INFO] [stdout] 451 | dag.add_node(node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^ function or associated item 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] error[E0599]: no function or associated item 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] | ^^^^^^^^^ function or associated item 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 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] --> /opt/rustwide/workdir/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] error[E0599]: no function or associated item 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] | ^^^^^^^^^^^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:483:42 [INFO] [stdout] | [INFO] [stdout] 483 | ... if dag_clone.get_node(tip).await.is_none() { [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:483:32 [INFO] [stdout] | [INFO] [stdout] 483 | ... if dag_clone.get_node(tip).await.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^ function or associated item not found in `qudag_crypto::hqc::Hqc256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:514:74 [INFO] [stdout] | [INFO] [stdout] 514 | let (selector_id, successful, failed, unique_tips, tip_counts) = handle.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:516:50 [INFO] [stdout] | [INFO] [stdout] 516 | selector_id, successful, failed, unique_tips.len()); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [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] error[E0599]: no function or associated item 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] | ^^^^^^^ function or associated item 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[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[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | |b, &node_count| { [INFO] [stdout] | ^ [INFO] [stdout] 91 | b.iter_custom(|iters| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 90 | |b: /* Type */, &node_count| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | |b, &round_count| { [INFO] [stdout] | ^ [INFO] [stdout] 144 | b.iter_custom(|iters| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 143 | |b: /* Type */, &round_count| { [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[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 187 | |b, &byzantine_ratio| { [INFO] [stdout] | ^ [INFO] [stdout] 188 | b.iter_custom(|iters| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 187 | |b: /* Type */, &byzantine_ratio| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:547:21 [INFO] [stdout] | [INFO] [stdout] 547 | assert!(dag.get_node(tip).await.is_some(), [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:547:17 [INFO] [stdout] | [INFO] [stdout] 547 | assert!(dag.get_node(tip).await.is_some(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [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] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [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[E0282]: type annotations needed [INFO] [stdout] --> core/crypto/tests/prop_tests.rs:453:30 [INFO] [stdout] | [INFO] [stdout] 453 | diff_bits += (a ^ b).count_ones(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `blake3::Hash` cannot be dereferenced [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:566:24 [INFO] [stdout] | [INFO] [stdout] 566 | let genesis_hash = *genesis_node.hash(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't be dereferenced [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] --> /opt/rustwide/workdir/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[E0599]: no method named `add_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:567:9 [INFO] [stdout] | [INFO] [stdout] 567 | dag.add_node(genesis_node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^ function or associated item 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[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 567 | dag.add_node(genesis_node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:588:25 [INFO] [stdout] | [INFO] [stdout] 588 | let nodes = node_list_clone.read().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 589 | if nodes.is_empty() { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `nodes` an explicit type [INFO] [stdout] | [INFO] [stdout] 588 | let nodes: /* Type */ = node_list_clone.read().await; [INFO] [stdout] | ++++++++++++ [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/concurrent_consensus_tests.rs:599:33 [INFO] [stdout] | [INFO] [stdout] 599 | let node_hash = *node.hash(); [INFO] [stdout] | ^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:239:14 [INFO] [stdout] | [INFO] [stdout] 239 | |b, &tx_count| { [INFO] [stdout] | ^ [INFO] [stdout] 240 | b.iter_custom(|iters| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 239 | |b: /* Type */, &tx_count| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | |b, &dag_size| { [INFO] [stdout] | ^ [INFO] [stdout] 286 | b.iter_custom(|iters| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 285 | |b: /* Type */, &dag_size| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:320:48 [INFO] [stdout] | [INFO] [stdout] 320 | group.bench_function("memory_efficiency", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 321 | b.iter_custom(|iters| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 320 | group.bench_function("memory_efficiency", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^^^^^^^^ function or associated item not found in `qudag_crypto::MlKem768` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:361:54 [INFO] [stdout] | [INFO] [stdout] 361 | group.bench_function("deterministic_consensus", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 362 | b.iter_custom(|iters| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 361 | group.bench_function("deterministic_consensus", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:601:30 [INFO] [stdout] | [INFO] [stdout] 601 | if dag_clone.add_node(node).await.is_ok() { [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item 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] | ^^^^^^^^^^^^^^^^ function or associated item 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[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:601:20 [INFO] [stdout] | [INFO] [stdout] 601 | if dag_clone.add_node(node).await.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:606:29 [INFO] [stdout] | [INFO] [stdout] 606 | let mut nodes = node_list_clone.write().await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 607 | nodes.push(node_hash); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `nodes` an explicit type [INFO] [stdout] | [INFO] [stdout] 606 | let mut nodes: /* Type */ = node_list_clone.write().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:639:25 [INFO] [stdout] | [INFO] [stdout] 639 | let nodes = node_list_clone.read().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 640 | if nodes.is_empty() { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `nodes` an explicit type [INFO] [stdout] | [INFO] [stdout] 639 | let nodes: /* Type */ = node_list_clone.read().await; [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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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[E0282]: type annotations needed [INFO] [stdout] --> core/dag/benches/finality_benchmarks.rs:380:56 [INFO] [stdout] | [INFO] [stdout] 380 | let success_count = results.iter().filter(|r| r.is_ok()).count(); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 380 | let success_count = results.iter().filter(|r: /* Type */| r.is_ok()).count(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:647:47 [INFO] [stdout] | [INFO] [stdout] 647 | if let Some(node) = dag_clone.get_node(&target_hash).await { [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0282, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:648:41 [INFO] [stdout] | [INFO] [stdout] 648 | let current_state = node.state(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0282, E0308, E0412, E0425, E0432, E0599, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Processing` found for enum `NodeState` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:651:36 [INFO] [stdout] | [INFO] [stdout] 651 | NodeState::Processing => { [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `NodeState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Processing` found for enum `NodeState` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:650:58 [INFO] [stdout] | [INFO] [stdout] 650 | NodeState::Pending => NodeState::Processing, [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `NodeState` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-crypto` (test "prop_tests") due to 67 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `qudag-dag` (bench "finality_benchmarks") due to 20 previous errors; 3 warnings emitted [INFO] [stdout] error[E0599]: no method named `update_node_state` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:658:34 [INFO] [stdout] | [INFO] [stdout] 658 | if dag_clone.update_node_state(&target_hash, next_state).await.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:658:24 [INFO] [stdout] | [INFO] [stdout] 658 | if dag_clone.update_node_state(&target_hash, next_state).await.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:662:63 [INFO] [stdout] | [INFO] [stdout] 662 | if let Some(updated_node) = dag_clone.get_node(&target_hash).await { [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:663:32 [INFO] [stdout] | [INFO] [stdout] 663 | ... if updated_node.state() != next_state { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:697:25 [INFO] [stdout] | [INFO] [stdout] 697 | let nodes = node_list_clone.read().await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 698 | if nodes.is_empty() { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `nodes` an explicit type [INFO] [stdout] | [INFO] [stdout] 697 | let nodes: /* Type */ = node_list_clone.read().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:704:30 [INFO] [stdout] | [INFO] [stdout] 704 | if dag_clone.get_node(&target_hash).await.is_some() { [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:704:20 [INFO] [stdout] | [INFO] [stdout] 704 | if dag_clone.get_node(&target_hash).await.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `node_count` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:709:39 [INFO] [stdout] | [INFO] [stdout] 709 | let _size = dag_clone.node_count().await; [INFO] [stdout] | ^^^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `node_count` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:743:30 [INFO] [stdout] | [INFO] [stdout] 743 | let final_dag_size = dag.node_count().await; [INFO] [stdout] | ^^^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:744:32 [INFO] [stdout] | [INFO] [stdout] 744 | let final_node_list_size = shared_node_list.read().await.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `blake3::Hash` cannot be dereferenced [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:781:28 [INFO] [stdout] | [INFO] [stdout] 781 | let genesis_hash = *genesis_node.hash(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:782:13 [INFO] [stdout] | [INFO] [stdout] 782 | dag.add_node(genesis_node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 782 | dag.add_node(genesis_node).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `blake3::Hash` cannot be dereferenced [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:802:33 [INFO] [stdout] | [INFO] [stdout] 802 | let node_hash = *node.hash(); [INFO] [stdout] | ^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:804:33 [INFO] [stdout] | [INFO] [stdout] 804 | match dag_clone.add_node(node).await { [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:818:33 [INFO] [stdout] | [INFO] [stdout] 818 | if let Some(hash) = handle.await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `node_count` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:826:46 [INFO] [stdout] | [INFO] [stdout] 826 | println!(" Final DAG size: {}", dag.node_count().await); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_node` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:833:27 [INFO] [stdout] | [INFO] [stdout] 833 | dag_clone.get_node(&hash).await.is_some() [INFO] [stdout] | ^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:833:17 [INFO] [stdout] | [INFO] [stdout] 833 | dag_clone.get_node(&hash).await.is_some() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:838:16 [INFO] [stdout] | [INFO] [stdout] 838 | if handle.await.unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `node_count` found for struct `Arc` in the current scope [INFO] [stdout] --> core/dag/tests/concurrent_consensus_tests.rs:847:24 [INFO] [stdout] | [INFO] [stdout] 847 | assert_eq!(dag.node_count().await, successful_additions + 1, "DAG size should be correct"); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-dag` (test "concurrent_consensus_tests") due to 78 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "16051822ee9d05698bdbbcfc2d554d8b9a8b8f5e4568222b0d98d728b1e01782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16051822ee9d05698bdbbcfc2d554d8b9a8b8f5e4568222b0d98d728b1e01782", kill_on_drop: false }` [INFO] [stdout] 16051822ee9d05698bdbbcfc2d554d8b9a8b8f5e4568222b0d98d728b1e01782