[INFO] fetching crate kodegen_mcp_server_core 0.0.5... [INFO] testing kodegen_mcp_server_core-0.0.5 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate kodegen_mcp_server_core 0.0.5 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate kodegen_mcp_server_core 0.0.5 [INFO] finished tweaking crates.io crate kodegen_mcp_server_core 0.0.5 [INFO] tweaked toml for crates.io crate kodegen_mcp_server_core 0.0.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kodegen_mcp_server_core 0.0.5 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kodegen_mcp_server_core 0.0.5 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded idna_adapter v1.0.0 [INFO] [stderr] Downloaded sse-stream v0.2.1 [INFO] [stderr] Downloaded rmcp-macros v0.8.3 [INFO] [stderr] Downloaded schemars_derive v1.0.4 [INFO] [stderr] Downloaded grep-matcher v0.1.8 [INFO] [stderr] Downloaded grep v0.4.1 [INFO] [stderr] Downloaded fs-err v3.1.3 [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded gray_matter v0.3.2 [INFO] [stderr] Downloaded axum-server v0.7.2 [INFO] [stderr] Downloaded clap v4.5.50 [INFO] [stderr] Downloaded yaml-rust2 v0.10.4 [INFO] [stderr] Downloaded grep-printer v0.3.1 [INFO] [stderr] Downloaded grep-searcher v0.1.16 [INFO] [stderr] Downloaded axum v0.8.6 [INFO] [stderr] Downloaded ignore v0.4.24 [INFO] [stderr] Downloaded minijinja v2.12.0 [INFO] [stderr] Downloaded clap_builder v4.5.50 [INFO] [stderr] Downloaded rmcp v0.8.3 [INFO] [stderr] Downloaded process-wrap v8.2.1 [INFO] [stderr] Downloaded sysinfo v0.37.2 [INFO] [stderr] Downloaded aws-lc-rs v1.14.1 [INFO] [stderr] Downloaded kodegen_tools_config v0.0.5 [INFO] [stderr] Downloaded objc2-io-kit v0.3.2 [INFO] [stderr] Downloaded kodegen_utils v0.0.5 [INFO] [stderr] Downloaded grep-cli v0.1.12 [INFO] [stderr] Downloaded grep-regex v0.1.14 [INFO] [stderr] Downloaded globset v0.4.18 [INFO] [stderr] Downloaded kodegen_mcp_schema v0.0.5 [INFO] [stderr] Downloaded kodegen_mcp_tool v0.0.5 [INFO] [stderr] Downloaded encoding_rs_io v0.1.7 [INFO] [stderr] Downloaded cyrup_termcolor v2.0.0 [INFO] [stderr] Downloaded axum-core v0.5.5 [INFO] [stderr] Downloaded aws-lc-sys v0.32.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a577d9ed32b1ceb565d9d7281dc00def762d5d07f454dc31bfc3d6f56a748e40 [INFO] running `Command { std: "docker" "start" "-a" "a577d9ed32b1ceb565d9d7281dc00def762d5d07f454dc31bfc3d6f56a748e40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a577d9ed32b1ceb565d9d7281dc00def762d5d07f454dc31bfc3d6f56a748e40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a577d9ed32b1ceb565d9d7281dc00def762d5d07f454dc31bfc3d6f56a748e40", kill_on_drop: false }` [INFO] [stdout] a577d9ed32b1ceb565d9d7281dc00def762d5d07f454dc31bfc3d6f56a748e40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e20d4871800d8b8e31ef89b7ac0f012f21f57ee591b5a24d075b2b6d6828c13 [INFO] running `Command { std: "docker" "start" "-a" "3e20d4871800d8b8e31ef89b7ac0f012f21f57ee591b5a24d075b2b6d6828c13", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling aws-lc-rs v1.14.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rustls v0.23.34 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling cc v1.2.43 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling idna_adapter v1.0.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling aws-lc-sys v0.32.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling webpki-roots v1.0.3 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling schemars_derive v1.0.4 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling grep-matcher v0.1.8 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rmcp-macros v0.8.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling sse-stream v0.2.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling fs-err v3.1.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling grep-searcher v0.1.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling schemars v1.0.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling process-wrap v8.2.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling cyrup_termcolor v2.0.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling clap_builder v4.5.50 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling yaml-rust2 v0.10.4 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling grep-printer v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling grep-cli v0.1.12 [INFO] [stderr] Compiling grep-regex v0.1.14 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling lru v0.16.2 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling grep v0.4.1 [INFO] [stderr] Compiling ignore v0.4.24 [INFO] [stderr] Compiling gray_matter v0.3.2 [INFO] [stderr] Compiling clap v4.5.50 [INFO] [stderr] Compiling kodegen_mcp_schema v0.0.5 [INFO] [stderr] Compiling minijinja v2.12.0 [INFO] [stderr] Compiling sysinfo v0.37.2 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.6 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum-server v0.7.2 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling rmcp v0.8.3 [INFO] [stderr] Compiling kodegen_mcp_tool v0.0.5 [INFO] [stderr] Compiling kodegen_utils v0.0.5 [INFO] [stderr] Compiling kodegen_tools_config v0.0.5 [INFO] [stderr] Compiling kodegen_mcp_server_core v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 09s [INFO] running `Command { std: "docker" "inspect" "3e20d4871800d8b8e31ef89b7ac0f012f21f57ee591b5a24d075b2b6d6828c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e20d4871800d8b8e31ef89b7ac0f012f21f57ee591b5a24d075b2b6d6828c13", kill_on_drop: false }` [INFO] [stdout] 3e20d4871800d8b8e31ef89b7ac0f012f21f57ee591b5a24d075b2b6d6828c13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a22edb352b70f8579e169c449c83156e5795dabb6901d8320054e064a484be3e [INFO] running `Command { std: "docker" "start" "-a" "a22edb352b70f8579e169c449c83156e5795dabb6901d8320054e064a484be3e", kill_on_drop: false }` [INFO] [stderr] Compiling kodegen_mcp_server_core v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "a22edb352b70f8579e169c449c83156e5795dabb6901d8320054e064a484be3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a22edb352b70f8579e169c449c83156e5795dabb6901d8320054e064a484be3e", kill_on_drop: false }` [INFO] [stdout] a22edb352b70f8579e169c449c83156e5795dabb6901d8320054e064a484be3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f77e1bf6b168401d1f0c6cacbc03d92e99c258eeec3efd8c2af4729c833476c6 [INFO] running `Command { std: "docker" "start" "-a" "f77e1bf6b168401d1f0c6cacbc03d92e99c258eeec3efd8c2af4729c833476c6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kodegen_mcp_server_core-1e63cc2d6e7e075c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests kodegen_mcp_server_core [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - run_sse_server (line 52) ... FAILED [INFO] [stdout] test src/registration.rs - registration::register_tool_arc (line 39) ... FAILED [INFO] [stdout] test src/managers.rs - managers::Managers::register (line 34) ... FAILED [INFO] [stdout] test src/registration.rs - registration::register_tool (line 11) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - run_sse_server (line 52) stdout ---- [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 58 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ReadFileTool` in this scope [INFO] [stdout] --> src/lib.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | ReadFileTool::new(config.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ReadFileTool` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/registration.rs - registration::register_tool_arc (line 39) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/registration.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let thinking_tool = Arc::new(SequentialThinkingTool::new()); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 39 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `register_tool_arc` in this scope [INFO] [stdout] --> src/registration.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | let (tool_router, prompt_router) = register_tool_arc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 39 + use kodegen_mcp_server_core::register_tool_arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tool_router` in this scope [INFO] [stdout] --> src/registration.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | tool_router, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `prompt_router` in this scope [INFO] [stdout] --> src/registration.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | prompt_router, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SequentialThinkingTool` in this scope [INFO] [stdout] --> src/registration.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | let thinking_tool = Arc::new(SequentialThinkingTool::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SequentialThinkingTool` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/managers.rs - managers::Managers::register (line 34) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/managers.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | let browser_manager = Arc::new(BrowserManager::new()); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `managers` in this scope [INFO] [stdout] --> src/managers.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | managers.register(browser_manager.clone()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BrowserManager` in this scope [INFO] [stdout] --> src/managers.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | let browser_manager = Arc::new(BrowserManager::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BrowserManager` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/registration.rs - registration::register_tool (line 11) stdout ---- [INFO] [stdout] error[E0423]: expected function, found built-in attribute `register_tool` [INFO] [stdout] --> src/registration.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let (tool_router, prompt_router) = register_tool( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 12 - let (tool_router, prompt_router) = register_tool( [INFO] [stdout] 12 + let (tool_router, prompt_router): register_tool( [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 11 + use kodegen_mcp_server_core::register_tool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tool_router` in this scope [INFO] [stdout] --> src/registration.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | tool_router, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `prompt_router` in this scope [INFO] [stdout] --> src/registration.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | prompt_router, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `config` in this scope [INFO] [stdout] --> src/registration.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | ReadFileTool::new(config.clone()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ReadFileTool` in this scope [INFO] [stdout] --> src/registration.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ReadFileTool::new(config.clone()), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ReadFileTool` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - run_sse_server (line 52) [INFO] [stdout] src/managers.rs - managers::Managers::register (line 34) [INFO] [stdout] src/registration.rs - registration::register_tool (line 11) [INFO] [stdout] src/registration.rs - registration::register_tool_arc (line 39) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.64s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.97s; merged doctests compilation took 0.32s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f77e1bf6b168401d1f0c6cacbc03d92e99c258eeec3efd8c2af4729c833476c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f77e1bf6b168401d1f0c6cacbc03d92e99c258eeec3efd8c2af4729c833476c6", kill_on_drop: false }` [INFO] [stdout] f77e1bf6b168401d1f0c6cacbc03d92e99c258eeec3efd8c2af4729c833476c6