[INFO] fetching crate qudag-mcp 0.5.0... [INFO] checking qudag-mcp-0.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate qudag-mcp 0.5.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate qudag-mcp 0.5.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate qudag-mcp 0.5.0 [INFO] tweaked toml for crates.io crate qudag-mcp 0.5.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qudag-mcp 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-mcp 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 metrics v0.21.1 [INFO] [stderr] Downloaded metrics-macros v0.7.1 [INFO] [stderr] Downloaded libp2p-tls v0.3.0 [INFO] [stderr] Downloaded libp2p-swarm-derive v0.34.2 [INFO] [stderr] Downloaded libp2p-allow-block-list v0.3.0 [INFO] [stderr] Downloaded lru v0.11.1 [INFO] [stderr] Downloaded quick-protobuf-codec v0.2.0 [INFO] [stderr] Downloaded libp2p-autonat v0.12.0 [INFO] [stderr] Downloaded libp2p-connection-limits v0.3.1 [INFO] [stderr] Downloaded libp2p-dns v0.41.1 [INFO] [stderr] Downloaded yamux v0.13.5 [INFO] [stderr] Downloaded rustls-platform-verifier v0.5.3 [INFO] [stderr] Downloaded libp2p-swarm v0.44.2 [INFO] [stderr] Downloaded libp2p-ping v0.44.1 [INFO] [stderr] Downloaded libp2p-tls v0.4.1 [INFO] [stderr] Downloaded libp2p-quic v0.10.3 [INFO] [stderr] Downloaded libp2p-core v0.41.3 [INFO] [stderr] Downloaded libp2p-gossipsub v0.46.1 [INFO] [stderr] Downloaded libp2p-yamux v0.45.2 [INFO] [stderr] Downloaded libp2p-mdns v0.45.1 [INFO] [stderr] Downloaded libp2p-kad v0.45.3 [INFO] [stderr] Downloaded libp2p-dcutr v0.11.0 [INFO] [stderr] Downloaded libp2p-identify v0.44.2 [INFO] [stderr] Downloaded libp2p-metrics v0.14.1 [INFO] [stderr] Downloaded libp2p-relay v0.17.2 [INFO] [stderr] Downloaded cbor4ii v0.3.3 [INFO] [stderr] Downloaded libp2p-request-response v0.26.3 [INFO] [stderr] Downloaded libp2p-tcp v0.41.0 [INFO] [stderr] Downloaded libp2p-upnp v0.2.2 [INFO] [stderr] Downloaded futures-rustls v0.24.0 [INFO] [stderr] Downloaded libp2p-websocket v0.43.2 [INFO] [stderr] Downloaded libp2p v0.53.2 [INFO] [stderr] Downloaded fastbloom v0.9.0 [INFO] [stderr] Downloaded qudag-dag v0.5.0 [INFO] [stderr] Downloaded libp2p-noise v0.44.0 [INFO] [stderr] Downloaded qudag-network v0.5.0 [INFO] [stderr] Downloaded pqcrypto-kyber v0.5.0 [INFO] [stderr] Downloaded pqcrypto-dilithium v0.5.0 [INFO] [stderr] Downloaded qudag-vault-core 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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] fabc91bfc7b1edd3761554eab5b25379824a2e763861430c1fb504385be4a5be [INFO] running `Command { std: "docker" "start" "-a" "fabc91bfc7b1edd3761554eab5b25379824a2e763861430c1fb504385be4a5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fabc91bfc7b1edd3761554eab5b25379824a2e763861430c1fb504385be4a5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fabc91bfc7b1edd3761554eab5b25379824a2e763861430c1fb504385be4a5be", kill_on_drop: false }` [INFO] [stdout] fabc91bfc7b1edd3761554eab5b25379824a2e763861430c1fb504385be4a5be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 711b4732f7698f3357b995ff9f0711712d017a73477e7c5bf7e31991c13c063b [INFO] running `Command { std: "docker" "start" "-a" "711b4732f7698f3357b995ff9f0711712d017a73477e7c5bf7e31991c13c063b", 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] Checking memchr v2.7.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking multihash v0.19.3 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking void v1.0.2 [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] Checking instant v0.1.13 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling aws-lc-sys v0.29.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling pqcrypto-internals v0.2.10 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking httpdate v1.0.3 [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] Checking zeroize v1.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking asynchronous-codec v0.6.2 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Compiling libp2p-swarm-derive v0.34.2 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking netlink-packet-core v0.7.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking futures-bounded v0.2.4 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking libp2p-identity v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking netlink-sys v0.8.7 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking asn1-rs v0.6.2 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking netlink-proto v0.11.5 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking netlink-packet-route v0.17.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking quick-protobuf-codec v0.3.1 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking pqcrypto-traits v0.3.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking multiaddr v0.18.2 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Checking libp2p-core v0.41.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking rtnetlink v0.13.1 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling quinn-udp v0.5.13 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling pqcrypto-dilithium v0.5.0 [INFO] [stderr] Compiling pqcrypto-kyber v0.5.0 [INFO] [stderr] Checking libp2p-swarm v0.44.2 [INFO] [stderr] Compiling pqcrypto-hqc v0.2.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking fastbloom v0.9.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking rcgen v0.11.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking if-watch v3.2.1 [INFO] [stderr] Checking hickory-proto v0.24.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking quick-protobuf-codec v0.2.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling quinn v0.11.8 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking lru-slab v0.1.2 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking cbor4ii v0.3.3 [INFO] [stderr] Checking lru v0.11.1 [INFO] [stderr] Checking futures-ticker v0.0.3 [INFO] [stderr] Compiling metrics-macros v0.7.1 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking resolv-conf v0.7.4 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking metrics v0.21.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking hickory-resolver v0.24.4 [INFO] [stderr] Checking libp2p-gossipsub v0.46.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking libp2p-request-response v0.26.3 [INFO] [stderr] Checking libp2p-dcutr v0.11.0 [INFO] [stderr] Checking x509-parser v0.15.1 [INFO] [stderr] Checking libp2p-kad v0.45.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking yamux v0.13.5 [INFO] [stderr] Checking yamux v0.12.1 [INFO] [stderr] Checking libp2p-identify v0.44.2 [INFO] [stderr] Checking libp2p-relay v0.17.2 [INFO] [stderr] Checking libp2p-ping v0.44.1 [INFO] [stderr] Checking soketto v0.8.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking futures-rustls v0.24.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking libp2p-metrics v0.14.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking libp2p-tls v0.3.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking libp2p-yamux v0.45.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking libp2p-noise v0.44.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking libp2p-dns v0.41.1 [INFO] [stderr] Checking libp2p-autonat v0.12.0 [INFO] [stderr] Checking libp2p-mdns v0.45.1 [INFO] [stderr] Checking libp2p-tcp v0.41.0 [INFO] [stderr] Checking libp2p-allow-block-list v0.3.0 [INFO] [stderr] Checking libp2p-connection-limits v0.3.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking webpki-roots v1.0.1 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking gethostname v0.4.3 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking qudag-crypto v0.5.0 [INFO] [stderr] Checking qudag-dag v0.5.0 [INFO] [stderr] Checking qudag-vault-core v0.5.0 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking rustls-platform-verifier v0.5.3 [INFO] [stderr] Checking futures-rustls v0.26.0 [INFO] [stderr] Checking quinn-proto v0.11.12 [INFO] [stderr] Checking libp2p-tls v0.4.1 [INFO] [stderr] Checking libp2p-websocket v0.43.2 [INFO] [stderr] Checking libp2p-quic v0.10.3 [INFO] [stderr] Checking libp2p v0.53.2 [INFO] [stderr] Checking qudag-network v0.5.0 [INFO] [stderr] Checking qudag-mcp v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> src/auth.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/events.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> src/auth.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/events.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/resources/dag.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/resources/network.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/resources/system.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/resources/vault.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/tools/dag.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_optional_bool_arg`, `get_optional_string_arg`, and `get_optional_u64_arg` [INFO] [stdout] --> src/tools/dag.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | get_optional_bool_arg, get_optional_string_arg, get_optional_u64_arg, get_required_string_arg, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/resources/dag.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/tools/network.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_optional_bool_arg`, `get_optional_string_arg`, and `get_optional_u64_arg` [INFO] [stdout] --> src/tools/network.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | get_optional_bool_arg, get_optional_string_arg, get_optional_u64_arg, get_required_string_arg, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/resources/network.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/resources/system.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/resources/vault.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | error::{Error, Result}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/tools/vault.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/tools/dag.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_optional_bool_arg`, `get_optional_string_arg`, and `get_optional_u64_arg` [INFO] [stdout] --> src/tools/dag.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | get_optional_bool_arg, get_optional_string_arg, get_optional_u64_arg, get_required_string_arg, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/tools/network.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_optional_bool_arg`, `get_optional_string_arg`, and `get_optional_u64_arg` [INFO] [stdout] --> src/tools/network.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | get_optional_bool_arg, get_optional_string_arg, get_optional_u64_arg, get_required_string_arg, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/tools/vault.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/resources/mod.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | for (name, resource) in &self.resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_password` [INFO] [stdout] --> src/tools/vault.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let final_password = if generate { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/resources/mod.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | for (name, resource) in &self.resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_password` [INFO] [stdout] --> src/tools/vault.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let final_password = if generate { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `source` found for enum `error::Error` in the current scope [INFO] [stdout] --> src/error.rs:547:21 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Error { [INFO] [stdout] | -------------- method `source` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 547 | assert!(err.source().is_some()); [INFO] [stdout] | ^^^^^^ method not found in `error::Error` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/error.rs:105:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `error::Error` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Error` which provides `source` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 532 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 547 | assert!(err.Resource().is_some()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | let mut transport = transport_result.unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_queue` is never read [INFO] [stdout] --> src/transport.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 410 | pub struct HttpServerTransport { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 411 | connected: bool, [INFO] [stdout] 412 | message_queue: std::collections::VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitializeResult` is never constructed [INFO] [stdout] --> src/protocol.rs:385:12 [INFO] [stdout] | [INFO] [stdout] 385 | pub struct InitializeResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggingMessageParams` is never constructed [INFO] [stdout] --> src/protocol.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 421 | pub struct LoggingMessageParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `uri`, `name`, `description`, and `metadata` are never used [INFO] [stdout] --> src/resources/mod.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub trait McpResource { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 144 | /// Get the resource URI [INFO] [stdout] 145 | fn uri(&self) -> &str; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn description(&self) -> Option<&str>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn metadata(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `validate_arguments` and `metadata` are never used [INFO] [stdout] --> src/tools/mod.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 121 | pub trait McpTool { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 144 | fn validate_arguments(&self, arguments: Option<&Value>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn metadata(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-mcp` (lib test) due to 1 previous error; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tools` [INFO] [stdout] --> examples/basic_server.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let tool_registry = tools::ToolRegistry::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tools`, use `cargo add tools` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `resources` [INFO] [stdout] --> examples/basic_server.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | let resource_registry = resources::ResourceRegistry::new(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `resources` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `resources`, use `cargo add resources` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> examples/basic_server.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ ---------------------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/workdir/src/error.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/basic_server.rs:64:65 [INFO] [stdout] | [INFO] [stdout] 64 | let tips_data: serde_json::Value = serde_json::from_str(text)?; [INFO] [stdout] | -------------------- ^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2697:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 64 | let tips_data: serde_json::Value = serde_json::from_str(&text)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/basic_server.rs:82:64 [INFO] [stdout] | [INFO] [stdout] 82 | let key_data: serde_json::Value = serde_json::from_str(text)?; [INFO] [stdout] | -------------------- ^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2697:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 82 | let key_data: serde_json::Value = serde_json::from_str(&text)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `resources` is private [INFO] [stdout] --> tests/auth_tests.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | use qudag_mcp::resources::ResourceRegistry; [INFO] [stdout] | ^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `resources` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | mod resources; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `tools` is private [INFO] [stdout] --> tests/auth_tests.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | use qudag_mcp::tools::ToolRegistry; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `tools` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod tools; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `tools` is private [INFO] [stdout] --> tests/auth_tests.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | use qudag_mcp::tools::ToolRegistry; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `tools` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod tools; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `tools` is private [INFO] [stdout] --> tests/auth_tests.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | use qudag_mcp::tools::ToolRegistry; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `tools` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod tools; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `resources` is private [INFO] [stdout] --> tests/auth_tests.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | use qudag_mcp::resources::ResourceRegistry; [INFO] [stdout] | ^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `resources` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | mod resources; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `tools` is private [INFO] [stdout] --> tests/auth_tests.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | use qudag_mcp::tools::ToolRegistry; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `tools` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod tools; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `tools` is private [INFO] [stdout] --> tests/auth_tests.rs:267:20 [INFO] [stdout] | [INFO] [stdout] 267 | use qudag_mcp::tools::ToolRegistry; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `tools` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod tools; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `resources` is private [INFO] [stdout] --> tests/auth_tests.rs:363:20 [INFO] [stdout] | [INFO] [stdout] 363 | use qudag_mcp::resources::ResourceRegistry; [INFO] [stdout] | ^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `resources` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | mod resources; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `resources` is private [INFO] [stdout] --> tests/auth_tests.rs:398:20 [INFO] [stdout] | [INFO] [stdout] 398 | use qudag_mcp::resources::ResourceRegistry; [INFO] [stdout] | ^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `resources` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | mod resources; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `resources` is private [INFO] [stdout] --> tests/auth_tests.rs:430:20 [INFO] [stdout] | [INFO] [stdout] 430 | use qudag_mcp::resources::ResourceRegistry; [INFO] [stdout] | ^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `resources` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | mod resources; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `resources` is private [INFO] [stdout] --> tests/auth_tests.rs:459:20 [INFO] [stdout] | [INFO] [stdout] 459 | use qudag_mcp::resources::ResourceRegistry; [INFO] [stdout] | ^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `resources` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | mod resources; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/performance.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion, Throughput}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `tools` is private [INFO] [stdout] --> tests/auth_tests.rs:486:20 [INFO] [stdout] | [INFO] [stdout] 486 | use qudag_mcp::tools::ToolRegistry; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `tools` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod tools; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `tools` is private [INFO] [stdout] --> tests/auth_tests.rs:518:20 [INFO] [stdout] | [INFO] [stdout] 518 | use qudag_mcp::tools::ToolRegistry; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `tools` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod tools; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/auth_tests.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `resources` [INFO] [stdout] --> examples/with_vault.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let resource_registry = resources::ResourceRegistry::new(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `resources` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `resources`, use `cargo add resources` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tools` [INFO] [stdout] --> examples/with_vault.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | let tool_registry = tools::ToolRegistry::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tools`, use `cargo add tools` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig` [INFO] [stdout] --> tests/auth_tests.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let config = ClientConfig::new() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ClientConfig` [INFO] [stdout] | help: a struct with a similar name exists: `ClientInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuDAGMCPClient` [INFO] [stdout] --> tests/auth_tests.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let client = QuDAGMCPClient::new(config).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `QuDAGMCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `protocol` [INFO] [stdout] --> examples/with_vault.rs:235:24 [INFO] [stdout] | [INFO] [stdout] 235 | let init_request = protocol::MCPRequest::initialize(client_info, client_capabilities); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `protocol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `protocol`, use `cargo add protocol` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-mcp` (example "basic_server") due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `protocol` [INFO] [stdout] --> examples/with_vault.rs:302:29 [INFO] [stdout] | [INFO] [stdout] 302 | let encrypted_message = protocol::MCPRequest::call_tool( [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `protocol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `protocol`, use `cargo add protocol` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `protocol` [INFO] [stdout] --> examples/with_vault.rs:314:19 [INFO] [stdout] | [INFO] [stdout] 314 | let message = protocol::MCPMessage::Request(encrypted_message); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `protocol` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `protocol`, use `cargo add protocol` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ClientConfig` in this scope [INFO] [stdout] --> examples/with_vault.rs:277:37 [INFO] [stdout] | [INFO] [stdout] 277 | fn create_secure_client_config() -> ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `ClientInfo` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/types.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct ClientInfo { [INFO] [stdout] | --------------------- similarly named struct `ClientInfo` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> examples/with_vault.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | let test_data_b64 = base64::encode(test_data.as_bytes()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> examples/with_vault.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | "data": base64::encode(sensitive_data.as_bytes()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> examples/with_vault.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ ---------------------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/workdir/src/error.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> examples/with_vault.rs:297:44 [INFO] [stdout] | [INFO] [stdout] 297 | async fn demonstrate_secure_messaging() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ ---------------------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/workdir/src/error.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/auth_tests.rs:115:64 [INFO] [stdout] | [INFO] [stdout] 115 | let key_data: serde_json::Value = serde_json::from_str(text).unwrap(); [INFO] [stdout] | -------------------- ^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2697:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 115 | let key_data: serde_json::Value = serde_json::from_str(&text).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tools` [INFO] [stdout] --> benches/performance.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let registry = tools::ToolRegistry::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tools`, use `cargo add tools` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `resources` [INFO] [stdout] --> benches/performance.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | let registry = resources::ResourceRegistry::new(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `resources` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `resources`, use `cargo add resources` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/auth_tests.rs:165:67 [INFO] [stdout] | [INFO] [stdout] 165 | let verify_data: serde_json::Value = serde_json::from_str(text).unwrap(); [INFO] [stdout] | -------------------- ^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2697:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 165 | let verify_data: serde_json::Value = serde_json::from_str(&text).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/auth_tests.rs:192:68 [INFO] [stdout] | [INFO] [stdout] 192 | let encrypt_data: serde_json::Value = serde_json::from_str(text).unwrap(); [INFO] [stdout] | -------------------- ^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2697:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 192 | let encrypt_data: serde_json::Value = serde_json::from_str(&text).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/auth_tests.rs:211:72 [INFO] [stdout] | [INFO] [stdout] 211 | let decrypt_data: serde_json::Value = serde_json::from_str(text).unwrap(); [INFO] [stdout] | -------------------- ^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2697:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 211 | let decrypt_data: serde_json::Value = serde_json::from_str(&text).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/with_vault.rs:141:68 [INFO] [stdout] | [INFO] [stdout] 141 | let key_data: serde_json::Value = serde_json::from_str(text)?; [INFO] [stdout] | -------------------- ^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2697:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 141 | let key_data: serde_json::Value = serde_json::from_str(&text)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/with_vault.rs:167:65 [INFO] [stdout] | [INFO] [stdout] 167 | let sign_data: serde_json::Value = serde_json::from_str(text)?; [INFO] [stdout] | -------------------- ^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2697:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 167 | let sign_data: serde_json::Value = serde_json::from_str(&text)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig` [INFO] [stdout] --> tests/auth_tests.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 301 | let config = ClientConfig::new() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ClientConfig` [INFO] [stdout] | help: a struct with a similar name exists: `ClientInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/with_vault.rs:185:71 [INFO] [stdout] | [INFO] [stdout] 185 | let verify_data: serde_json::Value = serde_json::from_str(text)?; [INFO] [stdout] | -------------------- ^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2697:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 185 | let verify_data: serde_json::Value = serde_json::from_str(&text)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuDAGMCPClient` [INFO] [stdout] --> tests/auth_tests.rs:308:26 [INFO] [stdout] | [INFO] [stdout] 308 | let client = QuDAGMCPClient::new(config).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `QuDAGMCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `handle_initialize` is private [INFO] [stdout] --> examples/with_vault.rs:236:32 [INFO] [stdout] | [INFO] [stdout] 236 | let init_response = server.handle_initialize(&init_request).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/server.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | async fn handle_initialize(&self, request: &MCPRequest) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------ private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig` [INFO] [stdout] --> examples/with_vault.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | ClientConfig::new() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ClientConfig` [INFO] [stdout] | help: a struct with a similar name exists: `ClientInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig` [INFO] [stdout] --> tests/auth_tests.rs:329:19 [INFO] [stdout] | [INFO] [stdout] 329 | let config1 = ClientConfig::new() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ClientConfig` [INFO] [stdout] | help: a struct with a similar name exists: `ClientInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig` [INFO] [stdout] --> tests/auth_tests.rs:336:19 [INFO] [stdout] | [INFO] [stdout] 336 | let config2 = ClientConfig::new() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ClientConfig` [INFO] [stdout] | help: a struct with a similar name exists: `ClientInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuDAGMCPClient` [INFO] [stdout] --> tests/auth_tests.rs:343:19 [INFO] [stdout] | [INFO] [stdout] 343 | let client1 = QuDAGMCPClient::new(config1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `QuDAGMCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuDAGMCPClient` [INFO] [stdout] --> tests/auth_tests.rs:344:19 [INFO] [stdout] | [INFO] [stdout] 344 | let client2 = QuDAGMCPClient::new(config2).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `QuDAGMCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0308, E0412, E0433, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-mcp` (example "with_vault") due to 13 previous errors; 2 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/auth_tests.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | MCPError::NetworkOperationFailed { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/auth_tests.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | MCPError::DAGOperationFailed { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/auth_tests.rs:229:34 [INFO] [stdout] | [INFO] [stdout] 229 | assert!(matches!(result, Err(MCPError::ResourceNotFound { .. }))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/auth_tests.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | assert!(matches!(result, Err(MCPError::ResourceNotFound { .. }))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/auth_tests.rs:253:34 [INFO] [stdout] | [INFO] [stdout] 253 | assert!(matches!(result, Err(MCPError::InvalidParams { .. }))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/auth_tests.rs:262:34 [INFO] [stdout] | [INFO] [stdout] 262 | assert!(matches!(result, Err(MCPError::InvalidParams { .. }))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/auth_tests.rs:275:16 [INFO] [stdout] | [INFO] [stdout] 275 | if let Err(MCPError::ToolNotFound { name }) = result { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/auth_tests.rs:279:26 [INFO] [stdout] | [INFO] [stdout] 279 | let error_json = MCPError::ToolNotFound { name: name.clone() }.to_json_rpc_error(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/auth_tests.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 549 | MCPError::VaultOperationFailed { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/auth_tests.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | MCPError::CryptoOperationFailed { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientState` [INFO] [stdout] --> tests/auth_tests.rs:312:43 [INFO] [stdout] | [INFO] [stdout] 312 | assert!(matches!(stats.state, ClientState::Disconnected)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ClientState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientState` [INFO] [stdout] --> tests/auth_tests.rs:352:36 [INFO] [stdout] | [INFO] [stdout] 352 | assert!(matches!(stats2.state, ClientState::Disconnected)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ClientState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientState` [INFO] [stdout] --> tests/auth_tests.rs:351:36 [INFO] [stdout] | [INFO] [stdout] 351 | assert!(matches!(stats1.state, ClientState::Disconnected)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ClientState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tools` [INFO] [stdout] --> benches/performance.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | let tool_registry = tools::ToolRegistry::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tools`, use `cargo add tools` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-mcp` (test "auth_tests") due to 38 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `resources` [INFO] [stdout] --> benches/performance.rs:278:29 [INFO] [stdout] | [INFO] [stdout] 278 | let resource_registry = resources::ResourceRegistry::new(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `resources` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `resources`, use `cargo add resources` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tools` [INFO] [stdout] --> benches/performance.rs:377:37 [INFO] [stdout] | [INFO] [stdout] 377 | let tool_registry = tools::ToolRegistry::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tools`, use `cargo add tools` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tools` [INFO] [stdout] --> benches/performance.rs:465:29 [INFO] [stdout] | [INFO] [stdout] 465 | let tool_registry = tools::ToolRegistry::new(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tools` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tools`, use `cargo add tools` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> benches/performance.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | MCPRequest::initialize(ClientInfo::new("benchmark-client", "1.0.0"), HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> benches/performance.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let message = MCPMessage::Request(request); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> benches/performance.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | b.iter(|| black_box(MCPMessage::from_json(&json).unwrap())); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> benches/performance.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | MCPRequest::call_tool("test_tool", serde_json::json!({"large_data": large_data})); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> benches/performance.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let large_message = MCPMessage::Request(large_request); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> benches/performance.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | MCPRequest::initialize(ClientInfo::new("benchmark-client", "1.0.0"), HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `handle_initialize` is private [INFO] [stdout] --> benches/performance.rs:197:47 [INFO] [stdout] | [INFO] [stdout] 197 | .iter(|| async { black_box(server.handle_initialize(&request).await.unwrap()) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/server.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | async fn handle_initialize(&self, request: &MCPRequest) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------ private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> benches/performance.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | let request = MCPRequest::list_tools(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `handle_tools_list` is private [INFO] [stdout] --> benches/performance.rs:203:47 [INFO] [stdout] | [INFO] [stdout] 203 | .iter(|| async { black_box(server.handle_tools_list(&request).await.unwrap()) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/server.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | async fn handle_tools_list(&self, request: &MCPRequest) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------ private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> benches/performance.rs:207:23 [INFO] [stdout] | [INFO] [stdout] 207 | let request = MCPRequest::list_resources(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `handle_resources_list` is private [INFO] [stdout] --> benches/performance.rs:209:47 [INFO] [stdout] | [INFO] [stdout] 209 | .iter(|| async { black_box(server.handle_resources_list(&request).await.unwrap()) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/server.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | async fn handle_resources_list(&self, request: &MCPRequest) -> Result { [INFO] [stdout] | ---------------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig` [INFO] [stdout] --> benches/performance.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 220 | let config = ClientConfig::new() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ClientConfig` [INFO] [stdout] | help: a struct with a similar name exists: `ClientInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuDAGMCPClient` [INFO] [stdout] --> benches/performance.rs:227:40 [INFO] [stdout] | [INFO] [stdout] 227 | .iter(|| async { black_box(QuDAGMCPClient::new(config.clone()).await.unwrap()) }); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `QuDAGMCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuDAGMCPClient` [INFO] [stdout] --> benches/performance.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | let client = rt.block_on(QuDAGMCPClient::new(config.clone())).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `QuDAGMCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> benches/performance.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | b.iter(|| black_box(MCPError::tool_not_found("nonexistent_tool"))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> benches/performance.rs:249:29 [INFO] [stdout] | [INFO] [stdout] 249 | b.iter(|| black_box(MCPError::resource_not_found("nonexistent://resource"))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> benches/performance.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | let id = RequestId::generate(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPResponse` [INFO] [stdout] --> benches/performance.rs:266:29 [INFO] [stdout] | [INFO] [stdout] 266 | b.iter(|| black_box(MCPResponse::error(id.clone(), error.clone()))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPResponse` [INFO] [stdout] | help: a struct with a similar name exists: `McpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig` [INFO] [stdout] --> benches/performance.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 352 | let config = ClientConfig::new().with_log_level("error"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ClientConfig` [INFO] [stdout] | help: a struct with a similar name exists: `ClientInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuDAGMCPClient` [INFO] [stdout] --> benches/performance.rs:356:30 [INFO] [stdout] | [INFO] [stdout] 356 | clients.push(QuDAGMCPClient::new(config.clone()).await.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `QuDAGMCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> benches/performance.rs:401:29 [INFO] [stdout] | [INFO] [stdout] 401 | b.iter(|| black_box(RequestId::generate())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MCPMessage` in this scope [INFO] [stdout] --> tests/integration_tests.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | incoming: mpsc::UnboundedReceiver, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | struct MockTransport { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MCPMessage` in this scope [INFO] [stdout] --> tests/integration_tests.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | outgoing: mpsc::UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | struct MockTransport { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MCPMessage` in this scope [INFO] [stdout] --> tests/integration_tests.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | peer_incoming: mpsc::UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | struct MockTransport { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MCPMessage` in this scope [INFO] [stdout] --> tests/integration_tests.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | peer_outgoing: mpsc::UnboundedReceiver, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | struct MockTransport { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Transport` in this scope [INFO] [stdout] --> tests/integration_tests.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | impl Transport for MockTransport { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 3 + use crate::network::Transport; [INFO] [stdout] | [INFO] [stdout] 3 + use crate::transport::Transport; [INFO] [stdout] | [INFO] [stdout] 3 + use qudag_mcp::transport::Transport; [INFO] [stdout] | [INFO] [stdout] 3 + use qudag_network::Transport; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MCPMessage` in this scope [INFO] [stdout] --> tests/integration_tests.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | async fn send(&mut self, message: MCPMessage) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MCPMessage` in this scope [INFO] [stdout] --> tests/integration_tests.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | async fn receive(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | impl Transport for MockTransport { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QuDAGMCPClient` in this scope [INFO] [stdout] --> tests/integration_tests.rs:99:42 [INFO] [stdout] | [INFO] [stdout] 99 | async fn create_test_client() -> Result<(QuDAGMCPClient, MockTransport)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 99 | async fn create_test_client() -> Result<(QuDAGMCPClient, MockTransport)> { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `tools` is private [INFO] [stdout] --> tests/integration_tests.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | use qudag_mcp::tools::ToolRegistry; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `tools` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod tools; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `resources` is private [INFO] [stdout] --> tests/integration_tests.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | use qudag_mcp::resources::ResourceRegistry; [INFO] [stdout] | ^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `resources` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | mod resources; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `resources` is private [INFO] [stdout] --> tests/integration_tests.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 231 | use qudag_mcp::resources::ResourceRegistry; [INFO] [stdout] | ^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `resources` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | mod resources; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `tools` is private [INFO] [stdout] --> tests/integration_tests.rs:232:20 [INFO] [stdout] | [INFO] [stdout] 232 | use qudag_mcp::tools::ToolRegistry; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `tools` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod tools; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `tools` is private [INFO] [stdout] --> tests/integration_tests.rs:261:20 [INFO] [stdout] | [INFO] [stdout] 261 | use qudag_mcp::tools::ToolRegistry; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `tools` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod tools; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `logging` on type `qudag_mcp::ServerCapabilities` [INFO] [stdout] --> benches/performance.rs:418:29 [INFO] [stdout] | [INFO] [stdout] 418 | server_caps.logging.is_some() && client_caps.get("logging").is_none(); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `tools`, `resources`, `prompts`, `experimental` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `tools` is private [INFO] [stdout] --> tests/integration_tests.rs:290:20 [INFO] [stdout] | [INFO] [stdout] 290 | use qudag_mcp::tools::ToolRegistry; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `tools` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod tools; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `resources` is private [INFO] [stdout] --> tests/integration_tests.rs:317:20 [INFO] [stdout] | [INFO] [stdout] 317 | use qudag_mcp::resources::ResourceRegistry; [INFO] [stdout] | ^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `resources` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | mod resources; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig` [INFO] [stdout] --> benches/performance.rs:434:29 [INFO] [stdout] | [INFO] [stdout] 434 | let client_config = ClientConfig::new().with_log_level("error"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ClientConfig` [INFO] [stdout] | help: a struct with a similar name exists: `ClientInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `tools` is private [INFO] [stdout] --> tests/integration_tests.rs:422:20 [INFO] [stdout] | [INFO] [stdout] 422 | use qudag_mcp::tools::ToolRegistry; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `tools` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod tools; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuDAGMCPClient` [INFO] [stdout] --> benches/performance.rs:439:26 [INFO] [stdout] | [INFO] [stdout] 439 | let client = QuDAGMCPClient::new(client_config.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `QuDAGMCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `tools` is private [INFO] [stdout] --> tests/integration_tests.rs:473:20 [INFO] [stdout] | [INFO] [stdout] 473 | use qudag_mcp::tools::ToolRegistry; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `tools` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | mod tools; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> benches/performance.rs:442:32 [INFO] [stdout] | [INFO] [stdout] 442 | let init_request = MCPRequest::initialize( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `handle_initialize` is private [INFO] [stdout] --> benches/performance.rs:446:41 [INFO] [stdout] | [INFO] [stdout] 446 | let _init_response = server.handle_initialize(&init_request).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/server.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | async fn handle_initialize(&self, request: &MCPRequest) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------ private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> benches/performance.rs:449:33 [INFO] [stdout] | [INFO] [stdout] 449 | let tools_request = MCPRequest::list_tools(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `handle_tools_list` is private [INFO] [stdout] --> benches/performance.rs:450:42 [INFO] [stdout] | [INFO] [stdout] 450 | let _tools_response = server.handle_tools_list(&tools_request).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/server.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | async fn handle_tools_list(&self, request: &MCPRequest) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------ private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> benches/performance.rs:453:37 [INFO] [stdout] | [INFO] [stdout] 453 | let resources_request = MCPRequest::list_resources(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `handle_resources_list` is private [INFO] [stdout] --> benches/performance.rs:455:18 [INFO] [stdout] | [INFO] [stdout] 455 | .handle_resources_list(&resources_request) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/server.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | async fn handle_resources_list(&self, request: &MCPRequest) -> Result { [INFO] [stdout] | ---------------------------------------------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/integration_tests.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | return Err(MCPError::ConnectionLost); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/integration_tests.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | .map_err(|_| MCPError::ConnectionLost)?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/integration_tests.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | return Err(MCPError::ConnectionLost); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig` [INFO] [stdout] --> tests/integration_tests.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let config = ClientConfig::new() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ClientConfig` [INFO] [stdout] | help: a struct with a similar name exists: `ClientInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuDAGMCPClient` [INFO] [stdout] --> tests/integration_tests.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | let client = QuDAGMCPClient::new(config).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `QuDAGMCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig` [INFO] [stdout] --> tests/integration_tests.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | let config = ClientConfig::new() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ClientConfig` [INFO] [stdout] | help: a struct with a similar name exists: `ClientInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuDAGMCPClient` [INFO] [stdout] --> tests/integration_tests.rs:138:18 [INFO] [stdout] | [INFO] [stdout] 138 | let client = QuDAGMCPClient::new(config).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `QuDAGMCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientState` [INFO] [stdout] --> tests/integration_tests.rs:141:44 [INFO] [stdout] | [INFO] [stdout] 141 | assert!(matches!(client.state().await, ClientState::Disconnected)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ClientState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/integration_tests.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | let request = MCPRequest::initialize(ClientInfo::new("test-client", "1.0.0"), HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/integration_tests.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 159 | let message = MCPMessage::Request(request); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/integration_tests.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | let parsed = MCPMessage::from_json(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPResponse` [INFO] [stdout] --> tests/integration_tests.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | let response = MCPResponse::success(RequestId::generate(), serde_json::json!({"status": "ok"})); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPResponse` [INFO] [stdout] | help: a struct with a similar name exists: `McpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> tests/integration_tests.rs:167:41 [INFO] [stdout] | [INFO] [stdout] 167 | let response = MCPResponse::success(RequestId::generate(), serde_json::json!({"status": "ok"})); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPNotification` [INFO] [stdout] --> tests/integration_tests.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | let notification = MCPNotification::initialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MCPNotification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/integration_tests.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | assert!(matches!(result, Err(MCPError::ToolNotFound { .. }))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/integration_tests.rs:245:34 [INFO] [stdout] | [INFO] [stdout] 245 | assert!(matches!(result, Err(MCPError::ResourceNotFound { .. }))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/integration_tests.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | let error = MCPError::ToolNotFound { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/integration_tests.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | let error = MCPError::ResourceNotFound { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/integration_tests.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | MCPRequest::initialize(ClientInfo::new("test-client", "1.0.0"), HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/integration_tests.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | let tools_request = MCPRequest::list_tools(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/integration_tests.rs:386:29 [INFO] [stdout] | [INFO] [stdout] 386 | let resources_request = MCPRequest::list_resources(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/integration_tests.rs:405:27 [INFO] [stdout] | [INFO] [stdout] 405 | let invalid_request = MCPRequest::new("test-id", "invalid/method"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/integration_tests.rs:414:34 [INFO] [stdout] | [INFO] [stdout] 414 | let invalid_params_request = MCPRequest::new("test-id", "tools/call") [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfig` [INFO] [stdout] --> tests/integration_tests.rs:504:22 [INFO] [stdout] | [INFO] [stdout] 504 | let config = ClientConfig::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ClientConfig` [INFO] [stdout] | help: a struct with a similar name exists: `ClientInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuDAGMCPClient` [INFO] [stdout] --> tests/integration_tests.rs:505:23 [INFO] [stdout] | [INFO] [stdout] 505 | let _client = QuDAGMCPClient::new(config).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `QuDAGMCPClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-mcp` (test "integration_tests") due to 42 previous errors [INFO] [stdout] error[E0277]: the trait bound `std::string::String: From<&&str>` is not satisfied [INFO] [stdout] --> benches/performance.rs:477:42 [INFO] [stdout] | [INFO] [stdout] 477 | let name = ToolName::new(tool_name); [INFO] [stdout] | ------------- ^^^^^^^^^ the trait `From<&&str>` is not implemented for `std::string::String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `&&str` to implement `Into` [INFO] [stdout] note: required by a bound in `qudag_mcp::ToolName::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/types.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn new(name: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `ToolName::new` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 477 | let name = ToolName::new(*tool_name); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> benches/performance.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | let error = MCPError::ToolNotFound { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> benches/performance.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | let error = MCPError::MethodNotFound { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0609, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-mcp` (bench "performance") due to 40 previous errors [INFO] [stdout] error[E0412]: cannot find type `MCPRequest` in this scope [INFO] [stdout] --> tests/protocol_tests.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let parsed: MCPRequest = serde_json::from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/types.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct McpRequest { [INFO] [stdout] | --------------------- similarly named struct `McpRequest` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RequestId` in this scope [INFO] [stdout] --> tests/protocol_tests.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let parsed: RequestId = serde_json::from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InitializeParams` in this scope [INFO] [stdout] --> tests/protocol_tests.rs:458:18 [INFO] [stdout] | [INFO] [stdout] 458 | let params = InitializeParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InitializeParams` in this scope [INFO] [stdout] --> tests/protocol_tests.rs:476:30 [INFO] [stdout] | [INFO] [stdout] 476 | let unsupported_params = InitializeParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MCPMessage` in this scope [INFO] [stdout] --> tests/protocol_tests.rs:541:50 [INFO] [stdout] | [INFO] [stdout] 541 | let (tx, mut rx) = mpsc::unbounded_channel::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 537 | async fn test_concurrent_message_processing() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/protocol_tests.rs:5:5 [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] warning: unused import: `tokio_test` [INFO] [stdout] --> tests/protocol_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio_test; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> tests/protocol_tests.rs:662:36 [INFO] [stdout] | [INFO] [stdout] 662 | let decoded_data = base64::decode(data).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/protocol_tests.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | MCPRequest::new("test-123", "test/method").with_params(serde_json::json!({"key": "value"})); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPResponse` [INFO] [stdout] --> tests/protocol_tests.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | let response = MCPResponse::success( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPResponse` [INFO] [stdout] | help: a struct with a similar name exists: `McpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> tests/protocol_tests.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | RequestId::from_string("test-123"), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPResponse` [INFO] [stdout] --> tests/protocol_tests.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let error_response = MCPResponse::error( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPResponse` [INFO] [stdout] | help: a struct with a similar name exists: `McpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> tests/protocol_tests.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | RequestId::from_string("test-123"), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> tests/protocol_tests.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let string_id = RequestId::from_string("test-string-id"); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> tests/protocol_tests.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | let number_id = RequestId::from_number(42); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> tests/protocol_tests.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let uuid_id = RequestId::generate(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/protocol_tests.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | let request = MCPRequest::initialize(ClientInfo::new("test", "1.0.0"), HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | let message = MCPMessage::Request(request); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPResponse` [INFO] [stdout] --> tests/protocol_tests.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | let response = MCPResponse::success(RequestId::generate(), serde_json::json!({"status": "ok"})); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPResponse` [INFO] [stdout] | help: a struct with a similar name exists: `McpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> tests/protocol_tests.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | let response = MCPResponse::success(RequestId::generate(), serde_json::json!({"status": "ok"})); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | let message = MCPMessage::Response(response); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPNotification` [INFO] [stdout] --> tests/protocol_tests.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | let notification = MCPNotification::initialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MCPNotification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | let message = MCPMessage::Notification(notification); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/protocol_tests.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | let request = MCPRequest::initialize( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPResponse` [INFO] [stdout] --> tests/protocol_tests.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | let response = MCPResponse::initialize_success( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPResponse` [INFO] [stdout] | help: a struct with a similar name exists: `McpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/protocol_tests.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | let list_request = MCPRequest::list_tools(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `qudag_mcp::Tool` in the current scope [INFO] [stdout] --> tests/protocol_tests.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | let tools = vec![Tool::new( [INFO] [stdout] | ^^^ function or associated item not found in `qudag_mcp::Tool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPResponse` [INFO] [stdout] --> tests/protocol_tests.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | let response = MCPResponse::tools_list_success(list_request.id.clone(), tools.clone()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPResponse` [INFO] [stdout] | help: a struct with a similar name exists: `McpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/protocol_tests.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | MCPRequest::call_tool("test_tool", serde_json::json!({"input": "test data"})); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `success` found for struct `qudag_mcp::ToolResult` in the current scope [INFO] [stdout] --> tests/protocol_tests.rs:191:35 [INFO] [stdout] | [INFO] [stdout] 191 | let tool_result = ToolResult::success(ToolResultContent::text("Operation completed")); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `qudag_mcp::ToolResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `text` found for enum `qudag_mcp::ToolResultContent` in the current scope [INFO] [stdout] --> tests/protocol_tests.rs:191:62 [INFO] [stdout] | [INFO] [stdout] 191 | let tool_result = ToolResult::success(ToolResultContent::text("Operation completed")); [INFO] [stdout] | ^^^^ variant or associated item not found in `qudag_mcp::ToolResultContent` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 191 - let tool_result = ToolResult::success(ToolResultContent::text("Operation completed")); [INFO] [stdout] 191 + let tool_result = ToolResult::success(ToolResultContent::Text { text: /* value */ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPResponse` [INFO] [stdout] --> tests/protocol_tests.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 192 | let response = MCPResponse::tool_call_success(call_request.id, tool_result); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPResponse` [INFO] [stdout] | help: a struct with a similar name exists: `McpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/protocol_tests.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | let list_request = MCPRequest::list_resources(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `qudag_mcp::Resource` in the current scope [INFO] [stdout] --> tests/protocol_tests.rs:208:36 [INFO] [stdout] | [INFO] [stdout] 208 | let resources = vec![Resource::new("test://resource/1", "Test Resource 1") [INFO] [stdout] | ^^^ function or associated item not found in `qudag_mcp::Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPResponse` [INFO] [stdout] --> tests/protocol_tests.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | let response = MCPResponse::resources_list_success(list_request.id.clone(), resources); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPResponse` [INFO] [stdout] | help: a struct with a similar name exists: `McpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/protocol_tests.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | let read_request = MCPRequest::read_resource("test://resource/1"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `text` found for struct `qudag_mcp::ResourceContent` in the current scope [INFO] [stdout] --> tests/protocol_tests.rs:224:41 [INFO] [stdout] | [INFO] [stdout] 224 | let content = vec![ResourceContent::text("test://resource/1", "Test content")]; [INFO] [stdout] | ^^^^ function or associated item not found in `qudag_mcp::ResourceContent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPResponse` [INFO] [stdout] --> tests/protocol_tests.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | let response = MCPResponse::resource_read_success(read_request.id, content); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPResponse` [INFO] [stdout] | help: a struct with a similar name exists: `McpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/protocol_tests.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | let list_request = MCPRequest::list_prompts(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/protocol_tests.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | let get_request = MCPRequest::get_prompt("security_audit", Some(arguments)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0533]: expected value, found struct variant `MessageContent::Text` [INFO] [stdout] --> tests/protocol_tests.rs:258:18 [INFO] [stdout] | [INFO] [stdout] 258 | content: MessageContent::Text("You are a security expert.".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: you might have meant to create a new value of the struct [INFO] [stdout] | [INFO] [stdout] 258 - content: MessageContent::Text("You are a security expert.".to_string()), [INFO] [stdout] 258 + content: MessageContent::Text { text: /* value */ }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPResponse` [INFO] [stdout] --> tests/protocol_tests.rs:261:20 [INFO] [stdout] | [INFO] [stdout] 261 | let response = MCPResponse::prompt_get_success( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPResponse` [INFO] [stdout] | help: a struct with a similar name exists: `McpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPNotification` [INFO] [stdout] --> tests/protocol_tests.rs:279:23 [INFO] [stdout] | [INFO] [stdout] 279 | let initialized = MCPNotification::initialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MCPNotification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPNotification` [INFO] [stdout] --> tests/protocol_tests.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | let progress = MCPNotification::progress( [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MCPNotification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPNotification` [INFO] [stdout] --> tests/protocol_tests.rs:299:25 [INFO] [stdout] | [INFO] [stdout] 299 | let tools_changed = MCPNotification::tools_list_changed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MCPNotification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPNotification` [INFO] [stdout] --> tests/protocol_tests.rs:303:28 [INFO] [stdout] | [INFO] [stdout] 303 | let resource_updated = MCPNotification::resource_updated("dag://vertices/all"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MCPNotification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPNotification` [INFO] [stdout] --> tests/protocol_tests.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | MCPNotification::log_message("info", log_data.clone(), Some("test-logger".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MCPNotification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPResponse` [INFO] [stdout] --> tests/protocol_tests.rs:400:24 [INFO] [stdout] | [INFO] [stdout] 400 | let response = MCPResponse::error(RequestId::generate(), error); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPResponse` [INFO] [stdout] | help: a struct with a similar name exists: `McpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> tests/protocol_tests.rs:400:43 [INFO] [stdout] | [INFO] [stdout] 400 | let response = MCPResponse::error(RequestId::generate(), error); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/protocol_tests.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | MCPRequest::initialize(ClientInfo::new("test-client", "1.0.0"), HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:412:19 [INFO] [stdout] | [INFO] [stdout] 412 | let message = MCPMessage::Request(original_request.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:414:26 [INFO] [stdout] | [INFO] [stdout] 414 | let parsed_message = MCPMessage::from_json(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPResponse` [INFO] [stdout] --> tests/protocol_tests.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | MCPResponse::success(RequestId::generate(), serde_json::json!({"status": "ok"})); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPResponse` [INFO] [stdout] | help: a struct with a similar name exists: `McpResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> tests/protocol_tests.rs:426:30 [INFO] [stdout] | [INFO] [stdout] 426 | MCPResponse::success(RequestId::generate(), serde_json::json!({"status": "ok"})); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:428:19 [INFO] [stdout] | [INFO] [stdout] 428 | let message = MCPMessage::Response(original_response.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:430:26 [INFO] [stdout] | [INFO] [stdout] 430 | let parsed_message = MCPMessage::from_json(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPNotification` [INFO] [stdout] --> tests/protocol_tests.rs:441:33 [INFO] [stdout] | [INFO] [stdout] 441 | let original_notification = MCPNotification::progress("test", 0.5, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `MCPNotification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:442:19 [INFO] [stdout] | [INFO] [stdout] 442 | let message = MCPMessage::Notification(original_notification.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:444:26 [INFO] [stdout] | [INFO] [stdout] 444 | let parsed_message = MCPMessage::from_json(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/protocol_tests.rs:465:9 [INFO] [stdout] | [INFO] [stdout] 465 | MCPRequest::new("test", "initialize").with_params(serde_json::to_value(params).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `handle_initialize` is private [INFO] [stdout] --> tests/protocol_tests.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | let response = server.handle_initialize(&request).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/server.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | async fn handle_initialize(&self, request: &MCPRequest) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------ private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/protocol_tests.rs:482:19 [INFO] [stdout] | [INFO] [stdout] 482 | let request = MCPRequest::new("test", "initialize") [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `handle_initialize` is private [INFO] [stdout] --> tests/protocol_tests.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | let result = server.handle_initialize(&request).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/server.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | async fn handle_initialize(&self, request: &MCPRequest) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------ private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:497:18 [INFO] [stdout] | [INFO] [stdout] 497 | let result = MCPMessage::from_json(invalid_json); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:503:18 [INFO] [stdout] | [INFO] [stdout] 503 | let result = MCPMessage::from_json(invalid_message); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:508:18 [INFO] [stdout] | [INFO] [stdout] 508 | let result = MCPMessage::from_json(incomplete_request); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/protocol_tests.rs:517:19 [INFO] [stdout] | [INFO] [stdout] 517 | let request = MCPRequest::call_tool("test_tool", serde_json::json!({"large_data": large_data})); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:519:19 [INFO] [stdout] | [INFO] [stdout] 519 | let message = MCPMessage::Request(request); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:526:18 [INFO] [stdout] | [INFO] [stdout] 526 | let parsed = MCPMessage::from_json(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPRequest` [INFO] [stdout] --> tests/protocol_tests.rs:558:27 [INFO] [stdout] | [INFO] [stdout] 558 | let request = MCPRequest::new(format!("request-{}", i), "test/method"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `MCPRequest` [INFO] [stdout] | help: a struct with a similar name exists: `McpRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:559:27 [INFO] [stdout] | [INFO] [stdout] 559 | let message = MCPMessage::Request(request); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `logging` on type `qudag_mcp::ServerCapabilities` [INFO] [stdout] --> tests/protocol_tests.rs:604:20 [INFO] [stdout] | [INFO] [stdout] 604 | assert!(parsed.logging.is_some()); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `tools`, `resources`, `prompts`, `experimental` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `text` found for enum `qudag_mcp::ToolResultContent` in the current scope [INFO] [stdout] --> tests/protocol_tests.rs:631:43 [INFO] [stdout] | [INFO] [stdout] 631 | let text_content = ToolResultContent::text("Test result"); [INFO] [stdout] | ^^^^ variant or associated item not found in `qudag_mcp::ToolResultContent` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 631 - let text_content = ToolResultContent::text("Test result"); [INFO] [stdout] 631 + let text_content = ToolResultContent::Text { text: /* value */ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `json` found for enum `qudag_mcp::ToolResultContent` in the current scope [INFO] [stdout] --> tests/protocol_tests.rs:643:43 [INFO] [stdout] | [INFO] [stdout] 643 | let json_content = ToolResultContent::json(&data).unwrap(); [INFO] [stdout] | ^^^^ variant or associated item not found in `qudag_mcp::ToolResultContent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `image` found for enum `qudag_mcp::ToolResultContent` in the current scope [INFO] [stdout] --> tests/protocol_tests.rs:657:44 [INFO] [stdout] | [INFO] [stdout] 657 | let image_content = ToolResultContent::image(&image_data, "image/png"); [INFO] [stdout] | ^^^^^ variant or associated item not found in `qudag_mcp::ToolResultContent` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 657 - let image_content = ToolResultContent::image(&image_data, "image/png"); [INFO] [stdout] 657 + let image_content = ToolResultContent::Image { data: /* value */, mime_type: /* value */ }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> tests/protocol_tests.rs:582:20 [INFO] [stdout] | [INFO] [stdout] 582 | if let RequestId::String(id) = &req.id { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:581:16 [INFO] [stdout] | [INFO] [stdout] 581 | if let MCPMessage::Request(req) = message { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/protocol_tests.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | MCPError::VaultOperationFailed { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 432 | if let MCPMessage::Response(parsed_response) = parsed_message { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:529:12 [INFO] [stdout] | [INFO] [stdout] 529 | if let MCPMessage::Request(parsed_request) = parsed { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/protocol_tests.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | MCPError::MethodNotFound { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/protocol_tests.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | MCPError::CryptoOperationFailed { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> tests/protocol_tests.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | assert!(matches!(string_id, RequestId::String(_))); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/protocol_tests.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | MCPError::DAGOperationFailed { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> tests/protocol_tests.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | assert!(matches!(number_id, RequestId::Number(42))); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/protocol_tests.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | MCPError::ParseError { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestId` [INFO] [stdout] --> tests/protocol_tests.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | assert!(matches!(uuid_id, RequestId::String(_))); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RequestId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/protocol_tests.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | MCPError::InvalidRequest { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:416:12 [INFO] [stdout] | [INFO] [stdout] 416 | if let MCPMessage::Request(parsed_request) = parsed_message { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/protocol_tests.rs:499:43 [INFO] [stdout] | [INFO] [stdout] 499 | assert!(matches!(result.unwrap_err(), MCPError::ParseError { .. })); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/protocol_tests.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | MCPError::MethodNotFound { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/protocol_tests.rs:489:33 [INFO] [stdout] | [INFO] [stdout] 489 | assert!(matches!(error, MCPError::UnsupportedProtocolVersion { .. })); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/protocol_tests.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | MCPError::InvalidParams { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/protocol_tests.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | MCPError::InternalError { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPMessage` [INFO] [stdout] --> tests/protocol_tests.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 446 | if let MCPMessage::Notification(parsed_notification) = parsed_message { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MCPMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/protocol_tests.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | MCPError::ResourceNotFound { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MCPError` [INFO] [stdout] --> tests/protocol_tests.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | MCPError::ToolNotFound { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MCPError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433, E0533, E0599, E0609, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qudag-mcp` (test "protocol_tests") due to 94 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "711b4732f7698f3357b995ff9f0711712d017a73477e7c5bf7e31991c13c063b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "711b4732f7698f3357b995ff9f0711712d017a73477e7c5bf7e31991c13c063b", kill_on_drop: false }` [INFO] [stdout] 711b4732f7698f3357b995ff9f0711712d017a73477e7c5bf7e31991c13c063b