[INFO] fetching crate pmcp-macros 0.3.0... [INFO] testing pmcp-macros-0.3.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate pmcp-macros 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate pmcp-macros 0.3.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pmcp-macros 0.3.0 [INFO] tweaked toml for crates.io crate pmcp-macros 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pmcp-macros 0.3.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pmcp-macros 0.3.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6408778339f60b1a1967b8642f5f55525f5b9153cae039ce21ec8ffcbf0d2ba9 [INFO] running `Command { std: "docker" "start" "-a" "6408778339f60b1a1967b8642f5f55525f5b9153cae039ce21ec8ffcbf0d2ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6408778339f60b1a1967b8642f5f55525f5b9153cae039ce21ec8ffcbf0d2ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6408778339f60b1a1967b8642f5f55525f5b9153cae039ce21ec8ffcbf0d2ba9", kill_on_drop: false }` [INFO] [stdout] 6408778339f60b1a1967b8642f5f55525f5b9153cae039ce21ec8ffcbf0d2ba9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c117494df2b05f96c274db7d7c3bc70b4fc880aef406faf1a51a2294e5a30fd [INFO] running `Command { std: "docker" "start" "-a" "6c117494df2b05f96c274db7d7c3bc70b4fc880aef406faf1a51a2294e5a30fd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling pmcp-macros v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.00s [INFO] running `Command { std: "docker" "inspect" "6c117494df2b05f96c274db7d7c3bc70b4fc880aef406faf1a51a2294e5a30fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c117494df2b05f96c274db7d7c3bc70b4fc880aef406faf1a51a2294e5a30fd", kill_on_drop: false }` [INFO] [stdout] 6c117494df2b05f96c274db7d7c3bc70b4fc880aef406faf1a51a2294e5a30fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4b12bdf3148704828b23a881eb46fad18e12e0f132f6f948008189c4cb4a9ca [INFO] running `Command { std: "docker" "start" "-a" "e4b12bdf3148704828b23a881eb46fad18e12e0f132f6f948008189c4cb4a9ca", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling aws-lc-sys v0.39.0 [INFO] [stderr] Compiling aws-lc-rs v1.16.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling winnow v1.0.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling unicode-general-category v1.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling borrow-or-share v0.2.4 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling toml_parser v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling iri-string v0.7.11 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling toml_writer v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling uuid-simd v0.8.0 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling inotify v0.11.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling notify-types v2.1.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling toml_datetime v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling toml v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling notify v8.2.0 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling glob-match v0.2.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling pmcp-widget-utils v0.1.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proptest v1.10.0 [INFO] [stderr] Compiling fancy-regex v0.17.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling schemars_derive v1.2.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling simple_asn1 v0.6.4 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling pmcp-macros v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling fluent-uri v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling jsonwebtoken v10.3.0 [INFO] [stderr] Compiling schemars v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling garde v0.22.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling trybuild v1.0.116 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling referencing v0.45.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling insta v1.46.3 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling jsonschema v0.45.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling rustls-webpki v0.103.10 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.13.2 [INFO] [stderr] Compiling pmcp v1.20.0 [INFO] [stdout] warning: use of deprecated macro `tool`: Use #[mcp_tool] instead — better DX with State injection, async auto-detection, and mandatory descriptions [INFO] [stdout] --> tests/tool_tests.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[tool(description = "Add two numbers")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tool`: Use #[mcp_tool] instead — better DX with State injection, async auto-detection, and mandatory descriptions [INFO] [stdout] --> tests/tool_tests.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[tool(description = "Async addition")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tool`: Use #[mcp_tool] instead — better DX with State injection, async auto-detection, and mandatory descriptions [INFO] [stdout] --> tests/tool_tests.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[tool(description = "Division with error handling")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tool`: Use #[mcp_tool] instead — better DX with State injection, async auto-detection, and mandatory descriptions [INFO] [stdout] --> tests/tool_tests.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | #[tool(description = "Greet a person")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tool`: Use #[mcp_tool] instead — better DX with State injection, async auto-detection, and mandatory descriptions [INFO] [stdout] --> tests/tool_tests.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | #[tool(name = "math_multiply", description = "Multiply two numbers")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tool`: Use #[mcp_tool] instead — better DX with State injection, async auto-detection, and mandatory descriptions [INFO] [stdout] --> tests/tool_tests.rs:102:7 [INFO] [stdout] | [INFO] [stdout] 102 | #[tool(description = "Process complex data")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tool`: Use #[mcp_tool] instead — better DX with State injection, async auto-detection, and mandatory descriptions [INFO] [stdout] --> tests/tool_tests.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 120 | #[tool(description = "Add arbitrary numbers")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pmcp::State` [INFO] [stdout] --> tests/mcp_prompt_tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use pmcp::State; [INFO] [stdout] | ^^^^^^^^^^^ no `State` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `State` in crate `pmcp` [INFO] [stdout] --> tests/mcp_tool_tests.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | async fn query(args: QueryArgs, db: pmcp::State) -> pmcp::Result { [INFO] [stdout] | ^^^^^ not found in `pmcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `State` in crate `pmcp` [INFO] [stdout] --> tests/mcp_tool_tests.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | #[mcp_tool(description = "Query with state")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `pmcp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_tool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `typed_prompt` in `server` [INFO] [stdout] --> tests/mcp_prompt_tests.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[mcp_prompt(description = "Review code for issues")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `typed_prompt` in `server` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_prompt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `typed_prompt` in `server` [INFO] [stdout] --> tests/mcp_server_tests.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | #[mcp_server] [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `typed_prompt` in `server` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_server` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `typed_prompt` in `server` [INFO] [stdout] --> tests/mcp_prompt_tests.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | #[mcp_prompt(description = "Summarize text")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `typed_prompt` in `server` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_prompt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `McpServer` in crate `pmcp` [INFO] [stdout] --> tests/mcp_server_tests.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[mcp_server] [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `pmcp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_server` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `McpServer` in crate `pmcp` [INFO] [stdout] --> tests/mcp_server_tests.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[mcp_server] [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `pmcp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_server` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `McpServer` in crate `pmcp` [INFO] [stdout] --> tests/mcp_server_tests.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | #[mcp_server] [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `pmcp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_server` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `McpServer` in crate `pmcp` [INFO] [stdout] --> tests/mcp_server_tests.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | #[mcp_server] [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `pmcp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_server` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `McpServer` in crate `pmcp` [INFO] [stdout] --> tests/mcp_server_tests.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | #[mcp_server] [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `pmcp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_server` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `McpServer` in crate `pmcp` [INFO] [stdout] --> tests/mcp_server_tests.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | #[mcp_server] [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `pmcp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_server` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `McpServer` in crate `pmcp` [INFO] [stdout] --> tests/mcp_server_tests.rs:203:1 [INFO] [stdout] | [INFO] [stdout] 203 | #[mcp_server] [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `pmcp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_server` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `typed_prompt` in `server` [INFO] [stdout] --> tests/mcp_prompt_tests.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | #[mcp_prompt(name = "custom_name", description = "Custom named prompt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `typed_prompt` in `server` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_prompt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `typed_prompt` in `server` [INFO] [stdout] --> tests/mcp_prompt_tests.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | #[mcp_prompt(description = "Stateful prompt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `typed_prompt` in `server` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_prompt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pmcp-macros` (test "mcp_server_tests") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find `typed_prompt` in `server` [INFO] [stdout] --> tests/mcp_prompt_tests.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | #[mcp_prompt(description = "With extra")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `typed_prompt` in `server` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_prompt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `State` in crate `pmcp` [INFO] [stdout] --> tests/mcp_prompt_tests.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | #[mcp_prompt(description = "Stateful prompt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `pmcp` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `mcp_prompt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `RequestHandlerExtra` in the current scope [INFO] [stdout] --> tests/mcp_tool_tests.rs:36:44 [INFO] [stdout] | [INFO] [stdout] 36 | let extra = pmcp::RequestHandlerExtra::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `RequestHandlerExtra` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RequestHandlerExtra`, consider using `RequestHandlerExtra::new` which returns `RequestHandlerExtra` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pmcp-1.20.0/src/server/cancellation.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(request_id: String, cancellation_token: CancellationToken) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> tests/tool_tests.rs:119:44 [INFO] [stdout] | [INFO] [stdout] 119 | fn test_tool_with_arbitrary_inputs(a in any::(), b in any::()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> tests/tool_tests.rs:119:63 [INFO] [stdout] | [INFO] [stdout] 119 | fn test_tool_with_arbitrary_inputs(a in any::(), b in any::()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddParams` is never constructed [INFO] [stdout] --> tests/tool_tests.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct AddParams { [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 `AddResult` is never constructed [INFO] [stdout] --> tests/tool_tests.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct AddResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> tests/tool_tests.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn add(params: AddParams) -> AddResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_async` is never used [INFO] [stdout] --> tests/tool_tests.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | async fn add_async(params: AddParams) -> AddResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `divide` is never used [INFO] [stdout] --> tests/tool_tests.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn divide(a: f64, b: f64) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GreetParams` is never constructed [INFO] [stdout] --> tests/tool_tests.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | struct GreetParams { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `greet` is never used [INFO] [stdout] --> tests/tool_tests.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn greet(params: GreetParams) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul` is never used [INFO] [stdout] --> tests/tool_tests.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn mul(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComplexInput` is never constructed [INFO] [stdout] --> tests/tool_tests.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | struct ComplexInput { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NestedStruct` is never constructed [INFO] [stdout] --> tests/tool_tests.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | struct NestedStruct { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComplexOutput` is never constructed [INFO] [stdout] --> tests/tool_tests.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | struct ComplexOutput { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_complex` is never used [INFO] [stdout] --> tests/tool_tests.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn process_complex(input: ComplexInput) -> ComplexOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_prop` is never used [INFO] [stdout] --> tests/tool_tests.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | fn add_prop(x: i32, y: i32) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `RequestHandlerExtra` in the current scope [INFO] [stdout] --> tests/mcp_tool_tests.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | let extra = pmcp::RequestHandlerExtra::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `RequestHandlerExtra` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RequestHandlerExtra`, consider using `RequestHandlerExtra::new` which returns `RequestHandlerExtra` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pmcp-1.20.0/src/server/cancellation.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(request_id: String, cancellation_token: CancellationToken) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `RequestHandlerExtra` in the current scope [INFO] [stdout] --> tests/mcp_tool_tests.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | let extra = pmcp::RequestHandlerExtra::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `RequestHandlerExtra` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RequestHandlerExtra`, consider using `RequestHandlerExtra::new` which returns `RequestHandlerExtra` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pmcp-1.20.0/src/server/cancellation.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(request_id: String, cancellation_token: CancellationToken) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `user` found for struct `pmcp::PromptMessage` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | vec![PromptMessage::user(Content::text(format!( [INFO] [stdout] | ^^^^ function or associated item not found in `pmcp::PromptMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `RequestHandlerExtra` in the current scope [INFO] [stdout] --> tests/mcp_tool_tests.rs:123:44 [INFO] [stdout] | [INFO] [stdout] 123 | let extra = pmcp::RequestHandlerExtra::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `RequestHandlerExtra` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RequestHandlerExtra`, consider using `RequestHandlerExtra::new` which returns `RequestHandlerExtra` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pmcp-1.20.0/src/server/cancellation.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(request_id: String, cancellation_token: CancellationToken) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `RequestHandlerExtra` in the current scope [INFO] [stdout] --> tests/mcp_tool_tests.rs:177:44 [INFO] [stdout] | [INFO] [stdout] 177 | let extra = pmcp::RequestHandlerExtra::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `RequestHandlerExtra` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RequestHandlerExtra`, consider using `RequestHandlerExtra::new` which returns `RequestHandlerExtra` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pmcp-1.20.0/src/server/cancellation.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(request_id: String, cancellation_token: CancellationToken) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `text` found for enum `Content` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:29:43 [INFO] [stdout] | [INFO] [stdout] 29 | vec![PromptMessage::user(Content::text(format!( [INFO] [stdout] | ^^^^ variant or associated item not found in `Content` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 29 - vec![PromptMessage::user(Content::text(format!( [INFO] [stdout] 30 - "Review this {} code:\n{}", [INFO] [stdout] 31 - args.language, args.code [INFO] [stdout] 32 - )))], [INFO] [stdout] 29 + vec![PromptMessage::user(Content::Text { text: /* value */ })], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `system` found for struct `pmcp::PromptMessage` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | vec![PromptMessage::system(Content::text("System is healthy"))], [INFO] [stdout] | ^^^^^^ function or associated item not found in `pmcp::PromptMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `text` found for enum `Content` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | vec![PromptMessage::system(Content::text("System is healthy"))], [INFO] [stdout] | ^^^^ variant or associated item not found in `Content` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 84 - vec![PromptMessage::system(Content::text("System is healthy"))], [INFO] [stdout] 84 + vec![PromptMessage::system(Content::Text { text: /* value */ })], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `user` found for struct `pmcp::PromptMessage` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | vec![PromptMessage::user(Content::text(format!( [INFO] [stdout] | ^^^^ function or associated item not found in `pmcp::PromptMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `text` found for enum `Content` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 122 | vec![PromptMessage::user(Content::text(format!( [INFO] [stdout] | ^^^^ variant or associated item not found in `Content` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 122 - vec![PromptMessage::user(Content::text(format!( [INFO] [stdout] 123 - "Summarize: {}", [INFO] [stdout] 124 - args.text [INFO] [stdout] 125 - )))], [INFO] [stdout] 122 + vec![PromptMessage::user(Content::Text { text: /* value */ })], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `user` found for struct `pmcp::PromptMessage` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | vec![PromptMessage::user(Content::text(format!( [INFO] [stdout] | ^^^^ function or associated item not found in `pmcp::PromptMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `text` found for enum `Content` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | vec![PromptMessage::user(Content::text(format!( [INFO] [stdout] | ^^^^ variant or associated item not found in `Content` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 151 - vec![PromptMessage::user(Content::text(format!( [INFO] [stdout] 152 - "{}", [INFO] [stdout] 153 - args.language [INFO] [stdout] 154 - )))], [INFO] [stdout] 151 + vec![PromptMessage::user(Content::Text { text: /* value */ })], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `user` found for struct `pmcp::PromptMessage` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:175:29 [INFO] [stdout] | [INFO] [stdout] 175 | vec![PromptMessage::user(Content::text(format!( [INFO] [stdout] | ^^^^ function or associated item not found in `pmcp::PromptMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `text` found for enum `Content` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:175:43 [INFO] [stdout] | [INFO] [stdout] 175 | vec![PromptMessage::user(Content::text(format!( [INFO] [stdout] | ^^^^ variant or associated item not found in `Content` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 175 - vec![PromptMessage::user(Content::text(format!( [INFO] [stdout] 176 - "{}: {}", [INFO] [stdout] 177 - config.prefix, args.language [INFO] [stdout] 178 - )))], [INFO] [stdout] 175 + vec![PromptMessage::user(Content::Text { text: /* value */ })], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `user` found for struct `pmcp::PromptMessage` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | vec![PromptMessage::user(Content::text(args.language))], [INFO] [stdout] | ^^^^ function or associated item not found in `pmcp::PromptMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `text` found for enum `Content` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:220:43 [INFO] [stdout] | [INFO] [stdout] 220 | vec![PromptMessage::user(Content::text(args.language))], [INFO] [stdout] | ^^^^ variant or associated item not found in `Content` [INFO] [stdout] | [INFO] [stdout] help: there is a variant with a similar name [INFO] [stdout] | [INFO] [stdout] 220 - vec![PromptMessage::user(Content::text(args.language))], [INFO] [stdout] 220 + vec![PromptMessage::user(Content::Text { text: /* value */ })], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `PromptInfo` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[mcp_prompt(description = "Review code for issues")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `PromptInfo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the attribute macro `mcp_prompt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Paint` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 6 + use yansi::Paint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pmcp-macros` (test "mcp_tool_tests") due to 7 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `RequestHandlerExtra` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let extra = pmcp::RequestHandlerExtra::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `RequestHandlerExtra` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RequestHandlerExtra`, consider using `RequestHandlerExtra::new` which returns `RequestHandlerExtra` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pmcp-1.20.0/src/server/cancellation.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(request_id: String, cancellation_token: CancellationToken) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `PromptInfo` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | #[mcp_prompt(description = "Get system status")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `PromptInfo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the attribute macro `mcp_prompt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Paint` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 6 + use yansi::Paint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `RequestHandlerExtra` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:92:44 [INFO] [stdout] | [INFO] [stdout] 92 | let extra = pmcp::RequestHandlerExtra::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `RequestHandlerExtra` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RequestHandlerExtra`, consider using `RequestHandlerExtra::new` which returns `RequestHandlerExtra` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pmcp-1.20.0/src/server/cancellation.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(request_id: String, cancellation_token: CancellationToken) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `PromptInfo` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | #[mcp_prompt(description = "Summarize text")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `PromptInfo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the attribute macro `mcp_prompt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Paint` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 6 + use yansi::Paint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `PromptInfo` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | #[mcp_prompt(name = "custom_name", description = "Custom named prompt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `PromptInfo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the attribute macro `mcp_prompt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Paint` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 6 + use yansi::Paint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `PromptInfo` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | #[mcp_prompt(description = "Stateful prompt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `PromptInfo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the attribute macro `mcp_prompt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Paint` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 6 + use yansi::Paint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `RequestHandlerExtra` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:191:44 [INFO] [stdout] | [INFO] [stdout] 191 | let extra = pmcp::RequestHandlerExtra::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `RequestHandlerExtra` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RequestHandlerExtra`, consider using `RequestHandlerExtra::new` which returns `RequestHandlerExtra` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pmcp-1.20.0/src/server/cancellation.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(request_id: String, cancellation_token: CancellationToken) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `PromptInfo` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | #[mcp_prompt(description = "Sync prompt")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `PromptInfo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the attribute macro `mcp_prompt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Paint` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 6 + use yansi::Paint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `RequestHandlerExtra` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:206:44 [INFO] [stdout] | [INFO] [stdout] 206 | let extra = pmcp::RequestHandlerExtra::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `RequestHandlerExtra` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RequestHandlerExtra`, consider using `RequestHandlerExtra::new` which returns `RequestHandlerExtra` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pmcp-1.20.0/src/server/cancellation.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(request_id: String, cancellation_token: CancellationToken) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `PromptInfo` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | #[mcp_prompt(description = "With extra")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `PromptInfo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the attribute macro `mcp_prompt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Paint` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 6 + use yansi::Paint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `RequestHandlerExtra` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:231:44 [INFO] [stdout] | [INFO] [stdout] 231 | let extra = pmcp::RequestHandlerExtra::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `RequestHandlerExtra` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RequestHandlerExtra`, consider using `RequestHandlerExtra::new` which returns `RequestHandlerExtra` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pmcp-1.20.0/src/server/cancellation.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(request_id: String, cancellation_token: CancellationToken) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `RequestHandlerExtra` in the current scope [INFO] [stdout] --> tests/mcp_prompt_tests.rs:261:32 [INFO] [stdout] | [INFO] [stdout] 261 | pmcp::RequestHandlerExtra::default() [INFO] [stdout] | ^^^^^^^ function or associated item not found in `RequestHandlerExtra` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `RequestHandlerExtra`, consider using `RequestHandlerExtra::new` which returns `RequestHandlerExtra` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pmcp-1.20.0/src/server/cancellation.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(request_id: String, cancellation_token: CancellationToken) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pmcp-macros` (test "mcp_prompt_tests") due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "e4b12bdf3148704828b23a881eb46fad18e12e0f132f6f948008189c4cb4a9ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4b12bdf3148704828b23a881eb46fad18e12e0f132f6f948008189c4cb4a9ca", kill_on_drop: false }` [INFO] [stdout] e4b12bdf3148704828b23a881eb46fad18e12e0f132f6f948008189c4cb4a9ca