[INFO] cloning repository https://github.com/DakineMI/mcp-server-template-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DakineMI/mcp-server-template-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDakineMI%2Fmcp-server-template-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDakineMI%2Fmcp-server-template-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 45427cba8424de651bdee626ab322b6cb8fdc72a
[INFO] testing DakineMI/mcp-server-template-rs against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDakineMI%2Fmcp-server-template-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/DakineMI/mcp-server-template-rs
[INFO] finished tweaking git repo https://github.com/DakineMI/mcp-server-template-rs
[INFO] tweaked toml for git repo https://github.com/DakineMI/mcp-server-template-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DakineMI/mcp-server-template-rs on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DakineMI/mcp-server-template-rs 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 822e00543e7f27ac5f0119606505f96707e60b93ae69e596fdea274ffc49f9bc
[INFO] running `Command { std: "docker" "start" "-a" "822e00543e7f27ac5f0119606505f96707e60b93ae69e596fdea274ffc49f9bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "822e00543e7f27ac5f0119606505f96707e60b93ae69e596fdea274ffc49f9bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "822e00543e7f27ac5f0119606505f96707e60b93ae69e596fdea274ffc49f9bc", kill_on_drop: false }`
[INFO] [stdout] 822e00543e7f27ac5f0119606505f96707e60b93ae69e596fdea274ffc49f9bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 823f70017c30aa9aa681e011727417d1553465d2b235cd8e4ae9f4809b0b60ca
[INFO] running `Command { std: "docker" "start" "-a" "823f70017c30aa9aa681e011727417d1553465d2b235cd8e4ae9f4809b0b60ca", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling tracing-core v0.1.35
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling zerocopy v0.8.30
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.7
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling gimli v0.32.3
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling toml_datetime v0.7.3
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling serde_spanned v1.0.3
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling toml_writer v1.0.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.26
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling addr2line v0.25.1
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling tracing v0.1.43
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling axum-core v0.5.5
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling schemars_derive v1.1.0
[INFO] [stderr]    Compiling toml v0.9.8
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling terminal_size v0.4.3
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling dyn-clone v1.0.20
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling console v0.16.1
[INFO] [stderr]    Compiling mcp-server-template-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling clap_builder v4.5.53
[INFO] [stderr]    Compiling tungstenite v0.28.0
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling sse-stream v0.2.1
[INFO] [stderr]    Compiling rmcp-macros v0.9.1 (https://github.com/modelcontextprotocol/rust-sdk?branch=main#94428d54)
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling schemars v1.1.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling shell-words v1.1.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling dialoguer v0.12.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.28.0
[INFO] [stderr]    Compiling sysinfo v0.37.2
[INFO] [stderr]    Compiling clap v4.5.53
[INFO] [stderr]    Compiling colored v3.0.0
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.18
[INFO] [stderr]    Compiling axum v0.8.7
[INFO] [stderr]    Compiling rmcp v0.9.1 (https://github.com/modelcontextprotocol/rust-sdk?branch=main#94428d54)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 49s
[INFO] running `Command { std: "docker" "inspect" "823f70017c30aa9aa681e011727417d1553465d2b235cd8e4ae9f4809b0b60ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "823f70017c30aa9aa681e011727417d1553465d2b235cd8e4ae9f4809b0b60ca", kill_on_drop: false }`
[INFO] [stdout] 823f70017c30aa9aa681e011727417d1553465d2b235cd8e4ae9f4809b0b60ca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 274c499ef9f02ac80cd6ec6f684d87f47f88396f244a50aace2433dbc70bcd3d
[INFO] running `Command { std: "docker" "start" "-a" "274c499ef9f02ac80cd6ec6f684d87f47f88396f244a50aace2433dbc70bcd3d", kill_on_drop: false }`
[INFO] [stderr]    Compiling mcp-server-template-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 21.77s
[INFO] running `Command { std: "docker" "inspect" "274c499ef9f02ac80cd6ec6f684d87f47f88396f244a50aace2433dbc70bcd3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "274c499ef9f02ac80cd6ec6f684d87f47f88396f244a50aace2433dbc70bcd3d", kill_on_drop: false }`
[INFO] [stdout] 274c499ef9f02ac80cd6ec6f684d87f47f88396f244a50aace2433dbc70bcd3d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] b2fbca62f14786c2f76b4ecaa7fec8f5205a6d202642c4a35bf81750fc8c6b6a
[INFO] running `Command { std: "docker" "start" "-a" "b2fbca62f14786c2f76b4ecaa7fec8f5205a6d202642c4a35bf81750fc8c6b6a", 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/build/mcp-server-template-rs/e8428387140249ab/deps/mcp_server_template_rs-e8428387140249ab)
[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]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/mcp-server-template-rs/fd097c79849e8d64/deps/mcp_server_template_rs-fd097c79849e8d64)
[INFO] [stderr]    Doc-tests mcp_server_template_rs
[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] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/macros.rs - macros::invoke_tools (line 23) ... FAILED
[INFO] [stdout] test src/macros.rs - macros::invoke_tools (line 17) ... FAILED
[INFO] [stdout] test src/macros.rs - macros::invoke_tools (line 32) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/macros.rs - macros::invoke_tools (line 23) stdout ----
[INFO] [stdout] error: cannot find macro `invoke_tools` in this scope
[INFO] [stdout]   --> src/macros.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | invoke_tools!(
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 23 + use mcp_server_template_rs::invoke_tools;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/macros.rs - macros::invoke_tools (line 17) stdout ----
[INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found `}`
[INFO] [stdout]   --> src/macros.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async fn run_tool(params: ParamsType, fs_service: &FsService) -> ServiceResult<()>
[INFO] [stdout]    |          -------- while parsing this `fn`                                         - expected one of `!`, `+`, `::`, `where`, or `{`
[INFO] [stdout] 19 | } _doctest_main_src_macros_rs_17_0() }
[INFO] [stdout]    | ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]   --> src/macros.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | async fn run_tool(params: ParamsType, fs_service: &FsService) -> ServiceResult<()>
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ParamsType` in this scope
[INFO] [stdout]   --> src/macros.rs:18:27
[INFO] [stdout]    |
[INFO] [stdout] 18 | async fn run_tool(params: ParamsType, fs_service: &FsService) -> ServiceResult<()>
[INFO] [stdout]    |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `FsService` in this scope
[INFO] [stdout]   --> src/macros.rs:18:52
[INFO] [stdout]    |
[INFO] [stdout] 18 | async fn run_tool(params: ParamsType, fs_service: &FsService) -> ServiceResult<()>
[INFO] [stdout]    |                                                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ServiceResult` in this scope
[INFO] [stdout]   --> src/macros.rs:18:66
[INFO] [stdout]    |
[INFO] [stdout] 18 | async fn run_tool(params: ParamsType, fs_service: &FsService) -> ServiceResult<()>
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 17 + use mcp_server_template_rs::error::ServiceResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/macros.rs - macros::invoke_tools (line 32) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `tool_params` in this scope
[INFO] [stdout]   --> src/macros.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | match tool_params {
[INFO] [stdout]    |       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/macros.rs:34:80
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_rs_32_0() {
[INFO] [stdout]    |                                         -------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 33 | match tool_params {
[INFO] [stdout] 34 |     ToolBox::ReadMediaFileTool(params) => ReadMediaFileTool::run_tool(params, &self.fs_service).await,
[INFO] [stdout]    |                                                                                ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/macros.rs:35:72
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_rs_32_0() {
[INFO] [stdout]    |                                         -------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 35 |     ToolBox::WriteFileTool(params) => WriteFileTool::run_tool(params, &self.fs_service).await,
[INFO] [stdout]    |                                                                        ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/macros.rs:34:97
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_rs_32_0() {
[INFO] [stdout]    |                                      ------------------------------------- this is not `async`
[INFO] [stdout] 33 | match tool_params {
[INFO] [stdout] 34 |     ToolBox::ReadMediaFileTool(params) => ReadMediaFileTool::run_tool(params, &self.fs_service).await,
[INFO] [stdout]    |                                                                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/macros.rs:35:89
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_macros_rs_32_0() {
[INFO] [stdout]    |                                      ------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 35 |     ToolBox::WriteFileTool(params) => WriteFileTool::run_tool(params, &self.fs_service).await,
[INFO] [stdout]    |                                                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ReadMediaFileTool`
[INFO] [stdout]   --> src/macros.rs:34:43
[INFO] [stdout]    |
[INFO] [stdout] 34 |     ToolBox::ReadMediaFileTool(params) => ReadMediaFileTool::run_tool(params, &self.fs_service).await,
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^ use of undeclared type `ReadMediaFileTool`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WriteFileTool`
[INFO] [stdout]   --> src/macros.rs:35:39
[INFO] [stdout]    |
[INFO] [stdout] 35 |     ToolBox::WriteFileTool(params) => WriteFileTool::run_tool(params, &self.fs_service).await,
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^ use of undeclared type `WriteFileTool`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ToolBox`
[INFO] [stdout]   --> src/macros.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     ToolBox::ReadMediaFileTool(params) => ReadMediaFileTool::run_tool(params, &self.fs_service).await,
[INFO] [stdout]    |     ^^^^^^^ use of undeclared type `ToolBox`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ToolBox`
[INFO] [stdout]   --> src/macros.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     ToolBox::WriteFileTool(params) => WriteFileTool::run_tool(params, &self.fs_service).await,
[INFO] [stdout]    |     ^^^^^^^ use of undeclared type `ToolBox`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/macros.rs - macros::invoke_tools (line 17)
[INFO] [stdout]     src/macros.rs - macros::invoke_tools (line 23)
[INFO] [stdout]     src/macros.rs - macros::invoke_tools (line 32)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.93s; merged doctests compilation took 0.46s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b2fbca62f14786c2f76b4ecaa7fec8f5205a6d202642c4a35bf81750fc8c6b6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2fbca62f14786c2f76b4ecaa7fec8f5205a6d202642c4a35bf81750fc8c6b6a", kill_on_drop: false }`
[INFO] [stdout] b2fbca62f14786c2f76b4ecaa7fec8f5205a6d202642c4a35bf81750fc8c6b6a
