[INFO] cloning repository https://github.com/Th3Samaritan/qwen-editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Th3Samaritan/qwen-editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTh3Samaritan%2Fqwen-editor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTh3Samaritan%2Fqwen-editor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a71ae7f7bbbc00f56ce1c3499c9215a0ce9789f [INFO] checking Th3Samaritan/qwen-editor against master#89a99936d9e76a50e8df622e7242190841fd871b for pr-156160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTh3Samaritan%2Fqwen-editor" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Th3Samaritan/qwen-editor [INFO] finished tweaking git repo https://github.com/Th3Samaritan/qwen-editor [INFO] tweaked toml for git repo https://github.com/Th3Samaritan/qwen-editor written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Th3Samaritan/qwen-editor on toolchain 89a99936d9e76a50e8df622e7242190841fd871b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Th3Samaritan/qwen-editor 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" "+89a99936d9e76a50e8df622e7242190841fd871b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tree-sitter-yaml v0.7.2 [INFO] [stderr] Downloaded tui-textarea v0.6.1 [INFO] [stderr] Downloaded tree-sitter-json v0.23.0 [INFO] [stderr] Downloaded tree-sitter-css v0.23.2 [INFO] [stderr] Downloaded tree-sitter-html v0.23.2 [INFO] [stderr] Downloaded tree-sitter-highlight v0.24.7 [INFO] [stderr] Downloaded tree-sitter-javascript v0.23.1 [INFO] [stderr] Downloaded tree-sitter-rust v0.23.3 [INFO] [stderr] Downloaded tree-sitter-ruby v0.23.1 [INFO] [stderr] Downloaded tree-sitter-bash v0.23.3 [INFO] [stderr] Downloaded tree-sitter-cpp v0.23.4 [INFO] [stderr] Downloaded ratatui v0.28.1 [INFO] [stderr] Downloaded tree-sitter-c v0.23.4 [INFO] [stderr] Downloaded tree-sitter-go v0.23.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f54d9c82f11125e6123199006c5c4038465cbaa946150a753dfbd4f22c37c81d [INFO] running `Command { std: "docker" "start" "f54d9c82f11125e6123199006c5c4038465cbaa946150a753dfbd4f22c37c81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f54d9c82f11125e6123199006c5c4038465cbaa946150a753dfbd4f22c37c81d" "/opt/rustwide/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f54d9c82f11125e6123199006c5c4038465cbaa946150a753dfbd4f22c37c81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f54d9c82f11125e6123199006c5c4038465cbaa946150a753dfbd4f22c37c81d" "/opt/rustwide/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling tree-sitter-language v0.1.7 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling openssl-sys v0.9.116 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling openssl v0.10.80 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling instability v0.3.12 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling tree-sitter v0.24.7 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Checking unicode-segmentation v1.13.2 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tree-sitter-typescript v0.23.2 [INFO] [stderr] Compiling tree-sitter-css v0.23.2 [INFO] [stderr] Compiling tree-sitter-python v0.23.6 [INFO] [stderr] Compiling tree-sitter-java v0.23.5 [INFO] [stderr] Compiling tree-sitter-c v0.23.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Compiling tree-sitter-json v0.23.0 [INFO] [stderr] Compiling tree-sitter-rust v0.23.3 [INFO] [stderr] Compiling tree-sitter-bash v0.23.3 [INFO] [stderr] Compiling tree-sitter-go v0.23.4 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Compiling tree-sitter-javascript v0.23.1 [INFO] [stderr] Compiling tree-sitter-ruby v0.23.1 [INFO] [stderr] Compiling tree-sitter-cpp v0.23.4 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling tree-sitter-html v0.23.2 [INFO] [stderr] Compiling tree-sitter-yaml v0.7.2 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking rustls-pki-types v1.14.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking env_filter v1.0.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking serde_json v1.0.150 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking jiff v0.2.24 [INFO] [stderr] Checking tree-sitter-highlight v0.24.7 [INFO] [stderr] Checking uuid v1.23.1 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking ratatui v0.28.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking tui-textarea v0.6.1 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking h2 v0.4.14 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking env_logger v0.11.10 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking qwen-editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/app.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct EditorTab { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 42 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `EditorTab` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_content` is never used [INFO] [stdout] --> src/app.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl EditorTab { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn set_content(&mut self, content: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lsp_client` and `prompt_input` are never read [INFO] [stdout] --> src/app.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 369 | pub lsp_client: LspClient, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub prompt_input: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `chat` is never used [INFO] [stdout] --> src/ai/mod.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 41 | impl AiEngine { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub async fn chat( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `suggestion` is never read [INFO] [stdout] --> src/ai/mod.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct CodeIssue { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 164 | pub suggestion: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeIssue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list_models` is never used [INFO] [stdout] --> src/ai/client.rs:280:18 [INFO] [stdout] | [INFO] [stdout] 70 | impl AiEngine { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 280 | pub async fn list_models(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chat_with_context` is never used [INFO] [stdout] --> src/ai/chat.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn chat_with_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exit_code` and `duration_ms` are never read [INFO] [stdout] --> src/compiler/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CompileResult { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub exit_code: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub duration_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompileResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Modified` is never constructed [INFO] [stdout] --> src/git.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum DiffKind { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 6 | Added, [INFO] [stdout] 7 | Modified, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiffKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_string` is never used [INFO] [stdout] --> src/jupyter/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl CellSource { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 57 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_string` is never used [INFO] [stdout] --> src/jupyter/mod.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl OutputText { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 81 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_notebook` is never used [INFO] [stdout] --> src/jupyter/mod.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn save_notebook(path: &PathBuf, notebook: &Notebook) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_notebook` is never used [INFO] [stdout] --> src/jupyter/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn new_notebook(python_version: &str) -> Notebook { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `notebook`, `file_path`, `selected_cell`, `editing_cell`, and `output_expanded` are never read [INFO] [stdout] --> src/jupyter/viewer.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct NotebookViewer { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 5 | pub notebook: Notebook, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | pub file_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub selected_cell: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | pub editing_cell: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | pub output_expanded: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/jupyter/viewer.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NotebookViewer { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn cell_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn add_cell(&mut self, cell_type: super::CellType) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn remove_cell(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn move_cell_up(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn move_cell_down(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn run_cell(&mut self, cell_idx: usize) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn run_all_cells(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn execute_python_code(&self, code: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn save(&self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompletionItem` is never constructed [INFO] [stdout] --> src/lsp/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct CompletionItem { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompletionKind` is never used [INFO] [stdout] --> src/lsp/mod.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum CompletionKind { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server_command` and `root_path` are never read [INFO] [stdout] --> src/lsp/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LspClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | process: Option, [INFO] [stdout] 8 | server_command: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | root_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Starting`, `Running`, and `Error` are never constructed [INFO] [stdout] --> src/lsp/client.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum LspState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 15 | Stopped, [INFO] [stdout] 16 | Starting, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Running, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LspState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start`, `initialize`, `is_running`, `request_diagnostics`, `request_completions`, and `send_message` are never used [INFO] [stdout] --> src/lsp/client.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl LspClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn start( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn initialize(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn is_running(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn request_diagnostics( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn request_completions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn send_message(&self, _message: &serde_json::Value) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `touch` is never used [INFO] [stdout] --> src/session/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Session { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn touch(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate_for_display` is never used [INFO] [stdout] --> src/utils/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn truncate_for_display(s: &str, max_len: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/app.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct EditorTab { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 42 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `EditorTab` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_content` is never used [INFO] [stdout] --> src/app.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl EditorTab { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | pub fn set_content(&mut self, content: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lsp_client` and `prompt_input` are never read [INFO] [stdout] --> src/app.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 369 | pub lsp_client: LspClient, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub prompt_input: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `chat` is never used [INFO] [stdout] --> src/ai/mod.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 41 | impl AiEngine { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub async fn chat( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `suggestion` is never read [INFO] [stdout] --> src/ai/mod.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct CodeIssue { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 164 | pub suggestion: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeIssue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list_models` is never used [INFO] [stdout] --> src/ai/client.rs:280:18 [INFO] [stdout] | [INFO] [stdout] 70 | impl AiEngine { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 280 | pub async fn list_models(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chat_with_context` is never used [INFO] [stdout] --> src/ai/chat.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn chat_with_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exit_code` and `duration_ms` are never read [INFO] [stdout] --> src/compiler/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CompileResult { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub exit_code: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub duration_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompileResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Modified` is never constructed [INFO] [stdout] --> src/git.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum DiffKind { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 6 | Added, [INFO] [stdout] 7 | Modified, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiffKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_string` is never used [INFO] [stdout] --> src/jupyter/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl CellSource { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 57 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_string` is never used [INFO] [stdout] --> src/jupyter/mod.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl OutputText { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 81 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_notebook` is never used [INFO] [stdout] --> src/jupyter/mod.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn save_notebook(path: &PathBuf, notebook: &Notebook) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_notebook` is never used [INFO] [stdout] --> src/jupyter/mod.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn new_notebook(python_version: &str) -> Notebook { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `notebook`, `file_path`, `selected_cell`, `editing_cell`, and `output_expanded` are never read [INFO] [stdout] --> src/jupyter/viewer.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct NotebookViewer { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 5 | pub notebook: Notebook, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | pub file_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub selected_cell: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 8 | pub editing_cell: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | pub output_expanded: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/jupyter/viewer.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NotebookViewer { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn cell_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn add_cell(&mut self, cell_type: super::CellType) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn remove_cell(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn move_cell_up(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn move_cell_down(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn run_cell(&mut self, cell_idx: usize) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn run_all_cells(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn execute_python_code(&self, code: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn save(&self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompletionItem` is never constructed [INFO] [stdout] --> src/lsp/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct CompletionItem { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompletionKind` is never used [INFO] [stdout] --> src/lsp/mod.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum CompletionKind { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `server_command` and `root_path` are never read [INFO] [stdout] --> src/lsp/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LspClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | process: Option, [INFO] [stdout] 8 | server_command: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | root_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Starting`, `Running`, and `Error` are never constructed [INFO] [stdout] --> src/lsp/client.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum LspState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 15 | Stopped, [INFO] [stdout] 16 | Starting, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Running, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LspState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start`, `initialize`, `is_running`, `request_diagnostics`, `request_completions`, and `send_message` are never used [INFO] [stdout] --> src/lsp/client.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl LspClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn start( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn initialize(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn is_running(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn request_diagnostics( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn request_completions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn send_message(&self, _message: &serde_json::Value) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `touch` is never used [INFO] [stdout] --> src/session/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Session { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn touch(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate_for_display` is never used [INFO] [stdout] --> src/utils/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn truncate_for_display(s: &str, max_len: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.49s [INFO] running `Command { std: "docker" "inspect" "f54d9c82f11125e6123199006c5c4038465cbaa946150a753dfbd4f22c37c81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f54d9c82f11125e6123199006c5c4038465cbaa946150a753dfbd4f22c37c81d", kill_on_drop: false }` [INFO] [stdout] f54d9c82f11125e6123199006c5c4038465cbaa946150a753dfbd4f22c37c81d