[INFO] fetching crate corrode-mcp 0.1.2... [INFO] testing corrode-mcp-0.1.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate corrode-mcp 0.1.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate corrode-mcp 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate corrode-mcp 0.1.2 [INFO] tweaked toml for crates.io crate corrode-mcp 0.1.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate corrode-mcp 0.1.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate corrode-mcp 0.1.2 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f98e8008cb881f443c4c11cacf321d7ceba4a57344143bb9e668b6a7fc0f572 [INFO] running `Command { std: "docker" "start" "-a" "5f98e8008cb881f443c4c11cacf321d7ceba4a57344143bb9e668b6a7fc0f572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f98e8008cb881f443c4c11cacf321d7ceba4a57344143bb9e668b6a7fc0f572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f98e8008cb881f443c4c11cacf321d7ceba4a57344143bb9e668b6a7fc0f572", kill_on_drop: false }` [INFO] [stdout] 5f98e8008cb881f443c4c11cacf321d7ceba4a57344143bb9e668b6a7fc0f572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f62b02d00d2ec08d9ae53b5eb22444d1dea69bc5375fe58df72c486a9b63413 [INFO] running `Command { std: "docker" "start" "-a" "1f62b02d00d2ec08d9ae53b5eb22444d1dea69bc5375fe58df72c486a9b63413", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling tree-sitter-rust v0.20.4 [INFO] [stderr] Compiling tree-sitter-typescript v0.20.5 [INFO] [stderr] Compiling tree-sitter-python v0.20.4 [INFO] [stderr] Compiling tree-sitter-c v0.20.8 [INFO] [stderr] Compiling tree-sitter-cpp v0.20.5 [INFO] [stderr] Compiling tree-sitter-javascript v0.20.4 [INFO] [stderr] Compiling tree-sitter-go v0.20.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling clap_builder v4.5.35 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling diffy v0.3.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Compiling parse-display-derive v0.10.0 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive-ex v0.1.8 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling parse-display v0.10.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling uri-template-ex v0.0.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling slabmap v0.2.1 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling sigwake v0.0.1 [INFO] [stderr] Compiling mcp-attr-macros v0.0.4 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling jsoncall v0.0.3 [INFO] [stderr] Compiling html2text v0.14.2 [INFO] [stderr] Compiling mcp-attr v0.0.6 [INFO] [stderr] Compiling clap v4.5.35 [INFO] [stderr] Compiling corrode-mcp v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mcp/patch.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_patch_line(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_patch_line(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `server::serve_stdio_with` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use mcp_attr::{server::serve_stdio_with, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CODE_CHANGE_WORKFLOW` is never used [INFO] [stdout] --> src/mcp/prompts.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const CODE_CHANGE_WORKFLOW: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MCP_TOOLS_GUIDE` is never used [INFO] [stdout] --> src/mcp/prompts.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const MCP_TOOLS_GUIDE: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestOptions` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RequestOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FetchResponse` is never used [INFO] [stdout] --> src/mcp/crates_io.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum FetchResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_URL` is never used [INFO] [stdout] --> src/mcp/crates_io.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const BASE_URL: &str = "https://crates.io/api/v1/"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_url` is never used [INFO] [stdout] --> src/mcp/crates_io.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn build_url(path: &str, params: Option>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crates_io_fetch` is never used [INFO] [stdout] --> src/mcp/crates_io.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn crates_io_fetch( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CratesIoClient` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct CratesIoClient { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_client` and `get` are never used [INFO] [stdout] --> src/mcp/crates_io.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl CratesIoClient { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 107 | [INFO] [stdout] 108 | pub fn with_client(client: Client) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrateResponse` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct CrateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrateData` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct CrateData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VersionsResponse` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct VersionsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Version` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct Version { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchResponse` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct SearchResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrateSummary` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct CrateSummary { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchMeta` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct SearchMeta { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Candidate` is never constructed [INFO] [stdout] --> src/mcp/patch.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Candidate<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `offset`, `next_line_matches`, `is_complete`, `updated_source_header`, and `updated_dest_header` are never used [INFO] [stdout] --> src/mcp/patch.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl<'a> Candidate<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 171 | pub fn new(line: usize, hunk: impl Into>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn offset(&self) -> isize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn next_line_matches(&self, line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn is_complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn updated_source_header(&self) -> HeaderRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn updated_dest_header(&self, offset: isize) -> HeaderRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_hunks` is never used [INFO] [stdout] --> src/mcp/patch.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn parse_hunks(patch: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_candidates` is never used [INFO] [stdout] --> src/mcp/patch.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn find_candidates<'a>(content: &str, hunks: &'a [Hunk]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rebuild_hunks` is never used [INFO] [stdout] --> src/mcp/patch.rs:411:8 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn rebuild_hunks(candidates: &[Candidate<'_>]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rebuild_patch` is never used [INFO] [stdout] --> src/mcp/patch.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn rebuild_patch(original: &str, hunks: &[Hunk]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionSignature` is never constructed [INFO] [stdout] --> src/mcp/function_signatures.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FunctionSignature { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_project_signatures` is never used [INFO] [stdout] --> src/mcp/function_signatures.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn extract_project_signatures(project_dir: &Path) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_function_signatures` is never used [INFO] [stdout] --> src/mcp/function_signatures.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn extract_function_signatures(_file_path: &Path, _language_override: Option<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mcp/patch.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_patch_line(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_patch_line(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 13m 14s [INFO] running `Command { std: "docker" "inspect" "1f62b02d00d2ec08d9ae53b5eb22444d1dea69bc5375fe58df72c486a9b63413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f62b02d00d2ec08d9ae53b5eb22444d1dea69bc5375fe58df72c486a9b63413", kill_on_drop: false }` [INFO] [stdout] 1f62b02d00d2ec08d9ae53b5eb22444d1dea69bc5375fe58df72c486a9b63413 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ea434e59d96a78dea9cf8b8efe934364780ab2b576746c8d1e0ae5b3691fbe7 [INFO] running `Command { std: "docker" "start" "-a" "5ea434e59d96a78dea9cf8b8efe934364780ab2b576746c8d1e0ae5b3691fbe7", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mcp/patch.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_patch_line(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_patch_line(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling corrode-mcp v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `server::serve_stdio_with` [INFO] [stdout] --> src/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use mcp_attr::{server::serve_stdio_with, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CODE_CHANGE_WORKFLOW` is never used [INFO] [stdout] --> src/mcp/prompts.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const CODE_CHANGE_WORKFLOW: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MCP_TOOLS_GUIDE` is never used [INFO] [stdout] --> src/mcp/prompts.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const MCP_TOOLS_GUIDE: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestOptions` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RequestOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FetchResponse` is never used [INFO] [stdout] --> src/mcp/crates_io.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum FetchResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASE_URL` is never used [INFO] [stdout] --> src/mcp/crates_io.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const BASE_URL: &str = "https://crates.io/api/v1/"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_url` is never used [INFO] [stdout] --> src/mcp/crates_io.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn build_url(path: &str, params: Option>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crates_io_fetch` is never used [INFO] [stdout] --> src/mcp/crates_io.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn crates_io_fetch( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CratesIoClient` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct CratesIoClient { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_client` and `get` are never used [INFO] [stdout] --> src/mcp/crates_io.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl CratesIoClient { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 107 | [INFO] [stdout] 108 | pub fn with_client(client: Client) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub async fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrateResponse` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct CrateResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrateData` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct CrateData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VersionsResponse` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct VersionsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Version` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct Version { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchResponse` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct SearchResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrateSummary` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct CrateSummary { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SearchMeta` is never constructed [INFO] [stdout] --> src/mcp/crates_io.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct SearchMeta { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Candidate` is never constructed [INFO] [stdout] --> src/mcp/patch.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct Candidate<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `offset`, `next_line_matches`, `is_complete`, `updated_source_header`, and `updated_dest_header` are never used [INFO] [stdout] --> src/mcp/patch.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl<'a> Candidate<'a> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 171 | pub fn new(line: usize, hunk: impl Into>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn offset(&self) -> isize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn next_line_matches(&self, line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn is_complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn updated_source_header(&self) -> HeaderRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn updated_dest_header(&self, offset: isize) -> HeaderRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_hunks` is never used [INFO] [stdout] --> src/mcp/patch.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn parse_hunks(patch: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_candidates` is never used [INFO] [stdout] --> src/mcp/patch.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn find_candidates<'a>(content: &str, hunks: &'a [Hunk]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rebuild_hunks` is never used [INFO] [stdout] --> src/mcp/patch.rs:411:8 [INFO] [stdout] | [INFO] [stdout] 411 | pub fn rebuild_hunks(candidates: &[Candidate<'_>]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rebuild_patch` is never used [INFO] [stdout] --> src/mcp/patch.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn rebuild_patch(original: &str, hunks: &[Hunk]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionSignature` is never constructed [INFO] [stdout] --> src/mcp/function_signatures.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FunctionSignature { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_project_signatures` is never used [INFO] [stdout] --> src/mcp/function_signatures.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn extract_project_signatures(project_dir: &Path) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_function_signatures` is never used [INFO] [stdout] --> src/mcp/function_signatures.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn extract_function_signatures(_file_path: &Path, _language_override: Option<&str>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mcp/patch.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_patch_line(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_patch_line(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mcp/patch.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_patch_line(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_patch_line(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 2.65s [INFO] running `Command { std: "docker" "inspect" "5ea434e59d96a78dea9cf8b8efe934364780ab2b576746c8d1e0ae5b3691fbe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ea434e59d96a78dea9cf8b8efe934364780ab2b576746c8d1e0ae5b3691fbe7", kill_on_drop: false }` [INFO] [stdout] 5ea434e59d96a78dea9cf8b8efe934364780ab2b576746c8d1e0ae5b3691fbe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f423b6cc1cba53f13e9b29edaa5b01446bde59639960ff2ff0fa10ea8bbd638e [INFO] running `Command { std: "docker" "start" "-a" "f423b6cc1cba53f13e9b29edaa5b01446bde59639960ff2ff0fa10ea8bbd638e", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mcp/patch.rs:41:26 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn as_patch_line(&self) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 41 | pub fn as_patch_line(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `corrode-mcp` (lib) generated 1 warning (run `cargo fix --lib -p corrode-mcp` to apply 1 suggestion) [INFO] [stderr] warning: `corrode-mcp` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: unused import: `server::serve_stdio_with` [INFO] [stderr] --> src/main.rs:2:16 [INFO] [stderr] | [INFO] [stderr] 2 | use mcp_attr::{server::serve_stdio_with, Result}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `CODE_CHANGE_WORKFLOW` is never used [INFO] [stderr] --> src/mcp/prompts.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const CODE_CHANGE_WORKFLOW: &str = r#" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `MCP_TOOLS_GUIDE` is never used [INFO] [stderr] --> src/mcp/prompts.rs:27:11 [INFO] [stderr] | [INFO] [stderr] 27 | pub const MCP_TOOLS_GUIDE: &str = r#" [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RequestOptions` is never constructed [INFO] [stderr] --> src/mcp/crates_io.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct RequestOptions { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `FetchResponse` is never used [INFO] [stderr] --> src/mcp/crates_io.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | pub enum FetchResponse { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BASE_URL` is never used [INFO] [stderr] --> src/mcp/crates_io.rs:26:7 [INFO] [stderr] | [INFO] [stderr] 26 | const BASE_URL: &str = "https://crates.io/api/v1/"; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_url` is never used [INFO] [stderr] --> src/mcp/crates_io.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn build_url(path: &str, params: Option>) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `crates_io_fetch` is never used [INFO] [stderr] --> src/mcp/crates_io.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | pub async fn crates_io_fetch( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CratesIoClient` is never constructed [INFO] [stderr] --> src/mcp/crates_io.rs:102:12 [INFO] [stderr] | [INFO] [stderr] 102 | pub struct CratesIoClient { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `with_client` and `get` are never used [INFO] [stderr] --> src/mcp/crates_io.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 106 | impl CratesIoClient { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] 107 | [INFO] [stderr] 108 | pub fn with_client(client: Client) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | pub async fn get( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CrateResponse` is never constructed [INFO] [stderr] --> src/mcp/crates_io.rs:127:12 [INFO] [stderr] | [INFO] [stderr] 127 | pub struct CrateResponse { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CrateData` is never constructed [INFO] [stderr] --> src/mcp/crates_io.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 132 | pub struct CrateData { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `VersionsResponse` is never constructed [INFO] [stderr] --> src/mcp/crates_io.rs:150:12 [INFO] [stderr] | [INFO] [stderr] 150 | pub struct VersionsResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Version` is never constructed [INFO] [stderr] --> src/mcp/crates_io.rs:155:12 [INFO] [stderr] | [INFO] [stderr] 155 | pub struct Version { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SearchResponse` is never constructed [INFO] [stderr] --> src/mcp/crates_io.rs:166:12 [INFO] [stderr] | [INFO] [stderr] 166 | pub struct SearchResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CrateSummary` is never constructed [INFO] [stderr] --> src/mcp/crates_io.rs:172:12 [INFO] [stderr] | [INFO] [stderr] 172 | pub struct CrateSummary { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SearchMeta` is never constructed [INFO] [stderr] --> src/mcp/crates_io.rs:183:12 [INFO] [stderr] | [INFO] [stderr] 183 | pub struct SearchMeta { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Candidate` is never constructed [INFO] [stderr] --> src/mcp/patch.rs:160:12 [INFO] [stderr] | [INFO] [stderr] 160 | pub struct Candidate<'a> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `offset`, `next_line_matches`, `is_complete`, `updated_source_header`, and `updated_dest_header` are never used [INFO] [stderr] --> src/mcp/patch.rs:171:12 [INFO] [stderr] | [INFO] [stderr] 170 | impl<'a> Candidate<'a> { [INFO] [stderr] | ---------------------- associated items in this implementation [INFO] [stderr] 171 | pub fn new(line: usize, hunk: impl Into>) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 184 | pub fn offset(&self) -> isize { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 189 | pub fn next_line_matches(&self, line: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 193 | pub fn is_complete(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 198 | pub fn updated_source_header(&self) -> HeaderRange { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 214 | pub fn updated_dest_header(&self, offset: isize) -> HeaderRange { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_hunks` is never used [INFO] [stderr] --> src/mcp/patch.rs:312:8 [INFO] [stderr] | [INFO] [stderr] 312 | pub fn parse_hunks(patch: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_candidates` is never used [INFO] [stderr] --> src/mcp/patch.rs:343:8 [INFO] [stderr] | [INFO] [stderr] 343 | pub fn find_candidates<'a>(content: &str, hunks: &'a [Hunk]) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `rebuild_hunks` is never used [INFO] [stderr] --> src/mcp/patch.rs:411:8 [INFO] [stderr] | [INFO] [stderr] 411 | pub fn rebuild_hunks(candidates: &[Candidate<'_>]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `rebuild_patch` is never used [INFO] [stderr] --> src/mcp/patch.rs:460:8 [INFO] [stderr] | [INFO] [stderr] 460 | pub fn rebuild_patch(original: &str, hunks: &[Hunk]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FunctionSignature` is never constructed [INFO] [stderr] --> src/mcp/function_signatures.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct FunctionSignature { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_project_signatures` is never used [INFO] [stderr] --> src/mcp/function_signatures.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn extract_project_signatures(project_dir: &Path) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_function_signatures` is never used [INFO] [stderr] --> src/mcp/function_signatures.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn extract_function_signatures(_file_path: &Path, _language_override: Option<&str>) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `corrode-mcp` (bin "corrode-mcp" test) generated 27 warnings (1 duplicate) (run `cargo fix --bin "corrode-mcp" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/corrode_mcp-ca8f76fe31aa351d) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/corrode_mcp-cc6a86969743e892) [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] Doc-tests corrode_mcp [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 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" "f423b6cc1cba53f13e9b29edaa5b01446bde59639960ff2ff0fa10ea8bbd638e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f423b6cc1cba53f13e9b29edaa5b01446bde59639960ff2ff0fa10ea8bbd638e", kill_on_drop: false }` [INFO] [stdout] f423b6cc1cba53f13e9b29edaa5b01446bde59639960ff2ff0fa10ea8bbd638e