[INFO] fetching crate kodegen_server_http 0.1.1... [INFO] testing kodegen_server_http-0.1.1 against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] extracting crate kodegen_server_http 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate kodegen_server_http 0.1.1 [INFO] finished tweaking crates.io crate kodegen_server_http 0.1.1 [INFO] tweaked toml for crates.io crate kodegen_server_http 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kodegen_server_http 0.1.1 on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kodegen_server_http 0.1.1 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcf882712d2d4f8fce06a136cb01e6779b1778e62181d2dcacd00720c6dea7ac [INFO] running `Command { std: "docker" "start" "-a" "fcf882712d2d4f8fce06a136cb01e6779b1778e62181d2dcacd00720c6dea7ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcf882712d2d4f8fce06a136cb01e6779b1778e62181d2dcacd00720c6dea7ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf882712d2d4f8fce06a136cb01e6779b1778e62181d2dcacd00720c6dea7ac", kill_on_drop: false }` [INFO] [stdout] fcf882712d2d4f8fce06a136cb01e6779b1778e62181d2dcacd00720c6dea7ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 475f69b67c0266661698b2b33bc4501e748733b68f7c0e30e5b80790f7cd633a [INFO] running `Command { std: "docker" "start" "-a" "475f69b67c0266661698b2b33bc4501e748733b68f7c0e30e5b80790f7cd633a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling aws-lc-rs v1.14.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling rustls v0.23.34 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling grep-matcher v0.1.8 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling fs-err v3.1.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling cyrup_termcolor v2.0.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling lru v0.16.2 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling sysinfo v0.37.2 [INFO] [stderr] Compiling yaml-rust2 v0.10.4 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling aws-lc-sys v0.32.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling grep-searcher v0.1.16 [INFO] [stderr] Compiling grep-regex v0.1.14 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling schemars_derive v1.0.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling grep-cli v0.1.12 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling rmcp-macros v0.8.3 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling sse-stream v0.2.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling grep-printer v0.3.1 [INFO] [stderr] Compiling gray_matter v0.3.2 [INFO] [stderr] Compiling minijinja v2.12.0 [INFO] [stderr] Compiling grep v0.4.1 [INFO] [stderr] Compiling schemars v1.0.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling kodegen_mcp_schema v0.1.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling process-wrap v8.2.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.6 [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.1.1 [INFO] [stderr] Compiling kodegen_utils v0.1.2 [INFO] [stderr] Compiling kodegen_tools_config v0.1.0 [INFO] [stderr] Compiling kodegen_server_http v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "475f69b67c0266661698b2b33bc4501e748733b68f7c0e30e5b80790f7cd633a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "475f69b67c0266661698b2b33bc4501e748733b68f7c0e30e5b80790f7cd633a", kill_on_drop: false }` [INFO] [stdout] 475f69b67c0266661698b2b33bc4501e748733b68f7c0e30e5b80790f7cd633a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9119d1ad91c4d7ffdedc6bf63226b7674edf912ad0afc8898145e5a2e2e9aa65 [INFO] running `Command { std: "docker" "start" "-a" "9119d1ad91c4d7ffdedc6bf63226b7674edf912ad0afc8898145e5a2e2e9aa65", kill_on_drop: false }` [INFO] [stderr] Compiling kodegen_server_http v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.91s [INFO] running `Command { std: "docker" "inspect" "9119d1ad91c4d7ffdedc6bf63226b7674edf912ad0afc8898145e5a2e2e9aa65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9119d1ad91c4d7ffdedc6bf63226b7674edf912ad0afc8898145e5a2e2e9aa65", kill_on_drop: false }` [INFO] [stdout] 9119d1ad91c4d7ffdedc6bf63226b7674edf912ad0afc8898145e5a2e2e9aa65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b1a26667db6f338684f779584e372439a88dfe40fb3f2bc7f7d2fdb085851afa [INFO] running `Command { std: "docker" "start" "-a" "b1a26667db6f338684f779584e372439a88dfe40fb3f2bc7f7d2fdb085851afa", 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_server_http-cab9a817dc213141) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests kodegen_server_http [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] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/registration.rs - registration::register_tool_arc (line 39) ... FAILED [INFO] [stdout] test src/lib.rs - run_http_server (line 52) ... FAILED [INFO] [stdout] test src/managers.rs - managers::Managers::register (line 35) ... FAILED [INFO] [stdout] test src/registration.rs - registration::register_tool (line 11) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/registration.rs - registration::register_tool_arc (line 39) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/registration.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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] 4 | 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] 2 + use kodegen_server_http::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] 5 | 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] 6 | prompt_router, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SequentialThinkingTool` [INFO] [stdout] --> src/registration.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 3 | 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/lib.rs - run_http_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] 8 | 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] 8 | async fn main() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ReadFileTool` [INFO] [stdout] --> src/lib.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 18 | 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/managers.rs - managers::Managers::register (line 35) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/managers.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `managers` in this scope [INFO] [stdout] --> src/managers.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 4 | managers.register(browser_manager.clone()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrowserManager` [INFO] [stdout] --> src/managers.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 3 | 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] 3 - let (tool_router, prompt_router) = register_tool( [INFO] [stdout] 3 + let (tool_router, prompt_router): register_tool( [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use kodegen_server_http::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] 4 | 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] 5 | 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] 6 | ReadFileTool::new(config.clone()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ReadFileTool` [INFO] [stdout] --> src/registration.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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_http_server (line 52) [INFO] [stdout] src/managers.rs - managers::Managers::register (line 35) [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.36s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.64s; merged doctests compilation took 0.29s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b1a26667db6f338684f779584e372439a88dfe40fb3f2bc7f7d2fdb085851afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a26667db6f338684f779584e372439a88dfe40fb3f2bc7f7d2fdb085851afa", kill_on_drop: false }` [INFO] [stdout] b1a26667db6f338684f779584e372439a88dfe40fb3f2bc7f7d2fdb085851afa