[INFO] fetching crate coderlib 0.1.0... [INFO] checking coderlib-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate coderlib 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate coderlib 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate coderlib 0.1.0 [INFO] tweaked toml for crates.io crate coderlib 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate coderlib 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate coderlib 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rmcp-macros v0.1.5 [INFO] [stderr] Downloaded sse-stream v0.1.4 [INFO] [stderr] Downloaded sse-stream v0.2.1 [INFO] [stderr] Downloaded whoami v1.6.0 [INFO] [stderr] Downloaded rmcp v0.1.5 [INFO] [stderr] Downloaded lsp-types v0.95.1 [INFO] [stderr] Downloaded tree-sitter v0.20.10 [INFO] [stderr] Downloaded tree-sitter-go v0.20.0 [INFO] [stderr] Downloaded tree-sitter-java v0.20.2 [INFO] [stderr] Downloaded tree-sitter-python v0.20.4 [INFO] [stderr] Downloaded tree-sitter-javascript v0.20.4 [INFO] [stderr] Downloaded tree-sitter-c v0.20.8 [INFO] [stderr] Downloaded tree-sitter-rust v0.20.4 [INFO] [stderr] Downloaded tree-sitter-cpp v0.20.5 [INFO] [stderr] Downloaded tree-sitter-typescript v0.20.5 [INFO] [stderr] Downloaded ring v0.17.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db820791105c9e0696061be06d2aedbd71d517165b801f2072ac5e0452c6181e [INFO] running `Command { std: "docker" "start" "-a" "db820791105c9e0696061be06d2aedbd71d517165b801f2072ac5e0452c6181e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db820791105c9e0696061be06d2aedbd71d517165b801f2072ac5e0452c6181e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db820791105c9e0696061be06d2aedbd71d517165b801f2072ac5e0452c6181e", kill_on_drop: false }` [INFO] [stdout] db820791105c9e0696061be06d2aedbd71d517165b801f2072ac5e0452c6181e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19c5a0b760d5a633cce87ab854fd8bbe6cec7c90a15570d4176921c5ed1b261a [INFO] running `Command { std: "docker" "start" "-a" "19c5a0b760d5a633cce87ab854fd8bbe6cec7c90a15570d4176921c5ed1b261a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ring v0.17.9 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling tree-sitter-go v0.20.0 [INFO] [stderr] Compiling tree-sitter-cpp v0.20.5 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling tree-sitter-typescript v0.20.5 [INFO] [stderr] Compiling tree-sitter-rust v0.20.4 [INFO] [stderr] Compiling tree-sitter-javascript v0.20.4 [INFO] [stderr] Compiling tree-sitter-c v0.20.8 [INFO] [stderr] Compiling tree-sitter-java v0.20.2 [INFO] [stderr] Compiling tree-sitter-python v0.20.4 [INFO] [stderr] Checking webpki-roots v1.0.1 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking reqwest v0.12.20 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking lsp-types v0.95.1 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking mockall v0.12.1 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking git2 v0.18.3 [INFO] [stderr] Checking coderlib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/integration/mod.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | pub use ai_assistant::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `PanelPosition` in the type namespace is first re-exported here [INFO] [stdout] 446 | pub use streaming_handler::*; [INFO] [stdout] 447 | pub use config_integration::*; [INFO] [stdout] | --------------------- but the name `PanelPosition` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::TempDir` [INFO] [stdout] --> src/lsp/client.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::TempDir` [INFO] [stdout] --> src/commands/mod.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::TempDir` [INFO] [stdout] --> src/permission/service.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::TempDir` [INFO] [stdout] --> src/permission/mod.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | use tempfile::TempDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/integration/mod.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | pub use ai_assistant::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `PanelPosition` in the type namespace is first re-exported here [INFO] [stdout] 446 | pub use streaming_handler::*; [INFO] [stdout] 447 | pub use config_integration::*; [INFO] [stdout] | --------------------- but the name `PanelPosition` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp_rx` [INFO] [stdout] --> src/integration/plugin_manager.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 176 | let (resp_tx, resp_rx) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resp_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_file` [INFO] [stdout] --> src/integration/context_gatherer.rs:679:61 [INFO] [stdout] | [INFO] [stdout] 679 | async fn gather_git_context(&self, project_root: &Path, current_file: &Option) -> Result, CoderLibError> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `git_tool` [INFO] [stdout] --> src/integration/context_gatherer.rs:680:21 [INFO] [stdout] | [INFO] [stdout] 680 | if let Some(git_tool) = &self.git_tool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_git_tool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/integration/context_gatherer.rs:702:71 [INFO] [stdout] | [INFO] [stdout] 702 | ...xt(&self, current_file: &Path, host: &dyn HostIntegration) -> Result, CoderLibError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edit_host` [INFO] [stdout] --> src/integration/config_integration.rs:627:44 [INFO] [stdout] | [INFO] [stdout] 627 | pub async fn apply_to_edit_host(&self, edit_host: &mut EditHost, config: &EditIntegratedConfig) -> Result<(), CoderLibError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edit_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp_rx` [INFO] [stdout] --> src/integration/plugin_manager.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 176 | let (resp_tx, resp_rx) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resp_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_file` [INFO] [stdout] --> src/integration/context_gatherer.rs:679:61 [INFO] [stdout] | [INFO] [stdout] 679 | async fn gather_git_context(&self, project_root: &Path, current_file: &Option) -> Result, CoderLibError> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `git_tool` [INFO] [stdout] --> src/integration/context_gatherer.rs:680:21 [INFO] [stdout] | [INFO] [stdout] 680 | if let Some(git_tool) = &self.git_tool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_git_tool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> src/integration/context_gatherer.rs:702:71 [INFO] [stdout] | [INFO] [stdout] 702 | ...xt(&self, current_file: &Path, host: &dyn HostIntegration) -> Result, CoderLibError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/summarization/service.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let model = create_test_model(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edit_host` [INFO] [stdout] --> src/integration/config_integration.rs:627:44 [INFO] [stdout] | [INFO] [stdout] 627 | pub async fn apply_to_edit_host(&self, edit_host: &mut EditHost, config: &EditIntegratedConfig) -> Result<(), CoderLibError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edit_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/tools/calculator.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | let params = json!({ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/integration/edit_host.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | .map_err(|e| IntegrationError::FileNotFound(path.to_path_buf()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/integration/event_handler.rs:313:35 [INFO] [stdout] | [INFO] [stdout] 313 | HostEvent::KeyPressed(key) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/integration/edit_host.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | .map_err(|e| IntegrationError::FileNotFound(path.to_path_buf()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/integration/event_handler.rs:313:35 [INFO] [stdout] | [INFO] [stdout] 313 | HostEvent::KeyPressed(key) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/integration/mod.rs:464:23 [INFO] [stdout] | [INFO] [stdout] 464 | .map_err(|e| IntegrationError::FileNotFound(path.to_path_buf())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lsp/client.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | let mut client = LspClient::new(config); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/integration/mod.rs:464:23 [INFO] [stdout] | [INFO] [stdout] 464 | .map_err(|e| IntegrationError::FileNotFound(path.to_path_buf())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/summarization/summarizer.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let model = create_test_model(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/summarization/summarizer.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let model = create_test_model(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/summarization/summarizer.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let model = create_test_model(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/summarization/summarizer.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let model = create_test_model(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/summarization/summarizer.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | let model = create_test_model(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/summarization/summarizer.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | let model = create_test_model(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `object`, `created`, and `model` are never read [INFO] [stdout] --> src/llm/providers/openai.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 118 | struct StreamChunk { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 119 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 120 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 121 | created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 122 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `finish_reason` are never read [INFO] [stdout] --> src/llm/providers/openai.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | struct StreamChoice { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 129 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 130 | delta: Delta, [INFO] [stdout] 131 | finish_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/llm/providers/openai.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | struct Delta { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 137 | role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Delta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `delta_type` and `partial_json` are never read [INFO] [stdout] --> src/llm/providers/anthropic.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct StreamDelta { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 122 | #[serde(rename = "type")] [INFO] [stdout] 123 | delta_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 124 | text: Option, [INFO] [stdout] 125 | partial_json: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamDelta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `object`, `created`, and `model` are never read [INFO] [stdout] --> src/llm/providers/openai_compatible.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 211 | struct StreamChunk { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 212 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 213 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 214 | created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 215 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `finish_reason` are never read [INFO] [stdout] --> src/llm/providers/openai_compatible.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 221 | struct StreamChoice { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 222 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 223 | delta: Delta, [INFO] [stdout] 224 | finish_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/llm/providers/openai_compatible.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 229 | struct Delta { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 230 | role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Delta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `role` and `tool_calls` are never read [INFO] [stdout] --> src/llm/providers/azure.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct AzureResponseMessage { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 69 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 70 | content: Option, [INFO] [stdout] 71 | tool_calls: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AzureResponseMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/llm/providers/azure.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 76 | struct AzureUsage { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | total_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AzureUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/llm/providers/azure.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct AzureDelta { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 98 | role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AzureDelta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/llm/providers/vertex.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct VertexResponseContent { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 90 | parts: Vec, [INFO] [stdout] 91 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VertexResponseContent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_token_count` is never read [INFO] [stdout] --> src/llm/providers/vertex.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 102 | struct VertexUsageMetadata { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 108 | total_token_count: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VertexUsageMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `role` and `tool_calls` are never read [INFO] [stdout] --> src/llm/providers/openrouter.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | struct OpenRouterResponseMessage { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 70 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | content: Option, [INFO] [stdout] 72 | tool_calls: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenRouterResponseMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/llm/providers/openrouter.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct OpenRouterUsage { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | total_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenRouterUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `model` is never read [INFO] [stdout] --> src/llm/providers/openrouter.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct OpenRouterStreamChunk { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 86 | choices: Vec, [INFO] [stdout] 87 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenRouterStreamChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/llm/providers/openrouter.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | struct OpenRouterDelta { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 100 | role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenRouterDelta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `role` and `tool_calls` are never read [INFO] [stdout] --> src/llm/providers/xai.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | struct XaiResponseMessage { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 67 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | content: Option, [INFO] [stdout] 69 | tool_calls: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XaiResponseMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/llm/providers/xai.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct XaiUsage { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | total_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XaiUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `model` is never read [INFO] [stdout] --> src/llm/providers/xai.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct XaiStreamChunk { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 83 | choices: Vec, [INFO] [stdout] 84 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XaiStreamChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/llm/providers/xai.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | struct XaiDelta { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 97 | role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XaiDelta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parsers` is never read [INFO] [stdout] --> src/tools/code_analysis.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CodeAnalysisTool { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 20 | parsers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capabilities` is never read [INFO] [stdout] --> src/integration/edit_host.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct EditHost { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | capabilities: HostCapabilities, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hotkey_sequence` is never read [INFO] [stdout] --> src/integration/event_handler.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct AIAssistantListener { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 56 | /// Hotkey sequence to trigger AI assistant [INFO] [stdout] 57 | hotkey_sequence: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_context_size` is never read [INFO] [stdout] --> src/integration/event_handler.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ContextGatheringListener { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | max_context_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_command` is never used [INFO] [stdout] --> src/integration/event_handler.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 82 | impl EditEventHandler { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 287 | async fn send_command(&self, command: HostCommand) -> Result<(), CoderLibError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_total_tokens` is never used [INFO] [stdout] --> src/summarization/service.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl SummarizationServiceImpl { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn calculate_total_tokens(&self, messages: &[Message]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pending_requests` is never read [INFO] [stdout] --> src/permission/service.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PermissionServiceImpl { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pending_requests: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `object`, `created`, and `model` are never read [INFO] [stdout] --> src/llm/providers/openai.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 118 | struct StreamChunk { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 119 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 120 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 121 | created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 122 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `finish_reason` are never read [INFO] [stdout] --> src/llm/providers/openai.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | struct StreamChoice { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 129 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 130 | delta: Delta, [INFO] [stdout] 131 | finish_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/llm/providers/openai.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | struct Delta { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 137 | role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Delta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `delta_type` and `partial_json` are never read [INFO] [stdout] --> src/llm/providers/anthropic.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct StreamDelta { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 122 | #[serde(rename = "type")] [INFO] [stdout] 123 | delta_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 124 | text: Option, [INFO] [stdout] 125 | partial_json: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamDelta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `object`, `created`, and `model` are never read [INFO] [stdout] --> src/llm/providers/openai_compatible.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 211 | struct StreamChunk { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 212 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 213 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 214 | created: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 215 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `finish_reason` are never read [INFO] [stdout] --> src/llm/providers/openai_compatible.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 221 | struct StreamChoice { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 222 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 223 | delta: Delta, [INFO] [stdout] 224 | finish_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamChoice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/llm/providers/openai_compatible.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 229 | struct Delta { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 230 | role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Delta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `role` and `tool_calls` are never read [INFO] [stdout] --> src/llm/providers/azure.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct AzureResponseMessage { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 69 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 70 | content: Option, [INFO] [stdout] 71 | tool_calls: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AzureResponseMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/llm/providers/azure.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 76 | struct AzureUsage { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | total_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AzureUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/llm/providers/azure.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct AzureDelta { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 98 | role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AzureDelta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/llm/providers/vertex.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct VertexResponseContent { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 90 | parts: Vec, [INFO] [stdout] 91 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VertexResponseContent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_token_count` is never read [INFO] [stdout] --> src/llm/providers/vertex.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 102 | struct VertexUsageMetadata { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 108 | total_token_count: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VertexUsageMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `role` and `tool_calls` are never read [INFO] [stdout] --> src/llm/providers/openrouter.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | struct OpenRouterResponseMessage { [INFO] [stdout] | ------------------------- fields in this struct [INFO] [stdout] 70 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | content: Option, [INFO] [stdout] 72 | tool_calls: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenRouterResponseMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/llm/providers/openrouter.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct OpenRouterUsage { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | total_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenRouterUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `model` is never read [INFO] [stdout] --> src/llm/providers/openrouter.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct OpenRouterStreamChunk { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 86 | choices: Vec, [INFO] [stdout] 87 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenRouterStreamChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/llm/providers/openrouter.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | struct OpenRouterDelta { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 100 | role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenRouterDelta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `role` and `tool_calls` are never read [INFO] [stdout] --> src/llm/providers/xai.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | struct XaiResponseMessage { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 67 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | content: Option, [INFO] [stdout] 69 | tool_calls: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XaiResponseMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_tokens` is never read [INFO] [stdout] --> src/llm/providers/xai.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct XaiUsage { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | total_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XaiUsage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `model` is never read [INFO] [stdout] --> src/llm/providers/xai.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct XaiStreamChunk { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 83 | choices: Vec, [INFO] [stdout] 84 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XaiStreamChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/llm/providers/xai.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | struct XaiDelta { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 97 | role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XaiDelta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parsers` is never read [INFO] [stdout] --> src/tools/code_analysis.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CodeAnalysisTool { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 20 | parsers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capabilities` is never read [INFO] [stdout] --> src/integration/edit_host.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct EditHost { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | capabilities: HostCapabilities, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hotkey_sequence` is never read [INFO] [stdout] --> src/integration/event_handler.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct AIAssistantListener { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 56 | /// Hotkey sequence to trigger AI assistant [INFO] [stdout] 57 | hotkey_sequence: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_context_size` is never read [INFO] [stdout] --> src/integration/event_handler.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ContextGatheringListener { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | max_context_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_command` is never used [INFO] [stdout] --> src/integration/event_handler.rs:287:14 [INFO] [stdout] | [INFO] [stdout] 82 | impl EditEventHandler { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 287 | async fn send_command(&self, command: HostCommand) -> Result<(), CoderLibError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_to_uri` is never used [INFO] [stdout] --> src/lsp/client.rs:391:4 [INFO] [stdout] | [INFO] [stdout] 391 | fn path_to_uri(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uri_to_path` is never used [INFO] [stdout] --> src/lsp/client.rs:397:4 [INFO] [stdout] | [INFO] [stdout] 397 | fn uri_to_path(uri: &Url) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_total_tokens` is never used [INFO] [stdout] --> src/summarization/service.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl SummarizationServiceImpl { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn calculate_total_tokens(&self, messages: &[Message]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pending_requests` is never read [INFO] [stdout] --> src/permission/service.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PermissionServiceImpl { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pending_requests: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `coderlib::tools::DiagnosticsTool` [INFO] [stdout] --> tests/lsp_integration_test.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | use coderlib::tools::{Tool, DiagnosticsTool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `DiagnosticsTool` in `tools` [INFO] [stdout] | help: a similar name exists in the module: `diagnostics` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] coderlib::tools::diagnostics::DiagnosticsTool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `send_message` is not a member of trait `HostIntegration` [INFO] [stdout] --> tests/lsp_integration_test.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | async fn send_message(&self, _message: String) -> Result<(), coderlib::integration::IntegrationError> { [INFO] [stdout] | ^ ------------ help: there is an associated function with a similar name: `show_message` [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 120 | | Ok(()) [INFO] [stdout] 121 | | } [INFO] [stdout] | |_________^ not a member of trait `HostIntegration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `get_current_file` is not a member of trait `HostIntegration` [INFO] [stdout] --> tests/lsp_integration_test.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | / async fn get_current_file(&self) -> Result, coderlib::integration::IntegrationError> { [INFO] [stdout] 124 | | Ok(None) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_________^ not a member of trait `HostIntegration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `set_file_content` is not a member of trait `HostIntegration` [INFO] [stdout] --> tests/lsp_integration_test.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | async fn set_file_content(&self, _path: &std::path::Path, _content: &str) -> Result<(), coderlib::integration::IntegrationError> { [INFO] [stdout] | ^ ---------------- help: there is an associated function with a similar name: `get_file_content` [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 132 | | Ok(()) [INFO] [stdout] 133 | | } [INFO] [stdout] | |_________^ not a member of trait `HostIntegration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `get_workspace_root` is not a member of trait `HostIntegration` [INFO] [stdout] --> tests/lsp_integration_test.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / async fn get_workspace_root(&self) -> Result, coderlib::integration::IntegrationError> { [INFO] [stdout] 140 | | Ok(None) [INFO] [stdout] 141 | | } [INFO] [stdout] | |_________^ not a member of trait `HostIntegration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `list_files` is not a member of trait `HostIntegration` [INFO] [stdout] --> tests/lsp_integration_test.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | / async fn list_files(&self, _pattern: Option) -> Result, coderlib::integration::IntegrationError> { [INFO] [stdout] 144 | | Ok(Vec::new()) [INFO] [stdout] 145 | | } [INFO] [stdout] | |_________^ not a member of trait `HostIntegration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `get_capabilities` is not a member of trait `HostIntegration` [INFO] [stdout] --> tests/lsp_integration_test.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | / fn get_capabilities(&self) -> coderlib::integration::HostCapabilities { [INFO] [stdout] 148 | | coderlib::integration::HostCapabilities { [INFO] [stdout] 149 | | can_edit_files: true, [INFO] [stdout] 150 | | can_execute_commands: false, [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] | |_________^ not a member of trait `HostIntegration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `IntegrationError` is private [INFO] [stdout] --> tests/lsp_integration_test.rs:119:93 [INFO] [stdout] | [INFO] [stdout] 119 | async fn send_message(&self, _message: String) -> Result<(), coderlib::integration::IntegrationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `IntegrationError` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/integration/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::core::error::IntegrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 119 - async fn send_message(&self, _message: String) -> Result<(), coderlib::integration::IntegrationError> { [INFO] [stdout] 119 + async fn send_message(&self, _message: String) -> Result<(), coderlib::core::error::IntegrationError> { [INFO] [stdout] | [INFO] [stdout] help: import `IntegrationError` directly [INFO] [stdout] | [INFO] [stdout] 119 - async fn send_message(&self, _message: String) -> Result<(), coderlib::integration::IntegrationError> { [INFO] [stdout] 119 + async fn send_message(&self, _message: String) -> Result<(), coderlib::core::error::IntegrationError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `IntegrationError` is private [INFO] [stdout] --> tests/lsp_integration_test.rs:123:103 [INFO] [stdout] | [INFO] [stdout] 123 | async fn get_current_file(&self) -> Result, coderlib::integration::IntegrationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `IntegrationError` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/integration/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::core::error::IntegrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 123 - async fn get_current_file(&self) -> Result, coderlib::integration::IntegrationError> { [INFO] [stdout] 123 + async fn get_current_file(&self) -> Result, coderlib::core::error::IntegrationError> { [INFO] [stdout] | [INFO] [stdout] help: import `IntegrationError` directly [INFO] [stdout] | [INFO] [stdout] 123 - async fn get_current_file(&self) -> Result, coderlib::integration::IntegrationError> { [INFO] [stdout] 123 + async fn get_current_file(&self) -> Result, coderlib::core::error::IntegrationError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `IntegrationError` is private [INFO] [stdout] --> tests/lsp_integration_test.rs:127:108 [INFO] [stdout] | [INFO] [stdout] 127 | async fn get_file_content(&self, _path: &std::path::Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `IntegrationError` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/integration/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::core::error::IntegrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 127 - async fn get_file_content(&self, _path: &std::path::Path) -> Result { [INFO] [stdout] 127 + async fn get_file_content(&self, _path: &std::path::Path) -> Result { [INFO] [stdout] | [INFO] [stdout] help: import `IntegrationError` directly [INFO] [stdout] | [INFO] [stdout] 127 - async fn get_file_content(&self, _path: &std::path::Path) -> Result { [INFO] [stdout] 127 + async fn get_file_content(&self, _path: &std::path::Path) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `IntegrationError` is private [INFO] [stdout] --> tests/lsp_integration_test.rs:131:120 [INFO] [stdout] | [INFO] [stdout] 131 | async fn set_file_content(&self, _path: &std::path::Path, _content: &str) -> Result<(), coderlib::integration::IntegrationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `IntegrationError` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/integration/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::core::error::IntegrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 131 - async fn set_file_content(&self, _path: &std::path::Path, _content: &str) -> Result<(), coderlib::integration::IntegrationError> { [INFO] [stdout] 131 + async fn set_file_content(&self, _path: &std::path::Path, _content: &str) -> Result<(), coderlib::core::error::IntegrationError> { [INFO] [stdout] | [INFO] [stdout] help: import `IntegrationError` directly [INFO] [stdout] | [INFO] [stdout] 131 - async fn set_file_content(&self, _path: &std::path::Path, _content: &str) -> Result<(), coderlib::integration::IntegrationError> { [INFO] [stdout] 131 + async fn set_file_content(&self, _path: &std::path::Path, _content: &str) -> Result<(), coderlib::core::error::IntegrationError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `IntegrationError` is private [INFO] [stdout] --> tests/lsp_integration_test.rs:135:143 [INFO] [stdout] | [INFO] [stdout] 135 | ...:MessageLevel) -> Result<(), coderlib::integration::IntegrationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `IntegrationError` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/integration/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::core::error::IntegrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 135 - async fn show_notification(&self, _message: String, _level: coderlib::integration::MessageLevel) -> Result<(), coderlib::integration::IntegrationError> { [INFO] [stdout] 135 + async fn show_notification(&self, _message: String, _level: coderlib::integration::MessageLevel) -> Result<(), coderlib::core::error::IntegrationError> { [INFO] [stdout] | [INFO] [stdout] help: import `IntegrationError` directly [INFO] [stdout] | [INFO] [stdout] 135 - async fn show_notification(&self, _message: String, _level: coderlib::integration::MessageLevel) -> Result<(), coderlib::integration::IntegrationError> { [INFO] [stdout] 135 + async fn show_notification(&self, _message: String, _level: coderlib::integration::MessageLevel) -> Result<(), coderlib::core::error::IntegrationError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `IntegrationError` is private [INFO] [stdout] --> tests/lsp_integration_test.rs:139:105 [INFO] [stdout] | [INFO] [stdout] 139 | async fn get_workspace_root(&self) -> Result, coderlib::integration::IntegrationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `IntegrationError` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/integration/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::core::error::IntegrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 139 - async fn get_workspace_root(&self) -> Result, coderlib::integration::IntegrationError> { [INFO] [stdout] 139 + async fn get_workspace_root(&self) -> Result, coderlib::core::error::IntegrationError> { [INFO] [stdout] | [INFO] [stdout] help: import `IntegrationError` directly [INFO] [stdout] | [INFO] [stdout] 139 - async fn get_workspace_root(&self) -> Result, coderlib::integration::IntegrationError> { [INFO] [stdout] 139 + async fn get_workspace_root(&self) -> Result, coderlib::core::error::IntegrationError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: enum `IntegrationError` is private [INFO] [stdout] --> tests/lsp_integration_test.rs:143:120 [INFO] [stdout] | [INFO] [stdout] 143 | async fn list_files(&self, _pattern: Option) -> Result, coderlib::integration::IntegrationError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private enum [INFO] [stdout] | [INFO] [stdout] note: the enum `IntegrationError` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/integration/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::core::error::IntegrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 143 - async fn list_files(&self, _pattern: Option) -> Result, coderlib::integration::IntegrationError> { [INFO] [stdout] 143 + async fn list_files(&self, _pattern: Option) -> Result, coderlib::core::error::IntegrationError> { [INFO] [stdout] | [INFO] [stdout] help: import `IntegrationError` directly [INFO] [stdout] | [INFO] [stdout] 143 - async fn list_files(&self, _pattern: Option) -> Result, coderlib::integration::IntegrationError> { [INFO] [stdout] 143 + async fn list_files(&self, _pattern: Option) -> Result, coderlib::core::error::IntegrationError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `show_notification` do not match the trait declaration [INFO] [stdout] --> tests/lsp_integration_test.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | ... fn show_notification(&self, _message: String, _level: coderlib::integration::MessageLevel) -> Result<(), coderlib::integration::Integ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `on_event`, `request_permission`, `update_file_content`, `get_cursor_position`, `set_cursor_position`, `get_selection`, `set_selection`, `insert_text`, `replace_text`, `get_active_file`, `get_open_files`, `get_project_root`, `show_message`, `request_input`, `confirm`, `execute_command`, `get_host_info` [INFO] [stdout] --> tests/lsp_integration_test.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | impl HostIntegration for MockHost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `on_event`, `request_permission`, `update_file_content`, `get_cursor_position`, `set_cursor_position`, `get_selection`, `set_selection`, `insert_text`, `replace_text`, `get_active_file`, `get_open_files`, `get_project_root`, `show_message`, `request_input`, `confirm`, `execute_command`, `get_host_info` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn on_event(&'life0 self, _: CoderEvent) -> Pin> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn request_permission(&'life0 self, _: coderlib::tools::Permission) -> Pin> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn update_file_content(&'life0 self, _: &'life1 Path, _: &'life2 str) -> Pin> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn get_cursor_position(&'life0 self) -> Pin> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn set_cursor_position(&'life0 self, _: Position) -> Pin> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn get_selection(&'life0 self) -> Pin, IntegrationError>> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn set_selection(&'life0 self, _: coderlib::lsp::Range) -> Pin> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn insert_text(&'life0 self, _: &'life1 str) -> Pin> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn replace_text(&'life0 self, _: coderlib::lsp::Range, _: &'life1 str) -> Pin> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn get_active_file(&'life0 self) -> Pin, IntegrationError>> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn get_open_files(&'life0 self) -> Pin, IntegrationError>> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn get_project_root(&'life0 self) -> Pin, IntegrationError>> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn show_message(&'life0 self, _: &'life1 str, _: MessageLevel) -> Pin> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn request_input(&'life0 self, _: &'life1 str, _: Option<&'life2 str>) -> Pin, IntegrationError>> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn confirm(&'life0 self, _: &'life1 str) -> Pin> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn execute_command(&'life0 self, _: &'life1 str, _: &'life2 [&'life3 str]) -> Pin> + Send + 'async_trait)>> { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn get_host_info(&self) -> HostInfo { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `HostCapabilities` has no field named `can_edit_files` [INFO] [stdout] --> tests/lsp_integration_test.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | can_edit_files: true, [INFO] [stdout] | ^^^^^^^^^^^^^^ `HostCapabilities` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `file_modification`, `ui_dialogs`, `command_execution`, `notifications`, `project_access` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `HostCapabilities` has no field named `can_execute_commands` [INFO] [stdout] --> tests/lsp_integration_test.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | can_execute_commands: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `HostCapabilities` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `file_modification`, `ui_dialogs`, `command_execution`, `notifications`, `project_access` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `HostCapabilities` has no field named `can_show_notifications` [INFO] [stdout] --> tests/lsp_integration_test.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | can_show_notifications: true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ `HostCapabilities` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `file_modification`, `ui_dialogs`, `command_execution`, `notifications`, `project_access` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `HostCapabilities` has no field named `supports_streaming` [INFO] [stdout] --> tests/lsp_integration_test.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | supports_streaming: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `HostCapabilities` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `file_modification`, `ui_dialogs`, `command_execution`, `notifications`, `project_access` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0195, E0407, E0432, E0560, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `coderlib` (test "lsp_integration_test") due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "19c5a0b760d5a633cce87ab854fd8bbe6cec7c90a15570d4176921c5ed1b261a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19c5a0b760d5a633cce87ab854fd8bbe6cec7c90a15570d4176921c5ed1b261a", kill_on_drop: false }` [INFO] [stdout] 19c5a0b760d5a633cce87ab854fd8bbe6cec7c90a15570d4176921c5ed1b261a