[INFO] fetching crate qudag-mcp 0.5.0... [INFO] testing qudag-mcp-0.5.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate qudag-mcp 0.5.0 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate qudag-mcp 0.5.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1283400f070871f70d9d9bd68dab229a3b67799dbf23f915f0687cddbe4c8ea7 [INFO] running `Command { std: "docker" "start" "-a" "1283400f070871f70d9d9bd68dab229a3b67799dbf23f915f0687cddbe4c8ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1283400f070871f70d9d9bd68dab229a3b67799dbf23f915f0687cddbe4c8ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1283400f070871f70d9d9bd68dab229a3b67799dbf23f915f0687cddbe4c8ea7", kill_on_drop: false }` [INFO] [stdout] 1283400f070871f70d9d9bd68dab229a3b67799dbf23f915f0687cddbe4c8ea7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43ac2db1477edaecff30d56cb345081daed6ede2ebb7d4c3f61240c34c9c8940 [INFO] running `Command { std: "docker" "start" "-a" "43ac2db1477edaecff30d56cb345081daed6ede2ebb7d4c3f61240c34c9c8940", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling pqcrypto-traits v0.3.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quinn-udp v0.5.13 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.29.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling pqcrypto-internals v0.2.10 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling pqcrypto-hqc v0.2.1 [INFO] [stderr] Compiling pqcrypto-dilithium v0.5.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling pqcrypto-kyber v0.5.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling quinn v0.11.8 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling lru-slab v0.1.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling fastbloom v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling lru v0.11.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling resolv-conf v0.7.4 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling libp2p-swarm-derive v0.34.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling libp2p-identity v0.2.11 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling asn1-rs v0.6.2 [INFO] [stderr] Compiling asn1-rs v0.5.2 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.6.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures-bounded v0.2.4 [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling quick-protobuf-codec v0.2.0 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling der-parser v9.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling rcgen v0.11.3 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling cbor4ii v0.3.3 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling libp2p-core v0.41.3 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling x509-parser v0.16.0 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling der-parser v8.2.0 [INFO] [stderr] Compiling futures-ticker v0.0.3 [INFO] [stderr] Compiling metrics-macros v0.7.1 [INFO] [stderr] Compiling metrics v0.21.1 [INFO] [stderr] Compiling x509-parser v0.15.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling futures-rustls v0.24.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling libp2p-swarm v0.44.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling yamux v0.13.5 [INFO] [stderr] Compiling soketto v0.8.1 [INFO] [stderr] Compiling libp2p-tcp v0.41.0 [INFO] [stderr] Compiling libp2p-noise v0.44.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling libp2p-tls v0.3.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling libp2p-dcutr v0.11.0 [INFO] [stderr] Compiling libp2p-kad v0.45.3 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling libp2p-gossipsub v0.46.1 [INFO] [stderr] Compiling libp2p-relay v0.17.2 [INFO] [stderr] Compiling libp2p-identify v0.44.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling libp2p-request-response v0.26.3 [INFO] [stderr] Compiling libp2p-ping v0.44.1 [INFO] [stderr] Compiling libp2p-autonat v0.12.0 [INFO] [stderr] Compiling libp2p-mdns v0.45.1 [INFO] [stderr] Compiling libp2p-dns v0.41.1 [INFO] [stderr] Compiling libp2p-yamux v0.45.2 [INFO] [stderr] Compiling libp2p-allow-block-list v0.3.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling libp2p-metrics v0.14.1 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling gethostname v0.4.3 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling qudag-crypto v0.5.0 [INFO] [stderr] Compiling qudag-dag v0.5.0 [INFO] [stderr] Compiling qudag-vault-core v0.5.0 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling futures-rustls v0.26.0 [INFO] [stderr] Compiling libp2p-tls v0.4.1 [INFO] [stderr] Compiling libp2p-websocket v0.43.2 [INFO] [stderr] Compiling rustls-platform-verifier v0.5.3 [INFO] [stderr] Compiling quinn-proto v0.11.12 [INFO] [stderr] Compiling libp2p-quic v0.10.3 [INFO] [stderr] Compiling libp2p v0.53.2 [INFO] [stderr] Compiling qudag-network v0.5.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 29s [INFO] running `Command { std: "docker" "inspect" "43ac2db1477edaecff30d56cb345081daed6ede2ebb7d4c3f61240c34c9c8940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43ac2db1477edaecff30d56cb345081daed6ede2ebb7d4c3f61240c34c9c8940", kill_on_drop: false }` [INFO] [stdout] 43ac2db1477edaecff30d56cb345081daed6ede2ebb7d4c3f61240c34c9c8940 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df863560efdfe91b0bb20bc3360b97e51f5ae8d22c7b1c1881ca4e9598284dba [INFO] running `Command { std: "docker" "start" "-a" "df863560efdfe91b0bb20bc3360b97e51f5ae8d22c7b1c1881ca4e9598284dba", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling libp2p-swarm v0.44.2 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling quinn v0.11.8 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling qudag-dag v0.5.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling qudag-vault-core v0.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling libp2p-identify v0.44.2 [INFO] [stderr] Compiling libp2p-request-response v0.26.3 [INFO] [stderr] Compiling libp2p-gossipsub v0.46.1 [INFO] [stderr] Compiling libp2p-ping v0.44.1 [INFO] [stderr] Compiling libp2p-kad v0.45.3 [INFO] [stderr] Compiling libp2p-dcutr v0.11.0 [INFO] [stderr] Compiling libp2p-relay v0.17.2 [INFO] [stderr] Compiling libp2p-allow-block-list v0.3.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.3.1 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling libp2p-autonat v0.12.0 [INFO] [stderr] Compiling libp2p-quic v0.10.3 [INFO] [stderr] Compiling libp2p-tcp v0.41.0 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling libp2p-mdns v0.45.1 [INFO] [stderr] Compiling libp2p-dns v0.41.1 [INFO] [stderr] Compiling libp2p-metrics v0.14.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling libp2p v0.53.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling qudag-network v0.5.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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] 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/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 `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] 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] [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[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[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[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[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[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)]` (part of `#[warn(unused)]`) on by default [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[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[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[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[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[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[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[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 `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] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> 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[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/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[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[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[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[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] 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] 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] [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[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] [stderr] error: could not compile `qudag-mcp` (example "basic_server") due to 5 previous errors [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 `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] 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)]` (part of `#[warn(unused)]`) on by default [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] 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] 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] 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: `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] 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] [stderr] error: could not compile `qudag-mcp` (test "auth_tests") due to 38 previous errors; 1 warning emitted [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)]` (part of `#[warn(unused)]`) 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] [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)]` (part of `#[warn(unused)]`) 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/b83b707f97d809763b7861afa7638871f3339a33/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)]` (part of `#[warn(unused)]`) on by default [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] running `Command { std: "docker" "inspect" "df863560efdfe91b0bb20bc3360b97e51f5ae8d22c7b1c1881ca4e9598284dba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df863560efdfe91b0bb20bc3360b97e51f5ae8d22c7b1c1881ca4e9598284dba", kill_on_drop: false }` [INFO] [stdout] df863560efdfe91b0bb20bc3360b97e51f5ae8d22c7b1c1881ca4e9598284dba