[INFO] cloning repository https://github.com/sider-s/siderclaw-extension-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/sider-s/siderclaw-extension-mcp-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsider-s%2Fsiderclaw-extension-mcp-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsider-s%2Fsiderclaw-extension-mcp-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25917cf59b3bb89300b8699aa3792b25df8d9b2a [INFO] testing sider-s/siderclaw-extension-mcp-rs against 1.98.0-beta.6+cargoflags=--release for beta-1.98-release-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsider-s%2Fsiderclaw-extension-mcp-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sider-s/siderclaw-extension-mcp-rs [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/sider-s/siderclaw-extension-mcp-rs [INFO] tweaked toml for git repo https://github.com/sider-s/siderclaw-extension-mcp-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sider-s/siderclaw-extension-mcp-rs on toolchain 1.98.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sider-s/siderclaw-extension-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" "+1.98.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f79a1fd3408ad4c7bd29c0023ac9364ea7858da6b38b7dcdbb211c3020f7be8d [INFO] running `Command { std: "docker" "start" "f79a1fd3408ad4c7bd29c0023ac9364ea7858da6b38b7dcdbb211c3020f7be8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f79a1fd3408ad4c7bd29c0023ac9364ea7858da6b38b7dcdbb211c3020f7be8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f79a1fd3408ad4c7bd29c0023ac9364ea7858da6b38b7dcdbb211c3020f7be8d" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f79a1fd3408ad4c7bd29c0023ac9364ea7858da6b38b7dcdbb211c3020f7be8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f79a1fd3408ad4c7bd29c0023ac9364ea7858da6b38b7dcdbb211c3020f7be8d" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rand_core v0.10.0 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling rmcp v1.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling pastey v0.2.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling schemars_derive v1.2.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling tokio v1.51.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling simple_asn1 v0.6.4 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling rmcp-macros v1.3.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling sse-stream v0.2.1 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling schemars v1.2.1 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling siderclaw-extension-mcp-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `UserId` is never constructed [INFO] [stdout] --> src/auth.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UserId(pub String); [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 `McpAuthState` is never constructed [INFO] [stdout] --> src/auth.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct McpAuthState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpClaims` is never constructed [INFO] [stdout] --> src/auth.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct McpClaims { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mcp_auth_middleware` is never used [INFO] [stdout] --> src/auth.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn mcp_auth_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_user_id_from_request` is never used [INFO] [stdout] --> src/auth.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn extract_user_id_from_request(request: &Request, auth: &McpAuthState) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_jwt` is never used [INFO] [stdout] --> src/auth.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse_jwt(token: &str, key: &DecodingKey) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_token` is never used [INFO] [stdout] --> src/auth.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn extract_token(request: &Request) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/bridge.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct PendingCall { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 22 | tx: oneshot::Sender, [INFO] [stdout] 23 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jwt_secret`, `user_service_url`, and `shutdown_timeout` are never read [INFO] [stdout] --> src/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub jwt_secret: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub user_service_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub shutdown_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "f79a1fd3408ad4c7bd29c0023ac9364ea7858da6b38b7dcdbb211c3020f7be8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f79a1fd3408ad4c7bd29c0023ac9364ea7858da6b38b7dcdbb211c3020f7be8d" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling siderclaw-extension-mcp-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `UserId` is never constructed [INFO] [stdout] --> src/auth.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UserId(pub String); [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 `McpAuthState` is never constructed [INFO] [stdout] --> src/auth.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct McpAuthState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpClaims` is never constructed [INFO] [stdout] --> src/auth.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct McpClaims { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mcp_auth_middleware` is never used [INFO] [stdout] --> src/auth.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn mcp_auth_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_user_id_from_request` is never used [INFO] [stdout] --> src/auth.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn extract_user_id_from_request(request: &Request, auth: &McpAuthState) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_jwt` is never used [INFO] [stdout] --> src/auth.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse_jwt(token: &str, key: &DecodingKey) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_token` is never used [INFO] [stdout] --> src/auth.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn extract_token(request: &Request) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/bridge.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct PendingCall { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 22 | tx: oneshot::Sender, [INFO] [stdout] 23 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jwt_secret`, `user_service_url`, and `shutdown_timeout` are never read [INFO] [stdout] --> src/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub jwt_secret: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub user_service_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub shutdown_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "f79a1fd3408ad4c7bd29c0023ac9364ea7858da6b38b7dcdbb211c3020f7be8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f79a1fd3408ad4c7bd29c0023ac9364ea7858da6b38b7dcdbb211c3020f7be8d" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: struct `UserId` is never constructed [INFO] [stderr] --> src/auth.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct UserId(pub String); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `McpAuthState` is never constructed [INFO] [stderr] --> src/auth.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct McpAuthState { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `McpClaims` is never constructed [INFO] [stderr] --> src/auth.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | struct McpClaims { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `mcp_auth_middleware` is never used [INFO] [stderr] --> src/auth.rs:27:14 [INFO] [stderr] | [INFO] [stderr] 27 | pub async fn mcp_auth_middleware( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_user_id_from_request` is never used [INFO] [stderr] --> src/auth.rs:44:4 [INFO] [stderr] | [INFO] [stderr] 44 | fn extract_user_id_from_request(request: &Request, auth: &McpAuthState) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_jwt` is never used [INFO] [stderr] --> src/auth.rs:49:4 [INFO] [stderr] | [INFO] [stderr] 49 | fn parse_jwt(token: &str, key: &DecodingKey) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_token` is never used [INFO] [stderr] --> src/auth.rs:79:8 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn extract_token(request: &Request) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/bridge.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 21 | struct PendingCall { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 22 | tx: oneshot::Sender, [INFO] [stderr] 23 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `jwt_secret`, `user_service_url`, and `shutdown_timeout` are never read [INFO] [stderr] --> src/config.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Config { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | pub jwt_secret: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 9 | pub user_service_url: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 12 | pub shutdown_timeout: Duration, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `siderclaw-extension-mcp-rs` (bin "siderclaw-extension-mcp-rs" test) generated 9 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/siderclaw_extension_mcp_rs-5248422ceb36ebfe) [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] running `Command { std: "docker" "inspect" "f79a1fd3408ad4c7bd29c0023ac9364ea7858da6b38b7dcdbb211c3020f7be8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f79a1fd3408ad4c7bd29c0023ac9364ea7858da6b38b7dcdbb211c3020f7be8d", kill_on_drop: false }` [INFO] [stdout] f79a1fd3408ad4c7bd29c0023ac9364ea7858da6b38b7dcdbb211c3020f7be8d