[INFO] fetching crate brk_rmcp 0.6.0... [INFO] checking brk_rmcp-0.6.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate brk_rmcp 0.6.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate brk_rmcp 0.6.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate brk_rmcp 0.6.0 [INFO] tweaked toml for crates.io crate brk_rmcp 0.6.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate brk_rmcp 0.6.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate brk_rmcp 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schemars_derive v1.0.4 [INFO] [stderr] Downloaded sse-stream v0.2.1 [INFO] [stderr] Downloaded brk_rmcp-macros v0.6.0 [INFO] [stderr] Downloaded darling_macro v0.21.0 [INFO] [stderr] Downloaded darling v0.21.0 [INFO] [stderr] Downloaded darling_core v0.21.0 [INFO] [stderr] Downloaded oauth2 v5.0.0 [INFO] [stderr] Downloaded process-wrap v8.2.1 [INFO] [stderr] Downloaded reqwest v0.12.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9157ddc3c88e9c1862bdd87f0201cae59446fc108e8f7244f711c5f1f5b479c2 [INFO] running `Command { std: "docker" "start" "-a" "9157ddc3c88e9c1862bdd87f0201cae59446fc108e8f7244f711c5f1f5b479c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9157ddc3c88e9c1862bdd87f0201cae59446fc108e8f7244f711c5f1f5b479c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9157ddc3c88e9c1862bdd87f0201cae59446fc108e8f7244f711c5f1f5b479c2", kill_on_drop: false }` [INFO] [stdout] 9157ddc3c88e9c1862bdd87f0201cae59446fc108e8f7244f711c5f1f5b479c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e0cffc8af11486ba26a039561134c6352250cf40d55af1d7d5639d7ad3a47f9 [INFO] running `Command { std: "docker" "start" "-a" "0e0cffc8af11486ba26a039561134c6352250cf40d55af1d7d5639d7ad3a47f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.21.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling schemars_derive v1.0.4 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling darling_macro v0.21.0 [INFO] [stderr] Compiling darling v0.21.0 [INFO] [stderr] Compiling brk_rmcp-macros v0.6.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking schemars v1.0.4 [INFO] [stderr] Checking brk_rmcp v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/service.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 165 | ) -> BoxFuture>; [INFO] [stdout] | ------------------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 165 | ) -> BoxFuture<'_, Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/service.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 170 | ) -> BoxFuture>; [INFO] [stdout] | ------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | ) -> BoxFuture<'_, Result<(), McpError>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/service.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 179 | ) -> BoxFuture> { [INFO] [stdout] | ------------------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 179 | ) -> BoxFuture<'_, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/service.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 186 | ) -> BoxFuture> { [INFO] [stdout] | ------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 186 | ) -> BoxFuture<'_, Result<(), McpError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/service.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 165 | ) -> BoxFuture>; [INFO] [stdout] | ------------------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 165 | ) -> BoxFuture<'_, Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/service.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 170 | ) -> BoxFuture>; [INFO] [stdout] | ------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | ) -> BoxFuture<'_, Result<(), McpError>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/service.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 179 | ) -> BoxFuture> { [INFO] [stdout] | ------------------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 179 | ) -> BoxFuture<'_, Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/service.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 186 | ) -> BoxFuture> { [INFO] [stdout] | ------------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 186 | ) -> BoxFuture<'_, Result<(), McpError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] --> tests/test_tool_builder_methods.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rmcp::model::{JsonObject, Tool}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` 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 `rmcp` [INFO] [stdout] --> tests/test_json_schema_detection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rmcp::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rmcp` [INFO] [stdout] --> tests/test_json_schema_detection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rmcp::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` 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 `rmcp` [INFO] [stdout] --> tests/test_structured_output.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rmcp::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rmcp` [INFO] [stdout] --> tests/test_structured_output.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rmcp::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` 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 `rmcp` [INFO] [stdout] --> tests/test_complex_schema.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rmcp::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rmcp` [INFO] [stdout] --> tests/test_complex_schema.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rmcp::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` 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 `rmcp` [INFO] [stdout] --> tests/test_tool_builder_methods.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | .annotate(rmcp::model::ToolAnnotations::new().read_only(true)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use brk_rmcp::model::ToolAnnotations; [INFO] [stdout] | [INFO] [stdout] help: if you import `ToolAnnotations`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 45 - .annotate(rmcp::model::ToolAnnotations::new().read_only(true)); [INFO] [stdout] 45 + .annotate(ToolAnnotations::new().read_only(true)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] --> tests/test_structured_output.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | rmcp::handler::server::tool::IntoCallToolResult::into_call_tool_result(structured); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use brk_rmcp::handler::server::tool::IntoCallToolResult; [INFO] [stdout] | [INFO] [stdout] help: if you import `IntoCallToolResult`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 213 - rmcp::handler::server::tool::IntoCallToolResult::into_call_tool_result(structured); [INFO] [stdout] 213 + IntoCallToolResult::into_call_tool_result(structured); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] --> tests/test_structured_output.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | let params = rmcp::handler::server::tool::Parameters(CalculationRequest { a: 5, b: 3 }); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use brk_rmcp::handler::server::tool; [INFO] [stdout] | [INFO] [stdout] help: if you import `tool`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 269 - let params = rmcp::handler::server::tool::Parameters(CalculationRequest { a: 5, b: 3 }); [INFO] [stdout] 269 + let params = tool::Parameters(CalculationRequest { a: 5, b: 3 }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] --> tests/test_structured_output.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | rmcp::handler::server::tool::IntoCallToolResult::into_call_tool_result(result); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use brk_rmcp::handler::server::tool::IntoCallToolResult; [INFO] [stdout] | [INFO] [stdout] help: if you import `IntoCallToolResult`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 274 - rmcp::handler::server::tool::IntoCallToolResult::into_call_tool_result(result); [INFO] [stdout] 274 + IntoCallToolResult::into_call_tool_result(result); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CallToolResult` in this scope [INFO] [stdout] --> tests/test_complex_schema.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::CallToolResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Content` [INFO] [stdout] --> tests/test_complex_schema.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | let content = Content::json(chat_request.0)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Content` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::Content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CallToolResult` [INFO] [stdout] --> tests/test_complex_schema.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(CallToolResult::success(vec![content])) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CallToolResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::CallToolResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] --> tests/test_json_schema_detection.rs:51:68 [INFO] [stdout] | [INFO] [stdout] 51 | pub async fn result_with_json(&self) -> Result, rmcp::ErrorData> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `brk_rmcp` (test "test_json_schema_detection") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] --> tests/test_structured_output.rs:212:40 [INFO] [stdout] | [INFO] [stdout] 212 | let result: Result = [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` 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 `rmcp` [INFO] [stdout] --> tests/test_structured_output.rs:273:45 [INFO] [stdout] | [INFO] [stdout] 273 | let call_result: Result = [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] --> tests/test_deserialization.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rmcp::model::{JsonRpcResponse, ServerJsonRpcMessage, ServerResult}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `brk_rmcp` (test "test_tool_builder_methods") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `brk_rmcp` (test "test_structured_output") due to 7 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] --> tests/test_tool_routers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rmcp::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rmcp` [INFO] [stdout] --> tests/test_tool_routers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rmcp::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` 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 `rmcp` [INFO] [stdout] --> tests/test_tool_routers.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[rmcp::tool_router(router = test_router_1)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] --> tests/test_tool_routers.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[rmcp::tool] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] --> tests/test_tool_routers.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[rmcp::tool_router(router = test_router_2)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] --> tests/test_tool_routers.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[rmcp::tool] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] --> tests/test_tool_routers.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[rmcp::tool] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] --> tests/test_tool_routers.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[rmcp::tool] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `brk_rmcp` (test "test_deserialization") due to 1 previous error [INFO] [stdout] error[E0425]: cannot find function `async_function_tool_attr` in this scope [INFO] [stdout] --> tests/test_tool_routers.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | .with_route((async_function_tool_attr(), async_function)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `async_function2_tool_attr` in this scope [INFO] [stdout] --> tests/test_tool_routers.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | .with_route((async_function2_tool_attr(), async_function2)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `brk_rmcp` (test "test_tool_routers") due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] --> tests/common/handlers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rmcp::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` 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 `rmcp` [INFO] [stdout] --> tests/test_sampling.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rmcp::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` 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 `rmcp` [INFO] [stdout] --> tests/common/calculator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rmcp::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rmcp` [INFO] [stdout] --> tests/common/calculator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rmcp::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rmcp` [INFO] [stdout] --> tests/common/handlers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rmcp::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rmcp` [INFO] [stdout] --> tests/test_sampling.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rmcp::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rmcp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rmcp`, use `cargo add rmcp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `chat_tool_attr` found for struct `Demo` in the current scope [INFO] [stdout] --> tests/test_complex_schema.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Demo; [INFO] [stdout] | --------------- function or associated item `chat_tool_attr` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 47 | let attr = Demo::chat_tool_attr(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Demo` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Demo`, consider using `Demo::new` which returns `Demo` [INFO] [stdout] --> tests/test_complex_schema.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoggingMessageNotificationParam` in this scope [INFO] [stdout] --> tests/common/handlers.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | pub received_messages: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::LoggingMessageNotificationParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoggingMessageNotificationParam` in this scope [INFO] [stdout] --> tests/common/handlers.rs:38:42 [INFO] [stdout] | [INFO] [stdout] 38 | received_messages: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::LoggingMessageNotificationParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CreateMessageRequestParam` in this scope [INFO] [stdout] --> tests/common/handlers.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | params: CreateMessageRequestParam, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::CreateMessageRequestParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CreateMessageResult` in this scope [INFO] [stdout] --> tests/common/handlers.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::CreateMessageResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role` [INFO] [stdout] --> tests/common/handlers.rs:56:58 [INFO] [stdout] | [INFO] [stdout] 56 | if !params.messages.iter().any(|msg| msg.role == Role::User) { [INFO] [stdout] | ^^^^ use of undeclared type `Role` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::Role; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextInclusion` [INFO] [stdout] --> tests/common/handlers.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | Some(ContextInclusion::ThisServer) if self.honor_this_server => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ContextInclusion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::ContextInclusion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextInclusion` [INFO] [stdout] --> tests/common/handlers.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | Some(ContextInclusion::AllServers) if self.honor_all_servers => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ContextInclusion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::ContextInclusion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateMessageResult` in this scope [INFO] [stdout] --> tests/common/handlers.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(CreateMessageResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::ClientResult::CreateMessageResult; [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::CreateMessageResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SamplingMessage` in this scope [INFO] [stdout] --> tests/common/handlers.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | message: SamplingMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::SamplingMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role` [INFO] [stdout] --> tests/common/handlers.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | role: Role::Assistant, [INFO] [stdout] | ^^^^ use of undeclared type `Role` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::Role; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Content` [INFO] [stdout] --> tests/common/handlers.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | content: Content::text(response.to_string()), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Content` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::Content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateMessageResult` [INFO] [stdout] --> tests/common/handlers.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | stop_reason: Some(CreateMessageResult::STOP_REASON_END_TURN.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CreateMessageResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::CreateMessageResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LoggingMessageNotificationParam` in this scope [INFO] [stdout] --> tests/common/handlers.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | params: LoggingMessageNotificationParam, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::LoggingMessageNotificationParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ServerInfo` in this scope [INFO] [stdout] --> tests/common/handlers.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | fn get_info(&self) -> ServerInfo { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::ServerInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServerInfo` in this scope [INFO] [stdout] --> tests/common/handlers.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | ServerInfo { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::ServerInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `brk_rmcp` (test "test_complex_schema") due to 6 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerCapabilities` [INFO] [stdout] --> tests/common/handlers.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | capabilities: ServerCapabilities::builder().enable_logging().build(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ServerCapabilities` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::ServerCapabilities; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SetLevelRequestParam` in this scope [INFO] [stdout] --> tests/common/handlers.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | request: SetLevelRequestParam, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::SetLevelRequestParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoggingLevel` [INFO] [stdout] --> tests/common/handlers.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | LoggingLevel::Error => ( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LoggingLevel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::LoggingLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoggingLevel` [INFO] [stdout] --> tests/common/handlers.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | LoggingLevel::Debug => ( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LoggingLevel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::LoggingLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LoggingLevel` [INFO] [stdout] --> tests/common/handlers.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | LoggingLevel::Info => ( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LoggingLevel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::LoggingLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoggingMessageNotificationParam` in this scope [INFO] [stdout] --> tests/common/handlers.rs:171:41 [INFO] [stdout] | [INFO] [stdout] 171 | .notify_logging_message(LoggingMessageNotificationParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use brk_rmcp::model::LoggingMessageNotificationParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SamplingMessage` in this scope [INFO] [stdout] --> tests/test_sampling.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let message = SamplingMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::SamplingMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role` [INFO] [stdout] --> tests/test_sampling.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | role: Role::User, [INFO] [stdout] | ^^^^ use of undeclared type `Role` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Role; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Content` [INFO] [stdout] --> tests/test_sampling.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | content: Content::text("What is the capital of France?"), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Content` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SamplingMessage` in this scope [INFO] [stdout] --> tests/test_sampling.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | let deserialized: SamplingMessage = serde_json::from_str(&json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::SamplingMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role` [INFO] [stdout] --> tests/test_sampling.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(message.role, Role::User); [INFO] [stdout] | ^^^^ use of undeclared type `Role` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Role; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateMessageRequestParam` in this scope [INFO] [stdout] --> tests/test_sampling.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let params = CreateMessageRequestParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::CreateMessageRequestParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SamplingMessage` in this scope [INFO] [stdout] --> tests/test_sampling.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | messages: vec![SamplingMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::SamplingMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role` [INFO] [stdout] --> tests/test_sampling.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | role: Role::User, [INFO] [stdout] | ^^^^ use of undeclared type `Role` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Role; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Content` [INFO] [stdout] --> tests/test_sampling.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | content: Content::text("Hello, world!"), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Content` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ModelPreferences` in this scope [INFO] [stdout] --> tests/test_sampling.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | model_preferences: Some(ModelPreferences { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ModelPreferences; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ModelHint` in this scope [INFO] [stdout] --> tests/test_sampling.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | hints: Some(vec![ModelHint { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ModelHint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextInclusion` [INFO] [stdout] --> tests/test_sampling.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | include_context: Some(ContextInclusion::None), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ContextInclusion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ContextInclusion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CreateMessageRequestParam` in this scope [INFO] [stdout] --> tests/test_sampling.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let deserialized: CreateMessageRequestParam = serde_json::from_str(&json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::CreateMessageRequestParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateMessageResult` in this scope [INFO] [stdout] --> tests/test_sampling.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | let result = CreateMessageResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ClientResult::CreateMessageResult; [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::CreateMessageResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SamplingMessage` in this scope [INFO] [stdout] --> tests/test_sampling.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | message: SamplingMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::SamplingMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role` [INFO] [stdout] --> tests/test_sampling.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | role: Role::Assistant, [INFO] [stdout] | ^^^^ use of undeclared type `Role` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Role; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Content` [INFO] [stdout] --> tests/test_sampling.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | content: Content::text("The capital of France is Paris."), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Content` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateMessageResult` [INFO] [stdout] --> tests/test_sampling.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | stop_reason: Some(CreateMessageResult::STOP_REASON_END_TURN.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CreateMessageResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::CreateMessageResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CreateMessageResult` in this scope [INFO] [stdout] --> tests/test_sampling.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | let deserialized: CreateMessageResult = serde_json::from_str(&json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::CreateMessageResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role` [INFO] [stdout] --> tests/test_sampling.rs:86:37 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(result.message.role, Role::Assistant); [INFO] [stdout] | ^^^^ use of undeclared type `Role` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Role; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateMessageResult` [INFO] [stdout] --> tests/test_sampling.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | Some(CreateMessageResult::STOP_REASON_END_TURN.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CreateMessageResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::CreateMessageResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextInclusion` [INFO] [stdout] --> tests/test_sampling.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | (ContextInclusion::None, "none"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ContextInclusion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ContextInclusion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextInclusion` [INFO] [stdout] --> tests/test_sampling.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | (ContextInclusion::ThisServer, "thisServer"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ContextInclusion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ContextInclusion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextInclusion` [INFO] [stdout] --> tests/test_sampling.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | (ContextInclusion::AllServers, "allServers"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ContextInclusion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ContextInclusion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContextInclusion` in this scope [INFO] [stdout] --> tests/test_sampling.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | let deserialized: ContextInclusion = serde_json::from_str(&json)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ContextInclusion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerRequest` [INFO] [stdout] --> tests/test_sampling.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | let request = ServerRequest::CreateMessageRequest(CreateMessageRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ServerRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ServerRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateMessageRequest` in this scope [INFO] [stdout] --> tests/test_sampling.rs:135:55 [INFO] [stdout] | [INFO] [stdout] 135 | let request = ServerRequest::CreateMessageRequest(CreateMessageRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::CreateMessageRequest; [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ServerRequest::CreateMessageRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateMessageRequestParam` in this scope [INFO] [stdout] --> tests/test_sampling.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | params: CreateMessageRequestParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::CreateMessageRequestParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SamplingMessage` in this scope [INFO] [stdout] --> tests/test_sampling.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | messages: vec![SamplingMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::SamplingMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role` [INFO] [stdout] --> tests/test_sampling.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | role: Role::User, [INFO] [stdout] | ^^^^ use of undeclared type `Role` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Role; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Content` [INFO] [stdout] --> tests/test_sampling.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | content: Content::text("What is the capital of France?"), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Content` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextInclusion` [INFO] [stdout] --> tests/test_sampling.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | include_context: Some(ContextInclusion::ThisServer), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ContextInclusion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ContextInclusion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ModelPreferences` in this scope [INFO] [stdout] --> tests/test_sampling.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 143 | model_preferences: Some(ModelPreferences { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ModelPreferences; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ModelHint` in this scope [INFO] [stdout] --> tests/test_sampling.rs:144:34 [INFO] [stdout] | [INFO] [stdout] 144 | hints: Some(vec![ModelHint { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ModelHint; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NumberOrString` [INFO] [stdout] --> tests/test_sampling.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | id: NumberOrString::Number(1), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `NumberOrString` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::NumberOrString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientResult` [INFO] [stdout] --> tests/test_sampling.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | if let ClientResult::CreateMessageResult(result) = result { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ClientResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ClientResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role` [INFO] [stdout] --> tests/test_sampling.rs:175:41 [INFO] [stdout] | [INFO] [stdout] 175 | assert_eq!(result.message.role, Role::Assistant); [INFO] [stdout] | ^^^^ use of undeclared type `Role` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Role; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateMessageResult` [INFO] [stdout] --> tests/test_sampling.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | Some(CreateMessageResult::STOP_REASON_END_TURN.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CreateMessageResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::CreateMessageResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerRequest` [INFO] [stdout] --> tests/test_sampling.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 215 | let request = ServerRequest::CreateMessageRequest(CreateMessageRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ServerRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ServerRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateMessageRequest` in this scope [INFO] [stdout] --> tests/test_sampling.rs:215:55 [INFO] [stdout] | [INFO] [stdout] 215 | let request = ServerRequest::CreateMessageRequest(CreateMessageRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::CreateMessageRequest; [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ServerRequest::CreateMessageRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateMessageRequestParam` in this scope [INFO] [stdout] --> tests/test_sampling.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | params: CreateMessageRequestParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::CreateMessageRequestParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SamplingMessage` in this scope [INFO] [stdout] --> tests/test_sampling.rs:218:28 [INFO] [stdout] | [INFO] [stdout] 218 | messages: vec![SamplingMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::SamplingMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role` [INFO] [stdout] --> tests/test_sampling.rs:219:23 [INFO] [stdout] | [INFO] [stdout] 219 | role: Role::User, [INFO] [stdout] | ^^^^ use of undeclared type `Role` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Role; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Content` [INFO] [stdout] --> tests/test_sampling.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | content: Content::text("Hello"), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Content` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextInclusion` [INFO] [stdout] --> tests/test_sampling.rs:222:35 [INFO] [stdout] | [INFO] [stdout] 222 | include_context: Some(ContextInclusion::None), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ContextInclusion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ContextInclusion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NumberOrString` [INFO] [stdout] --> tests/test_sampling.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | id: NumberOrString::Number(2), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `NumberOrString` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::NumberOrString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientResult` [INFO] [stdout] --> tests/test_sampling.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | if let ClientResult::CreateMessageResult(result) = result { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ClientResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ClientResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role` [INFO] [stdout] --> tests/test_sampling.rs:248:41 [INFO] [stdout] | [INFO] [stdout] 248 | assert_eq!(result.message.role, Role::Assistant); [INFO] [stdout] | ^^^^ use of undeclared type `Role` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Role; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerRequest` [INFO] [stdout] --> tests/test_sampling.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 284 | let request = ServerRequest::CreateMessageRequest(CreateMessageRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ServerRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ServerRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateMessageRequest` in this scope [INFO] [stdout] --> tests/test_sampling.rs:284:55 [INFO] [stdout] | [INFO] [stdout] 284 | let request = ServerRequest::CreateMessageRequest(CreateMessageRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::CreateMessageRequest; [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ServerRequest::CreateMessageRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateMessageRequestParam` in this scope [INFO] [stdout] --> tests/test_sampling.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | params: CreateMessageRequestParam { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::CreateMessageRequestParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SamplingMessage` in this scope [INFO] [stdout] --> tests/test_sampling.rs:287:28 [INFO] [stdout] | [INFO] [stdout] 287 | messages: vec![SamplingMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::SamplingMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role` [INFO] [stdout] --> tests/test_sampling.rs:288:23 [INFO] [stdout] | [INFO] [stdout] 288 | role: Role::Assistant, [INFO] [stdout] | ^^^^ use of undeclared type `Role` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Role; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Content` [INFO] [stdout] --> tests/test_sampling.rs:289:26 [INFO] [stdout] | [INFO] [stdout] 289 | content: Content::text("I'm an assistant message without a user message"), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Content` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::Content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContextInclusion` [INFO] [stdout] --> tests/test_sampling.rs:291:35 [INFO] [stdout] | [INFO] [stdout] 291 | include_context: Some(ContextInclusion::None), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ContextInclusion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::ContextInclusion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NumberOrString` [INFO] [stdout] --> tests/test_sampling.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | id: NumberOrString::Number(3), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `NumberOrString` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use brk_rmcp::model::NumberOrString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `brk_rmcp` (test "test_sampling") due to 83 previous errors [INFO] running `Command { std: "docker" "inspect" "0e0cffc8af11486ba26a039561134c6352250cf40d55af1d7d5639d7ad3a47f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e0cffc8af11486ba26a039561134c6352250cf40d55af1d7d5639d7ad3a47f9", kill_on_drop: false }` [INFO] [stdout] 0e0cffc8af11486ba26a039561134c6352250cf40d55af1d7d5639d7ad3a47f9