[INFO] cloning repository https://github.com/alpha-hack-program/calculator-mcp-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alpha-hack-program/calculator-mcp-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falpha-hack-program%2Fcalculator-mcp-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falpha-hack-program%2Fcalculator-mcp-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4202be096b10a670b2bf79fa77f22b2118f39973 [INFO] building alpha-hack-program/calculator-mcp-rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falpha-hack-program%2Fcalculator-mcp-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alpha-hack-program/calculator-mcp-rs [INFO] finished tweaking git repo https://github.com/alpha-hack-program/calculator-mcp-rs [INFO] tweaked toml for git repo https://github.com/alpha-hack-program/calculator-mcp-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alpha-hack-program/calculator-mcp-rs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alpha-hack-program/calculator-mcp-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/modelcontextprotocol/rust-sdk` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling_macro v0.21.0 [INFO] [stderr] Downloaded sse-stream v0.2.1 [INFO] [stderr] Downloaded darling v0.21.0 [INFO] [stderr] Downloaded oauth2 v5.0.0 [INFO] [stderr] Downloaded darling_core v0.21.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3c9b50f26c34d7cc327ff511fc3d40be1877074ec46b921d122c110fed61ce5 [INFO] running `Command { std: "docker" "start" "-a" "d3c9b50f26c34d7cc327ff511fc3d40be1877074ec46b921d122c110fed61ce5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3c9b50f26c34d7cc327ff511fc3d40be1877074ec46b921d122c110fed61ce5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3c9b50f26c34d7cc327ff511fc3d40be1877074ec46b921d122c110fed61ce5", kill_on_drop: false }` [INFO] [stdout] d3c9b50f26c34d7cc327ff511fc3d40be1877074ec46b921d122c110fed61ce5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc7a9ea0bfd1326db9c9381dd2fb3b0e23819aa4b975ed76aa01960b12b6bd24 [INFO] running `Command { std: "docker" "start" "-a" "fc7a9ea0bfd1326db9c9381dd2fb3b0e23819aa4b975ed76aa01960b12b6bd24", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling rustls v0.23.29 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling darling_core v0.21.0 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling schemars_derive v1.0.4 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling askama_parser v0.14.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling schemars v1.0.4 [INFO] [stderr] Compiling darling_macro v0.21.0 [INFO] [stderr] Compiling darling v0.21.0 [INFO] [stderr] Compiling rmcp-macros v0.3.0 (https://github.com/modelcontextprotocol/rust-sdk?branch=main#ac40e004) [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling sse-stream v0.2.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling askama_derive v0.14.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling askama v0.14.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling oauth2 v5.0.0 [INFO] [stderr] Compiling rmcp v0.3.0 (https://github.com/modelcontextprotocol/rust-sdk?branch=main#ac40e004) [INFO] [stderr] Compiling calculator-mcp-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SumRequest` is never constructed [INFO] [stdout] --> src/common/calculator.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SumRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubRequest` is never constructed [INFO] [stdout] --> src/common/calculator.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SubRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FactorialRequest` is never constructed [INFO] [stdout] --> src/common/calculator.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct FactorialRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Calculator` is never constructed [INFO] [stdout] --> src/common/calculator.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Calculator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SumRequest` is never constructed [INFO] [stdout] --> src/common/calculator.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SumRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubRequest` is never constructed [INFO] [stdout] --> src/common/calculator.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SubRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FactorialRequest` is never constructed [INFO] [stdout] --> src/common/calculator.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct FactorialRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Calculator` is never constructed [INFO] [stdout] --> src/common/calculator.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Calculator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SumRequest` is never constructed [INFO] [stdout] --> src/common/calculator.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SumRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SubRequest` is never constructed [INFO] [stdout] --> src/common/calculator.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SubRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FactorialRequest` is never constructed [INFO] [stdout] --> src/common/calculator.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct FactorialRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Calculator` is never constructed [INFO] [stdout] --> src/common/calculator.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Calculator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "fc7a9ea0bfd1326db9c9381dd2fb3b0e23819aa4b975ed76aa01960b12b6bd24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7a9ea0bfd1326db9c9381dd2fb3b0e23819aa4b975ed76aa01960b12b6bd24", kill_on_drop: false }` [INFO] [stdout] fc7a9ea0bfd1326db9c9381dd2fb3b0e23819aa4b975ed76aa01960b12b6bd24 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bb0906af99c8546aca9c5b289b2ac03c52c91ce8af57a918bb5e86720a70467 [INFO] running `Command { std: "docker" "start" "-a" "4bb0906af99c8546aca9c5b289b2ac03c52c91ce8af57a918bb5e86720a70467", kill_on_drop: false }` [INFO] [stderr] Compiling calculator-mcp-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.82s [INFO] running `Command { std: "docker" "inspect" "4bb0906af99c8546aca9c5b289b2ac03c52c91ce8af57a918bb5e86720a70467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bb0906af99c8546aca9c5b289b2ac03c52c91ce8af57a918bb5e86720a70467", kill_on_drop: false }` [INFO] [stdout] 4bb0906af99c8546aca9c5b289b2ac03c52c91ce8af57a918bb5e86720a70467