[INFO] fetching crate qudag-network 0.5.0... [INFO] checking qudag-network-0.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate qudag-network 0.5.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate qudag-network 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate qudag-network 0.5.0 [INFO] tweaked toml for crates.io crate qudag-network 0.5.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qudag-network 0.5.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate qudag-network 0.5.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pqcrypto-traits v0.3.5 [INFO] [stderr] Downloaded metrics-macros v0.7.1 [INFO] [stderr] Downloaded libp2p v0.53.2 [INFO] [stderr] Downloaded libp2p-allow-block-list v0.3.0 [INFO] [stderr] Downloaded libp2p-autonat v0.12.0 [INFO] [stderr] Downloaded libp2p-identify v0.44.2 [INFO] [stderr] Downloaded libp2p-quic v0.10.3 [INFO] [stderr] Downloaded libp2p-relay v0.17.2 [INFO] [stderr] Downloaded libp2p-request-response v0.26.3 [INFO] [stderr] Downloaded libp2p-yamux v0.45.2 [INFO] [stderr] Downloaded libp2p-identity v0.2.11 [INFO] [stderr] Downloaded pqcrypto-internals v0.2.10 [INFO] [stderr] Downloaded libp2p-mdns v0.45.1 [INFO] [stderr] Downloaded libp2p-swarm v0.44.2 [INFO] [stderr] Downloaded libp2p-kad v0.45.3 [INFO] [stderr] Downloaded lru v0.11.1 [INFO] [stderr] Downloaded libp2p-gossipsub v0.46.1 [INFO] [stderr] Downloaded libp2p-metrics v0.14.1 [INFO] [stderr] Downloaded libp2p-noise v0.44.0 [INFO] [stderr] Downloaded libp2p-ping v0.44.1 [INFO] [stderr] Downloaded libp2p-tcp v0.41.0 [INFO] [stderr] Downloaded futures-rustls v0.24.0 [INFO] [stderr] Downloaded libp2p-tls v0.3.0 [INFO] [stderr] Downloaded libp2p-websocket v0.43.2 [INFO] [stderr] Downloaded libp2p-connection-limits v0.3.1 [INFO] [stderr] Downloaded libp2p-dns v0.41.1 [INFO] [stderr] Downloaded quick-protobuf-codec v0.2.0 [INFO] [stderr] Downloaded libp2p-dcutr v0.11.0 [INFO] [stderr] Downloaded libp2p-swarm-derive v0.34.2 [INFO] [stderr] Downloaded libp2p-upnp v0.2.2 [INFO] [stderr] Downloaded metrics v0.21.1 [INFO] [stderr] Downloaded pqcrypto-kyber v0.5.0 [INFO] [stderr] Downloaded pqcrypto-dilithium v0.5.0 [INFO] [stderr] Downloaded pqcrypto-hqc v0.2.1 [INFO] [stderr] Downloaded qudag-crypto v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65863335de0e29a4560439aa8d7f4e111786a50c9b64b0f68520f0f849c94efc [INFO] running `Command { std: "docker" "start" "-a" "65863335de0e29a4560439aa8d7f4e111786a50c9b64b0f68520f0f849c94efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65863335de0e29a4560439aa8d7f4e111786a50c9b64b0f68520f0f849c94efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65863335de0e29a4560439aa8d7f4e111786a50c9b64b0f68520f0f849c94efc", kill_on_drop: false }` [INFO] [stdout] 65863335de0e29a4560439aa8d7f4e111786a50c9b64b0f68520f0f849c94efc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 093aed6a0d6b06c7e2d0f5f3496f7536238ab03e6d9c4057c4894d5b7ded0551 [INFO] running `Command { std: "docker" "start" "-a" "093aed6a0d6b06c7e2d0f5f3496f7536238ab03e6d9c4057c4894d5b7ded0551", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking multihash v0.19.3 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling quinn-udp v0.5.13 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling quinn v0.11.8 [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 pqcrypto-internals v0.2.10 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Checking lru-slab v0.1.2 [INFO] [stderr] Checking pqcrypto-traits v0.3.5 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Compiling pqcrypto-dilithium v0.5.0 [INFO] [stderr] Checking fastbloom v0.9.0 [INFO] [stderr] Compiling pqcrypto-kyber v0.5.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling pqcrypto-hqc v0.2.1 [INFO] [stderr] Checking lru v0.11.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking resolv-conf v0.7.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking rcgen v0.11.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling libp2p-swarm-derive v0.34.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Checking netlink-packet-core v0.7.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking netlink-packet-route v0.17.1 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking asn1-rs v0.6.2 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Checking asn1-rs v0.5.2 [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 ed25519-dalek v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking libp2p-identity v0.2.11 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking asynchronous-codec v0.6.2 [INFO] [stderr] Checking futures-bounded v0.2.4 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking futures-ticker v0.0.3 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking quick-protobuf-codec v0.3.1 [INFO] [stderr] Checking quick-protobuf-codec v0.2.0 [INFO] [stderr] Checking soketto v0.8.1 [INFO] [stderr] Checking yamux v0.12.1 [INFO] [stderr] Checking yamux v0.13.5 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking webpki-roots v1.0.1 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Compiling metrics-macros v0.7.1 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking metrics v0.21.1 [INFO] [stderr] Checking x509-parser v0.15.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking futures-rustls v0.24.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking multiaddr v0.18.2 [INFO] [stderr] Checking cbor4ii v0.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking libp2p-core v0.41.3 [INFO] [stderr] Checking netlink-sys v0.8.7 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking hickory-proto v0.24.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking netlink-proto v0.11.5 [INFO] [stderr] Checking rtnetlink v0.13.1 [INFO] [stderr] Checking libp2p-swarm v0.44.2 [INFO] [stderr] Checking libp2p-yamux v0.45.2 [INFO] [stderr] Checking libp2p-tls v0.3.0 [INFO] [stderr] Checking libp2p-noise v0.44.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking if-watch v3.2.1 [INFO] [stderr] Checking libp2p-tcp v0.41.0 [INFO] [stderr] Checking libp2p-kad v0.45.3 [INFO] [stderr] Checking libp2p-request-response v0.26.3 [INFO] [stderr] Checking libp2p-dcutr v0.11.0 [INFO] [stderr] Checking libp2p-gossipsub v0.46.1 [INFO] [stderr] Checking libp2p-identify v0.44.2 [INFO] [stderr] Checking libp2p-ping v0.44.1 [INFO] [stderr] Checking libp2p-relay v0.17.2 [INFO] [stderr] Checking libp2p-allow-block-list v0.3.0 [INFO] [stderr] Checking libp2p-connection-limits v0.3.1 [INFO] [stderr] Checking libp2p-autonat v0.12.0 [INFO] [stderr] Checking qudag-crypto v0.5.0 [INFO] [stderr] Checking hickory-resolver v0.24.4 [INFO] [stderr] Checking libp2p-mdns v0.45.1 [INFO] [stderr] Checking libp2p-dns v0.41.1 [INFO] [stderr] Checking libp2p-metrics v0.14.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking futures-rustls v0.26.0 [INFO] [stderr] Checking rustls-platform-verifier v0.5.3 [INFO] [stderr] Checking libp2p-tls v0.4.1 [INFO] [stderr] Checking libp2p-websocket v0.43.2 [INFO] [stderr] Checking quinn-proto v0.11.12 [INFO] [stderr] Checking libp2p-quic v0.10.3 [INFO] [stderr] Checking libp2p v0.53.2 [INFO] [stderr] Checking qudag-network v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `mockito` [INFO] [stdout] --> src/dns.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | use mockito::mock; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `mockito` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mockito`, use `cargo add mockito` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/circuit_breaker.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | sleep(Duration::from_millis(150)).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: function `crate::traffic_obfuscation::tests::sleep` exists but is inaccessible [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 587 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] 587 + use tokio::time::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/circuit_breaker.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | sleep(Duration::from_millis(100)).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: function `crate::traffic_obfuscation::tests::sleep` exists but is inaccessible [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 587 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] 587 + use tokio::time::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerConfig` [INFO] [stdout] --> src/connection.rs:1831:29 [INFO] [stdout] | [INFO] [stdout] 1831 | let server_config = ServerConfig::default(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ServerConfig` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::transport::tests::ServerConfig` exists but is inaccessible [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1831 - let server_config = ServerConfig::default(); [INFO] [stdout] 1831 + let server_config = SecureConfig::default(); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1812 + use quinn::ServerConfig; [INFO] [stdout] | [INFO] [stdout] 1812 + use quinn::crypto::ServerConfig; [INFO] [stdout] | [INFO] [stdout] 1812 + use rustls::ServerConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerConfig` [INFO] [stdout] --> src/connection.rs:1932:29 [INFO] [stdout] | [INFO] [stdout] 1932 | let server_config = ServerConfig::default(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ServerConfig` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::transport::tests::ServerConfig` exists but is inaccessible [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1932 - let server_config = ServerConfig::default(); [INFO] [stdout] 1932 + let server_config = SecureConfig::default(); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1812 + use quinn::ServerConfig; [INFO] [stdout] | [INFO] [stdout] 1812 + use quinn::crypto::ServerConfig; [INFO] [stdout] | [INFO] [stdout] 1812 + use rustls::ServerConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerConfig` [INFO] [stdout] --> src/connection.rs:1981:29 [INFO] [stdout] | [INFO] [stdout] 1981 | let server_config = ServerConfig::default(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ServerConfig` [INFO] [stdout] | [INFO] [stdout] = note: struct `crate::transport::tests::ServerConfig` exists but is inaccessible [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1981 - let server_config = ServerConfig::default(); [INFO] [stdout] 1981 + let server_config = SecureConfig::default(); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1812 + use quinn::ServerConfig; [INFO] [stdout] | [INFO] [stdout] 1812 + use quinn::crypto::ServerConfig; [INFO] [stdout] | [INFO] [stdout] 1812 + use rustls::ServerConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiscoveryMethod` [INFO] [stdout] --> src/routing.rs:958:13 [INFO] [stdout] | [INFO] [stdout] 958 | DiscoveryMethod::Static, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DiscoveryMethod` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 903 + use crate::DiscoveryMethod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiscoveryMethod` [INFO] [stdout] --> src/routing.rs:979:13 [INFO] [stdout] | [INFO] [stdout] 979 | DiscoveryMethod::Static, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DiscoveryMethod` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 903 + use crate::DiscoveryMethod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiscoveryMethod` [INFO] [stdout] --> src/routing.rs:984:13 [INFO] [stdout] | [INFO] [stdout] 984 | DiscoveryMethod::Static, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DiscoveryMethod` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 903 + use crate::DiscoveryMethod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiscoveryMethod` [INFO] [stdout] --> src/routing.rs:989:13 [INFO] [stdout] | [INFO] [stdout] 989 | DiscoveryMethod::Static, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DiscoveryMethod` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 903 + use crate::DiscoveryMethod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiscoveryMethod` [INFO] [stdout] --> src/routing.rs:1015:13 [INFO] [stdout] | [INFO] [stdout] 1015 | DiscoveryMethod::Static, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DiscoveryMethod` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 903 + use crate::DiscoveryMethod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiscoveryMethod` [INFO] [stdout] --> src/routing.rs:1020:13 [INFO] [stdout] | [INFO] [stdout] 1020 | DiscoveryMethod::Static, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DiscoveryMethod` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 903 + use crate::DiscoveryMethod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiscoveryMethod` [INFO] [stdout] --> src/routing.rs:1025:13 [INFO] [stdout] | [INFO] [stdout] 1025 | DiscoveryMethod::Static, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DiscoveryMethod` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 903 + use crate::DiscoveryMethod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiscoveryMethod` [INFO] [stdout] --> src/routing.rs:1063:13 [INFO] [stdout] | [INFO] [stdout] 1063 | DiscoveryMethod::Static, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DiscoveryMethod` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 903 + use crate::DiscoveryMethod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiscoveryMethod` [INFO] [stdout] --> src/routing.rs:1068:13 [INFO] [stdout] | [INFO] [stdout] 1068 | DiscoveryMethod::Static, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DiscoveryMethod` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 903 + use crate::DiscoveryMethod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiscoveryMethod` [INFO] [stdout] --> src/routing.rs:1073:13 [INFO] [stdout] | [INFO] [stdout] 1073 | DiscoveryMethod::Static, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DiscoveryMethod` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 903 + use crate::DiscoveryMethod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/shadow_address.rs:844:9 [INFO] [stdout] | [INFO] [stdout] 844 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `created_at`, `last_used`, `max_uses` and 2 other fields in initializer of `shadow_address::ShadowMetadata` [INFO] [stdout] --> src/shadow_address.rs:863:63 [INFO] [stdout] | [INFO] [stdout] 863 | .prop_map(|(network, version, expires_at, flags)| ShadowMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `created_at`, `last_used`, `max_uses` and 2 other fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `shadow_features` in initializer of `shadow_address::ShadowAddress` [INFO] [stdout] --> src/shadow_address.rs:880:63 [INFO] [stdout] | [INFO] [stdout] 880 | |(view_key, spend_key, payment_id, metadata)| ShadowAddress { [INFO] [stdout] | ^^^^^^^^^^^^^ missing `shadow_features` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `quinn::Endpoint` [INFO] [stdout] --> src/connection.rs:1834:14 [INFO] [stdout] | [INFO] [stdout] 1834 | .0; [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `quinn::Endpoint` [INFO] [stdout] --> src/connection.rs:1935:14 [INFO] [stdout] | [INFO] [stdout] 1935 | .0; [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `quinn::Endpoint` [INFO] [stdout] --> src/connection.rs:1984:14 [INFO] [stdout] | [INFO] [stdout] 1984 | .0; [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `created_at`, `last_used`, `max_uses` and 2 other fields in initializer of `shadow_address::ShadowMetadata` [INFO] [stdout] --> src/routing.rs:942:23 [INFO] [stdout] | [INFO] [stdout] 942 | metadata: ShadowMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `created_at`, `last_used`, `max_uses` and 2 other fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `shadow_features` in initializer of `shadow_address::ShadowAddress` [INFO] [stdout] --> src/routing.rs:938:9 [INFO] [stdout] | [INFO] [stdout] 938 | ShadowAddress { [INFO] [stdout] | ^^^^^^^^^^^^^ missing `shadow_features` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/routing.rs:961:43 [INFO] [stdout] | [INFO] [stdout] 961 | router.add_peer_connection(peer1, peer2.clone()).await; [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^ expected `PeerId`, found `DiscoveredPeer` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/routing.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn add_peer_connection(&mut self, from: LibP2PPeerId, to: LibP2PPeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/routing.rs:961:58 [INFO] [stdout] | [INFO] [stdout] 961 | router.add_peer_connection(peer1, peer2.clone()).await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 961 - router.add_peer_connection(peer1, peer2.clone()).await; [INFO] [stdout] 961 + router.add_peer_connection(peer1, peer2.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/routing.rs:964:16 [INFO] [stdout] | [INFO] [stdout] 964 | router.remove_peer_connection(peer1).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------- argument #2 of type `libp2p::PeerId` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/routing.rs:487:12 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn remove_peer_connection(&mut self, from: LibP2PPeerId, to: LibP2PPeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 964 | router.remove_peer_connection(peer1, /* libp2p::PeerId */).await; [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/routing.rs:964:46 [INFO] [stdout] | [INFO] [stdout] 964 | router.remove_peer_connection(peer1).await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 964 - router.remove_peer_connection(peer1).await; [INFO] [stdout] 964 + router.remove_peer_connection(peer1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/routing.rs:992:43 [INFO] [stdout] | [INFO] [stdout] 992 | router.add_peer_connection(peer1, discovered_peer1).await; [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^ expected `PeerId`, found `DiscoveredPeer` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/routing.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn add_peer_connection(&mut self, from: LibP2PPeerId, to: LibP2PPeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/routing.rs:992:61 [INFO] [stdout] | [INFO] [stdout] 992 | router.add_peer_connection(peer1, discovered_peer1).await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 992 - router.add_peer_connection(peer1, discovered_peer1).await; [INFO] [stdout] 992 + router.add_peer_connection(peer1, discovered_peer1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/routing.rs:993:43 [INFO] [stdout] | [INFO] [stdout] 993 | router.add_peer_connection(peer2, discovered_peer2).await; [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^ expected `PeerId`, found `DiscoveredPeer` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/routing.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn add_peer_connection(&mut self, from: LibP2PPeerId, to: LibP2PPeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/routing.rs:993:61 [INFO] [stdout] | [INFO] [stdout] 993 | router.add_peer_connection(peer2, discovered_peer2).await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 993 - router.add_peer_connection(peer2, discovered_peer2).await; [INFO] [stdout] 993 + router.add_peer_connection(peer2, discovered_peer2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/routing.rs:994:43 [INFO] [stdout] | [INFO] [stdout] 994 | router.add_peer_connection(peer3, discovered_peer3).await; [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^ expected `PeerId`, found `DiscoveredPeer` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/routing.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn add_peer_connection(&mut self, from: LibP2PPeerId, to: LibP2PPeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/routing.rs:994:61 [INFO] [stdout] | [INFO] [stdout] 994 | router.add_peer_connection(peer3, discovered_peer3).await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 994 - router.add_peer_connection(peer3, discovered_peer3).await; [INFO] [stdout] 994 + router.add_peer_connection(peer3, discovered_peer3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/routing.rs:1028:43 [INFO] [stdout] | [INFO] [stdout] 1028 | router.add_peer_connection(peer1, discovered_peer1).await; [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^ expected `PeerId`, found `DiscoveredPeer` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/routing.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn add_peer_connection(&mut self, from: LibP2PPeerId, to: LibP2PPeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/routing.rs:1028:61 [INFO] [stdout] | [INFO] [stdout] 1028 | router.add_peer_connection(peer1, discovered_peer1).await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 1028 - router.add_peer_connection(peer1, discovered_peer1).await; [INFO] [stdout] 1028 + router.add_peer_connection(peer1, discovered_peer1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/routing.rs:1029:43 [INFO] [stdout] | [INFO] [stdout] 1029 | router.add_peer_connection(peer2, discovered_peer2).await; [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^ expected `PeerId`, found `DiscoveredPeer` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/routing.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn add_peer_connection(&mut self, from: LibP2PPeerId, to: LibP2PPeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/routing.rs:1029:61 [INFO] [stdout] | [INFO] [stdout] 1029 | router.add_peer_connection(peer2, discovered_peer2).await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 1029 - router.add_peer_connection(peer2, discovered_peer2).await; [INFO] [stdout] 1029 + router.add_peer_connection(peer2, discovered_peer2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/routing.rs:1030:43 [INFO] [stdout] | [INFO] [stdout] 1030 | router.add_peer_connection(peer3, discovered_peer3).await; [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^ expected `PeerId`, found `DiscoveredPeer` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/routing.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn add_peer_connection(&mut self, from: LibP2PPeerId, to: LibP2PPeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/routing.rs:1030:61 [INFO] [stdout] | [INFO] [stdout] 1030 | router.add_peer_connection(peer3, discovered_peer3).await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 1030 - router.add_peer_connection(peer3, discovered_peer3).await; [INFO] [stdout] 1030 + router.add_peer_connection(peer3, discovered_peer3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/routing.rs:1076:43 [INFO] [stdout] | [INFO] [stdout] 1076 | router.add_peer_connection(peer1, discovered_peer1).await; [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^ expected `PeerId`, found `DiscoveredPeer` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/routing.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn add_peer_connection(&mut self, from: LibP2PPeerId, to: LibP2PPeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/routing.rs:1076:61 [INFO] [stdout] | [INFO] [stdout] 1076 | router.add_peer_connection(peer1, discovered_peer1).await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 1076 - router.add_peer_connection(peer1, discovered_peer1).await; [INFO] [stdout] 1076 + router.add_peer_connection(peer1, discovered_peer1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/routing.rs:1077:43 [INFO] [stdout] | [INFO] [stdout] 1077 | router.add_peer_connection(peer2, discovered_peer2).await; [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^ expected `PeerId`, found `DiscoveredPeer` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/routing.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn add_peer_connection(&mut self, from: LibP2PPeerId, to: LibP2PPeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/routing.rs:1077:61 [INFO] [stdout] | [INFO] [stdout] 1077 | router.add_peer_connection(peer2, discovered_peer2).await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 1077 - router.add_peer_connection(peer2, discovered_peer2).await; [INFO] [stdout] 1077 + router.add_peer_connection(peer2, discovered_peer2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/routing.rs:1078:43 [INFO] [stdout] | [INFO] [stdout] 1078 | router.add_peer_connection(peer3, discovered_peer3).await; [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^ expected `PeerId`, found `DiscoveredPeer` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/routing.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn add_peer_connection(&mut self, from: LibP2PPeerId, to: LibP2PPeerId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/routing.rs:1078:61 [INFO] [stdout] | [INFO] [stdout] 1078 | router.add_peer_connection(peer3, discovered_peer3).await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 1078 - router.add_peer_connection(peer3, discovered_peer3).await; [INFO] [stdout] 1078 + router.add_peer_connection(peer3, discovered_peer3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `created_at`, `last_used`, `max_uses` and 2 other fields in initializer of `shadow_address::ShadowMetadata` [INFO] [stdout] --> src/shadow_address.rs:895:23 [INFO] [stdout] | [INFO] [stdout] 895 | metadata: ShadowMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `created_at`, `last_used`, `max_uses` and 2 other fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `shadow_features` in initializer of `shadow_address::ShadowAddress` [INFO] [stdout] --> src/shadow_address.rs:891:9 [INFO] [stdout] | [INFO] [stdout] 891 | ShadowAddress { [INFO] [stdout] | ^^^^^^^^^^^^^ missing `shadow_features` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DarkDomainRecord` [INFO] [stdout] --> tests/shadow_address_integration_tests.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | dark_resolver::{DarkDomainRecord, DarkResolver}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `qudag_network::prelude` [INFO] [stdout] --> benches/network_benchmarks.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | connection::ConnectionManager, message::MessageQueue, prelude::*, routing::Router, [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `qudag_network` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/network_benchmarks.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] warning: unused variable: `transport` [INFO] [stdout] --> tests/transport_send_sync_test.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let transport = Arc::new(SecureTransport::new()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transport` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/simple_obfuscation_test.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `qudag_network::peer::PeerInfo` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | peer::{PeerInfo, PeerManager, PeerStatus}, [INFO] [stdout] | ^^^^^^^^ no `PeerInfo` in `peer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TrafficAnalysisResistance` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:527:26 [INFO] [stdout] | [INFO] [stdout] 527 | let resistance = TrafficAnalysisResistance::new(config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `TrafficAnalysisResistance` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 429 + use qudag_network::TrafficAnalysisResistance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncTransport`, `CloudflareClient`, `ConnectionInfo`, `DnsManager`, `HealthStatistics`, `HopInfo`, `NetworkError`, `NetworkStats`, `OnionError`, `OnionLayer`, and `PeerMetadata` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | ConnectionInfo, ConnectionManager, HealthStatistics, SecureConfig, TransportKeys, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | dns::{CloudflareClient, CloudflareConfig, DnsManager, DnsRecord, RecordType}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | MLKEMOnionRouter, MetadataConfig, MetadataProtector, MixConfig, MixNode, OnionError, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | OnionLayer, TrafficAnalysisConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | router::{HopInfo, Router}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | transport::{AsyncTransport, Transport, TransportConfig}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 25 | types::{ [INFO] [stdout] 26 | ConnectionStatus, MessagePriority, NetworkError, NetworkMessage, PeerId, RoutingStrategy, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | }, [INFO] [stdout] 28 | NetworkConfig, NetworkManager, NetworkStats, PeerMetadata, ReputationManager, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `thread_rng` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `NetworkMessage` is private [INFO] [stdout] --> tests/traffic_obfuscation_tests.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | message::{MessageQueue, NetworkMessage}, [INFO] [stdout] | ^^^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `NetworkMessage` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/message.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::types::{MessagePriority, NetworkError, NetworkMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: import `NetworkMessage` directly [INFO] [stdout] | [INFO] [stdout] 4 | message::{MessageQueue, qudag_network::types::NetworkMessage}, [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OnionRouter` [INFO] [stdout] --> tests/onion_tests.rs:1:70 [INFO] [stdout] | [INFO] [stdout] 1 | use qudag_network::onion::{MLKEMOnionRouter, OnionError, OnionLayer, OnionRouter}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `qudag_network::MessageQueue` [INFO] [stdout] --> benches/queue_benchmarks.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use qudag_network::MessageQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MessageQueue` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 3 | use qudag_network::message::MessageQueue; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/queue_benchmarks.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, 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] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> tests/onion_routing_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::time::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> benches/queue_benchmarks.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/nat_traversal_benchmarks.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, 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[E0599]: no method named `get_health_statistics` found for struct `qudag_network::ConnectionManager` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | let health_stats = manager.get_health_statistics(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_connection_statistics` with a similar name [INFO] [stdout] | [INFO] [stdout] 101 - let health_stats = manager.get_health_statistics(); [INFO] [stdout] 101 + let health_stats = manager.get_connection_statistics(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/throughput_optimized.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, 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[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/onion_tests.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let router = MLKEMOnionRouter::new(secret_key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ---------- unexpected argument of type `Vec<{integer}>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/onion.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | pub async fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 40 - let router = MLKEMOnionRouter::new(secret_key); [INFO] [stdout] 40 + let router = MLKEMOnionRouter::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessagePriority` and `NetworkMessage` [INFO] [stdout] --> benches/throughput_optimized.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use qudag_network::types::{ConnectionStatus, MessagePriority, NetworkMessage, PeerId}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_unhealthy_connections` found for struct `qudag_network::ConnectionManager` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | let unhealthy = manager.get_unhealthy_connections(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_healthy_connections` with a similar name [INFO] [stdout] | [INFO] [stdout] 106 - let unhealthy = manager.get_unhealthy_connections(); [INFO] [stdout] 106 + let unhealthy = manager.get_healthy_connections(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `qudag_dag` [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use qudag_dag::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `qudag_dag` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `qudag_dag`, use `cargo add qudag_dag` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `qudag_crypto::encryption::MLKEMCiphertext`, `qudag_crypto::encryption::MLKEMKeyPair`, `qudag_crypto::encryption::MLKEMSecretKey`, `qudag_crypto::fingerprint::generate_peer_fingerprint`, `qudag_crypto::fingerprint::PeerFingerprint`, `qudag_crypto::hash::QuDagHash`, `qudag_crypto::ml_dsa::MLDSAKeyPair`, `qudag_crypto::ml_dsa::MLDSASignature`, `qudag_crypto::ml_dsa::SigningKey`, `qudag_crypto::ml_dsa::VerifyingKey`, `qudag_crypto::ml_kem::MLKEMParameters`, `qudag_crypto::ml_kem::MLKEMPublicKey`, `qudag_crypto::signature::SignatureScheme` [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | encryption::{MLKEMCiphertext, MLKEMKeyPair, MLKEMSecretKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `MLKEMSecretKey` in `encryption` [INFO] [stdout] | | | [INFO] [stdout] | | no `MLKEMKeyPair` in `encryption` [INFO] [stdout] | no `MLKEMCiphertext` in `encryption` [INFO] [stdout] 9 | fingerprint::{generate_peer_fingerprint, PeerFingerprint}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `PeerFingerprint` in `fingerprint` [INFO] [stdout] | | [INFO] [stdout] | no `generate_peer_fingerprint` in `fingerprint` [INFO] [stdout] 10 | hash::{HashFunction, QuDagHash}, [INFO] [stdout] | ^^^^^^^^^ no `QuDagHash` in `hash` [INFO] [stdout] 11 | ml_dsa::{MLDSAKeyPair, MLDSASignature, SigningKey, VerifyingKey}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ no `VerifyingKey` in `ml_dsa` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `SigningKey` in `ml_dsa` [INFO] [stdout] | | no `MLDSASignature` in `ml_dsa` [INFO] [stdout] | no `MLDSAKeyPair` in `ml_dsa` [INFO] [stdout] 12 | ml_kem::{MLKEMParameters, MLKEMPublicKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | signature::{Signature, SignatureScheme}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] ed25519_dalek::SigningKey [INFO] [stdout] rustls::sign::SigningKey [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] ed25519_dalek::VerifyingKey [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 9 - fingerprint::{generate_peer_fingerprint, PeerFingerprint}, [INFO] [stdout] 9 + fingerprint::{generate_peer_fingerprint, Fingerprint}, [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 - ml_dsa::{MLDSAKeyPair, MLDSASignature, SigningKey, VerifyingKey}, [INFO] [stdout] 11 + ml_dsa::{MlDsaKeyPair, MLDSASignature, SigningKey, VerifyingKey}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signature` [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | signature::{Signature, SignatureScheme}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OnionLayer` and `SharedSecret` [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | onion::{MLKEMOnionRouter, OnionLayer}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | quantum_crypto::{MlKemSecurityLevel, QuantumKeyExchange, SharedSecret}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `thread_rng` [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `public_key` of struct `qudag_network::TransportKeys` is private [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | assert!(config.transport_keys.public_key.len() > 0); [INFO] [stdout] | ^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `private_key` of struct `qudag_network::TransportKeys` is private [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(config.transport_keys.private_key.len() > 0); [INFO] [stdout] | ^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `public_key` of struct `qudag_network::TransportKeys` is private [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:124:35 [INFO] [stdout] | [INFO] [stdout] 124 | config.transport_keys.public_key, [INFO] [stdout] | ^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `private_key` of struct `qudag_network::TransportKeys` is private [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | config.transport_keys.private_key [INFO] [stdout] | ^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TurnClient` [INFO] [stdout] --> tests/nat_traversal_tests.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | StunServer, TurnClient, TurnServer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> tests/nat_traversal_tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 164 | let manager = PeerManager::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 164 | let manager = ::new(); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-network` (bench "nat_traversal_benchmarks") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `LatencyMetrics`, `QueueMetrics`, and `ThroughputMetrics` [INFO] [stdout] --> tests/resilience_tests.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | ConnectionManager, ConnectionStatus, LatencyMetrics, MessagePriority, NetworkError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | NetworkMessage, PeerId, QueueMetrics, Router, RoutingStrategy, ThroughputMetrics, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level3` found for enum `MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:100:62 [INFO] [stdout] | [INFO] [stdout] 100 | .map(|_| QuantumKeyExchange::new(MlKemSecurityLevel::Level3)) [INFO] [stdout] | ^^^^^^ variant or associated item not found in `MlKemSecurityLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | .map(|_| QuantumKeyExchange::new(MlKemSecurityLevel::Level3)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------------------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/quantum_crypto.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 100 - .map(|_| QuantumKeyExchange::new(MlKemSecurityLevel::Level3)) [INFO] [stdout] 100 + .map(|_| QuantumKeyExchange::new()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-network` (test "onion_tests") due to 1 previous error; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0616]: field `nodes` of struct `qudag_network::DirectoryClient` is private [INFO] [stdout] --> tests/onion_routing_tests.rs:310:27 [INFO] [stdout] | [INFO] [stdout] 310 | let nodes = directory.nodes.lock().await; [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `qudag_crypto::kem::KeyEncapsulation` [INFO] [stdout] --> tests/onion_routing_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use qudag_crypto::kem::KeyEncapsulation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `to_le_bytes` on ambiguous numeric type `{integer}` [INFO] [stdout] --> benches/throughput_optimized.rs:93:57 [INFO] [stdout] | [INFO] [stdout] 90 | .map(|i| { [INFO] [stdout] | - you must specify a type for this binding, like `i32` [INFO] [stdout] ... [INFO] [stdout] 93 | id[0..4].copy_from_slice(&i.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-network` (bench "queue_benchmarks") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `quinn::ServerConfig` in the current scope [INFO] [stdout] --> benches/throughput_optimized.rs:143:51 [INFO] [stdout] | [INFO] [stdout] 143 | let server_config = ServerConfig::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `quinn::ServerConfig` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `quinn::ServerConfig` consider using one of the following associated functions: [INFO] [stdout] quinn::ServerConfig::new [INFO] [stdout] quinn::ServerConfig::with_single_cert [INFO] [stdout] quinn::ServerConfig::with_crypto [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quinn-proto-0.11.12/src/config/mod.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | / pub fn new( [INFO] [stdout] 232 | | crypto: Arc, [INFO] [stdout] 233 | | token_key: Arc, [INFO] [stdout] 234 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 375 | / pub fn with_single_cert( [INFO] [stdout] 376 | | cert_chain: Vec>, [INFO] [stdout] 377 | | key: PrivateKeyDer<'static>, [INFO] [stdout] 378 | | ) -> Result { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub fn with_crypto(crypto: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/throughput_optimized.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | let (endpoint, _) = [INFO] [stdout] | ^^^^^^^^^^^^^ expected `Endpoint`, found `(_, _)` [INFO] [stdout] 145 | Endpoint::server(server_config, "127.0.0.1:0".parse().unwrap()).unwrap(); [INFO] [stdout] | ------------------------------------------------------------------------ this expression has type `Endpoint` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Endpoint` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `to_le_bytes` on ambiguous numeric type `{integer}` [INFO] [stdout] --> benches/throughput_optimized.rs:155:51 [INFO] [stdout] | [INFO] [stdout] 153 | for i in 0..10000 { [INFO] [stdout] | - you must specify a type for this binding, like `i32` [INFO] [stdout] 154 | let mut data = vec![0u8; MSG_SIZE]; [INFO] [stdout] 155 | data[0..4].copy_from_slice(&i.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_nat_config` is never used [INFO] [stdout] --> tests/nat_traversal_tests.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn create_test_nat_config() -> NatTraversalConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-network` (test "traffic_obfuscation_tests") due to 1 previous error [INFO] [stdout] error[E0689]: can't call method `to_le_bytes` on ambiguous numeric type `{integer}` [INFO] [stdout] --> benches/throughput_optimized.rs:186:82 [INFO] [stdout] | [INFO] [stdout] 186 | ... id[0..4].copy_from_slice(&(worker_id * 1000 + i).to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | let manager = PeerManager::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 200 | let manager = ::new(); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | .await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 25 - .await; [INFO] [stdout] 25 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> benches/network_benchmarks.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for reference `&QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:103:68 [INFO] [stdout] | [INFO] [stdout] 103 | let hop_public_keys: Vec<_> = hop_exchanges.iter().map(|kx| kx.public_key()).collect(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 103 | let hop_public_keys: Vec<_> = hop_exchanges.iter().map(|kx| kx.get_public_key()).collect(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 6 arguments but 2 arguments were supplied [INFO] [stdout] --> tests/shadow_address_integration_tests.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | .register_domain("shadow-test.dark", network_addr.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------------ multiple arguments are missing [INFO] [stdout] | [INFO] [stdout] note: expected `Option<&str>`, found `&str` [INFO] [stdout] --> tests/shadow_address_integration_tests.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | .register_domain("shadow-test.dark", network_addr.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option<&str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: expected `Vec`, found `NetworkAddress` [INFO] [stdout] --> tests/shadow_address_integration_tests.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | .register_domain("shadow-test.dark", network_addr.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `NetworkAddress` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/dark_resolver.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn register_domain( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 31 | .register_domain(Some("shadow-test.dark"), network_addr.clone()) [INFO] [stdout] | +++++ + [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 31 - .register_domain("shadow-test.dark", network_addr.clone()) [INFO] [stdout] 31 + .register_domain(/* Option<&str> */, /* Vec */, /* Option */, /* u32 */, /* qudag_network::PeerId */, /* rng */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `encrypted_address` on type `DarkDomainRecord` [INFO] [stdout] --> tests/shadow_address_integration_tests.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(record.encrypted_address.len() > 0, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `to_le_bytes` on ambiguous numeric type `{integer}` [INFO] [stdout] --> benches/throughput_optimized.rs:242:53 [INFO] [stdout] | [INFO] [stdout] 239 | for i in 0..100 { [INFO] [stdout] | - you must specify a type for this binding, like `i32` [INFO] [stdout] ... [INFO] [stdout] 242 | id[0..4].copy_from_slice(&i.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `to_le_bytes` on ambiguous numeric type `{integer}` [INFO] [stdout] --> benches/throughput_optimized.rs:252:53 [INFO] [stdout] | [INFO] [stdout] 249 | for i in 0..50 { [INFO] [stdout] | - you must specify a type for this binding, like `i32` [INFO] [stdout] ... [INFO] [stdout] 252 | id[0..4].copy_from_slice(&i.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `qudag_network::message::Message`, `qudag_network::message::MessageHeader`, `qudag_network::message::MessageType`, `qudag_network::p2p::P2PManager`, `qudag_network::peer::PeerInfo`, `qudag_network::router::Route`, `qudag_network::router::RoutingTable` [INFO] [stdout] --> tests/concurrent_tests.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | message::{Message, MessageHeader, MessageType}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ no `MessageType` in `message` [INFO] [stdout] | | | [INFO] [stdout] | | no `MessageHeader` in `message` [INFO] [stdout] | no `Message` in `message` [INFO] [stdout] 11 | p2p::P2PManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `P2PManager` in `p2p` [INFO] [stdout] 12 | peer::{PeerInfo, PeerManager, PeerStatus}, [INFO] [stdout] | ^^^^^^^^ no `PeerInfo` in `peer` [INFO] [stdout] 13 | router::{Route, Router, RoutingTable}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ no `RoutingTable` in `router` [INFO] [stdout] | | [INFO] [stdout] | no `Route` in `router` [INFO] [stdout] | help: a similar name exists in the module: `Router` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] qudag_network::nat_traversal::Message [INFO] [stdout] = help: consider importing one of these enums instead: [INFO] [stdout] qudag_network::nat_traversal::MessageType [INFO] [stdout] qudag_network::types::MessageType [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 226 | let manager = PeerManager::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 226 | let manager = ::new(); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/throughput.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, 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] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> tests/concurrent_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NetworkError`, `SecureConfig`, `SecureConnection`, and `TransportKeys` [INFO] [stdout] --> tests/concurrent_tests.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | connection::{ConnectionManager, SecureConfig, SecureConnection, TransportKeys}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | types::{ConnectionStatus, NetworkError, NetworkMetrics, PeerId}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Semaphore` [INFO] [stdout] --> tests/concurrent_tests.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::sync::{Barrier, Mutex, RwLock, Semaphore}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessagePriority` and `NetworkMessage` [INFO] [stdout] --> benches/throughput.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use qudag_network::types::{ConnectionStatus, MessagePriority, NetworkMessage, PeerId}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> benches/throughput.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> tests/onion_routing_tests.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::DiscoveryConfig` has no field named `method` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | method: DiscoveryMethod::Kademlia, [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 230 | methods: DiscoveryMethod::Kademlia, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `rotation_policies` of struct `qudag_network::ShadowAddressManager` is private [INFO] [stdout] --> tests/shadow_address_integration_tests.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | *manager.rotation_policies.write().await = policies; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_size` [INFO] [stdout] --> tests/onion_routing_tests.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | let original_size = layer.total_size(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-network` (bench "throughput_optimized") due to 8 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0616`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> benches/network_benchmarks.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | let router = Router::new(); [INFO] [stdout] | ^^^^^^^^^^^-- argument #1 of type `tokio::sync::mpsc::Sender>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/routing.rs:384:12 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn new(message_tx: mpsc::Sender>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 50 | let router = Router::new(/* tokio::sync::mpsc::Sender> */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `clone` is private [INFO] [stdout] --> tests/shadow_address_integration_tests.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | let mgr = manager.clone(); [INFO] [stdout] | ^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/shadow_address.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | fn clone(&self) -> Self { [INFO] [stdout] | ----------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:231:23 [INFO] [stdout] | [INFO] [stdout] 231 | interval: Duration::from_secs(30), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `Duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::DiscoveryConfig` has no field named `bootstrap_addresses` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | bootstrap_addresses: vec!["127.0.0.1:8080".to_string()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 233 - bootstrap_addresses: vec!["127.0.0.1:8080".to_string()], [INFO] [stdout] 233 + bootstrap_nodes: vec!["127.0.0.1:8080".to_string()], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `qudag_network::DiscoveryEvent::PeerDiscovered` has no field named `peer_id` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | peer_id: discovered_peer, [INFO] [stdout] | ^^^^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/discovery.rs:910:5 [INFO] [stdout] | [INFO] [stdout] 910 | PeerDiscovered(DiscoveredPeer), [INFO] [stdout] | -------------- `qudag_network::DiscoveryEvent::PeerDiscovered` defined here [INFO] [stdout] | [INFO] [stdout] help: `qudag_network::DiscoveryEvent::PeerDiscovered` is a tuple variant, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 241 - let event = DiscoveryEvent::PeerDiscovered { [INFO] [stdout] 242 - peer_id: discovered_peer, [INFO] [stdout] 243 - address: "127.0.0.1:8081".to_string(), [INFO] [stdout] 244 - }; [INFO] [stdout] 241 + let event = DiscoveryEvent::PeerDiscovered(/* DiscoveredPeer */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `qudag_network::DiscoveryEvent::PeerDiscovered` has no field named `address` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | address: "127.0.0.1:8081".to_string(), [INFO] [stdout] | ^^^^^^^ field does not exist [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/discovery.rs:910:5 [INFO] [stdout] | [INFO] [stdout] 910 | PeerDiscovered(DiscoveredPeer), [INFO] [stdout] | -------------- `qudag_network::DiscoveryEvent::PeerDiscovered` defined here [INFO] [stdout] | [INFO] [stdout] help: `qudag_network::DiscoveryEvent::PeerDiscovered` is a tuple variant, use the appropriate syntax [INFO] [stdout] | [INFO] [stdout] 241 - let event = DiscoveryEvent::PeerDiscovered { [INFO] [stdout] 242 - peer_id: discovered_peer, [INFO] [stdout] 243 - address: "127.0.0.1:8081".to_string(), [INFO] [stdout] 244 - }; [INFO] [stdout] 241 + let event = DiscoveryEvent::PeerDiscovered(/* DiscoveredPeer */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0769]: tuple variant `DiscoveryEvent::PeerDiscovered` written as struct variant [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | DiscoveryEvent::PeerDiscovered { peer_id, address } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the tuple variant pattern syntax instead [INFO] [stdout] | [INFO] [stdout] 248 - DiscoveryEvent::PeerDiscovered { peer_id, address } => { [INFO] [stdout] 248 + DiscoveryEvent::PeerDiscovered(_) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Discovered` found for enum `qudag_network::peer::PeerStatus` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:252:41 [INFO] [stdout] | [INFO] [stdout] 252 | status: PeerStatus::Discovered, [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `qudag_network::peer::PeerStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:266:23 [INFO] [stdout] | [INFO] [stdout] 266 | let manager = PeerManager::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 266 | let manager = ::new(); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-network` (test "onion_routing_tests") due to 1 previous error; 4 warnings emitted [INFO] [stdout] error[E0599]: no method named `create_layers` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 109 | let onion_layers = onion_router [INFO] [stdout] | ________________________- [INFO] [stdout] 110 | | .create_layers(&original_payload, &hop_public_keys) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Discovered` found for enum `qudag_network::peer::PeerStatus` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | status: PeerStatus::Discovered, [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `qudag_network::peer::PeerStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0609, E0616, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> tests/concurrent_tests.rs:261:33 [INFO] [stdout] | [INFO] [stdout] 261 | let peer_manager = Arc::new(PeerManager::new()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 261 | let peer_manager = Arc::new(::new()); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_peer` found for struct `qudag_network::routing::Router` in the current scope [INFO] [stdout] --> benches/network_benchmarks.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | router.add_peer(libp2p::PeerId::random()).await; [INFO] [stdout] | ^^^^^^^^ method not found in `qudag_network::routing::Router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `ConnectionManager` in the current scope [INFO] [stdout] --> benches/throughput.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | let manager = Arc::new(manager.clone()); [INFO] [stdout] | ^^^^^ method not found in `ConnectionManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-network` (test "shadow_address_integration_tests") due to 4 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `peel_layer` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:121:42 [INFO] [stdout] | [INFO] [stdout] 121 | let peeled_result = onion_router.peel_layer(¤t_layer, kx).await; [INFO] [stdout] | ^^^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_peer` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:305:20 [INFO] [stdout] | [INFO] [stdout] 305 | router.add_peer(*peer).await; [INFO] [stdout] | ^^^^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `ConnectionManager` in the current scope [INFO] [stdout] --> tests/resilience_tests.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | let manager_clone = manager.clone(); [INFO] [stdout] | ^^^^^ method not found in `ConnectionManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `qudag_network::types::NetworkMetrics` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:92:41 [INFO] [stdout] | [INFO] [stdout] 92 | let metrics = manager.get_metrics().await; [INFO] [stdout] | ^^^^^ `qudag_network::types::NetworkMetrics` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `qudag_network::types::NetworkMetrics` [INFO] [stdout] = note: qudag_network::types::NetworkMetrics must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `qudag_network::types::NetworkMetrics` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 92 - let metrics = manager.get_metrics().await; [INFO] [stdout] 92 + let metrics = manager.get_metrics(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `quinn::ServerConfig` in the current scope [INFO] [stdout] --> benches/throughput.rs:116:51 [INFO] [stdout] | [INFO] [stdout] 116 | let server_config = ServerConfig::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `quinn::ServerConfig` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `quinn::ServerConfig` consider using one of the following associated functions: [INFO] [stdout] quinn::ServerConfig::new [INFO] [stdout] quinn::ServerConfig::with_single_cert [INFO] [stdout] quinn::ServerConfig::with_crypto [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quinn-proto-0.11.12/src/config/mod.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | / pub fn new( [INFO] [stdout] 232 | | crypto: Arc, [INFO] [stdout] 233 | | token_key: Arc, [INFO] [stdout] 234 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 375 | / pub fn with_single_cert( [INFO] [stdout] 376 | | cert_chain: Vec>, [INFO] [stdout] 377 | | key: PrivateKeyDer<'static>, [INFO] [stdout] 378 | | ) -> Result { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub fn with_crypto(crypto: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `route` found for struct `qudag_network::routing::Router` in the current scope [INFO] [stdout] --> benches/network_benchmarks.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 69 | / ... router [INFO] [stdout] 70 | | ... .route(&msg, RoutingStrategy::Anonymous { hops: 3 }) [INFO] [stdout] | | -^^^^^ method not found in `qudag_network::routing::Router` [INFO] [stdout] | |___________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/throughput.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let (endpoint, _) = [INFO] [stdout] | ^^^^^^^^^^^^^ expected `Endpoint`, found `(_, _)` [INFO] [stdout] 118 | Endpoint::server(server_config, "127.0.0.1:0".parse().unwrap()).unwrap(); [INFO] [stdout] | ------------------------------------------------------------------------ this expression has type `Endpoint` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Endpoint` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | .await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 110 - .await; [INFO] [stdout] 110 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `usize` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | let initial_count = manager.connection_count().await; [INFO] [stdout] | ^^^^^ `usize` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `usize` [INFO] [stdout] = note: usize must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `usize` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 113 - let initial_count = manager.connection_count().await; [INFO] [stdout] 113 + let initial_count = manager.connection_count(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `route` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:319:14 [INFO] [stdout] | [INFO] [stdout] 318 | let route = router [INFO] [stdout] | _____________________- [INFO] [stdout] 319 | | .route(&msg, RoutingStrategy::Anonymous { hops: 3 }) [INFO] [stdout] | | -^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | .await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 126 - .await; [INFO] [stdout] 126 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:127:41 [INFO] [stdout] | [INFO] [stdout] 127 | manager.disconnect(peer_id).await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 127 - manager.disconnect(peer_id).await; [INFO] [stdout] 127 + manager.disconnect(peer_id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `usize` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:132:53 [INFO] [stdout] | [INFO] [stdout] 132 | let after_failures = manager.connection_count().await; [INFO] [stdout] | ^^^^^ `usize` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `usize` [INFO] [stdout] = note: usize must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `usize` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 132 - let after_failures = manager.connection_count().await; [INFO] [stdout] 132 + let after_failures = manager.connection_count(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-network` (bench "throughput") due to 4 previous errors; 2 warnings emitted [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | .await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 141 - .await; [INFO] [stdout] 141 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `usize` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:144:53 [INFO] [stdout] | [INFO] [stdout] 144 | let after_recovery = manager.connection_count().await; [INFO] [stdout] | ^^^^^ `usize` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `usize` [INFO] [stdout] = note: usize must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `usize` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 144 - let after_recovery = manager.connection_count().await; [INFO] [stdout] 144 + let after_recovery = manager.connection_count(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:149:50 [INFO] [stdout] | [INFO] [stdout] 149 | let status = manager.get_status(peer_id).await; [INFO] [stdout] | ^^^^^ `Option` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Option` [INFO] [stdout] = note: Option must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Option` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 149 - let status = manager.get_status(peer_id).await; [INFO] [stdout] 149 + let status = manager.get_status(peer_id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_peer` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | router.add_peer(peer_id).await; [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_route` found for struct `Arc>>` in the current scope [INFO] [stdout] --> tests/concurrent_tests.rs:395:33 [INFO] [stdout] | [INFO] [stdout] 395 | if router_clone.add_route(route).await.is_ok() { [INFO] [stdout] | ^^^^^^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_peer` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:342:20 [INFO] [stdout] | [INFO] [stdout] 342 | router.add_peer(*peer).await; [INFO] [stdout] | ^^^^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_peer` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/resilience_tests.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | router.add_peer(*peer).await; [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `route` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:220:10 [INFO] [stdout] | [INFO] [stdout] 219 | let route = router [INFO] [stdout] | _________________- [INFO] [stdout] 220 | | .route(&network_msg, RoutingStrategy::Direct) [INFO] [stdout] | | -^^^^^ method not found in `impl Future>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_route` found for struct `Arc>>` in the current scope [INFO] [stdout] --> tests/concurrent_tests.rs:401:52 [INFO] [stdout] | [INFO] [stdout] 401 | if let Some(_route) = router_clone.find_route(&destination).await { [INFO] [stdout] | ^^^^^^^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `route` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:355:14 [INFO] [stdout] | [INFO] [stdout] 354 | let route = router [INFO] [stdout] | _____________________- [INFO] [stdout] 355 | | .route(&msg, RoutingStrategy::Anonymous { hops: 3 }) [INFO] [stdout] | | -^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_peer` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/resilience_tests.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | router.add_peer(churning_peers[i / 2]).await; [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level3` found for enum `MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:280:70 [INFO] [stdout] | [INFO] [stdout] 280 | let quantum_kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `MlKemSecurityLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:280:26 [INFO] [stdout] | [INFO] [stdout] 280 | let quantum_kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------------------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/quantum_crypto.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 280 - let quantum_kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] 280 + let quantum_kx = QuantumKeyExchange::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_route` found for struct `Arc>>` in the current scope [INFO] [stdout] --> tests/concurrent_tests.rs:414:33 [INFO] [stdout] | [INFO] [stdout] 414 | if router_clone.remove_route(destination).await.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/network_benchmarks.rs:92:51 [INFO] [stdout] | [INFO] [stdout] 92 | black_box(manager.connect(*peer).await); [INFO] [stdout] | ------- ^^^^^ expected `qudag_network::PeerId`, found `libp2p::PeerId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `libp2p::PeerId` and `qudag_network::PeerId` have similar names, but are actually distinct types [INFO] [stdout] note: `libp2p::PeerId` is defined in crate `libp2p_identity` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-identity-0.2.11/src/peer_id.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct PeerId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `qudag_network::PeerId` is defined in crate `qudag_network` [INFO] [stdout] --> /opt/rustwide/workdir/src/types.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct PeerId([u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/connection.rs:1340:18 [INFO] [stdout] | [INFO] [stdout] 1340 | pub async fn connect(&self, peer_id: PeerId) -> Result<(), NetworkError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `route` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/resilience_tests.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 193 | let result = router [INFO] [stdout] | ______________________- [INFO] [stdout] 194 | | .route(&msg, RoutingStrategy::Anonymous { hops: 3 }) [INFO] [stdout] | | -^^^^^ method not found in `impl Future>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_peer` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:291:16 [INFO] [stdout] | [INFO] [stdout] 291 | router.add_peer(peer_id).await; [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:237:10 [INFO] [stdout] | [INFO] [stdout] 237 | .await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 237 - .await; [INFO] [stdout] 237 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 246 | let result = timeout( [INFO] [stdout] | ------- required by a bound introduced by this call [INFO] [stdout] 247 | Duration::from_millis(10), [INFO] [stdout] 248 | manager.update_metrics(i as f64, i as u64 % 100), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] note: required by a bound in `timeout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/time/timeout.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn timeout(duration: Duration, future: F) -> Timeout [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 87 | where [INFO] [stdout] 88 | F: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 246 | let result = timeout( [INFO] [stdout] | ______________________- [INFO] [stdout] 247 | | Duration::from_millis(10), [INFO] [stdout] 248 | | manager.update_metrics(i as f64, i as u64 % 100), [INFO] [stdout] 249 | | ) [INFO] [stdout] | |_________- this call returns `()` [INFO] [stdout] 250 | .await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: required for `tokio::time::Timeout<()>` to implement `Future` [INFO] [stdout] = note: required for `tokio::time::Timeout<()>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 250 - .await; [INFO] [stdout] 250 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_hop_info` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:361:35 [INFO] [stdout] | [INFO] [stdout] 361 | let hop_info = router.get_hop_info(peer_id).await; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `qudag_network::types::NetworkMetrics` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:286:41 [INFO] [stdout] | [INFO] [stdout] 286 | let metrics = manager.get_metrics().await; [INFO] [stdout] | ^^^^^ `qudag_network::types::NetworkMetrics` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `qudag_network::types::NetworkMetrics` [INFO] [stdout] = note: qudag_network::types::NetworkMetrics must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `qudag_network::types::NetworkMetrics` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 286 - let metrics = manager.get_metrics().await; [INFO] [stdout] 286 + let metrics = manager.get_metrics(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:308:18 [INFO] [stdout] | [INFO] [stdout] 308 | .await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 308 - .await; [INFO] [stdout] 308 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `usize` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:312:54 [INFO] [stdout] | [INFO] [stdout] 312 | let count = small_manager.connection_count().await; [INFO] [stdout] | ^^^^^ `usize` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `usize` [INFO] [stdout] = note: usize must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `usize` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 312 - let count = small_manager.connection_count().await; [INFO] [stdout] 312 + let count = small_manager.connection_count(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `usize` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:325:56 [INFO] [stdout] | [INFO] [stdout] 325 | let final_count = small_manager.connection_count().await; [INFO] [stdout] | ^^^^^ `usize` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `usize` [INFO] [stdout] = note: usize must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `usize` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 325 - let final_count = small_manager.connection_count().await; [INFO] [stdout] 325 + let final_count = small_manager.connection_count(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `qudag_network::types::NetworkMetrics` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:329:47 [INFO] [stdout] | [INFO] [stdout] 329 | let metrics = small_manager.get_metrics().await; [INFO] [stdout] | ^^^^^ `qudag_network::types::NetworkMetrics` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `qudag_network::types::NetworkMetrics` [INFO] [stdout] = note: qudag_network::types::NetworkMetrics must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `qudag_network::types::NetworkMetrics` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 329 - let metrics = small_manager.get_metrics().await; [INFO] [stdout] 329 + let metrics = small_manager.get_metrics(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:349:14 [INFO] [stdout] | [INFO] [stdout] 349 | .await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 349 - .await; [INFO] [stdout] 349 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | .await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 352 - .await; [INFO] [stdout] 352 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:360:14 [INFO] [stdout] | [INFO] [stdout] 360 | .await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 360 - .await; [INFO] [stdout] 360 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:368:14 [INFO] [stdout] | [INFO] [stdout] 368 | .await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 368 - .await; [INFO] [stdout] 368 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `usize` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:373:46 [INFO] [stdout] | [INFO] [stdout] 373 | let count1 = manager1.connection_count().await; [INFO] [stdout] | ^^^^^ `usize` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `usize` [INFO] [stdout] = note: usize must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `usize` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 373 - let count1 = manager1.connection_count().await; [INFO] [stdout] 373 + let count1 = manager1.connection_count(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `usize` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:374:46 [INFO] [stdout] | [INFO] [stdout] 374 | let count2 = manager2.connection_count().await; [INFO] [stdout] | ^^^^^ `usize` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `usize` [INFO] [stdout] = note: usize must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `usize` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 374 - let count2 = manager2.connection_count().await; [INFO] [stdout] 374 + let count2 = manager2.connection_count(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:384:14 [INFO] [stdout] | [INFO] [stdout] 384 | .await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 384 - .await; [INFO] [stdout] 384 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/network_benchmarks.rs:95:48 [INFO] [stdout] | [INFO] [stdout] 95 | ... .update_status(*peer, ConnectionStatus::Connected) [INFO] [stdout] | ------------- ^^^^^ expected `qudag_network::PeerId`, found `libp2p::PeerId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `libp2p::PeerId` and `qudag_network::PeerId` have similar names, but are actually distinct types [INFO] [stdout] note: `libp2p::PeerId` is defined in crate `libp2p_identity` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-identity-0.2.11/src/peer_id.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct PeerId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `qudag_network::PeerId` is defined in crate `qudag_network` [INFO] [stdout] --> /opt/rustwide/workdir/src/types.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct PeerId([u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/connection.rs:1457:12 [INFO] [stdout] | [INFO] [stdout] 1457 | pub fn update_status(&self, peer_id: PeerId, status: ConnectionStatus) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:391:14 [INFO] [stdout] | [INFO] [stdout] 391 | .await; [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 391 - .await; [INFO] [stdout] 391 + ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `usize` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:395:52 [INFO] [stdout] | [INFO] [stdout] 395 | let final_count1 = manager1.connection_count().await; [INFO] [stdout] | ^^^^^ `usize` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `usize` [INFO] [stdout] = note: usize must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `usize` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 395 - let final_count1 = manager1.connection_count().await; [INFO] [stdout] 395 + let final_count1 = manager1.connection_count(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `route_count` found for struct `Arc>>` in the current scope [INFO] [stdout] --> tests/concurrent_tests.rs:441:36 [INFO] [stdout] | [INFO] [stdout] 441 | let final_route_count = router.route_count().await; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> benches/network_benchmarks.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | ... .await, [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 96 - .await, [INFO] [stdout] 96 + , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `usize` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:396:52 [INFO] [stdout] | [INFO] [stdout] 396 | let final_count2 = manager2.connection_count().await; [INFO] [stdout] | ^^^^^ `usize` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `usize` [INFO] [stdout] = note: usize must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `usize` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 396 - let final_count2 = manager2.connection_count().await; [INFO] [stdout] 396 + let final_count2 = manager2.connection_count(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> tests/concurrent_tests.rs:579:33 [INFO] [stdout] | [INFO] [stdout] 579 | let peer_manager = Arc::new(PeerManager::new()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 579 | let peer_manager = Arc::new(::new()); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/network_benchmarks.rs:98:54 [INFO] [stdout] | [INFO] [stdout] 98 | black_box(manager.get_status(peer).await); [INFO] [stdout] | ---------- ^^^^ expected `qudag_network::PeerId`, found `libp2p::PeerId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `libp2p::PeerId` and `qudag_network::PeerId` have similar names, but are actually distinct types [INFO] [stdout] note: `libp2p::PeerId` is defined in crate `libp2p_identity` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-identity-0.2.11/src/peer_id.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct PeerId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `qudag_network::PeerId` is defined in crate `qudag_network` [INFO] [stdout] --> /opt/rustwide/workdir/src/types.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct PeerId([u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/connection.rs:1562:12 [INFO] [stdout] | [INFO] [stdout] 1562 | pub fn get_status(&self, peer_id: &PeerId) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option` is not a future [INFO] [stdout] --> benches/network_benchmarks.rs:98:60 [INFO] [stdout] | [INFO] [stdout] 98 | black_box(manager.get_status(peer).await); [INFO] [stdout] | ^^^^^ `Option` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `Option` [INFO] [stdout] = note: Option must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Option` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 98 - black_box(manager.get_status(peer).await); [INFO] [stdout] 98 + black_box(manager.get_status(peer)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_layers` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:334:10 [INFO] [stdout] | [INFO] [stdout] 333 | let onion_layers = onion_router [INFO] [stdout] | ________________________- [INFO] [stdout] 334 | | .create_layers(&vertex_data, &quantum_keys) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `ConnectionManager` in the current scope [INFO] [stdout] --> tests/resilience_tests.rs:415:37 [INFO] [stdout] | [INFO] [stdout] 415 | let manager_clone = manager.clone(); [INFO] [stdout] | ^^^^^ method not found in `ConnectionManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `qudag_network::types::NetworkMetrics` is not a future [INFO] [stdout] --> tests/resilience_tests.rs:447:47 [INFO] [stdout] | [INFO] [stdout] 447 | let final_metrics = manager.get_metrics().await; [INFO] [stdout] | ^^^^^ `qudag_network::types::NetworkMetrics` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `qudag_network::types::NetworkMetrics` [INFO] [stdout] = note: qudag_network::types::NetworkMetrics must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `qudag_network::types::NetworkMetrics` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 447 - let final_metrics = manager.get_metrics().await; [INFO] [stdout] 447 + let final_metrics = manager.get_metrics(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/network_benchmarks.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 102 | black_box(manager.disconnect(peer).await); [INFO] [stdout] | ---------- ^^^^ expected `qudag_network::PeerId`, found `libp2p::PeerId` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `libp2p::PeerId` and `qudag_network::PeerId` have similar names, but are actually distinct types [INFO] [stdout] note: `libp2p::PeerId` is defined in crate `libp2p_identity` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libp2p-identity-0.2.11/src/peer_id.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct PeerId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `qudag_network::PeerId` is defined in crate `qudag_network` [INFO] [stdout] --> /opt/rustwide/workdir/src/types.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct PeerId([u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/connection.rs:1508:12 [INFO] [stdout] | [INFO] [stdout] 1508 | pub fn disconnect(&self, peer_id: &PeerId) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> benches/network_benchmarks.rs:102:60 [INFO] [stdout] | [INFO] [stdout] 102 | black_box(manager.disconnect(peer).await); [INFO] [stdout] | ^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `()` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 102 - black_box(manager.disconnect(peer).await); [INFO] [stdout] 102 + black_box(manager.disconnect(peer)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_peer` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:380:20 [INFO] [stdout] | [INFO] [stdout] 380 | router.add_peer(*peer).await; [INFO] [stdout] | ^^^^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-network` (bench "network_benchmarks") due to 12 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `route` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:350:10 [INFO] [stdout] | [INFO] [stdout] 349 | let route = router [INFO] [stdout] | _________________- [INFO] [stdout] 350 | | .route(&network_msg, RoutingStrategy::Anonymous { hops: 3 }) [INFO] [stdout] | | -^^^^^ method not found in `impl Future>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/resilience_tests.rs:482:35 [INFO] [stdout] | [INFO] [stdout] 482 | let router_clone = router.clone(); [INFO] [stdout] | ^^^^^ method not found in `impl Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `peel_layer` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:365:46 [INFO] [stdout] | [INFO] [stdout] 365 | let peeled_result = onion_router.peel_layer(&layer, quantum_kx).await; [INFO] [stdout] | ^^^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `route` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/resilience_tests.rs:565:25 [INFO] [stdout] | [INFO] [stdout] 565 | let result = router.route(&test_msg, RoutingStrategy::Flood).await; [INFO] [stdout] | ^^^^^ method not found in `impl Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `to_le_bytes` on ambiguous numeric type `{integer}` [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:413:47 [INFO] [stdout] | [INFO] [stdout] 409 | .map(|i| { [INFO] [stdout] | - you must specify a type for this binding, like `i32` [INFO] [stdout] ... [INFO] [stdout] 413 | bytes[..8].copy_from_slice(&i.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-network` (test "resilience_tests") due to 36 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `route_count` found for struct `Arc>>` in the current scope [INFO] [stdout] --> tests/concurrent_tests.rs:743:43 [INFO] [stdout] | [INFO] [stdout] 743 | println!(" Final routes: {}", router.route_count().await); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level1` found for enum `MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:489:29 [INFO] [stdout] | [INFO] [stdout] 489 | MlKemSecurityLevel::Level1, [INFO] [stdout] | ^^^^^^ variant or associated item not found in `MlKemSecurityLevel` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 489 - MlKemSecurityLevel::Level1, [INFO] [stdout] 489 + MlKemSecurityLevel::Level512, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level3` found for enum `MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:490:29 [INFO] [stdout] | [INFO] [stdout] 490 | MlKemSecurityLevel::Level3, [INFO] [stdout] | ^^^^^^ variant or associated item not found in `MlKemSecurityLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `route` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:394:14 [INFO] [stdout] | [INFO] [stdout] 393 | let anonymous_route = router [INFO] [stdout] | _______________________________- [INFO] [stdout] 394 | | .route(&msg, RoutingStrategy::Anonymous { hops: 5 }) [INFO] [stdout] | | -^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level5` found for enum `MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:491:29 [INFO] [stdout] | [INFO] [stdout] 491 | MlKemSecurityLevel::Level5, [INFO] [stdout] | ^^^^^^ variant or associated item not found in `MlKemSecurityLevel` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 491 | MlKemSecurityLevel::Level512, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:494:24 [INFO] [stdout] | [INFO] [stdout] 494 | let alice_kx = QuantumKeyExchange::new(security_level); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/quantum_crypto.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 494 - let alice_kx = QuantumKeyExchange::new(security_level); [INFO] [stdout] 494 + let alice_kx = QuantumKeyExchange::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:495:22 [INFO] [stdout] | [INFO] [stdout] 495 | let bob_kx = QuantumKeyExchange::new(security_level); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/quantum_crypto.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 495 - let bob_kx = QuantumKeyExchange::new(security_level); [INFO] [stdout] 495 + let bob_kx = QuantumKeyExchange::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:496:26 [INFO] [stdout] | [INFO] [stdout] 496 | let charlie_kx = QuantumKeyExchange::new(security_level); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/quantum_crypto.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 496 - let charlie_kx = QuantumKeyExchange::new(security_level); [INFO] [stdout] 496 + let charlie_kx = QuantumKeyExchange::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:499:22 [INFO] [stdout] | [INFO] [stdout] 499 | alice_kx.public_key(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 499 | alice_kx.get_public_key(), [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `route` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:399:35 [INFO] [stdout] | [INFO] [stdout] 399 | let direct_route = router.route(&msg, RoutingStrategy::Direct).await.unwrap(); [INFO] [stdout] | ^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_peer` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:410:20 [INFO] [stdout] | [INFO] [stdout] 410 | router.add_peer(*peer).await; [INFO] [stdout] | ^^^^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:500:20 [INFO] [stdout] | [INFO] [stdout] 500 | bob_kx.public_key(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 500 | bob_kx.get_public_key(), [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `route_count` found for struct `Arc>>` in the current scope [INFO] [stdout] --> tests/concurrent_tests.rs:756:20 [INFO] [stdout] | [INFO] [stdout] 756 | assert!(router.route_count().await >= 0); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Arc>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_route` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:415:24 [INFO] [stdout] | [INFO] [stdout] 415 | assert!(router.validate_route(&valid_route).await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:501:24 [INFO] [stdout] | [INFO] [stdout] 501 | charlie_kx.public_key(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 501 | charlie_kx.get_public_key(), [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_route` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | assert!(router.validate_route(&duplicate_route).await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/concurrent_tests.rs:885:22 [INFO] [stdout] | [INFO] [stdout] 834 | handles.push(handle); [INFO] [stdout] | ------- ------ this argument has type `tokio::task::JoinHandle<(String, {integer})>`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `handles` to have type `Vec>` [INFO] [stdout] ... [INFO] [stdout] 885 | handles.push(handle); [INFO] [stdout] | ---- ^^^^^^ expected a tuple with 2 elements, found one with 3 elements [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `tokio::task::JoinHandle<(String, {integer})>` [INFO] [stdout] found struct `tokio::task::JoinHandle<(String, {integer}, {integer})>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/vec/mod.rs:2571:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/concurrent_tests.rs:895:13 [INFO] [stdout] | [INFO] [stdout] 894 | match result { [INFO] [stdout] | ------ this expression has type `(String, {integer})` [INFO] [stdout] 895 | (name, ops, checks) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected a tuple with 2 elements, found one with 3 elements [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(String, {integer})` [INFO] [stdout] found tuple `(_, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_layers` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:513:14 [INFO] [stdout] | [INFO] [stdout] 512 | let onion_layers = onion_router [INFO] [stdout] | ____________________________- [INFO] [stdout] 513 | | .create_layers(&sensitive_data, &public_keys) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `validate_route` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:424:24 [INFO] [stdout] | [INFO] [stdout] 424 | assert!(router.validate_route(&unknown_route).await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level3` found for enum `qudag_network::MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:438:70 [INFO] [stdout] | [INFO] [stdout] 438 | let kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `qudag_network::MlKemSecurityLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:438:26 [INFO] [stdout] | [INFO] [stdout] 438 | let kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------------------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/quantum_crypto.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 438 - let kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] 438 + let kx = QuantumKeyExchange::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `peel_layer` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:524:51 [INFO] [stdout] | [INFO] [stdout] 524 | let decrypt_result = onion_router.peel_layer(layer, *kx).await; [INFO] [stdout] | ^^^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `peel_layer` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:540:46 [INFO] [stdout] | [INFO] [stdout] 540 | let peeled_result = onion_router.peel_layer(¤t_layer, *kx).await; [INFO] [stdout] | ^^^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level1` found for enum `MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:552:33 [INFO] [stdout] | [INFO] [stdout] 552 | MlKemSecurityLevel::Level1 => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `MlKemSecurityLevel` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 552 - MlKemSecurityLevel::Level1 => { [INFO] [stdout] 552 + MlKemSecurityLevel::Level512 => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:439:20 [INFO] [stdout] | [INFO] [stdout] 439 | kx.public_key() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 439 | kx.get_public_key() [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level3` found for enum `MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:556:33 [INFO] [stdout] | [INFO] [stdout] 556 | MlKemSecurityLevel::Level3 => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `MlKemSecurityLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level5` found for enum `MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:560:33 [INFO] [stdout] | [INFO] [stdout] 560 | MlKemSecurityLevel::Level5 => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `MlKemSecurityLevel` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 560 | MlKemSecurityLevel::Level512 => { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:554:34 [INFO] [stdout] | [INFO] [stdout] 554 | assert!(alice_kx.public_key().as_bytes().len() >= 800); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 554 | assert!(alice_kx.get_public_key().as_bytes().len() >= 800); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-network` (test "concurrent_tests") due to 11 previous errors; 3 warnings emitted [INFO] [stdout] error[E0599]: no method named `create_layers` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:444:29 [INFO] [stdout] | [INFO] [stdout] 444 | let layers = router.create_layers(&payload, &peer_keys).await; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level3` found for enum `qudag_network::MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:464:66 [INFO] [stdout] | [INFO] [stdout] 464 | .map(|_| QuantumKeyExchange::new(MlKemSecurityLevel::Level3)) [INFO] [stdout] | ^^^^^^ variant or associated item not found in `qudag_network::MlKemSecurityLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:464:22 [INFO] [stdout] | [INFO] [stdout] 464 | .map(|_| QuantumKeyExchange::new(MlKemSecurityLevel::Level3)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------------------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/quantum_crypto.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 464 - .map(|_| QuantumKeyExchange::new(MlKemSecurityLevel::Level3)) [INFO] [stdout] 464 + .map(|_| QuantumKeyExchange::new()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:558:34 [INFO] [stdout] | [INFO] [stdout] 558 | assert!(alice_kx.public_key().as_bytes().len() >= 1184); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 558 | assert!(alice_kx.get_public_key().as_bytes().len() >= 1184); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0277, E0308, E0425, E0432, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for reference `&qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:467:66 [INFO] [stdout] | [INFO] [stdout] 467 | let peer_keys: Vec<_> = key_exchanges.iter().map(|kx| kx.public_key()).collect(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 467 | let peer_keys: Vec<_> = key_exchanges.iter().map(|kx| kx.get_public_key()).collect(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-network` (lib test) due to 47 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:562:34 [INFO] [stdout] | [INFO] [stdout] 562 | assert!(alice_kx.public_key().as_bytes().len() >= 1568); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 562 | assert!(alice_kx.get_public_key().as_bytes().len() >= 1568); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_layers` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:471:14 [INFO] [stdout] | [INFO] [stdout] 470 | let layers = router [INFO] [stdout] | ______________________- [INFO] [stdout] 471 | | .create_layers(&original_payload, &peer_keys) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `peel_layer` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:479:33 [INFO] [stdout] | [INFO] [stdout] 479 | let peeled = router.peel_layer(¤t_layer, kx).await; [INFO] [stdout] | ^^^^^^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::MetadataConfig` has no field named `padding_size` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | padding_size: 1024, [INFO] [stdout] | ^^^^^^^^^^^^ `qudag_network::MetadataConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `anonymize_ip`, `obfuscate_timing`, `normalize_size`, `randomize_headers`, `timing_bucket_ms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::MetadataConfig` has no field named `timing_variance` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | timing_variance: Duration::from_millis(100), [INFO] [stdout] | ^^^^^^^^^^^^^^^ `qudag_network::MetadataConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `anonymize_ip`, `obfuscate_timing`, `normalize_size`, `randomize_headers`, `timing_bucket_ms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::MetadataConfig` has no field named `dummy_traffic_rate` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | dummy_traffic_rate: 0.1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `qudag_network::MetadataConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `anonymize_ip`, `obfuscate_timing`, `normalize_size`, `randomize_headers`, `timing_bucket_ms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_peer` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:600:16 [INFO] [stdout] | [INFO] [stdout] 600 | router.add_peer(peer_id).await; [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:501:25 [INFO] [stdout] | [INFO] [stdout] 501 | let protector = MetadataProtector::new(config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ------ unexpected argument of type `qudag_network::MetadataConfig` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/onion.rs:800:12 [INFO] [stdout] | [INFO] [stdout] 800 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 501 - let protector = MetadataProtector::new(config); [INFO] [stdout] 501 + let protector = MetadataProtector::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:504:68 [INFO] [stdout] | [INFO] [stdout] 504 | let protected = protector.protect_metadata(&original_data).await; [INFO] [stdout] | ^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 504 - let protected = protector.protect_metadata(&original_data).await; [INFO] [stdout] 504 + let protected = protector.protect_metadata(&original_data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `route` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:656:10 [INFO] [stdout] | [INFO] [stdout] 655 | let route_result = router [INFO] [stdout] | ________________________- [INFO] [stdout] 656 | | .route(&network_msg, RoutingStrategy::Anonymous { hops: 4 }) [INFO] [stdout] | | -^^^^^ method not found in `impl Future>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unprotect_metadata` found for struct `qudag_network::MetadataProtector` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:514:37 [INFO] [stdout] | [INFO] [stdout] 514 | let unprotected = protector.unprotect_metadata(&protected).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `protect_metadata` with a similar name [INFO] [stdout] | [INFO] [stdout] 514 - let unprotected = protector.unprotect_metadata(&protected).await.unwrap(); [INFO] [stdout] 514 + let unprotected = protector.protect_metadata(&protected).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::TrafficAnalysisConfig` has no field named `min_message_size` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 521 | min_message_size: 512, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `qudag_network::TrafficAnalysisConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `enable_pattern_mimicking`, `enable_burst_obfuscation`, `enable_flow_correlation_resistance`, `min_inter_packet_delay`, `max_inter_packet_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::TrafficAnalysisConfig` has no field named `max_message_size` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | max_message_size: 2048, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `qudag_network::TrafficAnalysisConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `enable_pattern_mimicking`, `enable_burst_obfuscation`, `enable_flow_correlation_resistance`, `min_inter_packet_delay`, `max_inter_packet_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::TrafficAnalysisConfig` has no field named `padding_probability` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:523:13 [INFO] [stdout] | [INFO] [stdout] 523 | padding_probability: 0.3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `qudag_network::TrafficAnalysisConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `enable_pattern_mimicking`, `enable_burst_obfuscation`, `enable_flow_correlation_resistance`, `min_inter_packet_delay`, `max_inter_packet_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::TrafficAnalysisConfig` has no field named `dummy_message_probability` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:524:13 [INFO] [stdout] | [INFO] [stdout] 524 | dummy_message_probability: 0.1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `qudag_network::TrafficAnalysisConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `enable_pattern_mimicking`, `enable_burst_obfuscation`, `enable_flow_correlation_resistance`, `min_inter_packet_delay`, `max_inter_packet_delay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::MixConfig` has no field named `mixing_strategy` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:548:13 [INFO] [stdout] | [INFO] [stdout] 548 | mixing_strategy: "random".to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ `qudag_network::MixConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `target_rate`, `dummy_probability`, `timing_obfuscation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:551:41 [INFO] [stdout] | [INFO] [stdout] 551 | let mut mix_node = MixNode::new(config); [INFO] [stdout] | ------------ ^^^^^^ expected `Vec`, found `MixConfig` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `qudag_network::MixConfig` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/onion.rs:522:12 [INFO] [stdout] | [INFO] [stdout] 522 | pub fn new(id: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_peer` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:720:16 [INFO] [stdout] | [INFO] [stdout] 720 | router.add_peer(*peer).await; [INFO] [stdout] | ^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:556:34 [INFO] [stdout] | [INFO] [stdout] 556 | mix_node.add_message(message).await; [INFO] [stdout] | ----------- ^^^^^^^ expected `MixMessage`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `MixMessage` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/onion.rs:539:18 [INFO] [stdout] | [INFO] [stdout] 539 | pub async fn add_message(&mut self, mut message: MixMessage) -> Result<(), OnionError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `route` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:740:14 [INFO] [stdout] | [INFO] [stdout] 739 | let route_result = router [INFO] [stdout] | ____________________________- [INFO] [stdout] 740 | | .route(&msg, RoutingStrategy::Anonymous { hops: 3 }) [INFO] [stdout] | | -^^^^^ method not found in `impl Future>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level3` found for enum `MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:756:66 [INFO] [stdout] | [INFO] [stdout] 756 | let quantum_kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `MlKemSecurityLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:756:22 [INFO] [stdout] | [INFO] [stdout] 756 | let quantum_kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------------------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/quantum_crypto.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 756 - let quantum_kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] 756 + let quantum_kx = QuantumKeyExchange::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `process_batch` found for struct `qudag_network::MixNode` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:560:39 [INFO] [stdout] | [INFO] [stdout] 560 | let mixed_messages = mix_node.process_batch().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `qudag_network::MixNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `MixNodeStats` is not a future [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:570:42 [INFO] [stdout] | [INFO] [stdout] 570 | let stats = mix_node.get_stats().await; [INFO] [stdout] | ^^^^^ `MixNodeStats` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `MixNodeStats` [INFO] [stdout] = note: MixNodeStats must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `MixNodeStats` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 570 - let stats = mix_node.get_stats().await; [INFO] [stdout] 570 + let stats = mix_node.get_stats(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level1` found for enum `qudag_network::MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:583:33 [INFO] [stdout] | [INFO] [stdout] 583 | MlKemSecurityLevel::Level1, [INFO] [stdout] | ^^^^^^ variant or associated item not found in `qudag_network::MlKemSecurityLevel` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 583 - MlKemSecurityLevel::Level1, [INFO] [stdout] 583 + MlKemSecurityLevel::Level512, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level3` found for enum `qudag_network::MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:584:33 [INFO] [stdout] | [INFO] [stdout] 584 | MlKemSecurityLevel::Level3, [INFO] [stdout] | ^^^^^^ variant or associated item not found in `qudag_network::MlKemSecurityLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level5` found for enum `qudag_network::MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:585:33 [INFO] [stdout] | [INFO] [stdout] 585 | MlKemSecurityLevel::Level5, [INFO] [stdout] | ^^^^^^ variant or associated item not found in `qudag_network::MlKemSecurityLevel` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 585 | MlKemSecurityLevel::Level512, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:587:28 [INFO] [stdout] | [INFO] [stdout] 587 | let alice_kx = QuantumKeyExchange::new(level); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ----- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/quantum_crypto.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 587 - let alice_kx = QuantumKeyExchange::new(level); [INFO] [stdout] 587 + let alice_kx = QuantumKeyExchange::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:588:26 [INFO] [stdout] | [INFO] [stdout] 588 | let bob_kx = QuantumKeyExchange::new(level); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ----- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/quantum_crypto.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 588 - let bob_kx = QuantumKeyExchange::new(level); [INFO] [stdout] 588 + let bob_kx = QuantumKeyExchange::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:757:33 [INFO] [stdout] | [INFO] [stdout] 757 | let public_key = quantum_kx.public_key(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 757 | let public_key = quantum_kx.get_public_key(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:590:41 [INFO] [stdout] | [INFO] [stdout] 590 | let alice_public = alice_kx.public_key(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 590 | let alice_public = alice_kx.get_public_key(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encapsulate` found for struct `QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:763:55 [INFO] [stdout] | [INFO] [stdout] 763 | let (ciphertext, _shared_secret) = quantum_kx.encapsulate(&public_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `QuantumKeyExchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:591:37 [INFO] [stdout] | [INFO] [stdout] 591 | let bob_public = bob_kx.public_key(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 591 | let bob_public = bob_kx.get_public_key(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level1` found for enum `qudag_network::MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:595:37 [INFO] [stdout] | [INFO] [stdout] 595 | MlKemSecurityLevel::Level1 => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `qudag_network::MlKemSecurityLevel` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 595 - MlKemSecurityLevel::Level1 => { [INFO] [stdout] 595 + MlKemSecurityLevel::Level512 => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decapsulate` found for struct `QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:764:40 [INFO] [stdout] | [INFO] [stdout] 764 | let _decapsulated = quantum_kx.decapsulate(&ciphertext).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `QuantumKeyExchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level3` found for enum `qudag_network::MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:598:37 [INFO] [stdout] | [INFO] [stdout] 598 | MlKemSecurityLevel::Level3 => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `qudag_network::MlKemSecurityLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level5` found for enum `qudag_network::MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:601:37 [INFO] [stdout] | [INFO] [stdout] 601 | MlKemSecurityLevel::Level5 => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `qudag_network::MlKemSecurityLevel` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 601 | MlKemSecurityLevel::Level512 => { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encapsulate` found for struct `qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:607:62 [INFO] [stdout] | [INFO] [stdout] 607 | let (ciphertext, alice_shared_secret) = alice_kx.encapsulate(&bob_public).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `qudag_network::QuantumKeyExchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:781:20 [INFO] [stdout] | [INFO] [stdout] 781 | quantum_kx.public_key(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 781 | quantum_kx.get_public_key(), [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decapsulate` found for struct `qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:608:44 [INFO] [stdout] | [INFO] [stdout] 608 | let bob_shared_secret = bob_kx.decapsulate(&ciphertext).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `qudag_network::QuantumKeyExchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:782:20 [INFO] [stdout] | [INFO] [stdout] 782 | quantum_kx.public_key(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 782 | quantum_kx.get_public_key(), [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level3` found for enum `qudag_network::MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:618:62 [INFO] [stdout] | [INFO] [stdout] 618 | let kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `qudag_network::MlKemSecurityLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:618:18 [INFO] [stdout] | [INFO] [stdout] 618 | let kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------------------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/quantum_crypto.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 618 - let kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] 618 + let kx = QuantumKeyExchange::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:621:23 [INFO] [stdout] | [INFO] [stdout] 621 | let key1 = kx.public_key(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 621 | let key1 = kx.get_public_key(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:622:23 [INFO] [stdout] | [INFO] [stdout] 622 | let key2 = kx.public_key(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 622 | let key2 = kx.get_public_key(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:783:20 [INFO] [stdout] | [INFO] [stdout] 783 | quantum_kx.public_key(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 783 | quantum_kx.get_public_key(), [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:626:29 [INFO] [stdout] | [INFO] [stdout] 626 | let public_key = kx.public_key(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 626 | let public_key = kx.get_public_key(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_layers` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:787:10 [INFO] [stdout] | [INFO] [stdout] 786 | let onion_layers = onion_router [INFO] [stdout] | ________________________- [INFO] [stdout] 787 | | .create_layers(&test_payload, &hop_keys) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encapsulate` found for struct `qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:627:40 [INFO] [stdout] | [INFO] [stdout] 627 | let (valid_ciphertext, _) = kx.encapsulate(&public_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `qudag_network::QuantumKeyExchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decapsulate` found for struct `qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:634:25 [INFO] [stdout] | [INFO] [stdout] 634 | let result = kx.decapsulate(&corrupted_ciphertext); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `qudag_network::QuantumKeyExchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `peel_layer` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/crypto_dag_integration_tests.rs:795:14 [INFO] [stdout] | [INFO] [stdout] 794 | let (next_layer, _) = onion_router [INFO] [stdout] | _______________________________- [INFO] [stdout] 795 | | .peel_layer(¤t_layer, &quantum_kx) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `impl Future>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0433, E0599, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-network` (test "crypto_dag_integration_tests") due to 48 previous errors; 5 warnings emitted [INFO] [stdout] error[E0599]: no method named `encapsulate` found for struct `qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:636:43 [INFO] [stdout] | [INFO] [stdout] 636 | let (_, original_secret) = kx.encapsulate(&public_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `qudag_network::QuantumKeyExchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Level3` found for enum `qudag_network::MlKemSecurityLevel` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:643:62 [INFO] [stdout] | [INFO] [stdout] 643 | let kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `qudag_network::MlKemSecurityLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:643:18 [INFO] [stdout] | [INFO] [stdout] 643 | let kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ -------------------------- unexpected argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/quantum_crypto.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 643 - let kx = QuantumKeyExchange::new(MlKemSecurityLevel::Level3); [INFO] [stdout] 643 + let kx = QuantumKeyExchange::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `public_key` found for struct `qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:644:29 [INFO] [stdout] | [INFO] [stdout] 644 | let public_key = kx.public_key(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_public_key` with a similar name [INFO] [stdout] | [INFO] [stdout] 644 | let public_key = kx.get_public_key(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encapsulate` found for struct `qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:650:51 [INFO] [stdout] | [INFO] [stdout] 650 | let (ciphertext, _shared_secret) = kx.encapsulate(&public_key).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `qudag_network::QuantumKeyExchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decapsulate` found for struct `qudag_network::QuantumKeyExchange` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:651:36 [INFO] [stdout] | [INFO] [stdout] 651 | let _decapsulated = kx.decapsulate(&ciphertext).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `qudag_network::QuantumKeyExchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:671:29 [INFO] [stdout] | [INFO] [stdout] 671 | let mut generator = ShadowAddressGenerator::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 671 | let mut generator = ::new(); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:689:23 [INFO] [stdout] | [INFO] [stdout] 689 | let handler = DefaultShadowAddressHandler::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- two arguments of type `qudag_network::NetworkType` and `[u8; 32]` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/shadow_address.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn new(network: NetworkType, master_seed: [u8; 32]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 689 | let handler = DefaultShadowAddressHandler::new(/* qudag_network::NetworkType */, /* [u8; 32] */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::ShadowAddress` has no field named `address` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:693:13 [INFO] [stdout] | [INFO] [stdout] 693 | address: "test.shadow".to_string(), [INFO] [stdout] | ^^^^^^^ `qudag_network::ShadowAddress` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `view_key`, `spend_key`, `payment_id`, `shadow_features` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::ShadowAddress` has no field named `network_type` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:694:13 [INFO] [stdout] | [INFO] [stdout] 694 | network_type: NetworkType::Tor, [INFO] [stdout] | ^^^^^^^^^^^^ `qudag_network::ShadowAddress` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `view_key`, `spend_key`, `payment_id`, `shadow_features` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Tor` found for enum `qudag_network::NetworkType` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:694:40 [INFO] [stdout] | [INFO] [stdout] 694 | network_type: NetworkType::Tor, [INFO] [stdout] | ^^^ variant or associated item not found in `qudag_network::NetworkType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ShadowMetadata: Default` is not satisfied [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:695:23 [INFO] [stdout] | [INFO] [stdout] 695 | metadata: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `ShadowMetadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `register_address` found for struct `qudag_network::DefaultShadowAddressHandler` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:699:25 [INFO] [stdout] | [INFO] [stdout] 699 | assert!(handler.register_address(shadow_addr.clone()).await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `derive_address` with a similar name [INFO] [stdout] | [INFO] [stdout] 699 - assert!(handler.register_address(shadow_addr.clone()).await.is_ok()); [INFO] [stdout] 699 + assert!(handler.derive_address(shadow_addr.clone()).await.is_ok()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `resolve_address` found for struct `qudag_network::DefaultShadowAddressHandler` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:701:32 [INFO] [stdout] | [INFO] [stdout] 701 | let resolved = handler.resolve_address("test.shadow").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/shadow_address.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn resolve_address(&self, address: &ShadowAddress) -> Result, ShadowAddressError>; [INFO] [stdout] | --------------- the method is available for `qudag_network::DefaultShadowAddressHandler` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ShadowAddressResolver` which provides `resolve_address` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 667 + use qudag_network::ShadowAddressResolver; [INFO] [stdout] | [INFO] [stdout] help: there is a method `derive_address` with a similar name [INFO] [stdout] | [INFO] [stdout] 701 - let resolved = handler.resolve_address("test.shadow").await; [INFO] [stdout] 701 + let resolved = handler.derive_address("test.shadow").await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Tor` found for enum `qudag_network::NetworkType` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:706:61 [INFO] [stdout] | [INFO] [stdout] 706 | assert_eq!(resolved_addr.network_type, NetworkType::Tor); [INFO] [stdout] | ^^^ variant or associated item not found in `qudag_network::NetworkType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:711:29 [INFO] [stdout] | [INFO] [stdout] 711 | let mut generator = ShadowAddressGenerator::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 711 | let mut generator = ::new(); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:716:17 [INFO] [stdout] | [INFO] [stdout] 716 | let addr = generator.generate_tor_style().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 728 | .chars() [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `addr` an explicit type [INFO] [stdout] | [INFO] [stdout] 716 | let addr: /* Type */ = generator.generate_tor_style().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::TransportConfig` has no field named `max_frame_size` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:745:13 [INFO] [stdout] | [INFO] [stdout] 745 | max_frame_size: 1024 * 1024, [INFO] [stdout] | ^^^^^^^^^^^^^^ `qudag_network::TransportConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `use_tls`, `use_post_quantum`, `cert_path`, `key_path`, `ca_cert_path` ... and 10 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::TransportConfig` has no field named `timeout` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:746:13 [INFO] [stdout] | [INFO] [stdout] 746 | timeout: Duration::from_secs(30), [INFO] [stdout] | ^^^^^^^ `qudag_network::TransportConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `use_tls`, `use_post_quantum`, `cert_path`, `key_path`, `ca_cert_path` ... and 10 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::TransportConfig` has no field named `keepalive` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:747:13 [INFO] [stdout] | [INFO] [stdout] 747 | keepalive: Duration::from_secs(60), [INFO] [stdout] | ^^^^^^^^^ `qudag_network::TransportConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `use_tls`, `use_post_quantum`, `cert_path`, `key_path`, `ca_cert_path` ... and 10 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `max_frame_size` on type `qudag_network::TransportConfig` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:752:24 [INFO] [stdout] | [INFO] [stdout] 752 | assert!(config.max_frame_size > 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `use_tls`, `use_post_quantum`, `cert_path`, `key_path`, `ca_cert_path` ... and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `timeout` on type `qudag_network::TransportConfig` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:753:24 [INFO] [stdout] | [INFO] [stdout] 753 | assert!(config.timeout > Duration::ZERO); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `use_tls`, `use_post_quantum`, `cert_path`, `key_path`, `ca_cert_path` ... and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `keepalive` on type `qudag_network::TransportConfig` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:754:24 [INFO] [stdout] | [INFO] [stdout] 754 | assert!(config.keepalive > Duration::ZERO); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `use_tls`, `use_post_quantum`, `cert_path`, `key_path`, `ca_cert_path` ... and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `max_frame_size` on type `qudag_network::TransportConfig` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:758:24 [INFO] [stdout] | [INFO] [stdout] 758 | assert!(config.max_frame_size <= 16 * 1024 * 1024); // Reasonable max [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `use_tls`, `use_post_quantum`, `cert_path`, `key_path`, `ca_cert_path` ... and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `timeout` on type `qudag_network::TransportConfig` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:759:24 [INFO] [stdout] | [INFO] [stdout] 759 | assert!(config.timeout <= Duration::from_secs(300)); // Reasonable timeout [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `use_tls`, `use_post_quantum`, `cert_path`, `key_path`, `ca_cert_path` ... and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `max_frame_size` on type `qudag_network::TransportConfig` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:771:27 [INFO] [stdout] | [INFO] [stdout] 771 | assert_eq!(config.max_frame_size, 1024 * 1024); [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `use_tls`, `use_post_quantum`, `cert_path`, `key_path`, `ca_cert_path` ... and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `timeout` on type `qudag_network::TransportConfig` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:772:27 [INFO] [stdout] | [INFO] [stdout] 772 | assert_eq!(config.timeout, Duration::from_secs(30)); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `use_tls`, `use_post_quantum`, `cert_path`, `key_path`, `ca_cert_path` ... and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `proxied` in initializer of `qudag_network::DnsRecord` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:781:22 [INFO] [stdout] | [INFO] [stdout] 781 | let record = DnsRecord { [INFO] [stdout] | ^^^^^^^^^ missing `proxied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `qudag_network::RecordType` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:789:9 [INFO] [stdout] | [INFO] [stdout] 789 | assert_eq!(record.record_type, RecordType::A); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | qudag_network::RecordType [INFO] [stdout] | qudag_network::RecordType [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `qudag_network::RecordType` doesn't implement `PartialEq` [INFO] [stdout] --> /opt/rustwide/workdir/src/dns.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum RecordType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::CloudflareConfig` has no field named `base_url` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:799:13 [INFO] [stdout] | [INFO] [stdout] 799 | base_url: "https://api.cloudflare.com/client/v4".to_string(), [INFO] [stdout] | ^^^^^^^^ `qudag_network::CloudflareConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `api_token` of struct `qudag_network::CloudflareConfig` is private [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:802:25 [INFO] [stdout] | [INFO] [stdout] 802 | assert!(!config.api_token.is_empty()); [INFO] [stdout] | ^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `zone_id` of struct `qudag_network::CloudflareConfig` is private [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:803:25 [INFO] [stdout] | [INFO] [stdout] 803 | assert!(!config.zone_id.is_empty()); [INFO] [stdout] | ^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `base_url` on type `qudag_network::CloudflareConfig` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:804:24 [INFO] [stdout] | [INFO] [stdout] 804 | assert!(config.base_url.starts_with("https://")); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::DarkDomainRecord` has no field named `domain` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | domain: "dark.test".to_string(), [INFO] [stdout] | ^^^^^^ `qudag_network::DarkDomainRecord` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::DarkDomainRecord` has no field named `target` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:815:13 [INFO] [stdout] | [INFO] [stdout] 815 | target: "192.0.2.100".to_string(), [INFO] [stdout] | ^^^^^^ `qudag_network::DarkDomainRecord` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::DarkDomainRecord` has no field named `port` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:816:13 [INFO] [stdout] | [INFO] [stdout] 816 | port: 8080, [INFO] [stdout] | ^^^^ `qudag_network::DarkDomainRecord` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::DarkDomainRecord` has no field named `priority` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:817:13 [INFO] [stdout] | [INFO] [stdout] 817 | priority: 10, [INFO] [stdout] | ^^^^^^^^ `qudag_network::DarkDomainRecord` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::DarkDomainRecord` has no field named `weight` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:818:13 [INFO] [stdout] | [INFO] [stdout] 818 | weight: 5, [INFO] [stdout] | ^^^^^^ `qudag_network::DarkDomainRecord` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `domain` on type `qudag_network::DarkDomainRecord` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:821:27 [INFO] [stdout] | [INFO] [stdout] 821 | assert_eq!(record.domain, "dark.test"); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `target` on type `qudag_network::DarkDomainRecord` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:822:27 [INFO] [stdout] | [INFO] [stdout] 822 | assert_eq!(record.target, "192.0.2.100"); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `port` on type `qudag_network::DarkDomainRecord` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:823:27 [INFO] [stdout] | [INFO] [stdout] 823 | assert_eq!(record.port, 8080); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `priority` on type `qudag_network::DarkDomainRecord` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:824:24 [INFO] [stdout] | [INFO] [stdout] 824 | assert!(record.priority > 0); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `weight` on type `qudag_network::DarkDomainRecord` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:825:24 [INFO] [stdout] | [INFO] [stdout] 825 | assert!(record.weight > 0); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::DarkDomainRecord` has no field named `domain` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:833:13 [INFO] [stdout] | [INFO] [stdout] 833 | domain: "test.dark".to_string(), [INFO] [stdout] | ^^^^^^ `qudag_network::DarkDomainRecord` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::DarkDomainRecord` has no field named `target` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:834:13 [INFO] [stdout] | [INFO] [stdout] 834 | target: "10.0.0.1".to_string(), [INFO] [stdout] | ^^^^^^ `qudag_network::DarkDomainRecord` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::DarkDomainRecord` has no field named `port` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:835:13 [INFO] [stdout] | [INFO] [stdout] 835 | port: 9999, [INFO] [stdout] | ^^^^ `qudag_network::DarkDomainRecord` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::DarkDomainRecord` has no field named `priority` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | priority: 1, [INFO] [stdout] | ^^^^^^^^ `qudag_network::DarkDomainRecord` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `qudag_network::DarkDomainRecord` has no field named `weight` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:837:13 [INFO] [stdout] | [INFO] [stdout] 837 | weight: 1, [INFO] [stdout] | ^^^^^^ `qudag_network::DarkDomainRecord` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `signing_public_key`, `encryption_public_key`, `addresses`, `alias`, `ttl` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_record` found for struct `qudag_network::DarkResolver` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:841:26 [INFO] [stdout] | [INFO] [stdout] 841 | assert!(resolver.add_record(record.clone()).await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `qudag_network::DarkResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `resolve` found for struct `qudag_network::DarkResolver` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:844:33 [INFO] [stdout] | [INFO] [stdout] 844 | let resolved = resolver.resolve("test.dark").await; [INFO] [stdout] | ^^^^^^^ method not found in `qudag_network::DarkResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_record` found for struct `qudag_network::DarkResolver` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:853:26 [INFO] [stdout] | [INFO] [stdout] 853 | assert!(resolver.remove_record("test.dark").await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `qudag_network::DarkResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `resolve` found for struct `qudag_network::DarkResolver` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:856:34 [INFO] [stdout] | [INFO] [stdout] 856 | let not_found = resolver.resolve("test.dark").await; [INFO] [stdout] | ^^^^^^^ method not found in `qudag_network::DarkResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `NotFound` found for enum `qudag_network::DarkResolverError` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:857:60 [INFO] [stdout] | [INFO] [stdout] 857 | assert!(matches!(not_found, Err(DarkResolverError::NotFound))); [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `qudag_network::DarkResolverError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `enable_nat_traversal` and `nat_traversal_config` in initializer of `qudag_network::NetworkConfig` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:873:22 [INFO] [stdout] | [INFO] [stdout] 873 | let config = NetworkConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ missing `enable_nat_traversal` and `nat_traversal_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `config` of struct `qudag_network::NetworkManager` is private [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:883:39 [INFO] [stdout] | [INFO] [stdout] 883 | assert_eq!(configured_manager.config.max_connections, 25); [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `config` of struct `qudag_network::NetworkManager` is private [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:885:32 [INFO] [stdout] | [INFO] [stdout] 885 | configured_manager.config.connection_timeout, [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_peer` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:1059:16 [INFO] [stdout] | [INFO] [stdout] 1059 | router.add_peer(*peer).await; [INFO] [stdout] | ^^^^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `route` found for opaque type `impl std::future::Future>` in the current scope [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:1074:10 [INFO] [stdout] | [INFO] [stdout] 1073 | let route = router [INFO] [stdout] | _________________- [INFO] [stdout] 1074 | | .route(&msg, RoutingStrategy::Anonymous { hops: 3 }) [INFO] [stdout] | | -^^^^^ method not found in `impl std::future::Future>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transport` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | transport::{AsyncTransport, Transport, TransportConfig}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer1` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:948:13 [INFO] [stdout] | [INFO] [stdout] 948 | let peer1 = manager.connect_peer("127.0.0.1:8080").await.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_peer1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer2` [INFO] [stdout] --> tests/comprehensive_unit_tests.rs:949:13 [INFO] [stdout] | [INFO] [stdout] 949 | let peer2 = manager.connect_peer("127.0.0.1:8081").await.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_peer2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0277, E0282, E0308, E0369, E0432, E0433, E0559... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-network` (test "comprehensive_unit_tests") due to 133 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "093aed6a0d6b06c7e2d0f5f3496f7536238ab03e6d9c4057c4894d5b7ded0551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "093aed6a0d6b06c7e2d0f5f3496f7536238ab03e6d9c4057c4894d5b7ded0551", kill_on_drop: false }` [INFO] [stdout] 093aed6a0d6b06c7e2d0f5f3496f7536238ab03e6d9c4057c4894d5b7ded0551