[INFO] fetching crate mcp_rs 0.1.0...
[INFO] testing mcp_rs-0.1.0 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate mcp_rs 0.1.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate mcp_rs 0.1.0
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate mcp_rs 0.1.0
[INFO] tweaked toml for crates.io crate mcp_rs 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate mcp_rs 0.1.0 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate mcp_rs 0.1.0 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.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicase v2.8.0
[INFO] [stderr]   Downloaded reqwest v0.12.9
[INFO] [stderr]   Downloaded libc v0.2.165
[INFO] [stderr]   Downloaded cc v1.2.2
[INFO] [stderr]   Downloaded hyper v1.5.1
[INFO] [stderr]   Downloaded h2 v0.4.7
[INFO] [stderr]   Downloaded rustls v0.23.19
[INFO] [stderr]   Downloaded jsonrpc-derive v18.0.0
[INFO] [stderr]   Downloaded clap v4.5.21
[INFO] [stderr]   Downloaded clap_lex v0.7.3
[INFO] [stderr]   Downloaded clap_builder v4.5.21
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5882db8d5474734a404ae3aa4994347a44f996a188e7ff7b68843c5771dce612
[INFO] running `Command { std: "docker" "start" "5882db8d5474734a404ae3aa4994347a44f996a188e7ff7b68843c5771dce612", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5882db8d5474734a404ae3aa4994347a44f996a188e7ff7b68843c5771dce612", 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" "5882db8d5474734a404ae3aa4994347a44f996a188e7ff7b68843c5771dce612" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5882db8d5474734a404ae3aa4994347a44f996a188e7ff7b68843c5771dce612", 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" "5882db8d5474734a404ae3aa4994347a44f996a188e7ff7b68843c5771dce612" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling libc v0.2.165
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling cc v1.2.2
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling allocator-api2 v0.2.20
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling syn v2.0.89
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling clap_lex v0.7.3
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling thiserror v2.0.3
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling clap_builder v4.5.21
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling headers v0.3.9
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling dlv-list v0.5.2
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling eventsource-stream v0.2.3
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling thiserror-impl v2.0.3
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling pin-project v1.1.7
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling pest v2.7.14
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling clap v4.5.21
[INFO] [stderr]    Compiling ordered-multimap v0.7.3
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling yaml-rust2 v0.8.1
[INFO] [stderr]    Compiling rust-ini v0.20.0
[INFO] [stderr]    Compiling pest_meta v2.7.14
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling pest_generator v2.7.14
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling pest_derive v2.7.14
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling jsonrpc-derive v18.0.0
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling ron v0.8.1
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling h2 v0.4.7
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling jsonrpc-core v18.0.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling config v0.14.1
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.5.1
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.9
[INFO] [stderr]    Compiling reqwest-eventsource v0.6.0
[INFO] [stderr]    Compiling warp v0.3.7
[INFO] [stderr]    Compiling mcp_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ConfigError`, `Config`, `Environment`, and `File`
[INFO] [stdout]  --> src/server/config.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use config::{Config, ConfigError, Environment, File};
[INFO] [stdout]   |              ^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oneshot`
[INFO] [stdout]  --> src/transport/mod.rs:3:64
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::{io::{AsyncBufReadExt, AsyncWriteExt}, sync::{mpsc, oneshot}};
[INFO] [stdout]   |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/protocol/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> src/protocol/mod.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 |     time::{Duration, Instant},
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/protocol/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]    --> src/protocol/mod.rs:183:38
[INFO] [stdout]     |
[INFO] [stdout] 183 | ...                   let (tx, rx) = tokio::sync::watch::channel(false);
[INFO] [stdout]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/protocol/mod.rs:225:48
[INFO] [stdout]     |
[INFO] [stdout] 225 |                     Some(TransportEvent::Error(e)) => {
[INFO] [stdout]     |                                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `progress_handlers`
[INFO] [stdout]    --> src/protocol/mod.rs:168:13
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let progress_handlers = Arc::clone(&self.progress_handlers);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_handlers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/transport/mod.rs:97:37
[INFO] [stdout]    |
[INFO] [stdout] 97 | ...                   Err(e) => {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/transport/mod.rs:104:29
[INFO] [stdout]     |
[INFO] [stdout] 104 |                         Err(e) => {
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/transport/mod.rs:71:32
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     if let Err(e) = writer.write_all(msg.as_bytes()).await {
[INFO] [stdout]    |                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uri`
[INFO] [stdout]    --> src/resource/mod.rs:194:49
[INFO] [stdout]     |
[INFO] [stdout] 194 |     pub async fn notify_resource_updated(&self, uri: &str) -> Result<(), McpError> {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_uri`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cursor`
[INFO] [stdout]    --> src/resource/mod.rs:244:36
[INFO] [stdout]     |
[INFO] [stdout] 244 |     async fn list_resources(&self, cursor: Option<String>) -> Result<(Vec<Resource>, Option<String>), McpError> {
[INFO] [stdout]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/protocol/mod.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let mut protocol = Protocol {
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/protocol/mod.rs:384:44
[INFO] [stdout]     |
[INFO] [stdout] 384 |     fn assert_capability_for_method(&self, method: &str) -> Result<(), McpError> {
[INFO] [stdout]     |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/protocol/mod.rs:389:46
[INFO] [stdout]     |
[INFO] [stdout] 389 |     fn assert_notification_capability(&self, method: &str) -> Result<(), McpError> {
[INFO] [stdout]     |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/protocol/mod.rs:394:49
[INFO] [stdout]     |
[INFO] [stdout] 394 |     fn assert_request_handler_capability(&self, method: &str) -> Result<(), McpError> {
[INFO] [stdout]     |                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `request_abort_controllers` is never read
[INFO] [stdout]   --> src/protocol/mod.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Protocol {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 72 |     request_abort_controllers: Arc<RwLock<HashMap<String, tokio::sync::watch::Sender<bool>>>>,
[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 `InitializeParams` is never constructed
[INFO] [stdout]    --> src/protocol/mod.rs:447:8
[INFO] [stdout]     |
[INFO] [stdout] 447 | struct InitializeParams {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Capabilities` is never constructed
[INFO] [stdout]    --> src/protocol/mod.rs:454:8
[INFO] [stdout]     |
[INFO] [stdout] 454 | struct Capabilities {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_protocol_version` is never used
[INFO] [stdout]    --> src/protocol/mod.rs:460:4
[INFO] [stdout]     |
[INFO] [stdout] 460 | fn default_protocol_version() -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InitializeResult` is never constructed
[INFO] [stdout]    --> src/protocol/mod.rs:465:8
[INFO] [stdout]     |
[INFO] [stdout] 465 | struct InitializeResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServerCapabilities` is never constructed
[INFO] [stdout]    --> src/protocol/mod.rs:471:8
[INFO] [stdout]     |
[INFO] [stdout] 471 | struct ServerCapabilities {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 2m 47s
[INFO] running `Command { std: "docker" "inspect" "5882db8d5474734a404ae3aa4994347a44f996a188e7ff7b68843c5771dce612", 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" "5882db8d5474734a404ae3aa4994347a44f996a188e7ff7b68843c5771dce612" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling mcp_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ConfigError`, `Config`, `Environment`, and `File`
[INFO] [stdout]  --> src/server/config.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use config::{Config, ConfigError, Environment, File};
[INFO] [stdout]   |              ^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oneshot`
[INFO] [stdout]  --> src/transport/mod.rs:3:64
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::{io::{AsyncBufReadExt, AsyncWriteExt}, sync::{mpsc, oneshot}};
[INFO] [stdout]   |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/protocol/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> src/protocol/mod.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 |     time::{Duration, Instant},
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/protocol/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]    --> src/protocol/mod.rs:183:38
[INFO] [stdout]     |
[INFO] [stdout] 183 | ...                   let (tx, rx) = tokio::sync::watch::channel(false);
[INFO] [stdout]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/protocol/mod.rs:225:48
[INFO] [stdout]     |
[INFO] [stdout] 225 |                     Some(TransportEvent::Error(e)) => {
[INFO] [stdout]     |                                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `progress_handlers`
[INFO] [stdout]    --> src/protocol/mod.rs:168:13
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let progress_handlers = Arc::clone(&self.progress_handlers);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_handlers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/transport/mod.rs:97:37
[INFO] [stdout]    |
[INFO] [stdout] 97 | ...                   Err(e) => {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/transport/mod.rs:104:29
[INFO] [stdout]     |
[INFO] [stdout] 104 |                         Err(e) => {
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/transport/mod.rs:71:32
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     if let Err(e) = writer.write_all(msg.as_bytes()).await {
[INFO] [stdout]    |                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uri`
[INFO] [stdout]    --> src/resource/mod.rs:194:49
[INFO] [stdout]     |
[INFO] [stdout] 194 |     pub async fn notify_resource_updated(&self, uri: &str) -> Result<(), McpError> {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_uri`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cursor`
[INFO] [stdout]    --> src/resource/mod.rs:244:36
[INFO] [stdout]     |
[INFO] [stdout] 244 |     async fn list_resources(&self, cursor: Option<String>) -> Result<(Vec<Resource>, Option<String>), McpError> {
[INFO] [stdout]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/protocol/mod.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let mut protocol = Protocol {
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/protocol/mod.rs:384:44
[INFO] [stdout]     |
[INFO] [stdout] 384 |     fn assert_capability_for_method(&self, method: &str) -> Result<(), McpError> {
[INFO] [stdout]     |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/protocol/mod.rs:389:46
[INFO] [stdout]     |
[INFO] [stdout] 389 |     fn assert_notification_capability(&self, method: &str) -> Result<(), McpError> {
[INFO] [stdout]     |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/protocol/mod.rs:394:49
[INFO] [stdout]     |
[INFO] [stdout] 394 |     fn assert_request_handler_capability(&self, method: &str) -> Result<(), McpError> {
[INFO] [stdout]     |                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `request_abort_controllers` is never read
[INFO] [stdout]   --> src/protocol/mod.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Protocol {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 72 |     request_abort_controllers: Arc<RwLock<HashMap<String, tokio::sync::watch::Sender<bool>>>>,
[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 `InitializeParams` is never constructed
[INFO] [stdout]    --> src/protocol/mod.rs:447:8
[INFO] [stdout]     |
[INFO] [stdout] 447 | struct InitializeParams {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Capabilities` is never constructed
[INFO] [stdout]    --> src/protocol/mod.rs:454:8
[INFO] [stdout]     |
[INFO] [stdout] 454 | struct Capabilities {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_protocol_version` is never used
[INFO] [stdout]    --> src/protocol/mod.rs:460:4
[INFO] [stdout]     |
[INFO] [stdout] 460 | fn default_protocol_version() -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InitializeResult` is never constructed
[INFO] [stdout]    --> src/protocol/mod.rs:465:8
[INFO] [stdout]     |
[INFO] [stdout] 465 | struct InitializeResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServerCapabilities` is never constructed
[INFO] [stdout]    --> src/protocol/mod.rs:471:8
[INFO] [stdout]     |
[INFO] [stdout] 471 | struct ServerCapabilities {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sync::mpsc`
[INFO] [stdout]  --> examples/cli_client.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     sync::mpsc,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> tests/client.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ConfigError`, `Config`, `Environment`, and `File`
[INFO] [stdout]  --> src/server/config.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use config::{Config, ConfigError, Environment, File};
[INFO] [stdout]   |              ^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oneshot`
[INFO] [stdout]  --> src/transport/mod.rs:3:64
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio::{io::{AsyncBufReadExt, AsyncWriteExt}, sync::{mpsc, oneshot}};
[INFO] [stdout]   |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::event`
[INFO] [stdout]    --> src/transport/mod.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 243 |     use tracing::event;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/protocol/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> src/protocol/mod.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 |     time::{Duration, Instant},
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/protocol/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]    --> src/protocol/mod.rs:183:38
[INFO] [stdout]     |
[INFO] [stdout] 183 | ...                   let (tx, rx) = tokio::sync::watch::channel(false);
[INFO] [stdout]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/protocol/mod.rs:225:48
[INFO] [stdout]     |
[INFO] [stdout] 225 |                     Some(TransportEvent::Error(e)) => {
[INFO] [stdout]     |                                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `progress_handlers`
[INFO] [stdout]    --> src/protocol/mod.rs:168:13
[INFO] [stdout]     |
[INFO] [stdout] 168 |         let progress_handlers = Arc::clone(&self.progress_handlers);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_handlers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/transport/mod.rs:97:37
[INFO] [stdout]    |
[INFO] [stdout] 97 | ...                   Err(e) => {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/transport/mod.rs:104:29
[INFO] [stdout]     |
[INFO] [stdout] 104 |                         Err(e) => {
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/transport/mod.rs:71:32
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     if let Err(e) = writer.write_all(msg.as_bytes()).await {
[INFO] [stdout]    |                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uri`
[INFO] [stdout]    --> src/resource/mod.rs:194:49
[INFO] [stdout]     |
[INFO] [stdout] 194 |     pub async fn notify_resource_updated(&self, uri: &str) -> Result<(), McpError> {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_uri`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cursor`
[INFO] [stdout]    --> src/resource/mod.rs:244:36
[INFO] [stdout]     |
[INFO] [stdout] 244 |     async fn list_resources(&self, cursor: Option<String>) -> Result<(Vec<Resource>, Option<String>), McpError> {
[INFO] [stdout]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/protocol/mod.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let mut protocol = Protocol {
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/protocol/mod.rs:384:44
[INFO] [stdout]     |
[INFO] [stdout] 384 |     fn assert_capability_for_method(&self, method: &str) -> Result<(), McpError> {
[INFO] [stdout]     |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/protocol/mod.rs:389:46
[INFO] [stdout]     |
[INFO] [stdout] 389 |     fn assert_notification_capability(&self, method: &str) -> Result<(), McpError> {
[INFO] [stdout]     |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `method`
[INFO] [stdout]    --> src/protocol/mod.rs:394:49
[INFO] [stdout]     |
[INFO] [stdout] 394 |     fn assert_request_handler_capability(&self, method: &str) -> Result<(), McpError> {
[INFO] [stdout]     |                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `request_abort_controllers` is never read
[INFO] [stdout]   --> src/protocol/mod.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Protocol {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 72 |     request_abort_controllers: Arc<RwLock<HashMap<String, tokio::sync::watch::Sender<bool>>>>,
[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 `InitializeParams` is never constructed
[INFO] [stdout]    --> src/protocol/mod.rs:447:8
[INFO] [stdout]     |
[INFO] [stdout] 447 | struct InitializeParams {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Capabilities` is never constructed
[INFO] [stdout]    --> src/protocol/mod.rs:454:8
[INFO] [stdout]     |
[INFO] [stdout] 454 | struct Capabilities {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_protocol_version` is never used
[INFO] [stdout]    --> src/protocol/mod.rs:460:4
[INFO] [stdout]     |
[INFO] [stdout] 460 | fn default_protocol_version() -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InitializeResult` is never constructed
[INFO] [stdout]    --> src/protocol/mod.rs:465:8
[INFO] [stdout]     |
[INFO] [stdout] 465 | struct InitializeResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServerCapabilities` is never constructed
[INFO] [stdout]    --> src/protocol/mod.rs:471:8
[INFO] [stdout]     |
[INFO] [stdout] 471 | struct ServerCapabilities {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 5.82s
[INFO] running `Command { std: "docker" "inspect" "5882db8d5474734a404ae3aa4994347a44f996a188e7ff7b68843c5771dce612", 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" "5882db8d5474734a404ae3aa4994347a44f996a188e7ff7b68843c5771dce612" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `ConfigError`, `Config`, `Environment`, and `File`
[INFO] [stderr]  --> src/server/config.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 | use config::{Config, ConfigError, Environment, File};
[INFO] [stderr]   |              ^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `oneshot`
[INFO] [stderr]  --> src/transport/mod.rs:3:64
[INFO] [stderr]   |
[INFO] [stderr] 3 | use tokio::{io::{AsyncBufReadExt, AsyncWriteExt}, sync::{mpsc, oneshot}};
[INFO] [stderr]   |                                                                ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `async_trait::async_trait`
[INFO] [stderr]  --> src/protocol/mod.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use async_trait::async_trait;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Instant`
[INFO] [stderr]  --> src/protocol/mod.rs:6:22
[INFO] [stderr]   |
[INFO] [stderr] 6 |     time::{Duration, Instant},
[INFO] [stderr]   |                      ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `uuid::Uuid`
[INFO] [stderr]  --> src/protocol/mod.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use uuid::Uuid;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx`
[INFO] [stderr]    --> src/protocol/mod.rs:183:38
[INFO] [stderr]     |
[INFO] [stderr] 183 | ...                   let (tx, rx) = tokio::sync::watch::channel(false);
[INFO] [stderr]     |                            ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/protocol/mod.rs:225:48
[INFO] [stderr]     |
[INFO] [stderr] 225 |                     Some(TransportEvent::Error(e)) => {
[INFO] [stderr]     |                                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `progress_handlers`
[INFO] [stderr]    --> src/protocol/mod.rs:168:13
[INFO] [stderr]     |
[INFO] [stderr] 168 |         let progress_handlers = Arc::clone(&self.progress_handlers);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_handlers`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> src/transport/mod.rs:97:37
[INFO] [stderr]    |
[INFO] [stderr] 97 | ...                   Err(e) => {
[INFO] [stderr]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/transport/mod.rs:104:29
[INFO] [stderr]     |
[INFO] [stderr] 104 |                         Err(e) => {
[INFO] [stderr]     |                             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> src/transport/mod.rs:71:32
[INFO] [stderr]    |
[INFO] [stderr] 71 |                     if let Err(e) = writer.write_all(msg.as_bytes()).await {
[INFO] [stderr]    |                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `uri`
[INFO] [stderr]    --> src/resource/mod.rs:194:49
[INFO] [stderr]     |
[INFO] [stderr] 194 |     pub async fn notify_resource_updated(&self, uri: &str) -> Result<(), McpError> {
[INFO] [stderr]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_uri`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cursor`
[INFO] [stderr]    --> src/resource/mod.rs:244:36
[INFO] [stderr]     |
[INFO] [stderr] 244 |     async fn list_resources(&self, cursor: Option<String>) -> Result<(Vec<Resource>, Option<String>), McpError> {
[INFO] [stderr]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/protocol/mod.rs:139:13
[INFO] [stderr]     |
[INFO] [stderr] 139 |         let mut protocol = Protocol {
[INFO] [stderr]     |             ----^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `method`
[INFO] [stderr]    --> src/protocol/mod.rs:384:44
[INFO] [stderr]     |
[INFO] [stderr] 384 |     fn assert_capability_for_method(&self, method: &str) -> Result<(), McpError> {
[INFO] [stderr]     |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `method`
[INFO] [stderr]    --> src/protocol/mod.rs:389:46
[INFO] [stderr]     |
[INFO] [stderr] 389 |     fn assert_notification_capability(&self, method: &str) -> Result<(), McpError> {
[INFO] [stderr]     |                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `method`
[INFO] [stderr]    --> src/protocol/mod.rs:394:49
[INFO] [stderr]     |
[INFO] [stderr] 394 |     fn assert_request_handler_capability(&self, method: &str) -> Result<(), McpError> {
[INFO] [stderr]     |                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method`
[INFO] [stderr] 
[INFO] [stderr] warning: field `request_abort_controllers` is never read
[INFO] [stderr]   --> src/protocol/mod.rs:72:5
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub struct Protocol {
[INFO] [stderr]    |            -------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 72 |     request_abort_controllers: Arc<RwLock<HashMap<String, tokio::sync::watch::Sender<bool>>>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `InitializeParams` is never constructed
[INFO] [stderr]    --> src/protocol/mod.rs:447:8
[INFO] [stderr]     |
[INFO] [stderr] 447 | struct InitializeParams {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Capabilities` is never constructed
[INFO] [stderr]    --> src/protocol/mod.rs:454:8
[INFO] [stderr]     |
[INFO] [stderr] 454 | struct Capabilities {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_protocol_version` is never used
[INFO] [stderr]    --> src/protocol/mod.rs:460:4
[INFO] [stderr]     |
[INFO] [stderr] 460 | fn default_protocol_version() -> String {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `InitializeResult` is never constructed
[INFO] [stderr]    --> src/protocol/mod.rs:465:8
[INFO] [stderr]     |
[INFO] [stderr] 465 | struct InitializeResult {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ServerCapabilities` is never constructed
[INFO] [stderr]    --> src/protocol/mod.rs:471:8
[INFO] [stderr]     |
[INFO] [stderr] 471 | struct ServerCapabilities {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tracing::event`
[INFO] [stderr]    --> src/transport/mod.rs:243:9
[INFO] [stderr]     |
[INFO] [stderr] 243 |     use tracing::event;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `mcp_rs` (lib) generated 23 warnings (run `cargo fix --lib -p mcp_rs` to apply 17 suggestions)
[INFO] [stderr] warning: `mcp_rs` (lib test) generated 24 warnings (23 duplicates) (run `cargo fix --lib -p mcp_rs --tests` to apply 1 suggestion)
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]  --> tests/client.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::time::Duration;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sync::mpsc`
[INFO] [stderr]  --> examples/cli_client.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 |     sync::mpsc,
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `mcp_rs` (test "client") generated 1 warning (run `cargo fix --test "client" -p mcp_rs` to apply 1 suggestion)
[INFO] [stderr] warning: `mcp_rs` (example "cli_client") generated 1 warning (run `cargo fix --example "cli_client" -p mcp_rs` to apply 1 suggestion)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.29s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/mcp_rs-926ef23b47e5b375)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test transport::tests::test_transport ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests bin/server.rs (/opt/rustwide/target/release/deps/server-9a2aafa13497bece)
[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 tests/client.rs (/opt/rustwide/target/release/deps/client-2403e7a88f9fb743)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test_sse_client ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_sse_client stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_sse_client' (3464) panicked at tests/client.rs:25:10:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: "http://127.0.0.1:3000/rpc", source: hyper_util::client::legacy::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x57122632b9a1 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x57122634206a - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    2:     0x57122633050c - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x571226306a06 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x571226323769 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]    5:     0x571226150f50 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x571226323a92 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x571226306ab2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5712262ff519 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x57122630793d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]   10:     0x5712263427cc - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stderr] error: test failed, to rerun pass `--test client`
[INFO] [stdout]   11:     0x5712263425a2 - core[df12db4294e9bfd3]::result::unwrap_failed
[INFO] [stdout]   12:     0x57122613e1b1 - client[494040440adc7970]::test_sse_client::{closure#0}
[INFO] [stdout]   13:     0x57122613a3d8 - <tokio[10b36306712648ab]::runtime::context::scoped::Scoped<tokio[10b36306712648ab]::runtime::scheduler::Context>>::set::<<tokio[10b36306712648ab]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[10b36306712648ab]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[df12db4294e9bfd3]::pin::Pin<&mut core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>>::{closure#0}, core[df12db4294e9bfd3]::option::Option<()>>::{closure#0}, (alloc[2182bb758b4b3781]::boxed::Box<tokio[10b36306712648ab]::runtime::scheduler::current_thread::Core>, core[df12db4294e9bfd3]::option::Option<()>)>
[INFO] [stdout]   14:     0x57122613aafb - <tokio[10b36306712648ab]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>
[INFO] [stdout]   15:     0x571226136472 - <tokio[10b36306712648ab]::runtime::runtime::Runtime>::block_on::<core[df12db4294e9bfd3]::pin::Pin<&mut dyn core[df12db4294e9bfd3]::future::future::Future<Output = ()>>>
[INFO] [stdout]   16:     0x57122613e9ce - <client[494040440adc7970]::test_sse_client::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   17:     0x57122614423b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]   18:     0x5712261518a5 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]   19:     0x57122614b164 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]   20:     0x571226154a02 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   21:     0x57122632aec9 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   22:     0x7ee883b37dfa - <unknown>
[INFO] [stdout]   23:     0x7ee883bcb3d4 - clone
[INFO] [stdout]   24:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_sse_client
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5882db8d5474734a404ae3aa4994347a44f996a188e7ff7b68843c5771dce612", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5882db8d5474734a404ae3aa4994347a44f996a188e7ff7b68843c5771dce612", kill_on_drop: false }`
[INFO] [stdout] 5882db8d5474734a404ae3aa4994347a44f996a188e7ff7b68843c5771dce612
