[INFO] cloning repository https://github.com/inxeoz/i4z_ide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/inxeoz/i4z_ide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finxeoz%2Fi4z_ide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finxeoz%2Fi4z_ide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 683f2eb038ec0a00b493850c24ddbdb7bff14e21 [INFO] testing inxeoz/i4z_ide against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finxeoz%2Fi4z_ide" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/inxeoz/i4z_ide [INFO] finished tweaking git repo https://github.com/inxeoz/i4z_ide [INFO] tweaked toml for git repo https://github.com/inxeoz/i4z_ide written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/inxeoz/i4z_ide on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/inxeoz/i4z_ide 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tui-tree-widget v0.22.0 [INFO] [stderr] Downloaded tui-textarea v0.6.1 [INFO] [stderr] Downloaded quick-xml v0.38.3 [INFO] [stderr] Downloaded syntect v5.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c251bc73c354ab3bb49d3b71ef0896f2aaa9e47dc7c2fed0616b02dad1148732 [INFO] running `Command { std: "docker" "start" "-a" "c251bc73c354ab3bb49d3b71ef0896f2aaa9e47dc7c2fed0616b02dad1148732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c251bc73c354ab3bb49d3b71ef0896f2aaa9e47dc7c2fed0616b02dad1148732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c251bc73c354ab3bb49d3b71ef0896f2aaa9e47dc7c2fed0616b02dad1148732", kill_on_drop: false }` [INFO] [stdout] c251bc73c354ab3bb49d3b71ef0896f2aaa9e47dc7c2fed0616b02dad1148732 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f2d30eafe11255109b7bc1f32f00c2180aa4eb9b575137b48311ecdd6f90adf [INFO] running `Command { std: "docker" "start" "-a" "6f2d30eafe11255109b7bc1f32f00c2180aa4eb9b575137b48311ecdd6f90adf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling quick-xml v0.38.3 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling gethostname v1.0.2 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling arboard v3.6.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling ratatui v0.28.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tui-tree-widget v0.22.0 [INFO] [stderr] Compiling tui-textarea v0.6.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling plist v1.7.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rust-coding-agent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ratatui::layout::Rect` [INFO] [stdout] --> src/ide/app.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | use ratatui::layout::Rect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::GroqClient` [INFO] [stdout] --> src/agent/actions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::api::GroqClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_x` [INFO] [stdout] --> src/ide/app.rs:506:30 [INFO] [stdout] | [INFO] [stdout] 506 | let (is_in_tab_area, expected_x, expected_y) = self.is_click_in_tab_area(x, y); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_y` [INFO] [stdout] --> src/ide/app.rs:506:42 [INFO] [stdout] | [INFO] [stdout] 506 | let (is_in_tab_area, expected_x, expected_y) = self.is_click_in_tab_area(x, y); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visible_lines` [INFO] [stdout] --> src/ide/editor.rs:434:44 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn scroll_up_by_visible(&mut self, visible_lines: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_end` [INFO] [stdout] --> src/agent/actions.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | let code_end = code_match.end(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_temperature`, `set_temperature`, `get_max_tokens`, and `set_max_tokens` are never used [INFO] [stdout] --> src/config.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_temperature(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn set_temperature(&mut self, temperature: f32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_max_tokens(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn set_max_tokens(&mut self, max_tokens: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_image`, `get_text`, and `set_text` are never used [INFO] [stdout] --> src/clipboard.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ClipboardManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn has_image(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn get_text(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_text(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `message_count`, `add_system_message`, `get_last_user_message`, `get_last_assistant_message`, `export_to_json`, and `import_from_json` are never used [INFO] [stdout] --> src/conversation.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Conversation { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn message_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn add_system_message(&mut self, content: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_last_user_message(&self) -> Option<&GroqMessage> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_last_assistant_message(&self) -> Option<&GroqMessage> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn export_to_json(&self) -> serde_json::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn import_from_json(json: &str) -> serde_json::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `session_id` and `current_directory` are never read [INFO] [stdout] --> src/ide/app.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct IdeApp { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | pub session_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 117 | pub current_directory: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_clicked_chat_area` is never used [INFO] [stdout] --> src/ide/app.rs:481:8 [INFO] [stdout] | [INFO] [stdout] 120 | impl IdeApp { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 481 | fn get_clicked_chat_area(&self, x: u16, y: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_icon` is never used [INFO] [stdout] --> src/ide/layout.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn get_file_icon(filename: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `list_state` is never read [INFO] [stdout] --> src/ide/sidebar/chat.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Chat { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub list_state: ListState, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `close_tab_by_index`, `get_tab_index_by_id`, `scroll_up_by_visible`, and `scroll_down_by_visible` are never used [INFO] [stdout] --> src/ide/editor.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl Editor { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn close_tab_by_index(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn get_tab_index_by_id(&self, tab_id: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn scroll_up_by_visible(&mut self, visible_lines: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | pub fn scroll_down_by_visible(&mut self, visible_lines: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_icon` is never used [INFO] [stdout] --> src/ide/editor.rs:641:4 [INFO] [stdout] | [INFO] [stdout] 641 | fn get_file_icon(filename: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ide/events.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum IdeEvent { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | OpenFile(PathBuf), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | SaveFile, [INFO] [stdout] 38 | SaveAsFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | Delete, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | Enter, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 57 | Tab, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | CloseTab(u32), // Close tab by ID [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | SwitchToTab(usize), // Switch to tab by index [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | ReorderTab { from_index: usize, to_index: usize }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 80 | StartTabDrag(usize), // Start dragging tab at index [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 81 | EndTabDrag, // End tab dragging [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | UpdateTabDrag(u16), // Update drag position [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdeEvent` 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: enum `AgentAction` is never used [INFO] [stdout] --> src/agent/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AgentAction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentResponse` is never constructed [INFO] [stdout] --> src/agent/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AgentResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `success` and `error` are never used [INFO] [stdout] --> src/agent/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl AgentResponse { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 30 | pub fn success(message: String, data: Option) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn error(message: String, error: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AgentExecutor` is never used [INFO] [stdout] --> src/agent/mod.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait AgentExecutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentCapabilities` is never constructed [INFO] [stdout] --> src/agent/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct AgentCapabilities { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentActionParser` is never constructed [INFO] [stdout] --> src/agent/actions.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AgentActionParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_agent_response`, `extract_json_actions`, `extract_natural_language_actions`, and `extract_content_for_file` are never used [INFO] [stdout] --> src/agent/actions.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AgentActionParser { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 11 | pub fn parse_agent_response(response: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn extract_json_actions(response: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn extract_natural_language_actions(response: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn extract_content_for_file(response: &str, filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_agent_message` is never used [INFO] [stdout] --> src/agent/actions.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn process_agent_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_agent_responses` is never used [INFO] [stdout] --> src/agent/actions.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn format_agent_responses(responses: &[AgentResponse]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DefaultAgentExecutor` is never constructed [INFO] [stdout] --> src/agent/executor.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DefaultAgentExecutor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_capabilities`, `is_path_restricted`, and `resolve_path` are never used [INFO] [stdout] --> src/agent/executor.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl DefaultAgentExecutor { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(current_directory: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn with_capabilities(mut self, capabilities: AgentCapabilities) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn is_path_restricted(&self, path: &PathBuf) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn resolve_path(&self, path: &PathBuf) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ide/sidebar/chat.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_list_item(&self) -> ListItem { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_list_item(&self) -> ListItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "6f2d30eafe11255109b7bc1f32f00c2180aa4eb9b575137b48311ecdd6f90adf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f2d30eafe11255109b7bc1f32f00c2180aa4eb9b575137b48311ecdd6f90adf", kill_on_drop: false }` [INFO] [stdout] 6f2d30eafe11255109b7bc1f32f00c2180aa4eb9b575137b48311ecdd6f90adf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbe5c95384e6ed86697538afb3ef16e5ee1e22e5ab5c31e71780f4c3a7a0a80e [INFO] running `Command { std: "docker" "start" "-a" "cbe5c95384e6ed86697538afb3ef16e5ee1e22e5ab5c31e71780f4c3a7a0a80e", kill_on_drop: false }` [INFO] [stderr] Compiling rust-coding-agent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ratatui::layout::Rect` [INFO] [stdout] --> src/ide/app.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | use ratatui::layout::Rect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::GroqClient` [INFO] [stdout] --> src/agent/actions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::api::GroqClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_x` [INFO] [stdout] --> src/ide/app.rs:506:30 [INFO] [stdout] | [INFO] [stdout] 506 | let (is_in_tab_area, expected_x, expected_y) = self.is_click_in_tab_area(x, y); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_y` [INFO] [stdout] --> src/ide/app.rs:506:42 [INFO] [stdout] | [INFO] [stdout] 506 | let (is_in_tab_area, expected_x, expected_y) = self.is_click_in_tab_area(x, y); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visible_lines` [INFO] [stdout] --> src/ide/editor.rs:434:44 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn scroll_up_by_visible(&mut self, visible_lines: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code_end` [INFO] [stdout] --> src/agent/actions.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | let code_end = code_match.end(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_temperature`, `set_temperature`, `get_max_tokens`, and `set_max_tokens` are never used [INFO] [stdout] --> src/config.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_temperature(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn set_temperature(&mut self, temperature: f32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_max_tokens(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn set_max_tokens(&mut self, max_tokens: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_image`, `get_text`, and `set_text` are never used [INFO] [stdout] --> src/clipboard.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ClipboardManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn has_image(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn get_text(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_text(&mut self, text: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `message_count`, `add_system_message`, `get_last_user_message`, `get_last_assistant_message`, `export_to_json`, and `import_from_json` are never used [INFO] [stdout] --> src/conversation.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Conversation { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn message_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn add_system_message(&mut self, content: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_last_user_message(&self) -> Option<&GroqMessage> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_last_assistant_message(&self) -> Option<&GroqMessage> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn export_to_json(&self) -> serde_json::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn import_from_json(json: &str) -> serde_json::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `session_id` and `current_directory` are never read [INFO] [stdout] --> src/ide/app.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct IdeApp { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | pub session_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 117 | pub current_directory: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_clicked_chat_area` is never used [INFO] [stdout] --> src/ide/app.rs:481:8 [INFO] [stdout] | [INFO] [stdout] 120 | impl IdeApp { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 481 | fn get_clicked_chat_area(&self, x: u16, y: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_icon` is never used [INFO] [stdout] --> src/ide/layout.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn get_file_icon(filename: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `list_state` is never read [INFO] [stdout] --> src/ide/sidebar/chat.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Chat { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub list_state: ListState, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `close_tab_by_index`, `get_tab_index_by_id`, `scroll_up_by_visible`, and `scroll_down_by_visible` are never used [INFO] [stdout] --> src/ide/editor.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 196 | impl Editor { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn close_tab_by_index(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn get_tab_index_by_id(&self, tab_id: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn scroll_up_by_visible(&mut self, visible_lines: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | pub fn scroll_down_by_visible(&mut self, visible_lines: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_file_icon` is never used [INFO] [stdout] --> src/ide/editor.rs:641:4 [INFO] [stdout] | [INFO] [stdout] 641 | fn get_file_icon(filename: &str) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ide/events.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum IdeEvent { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | OpenFile(PathBuf), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | SaveFile, [INFO] [stdout] 38 | SaveAsFile, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | Delete, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | Enter, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 57 | Tab, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | CloseTab(u32), // Close tab by ID [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | SwitchToTab(usize), // Switch to tab by index [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | ReorderTab { from_index: usize, to_index: usize }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 80 | StartTabDrag(usize), // Start dragging tab at index [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 81 | EndTabDrag, // End tab dragging [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 82 | UpdateTabDrag(u16), // Update drag position [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdeEvent` 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: struct `AgentResponse` is never constructed [INFO] [stdout] --> src/agent/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AgentResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `success` and `error` are never used [INFO] [stdout] --> src/agent/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl AgentResponse { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 30 | pub fn success(message: String, data: Option) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn error(message: String, error: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AgentExecutor` is never used [INFO] [stdout] --> src/agent/mod.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait AgentExecutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentCapabilities` is never constructed [INFO] [stdout] --> src/agent/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct AgentCapabilities { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_agent_response` and `extract_json_actions` are never used [INFO] [stdout] --> src/agent/actions.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AgentActionParser { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 11 | pub fn parse_agent_response(response: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn extract_json_actions(response: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_agent_message` is never used [INFO] [stdout] --> src/agent/actions.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn process_agent_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_agent_responses` is never used [INFO] [stdout] --> src/agent/actions.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn format_agent_responses(responses: &[AgentResponse]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DefaultAgentExecutor` is never constructed [INFO] [stdout] --> src/agent/executor.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DefaultAgentExecutor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_capabilities`, `is_path_restricted`, and `resolve_path` are never used [INFO] [stdout] --> src/agent/executor.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl DefaultAgentExecutor { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(current_directory: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn with_capabilities(mut self, capabilities: AgentCapabilities) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn is_path_restricted(&self, path: &PathBuf) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn resolve_path(&self, path: &PathBuf) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ide/sidebar/chat.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_list_item(&self) -> ListItem { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn to_list_item(&self) -> ListItem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.83s [INFO] running `Command { std: "docker" "inspect" "cbe5c95384e6ed86697538afb3ef16e5ee1e22e5ab5c31e71780f4c3a7a0a80e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbe5c95384e6ed86697538afb3ef16e5ee1e22e5ab5c31e71780f4c3a7a0a80e", kill_on_drop: false }` [INFO] [stdout] cbe5c95384e6ed86697538afb3ef16e5ee1e22e5ab5c31e71780f4c3a7a0a80e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf1f53404c3603e2d743acf481c592695e5711747a2f0b18034abb6eb03086c3 [INFO] running `Command { std: "docker" "start" "-a" "bf1f53404c3603e2d743acf481c592695e5711747a2f0b18034abb6eb03086c3", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ratatui::layout::Rect` [INFO] [stderr] --> src/ide/app.rs:349:13 [INFO] [stderr] | [INFO] [stderr] 349 | use ratatui::layout::Rect; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::api::GroqClient` [INFO] [stderr] --> src/agent/actions.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::api::GroqClient; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `expected_x` [INFO] [stderr] --> src/ide/app.rs:506:30 [INFO] [stderr] | [INFO] [stderr] 506 | let (is_in_tab_area, expected_x, expected_y) = self.is_click_in_tab_area(x, y); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `expected_y` [INFO] [stderr] --> src/ide/app.rs:506:42 [INFO] [stderr] | [INFO] [stderr] 506 | let (is_in_tab_area, expected_x, expected_y) = self.is_click_in_tab_area(x, y); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visible_lines` [INFO] [stderr] --> src/ide/editor.rs:434:44 [INFO] [stderr] | [INFO] [stderr] 434 | pub fn scroll_up_by_visible(&mut self, visible_lines: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible_lines` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `code_end` [INFO] [stderr] --> src/agent/actions.rs:114:21 [INFO] [stderr] | [INFO] [stderr] 114 | let code_end = code_match.end(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_code_end` [INFO] [stderr] [INFO] [stderr] warning: methods `get_temperature`, `set_temperature`, `get_max_tokens`, and `set_max_tokens` are never used [INFO] [stderr] --> src/config.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl Config { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 67 | pub fn get_temperature(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn set_temperature(&mut self, temperature: f32) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | pub fn get_max_tokens(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 80 | pub fn set_max_tokens(&mut self, max_tokens: Option) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `has_image`, `get_text`, and `set_text` are never used [INFO] [stderr] --> src/clipboard.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl ClipboardManager { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn has_image(&mut self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub async fn get_text(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn set_text(&mut self, text: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `message_count`, `add_system_message`, `get_last_user_message`, `get_last_assistant_message`, `export_to_json`, and `import_from_json` are never used [INFO] [stderr] --> src/conversation.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl Conversation { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn message_count(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn add_system_message(&mut self, content: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn get_last_user_message(&self) -> Option<&GroqMessage> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 72 | pub fn get_last_assistant_message(&self) -> Option<&GroqMessage> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn export_to_json(&self) -> serde_json::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub fn import_from_json(json: &str) -> serde_json::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `session_id` and `current_directory` are never read [INFO] [stderr] --> src/ide/app.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 76 | pub struct IdeApp { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 116 | pub session_id: Uuid, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 117 | pub current_directory: PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_clicked_chat_area` is never used [INFO] [stderr] --> src/ide/app.rs:481:8 [INFO] [stderr] | [INFO] [stderr] 120 | impl IdeApp { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 481 | fn get_clicked_chat_area(&self, x: u16, y: u16) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_file_icon` is never used [INFO] [stderr] --> src/ide/layout.rs:301:8 [INFO] [stderr] | [INFO] [stderr] 301 | pub fn get_file_icon(filename: &str) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `list_state` is never read [INFO] [stderr] --> src/ide/sidebar/chat.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct Chat { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 66 | pub list_state: ListState, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `close_tab_by_index`, `get_tab_index_by_id`, `scroll_up_by_visible`, and `scroll_down_by_visible` are never used [INFO] [stderr] --> src/ide/editor.rs:256:12 [INFO] [stderr] | [INFO] [stderr] 196 | impl Editor { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 256 | pub fn close_tab_by_index(&mut self, index: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 287 | pub fn get_tab_index_by_id(&self, tab_id: u32) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 434 | pub fn scroll_up_by_visible(&mut self, visible_lines: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 442 | pub fn scroll_down_by_visible(&mut self, visible_lines: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_file_icon` is never used [INFO] [stderr] --> src/ide/editor.rs:641:4 [INFO] [stderr] | [INFO] [stderr] 641 | fn get_file_icon(filename: &str) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple variants are never constructed [INFO] [stderr] --> src/ide/events.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub enum IdeEvent { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 36 | OpenFile(PathBuf), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 37 | SaveFile, [INFO] [stderr] 38 | SaveAsFile, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | Delete, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 56 | Enter, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 57 | Tab, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | CloseTab(u32), // Close tab by ID [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 76 | SwitchToTab(usize), // Switch to tab by index [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | ReorderTab { from_index: usize, to_index: usize }, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 80 | StartTabDrag(usize), // Start dragging tab at index [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 81 | EndTabDrag, // End tab dragging [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 82 | UpdateTabDrag(u16), // Update drag position [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IdeEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `AgentResponse` is never constructed [INFO] [stderr] --> src/agent/mod.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct AgentResponse { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `success` and `error` are never used [INFO] [stderr] --> src/agent/mod.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl AgentResponse { [INFO] [stderr] | ------------------ associated functions in this implementation [INFO] [stderr] 30 | pub fn success(message: String, data: Option) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn error(message: String, error: String) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `AgentExecutor` is never used [INFO] [stderr] --> src/agent/mod.rs:49:11 [INFO] [stderr] | [INFO] [stderr] 49 | pub trait AgentExecutor { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AgentCapabilities` is never constructed [INFO] [stderr] --> src/agent/mod.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | pub struct AgentCapabilities { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `parse_agent_response` and `extract_json_actions` are never used [INFO] [stderr] --> src/agent/actions.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl AgentActionParser { [INFO] [stderr] | ---------------------- associated functions in this implementation [INFO] [stderr] 11 | pub fn parse_agent_response(response: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | fn extract_json_actions(response: &str) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `process_agent_message` is never used [INFO] [stderr] --> src/agent/actions.rs:129:14 [INFO] [stderr] | [INFO] [stderr] 129 | pub async fn process_agent_message( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `format_agent_responses` is never used [INFO] [stderr] --> src/agent/actions.rs:144:8 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn format_agent_responses(responses: &[AgentResponse]) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DefaultAgentExecutor` is never constructed [INFO] [stderr] --> src/agent/executor.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct DefaultAgentExecutor { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `with_capabilities`, `is_path_restricted`, and `resolve_path` are never used [INFO] [stderr] --> src/agent/executor.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl DefaultAgentExecutor { [INFO] [stderr] | ------------------------- associated items in this implementation [INFO] [stderr] 13 | pub fn new(current_directory: PathBuf) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn with_capabilities(mut self, capabilities: AgentCapabilities) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | fn is_path_restricted(&self, path: &PathBuf) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | fn resolve_path(&self, path: &PathBuf) -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ide/sidebar/chat.rs:33:25 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn to_list_item(&self) -> ListItem { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 33 | pub fn to_list_item(&self) -> ListItem<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rust-coding-agent` (bin "agent" test) generated 26 warnings (run `cargo fix --bin "agent" -p rust-coding-agent --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/agent-639499e4fb47e2b8) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test agent::actions::tests::test_parse_natural_language_actions ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- agent::actions::tests::test_parse_natural_language_actions stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'agent::actions::tests::test_parse_natural_language_actions' (25) panicked at src/agent/actions.rs:187:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 1 [INFO] [stdout] right: 2 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x610a15405d52 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x610a15405d52 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x610a15405d52 - std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x610a15405d52 - <::print::DisplayBacktrace as core[c5ed12ab89cc536a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x610a1541b98a - ::fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x610a1541b98a - core[c5ed12ab89cc536a]::fmt::write [INFO] [stdout] 6: 0x610a1540ab86 - std[716c9a7a72e5c14e]::io::default_write_fmt::> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x610a1540ab86 - as std[716c9a7a72e5c14e]::io::Write>::write_fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x610a153e41ef - ::print [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x610a153e41ef - std[716c9a7a72e5c14e]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x610a153fe039 - std[716c9a7a72e5c14e]::panicking::default_hook [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x610a1511effe - core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x610a1511effe - test[64760d2bdea328cc]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x610a153fe1f2 - core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x610a153fe1f2 - std[716c9a7a72e5c14e]::panicking::panic_with_hook [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x610a153e42a8 - std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x610a153dbc79 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x610a153e50fd - __rustc[4f0b026143eab78e]::rust_begin_unwind [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x610a1541c14c - core[c5ed12ab89cc536a]::panicking::panic_fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x610a1541c003 - core[c5ed12ab89cc536a]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x610a154177ed - core[c5ed12ab89cc536a]::panicking::assert_failed:: [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x610a1510c588 - agent[d4662afc2585a942]::agent::actions::tests::test_parse_natural_language_actions [INFO] [stdout] at /opt/rustwide/workdir/src/agent/actions.rs:187:9 [INFO] [stdout] 22: 0x610a1510c347 - agent[d4662afc2585a942]::agent::actions::tests::test_parse_natural_language_actions::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/agent/actions.rs:183:45 [INFO] [stdout] 23: 0x610a1510f7e6 - >::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x610a151133ab - core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x610a151133ab - test[64760d2bdea328cc]::__rust_begin_short_backtrace::, fn() -> core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x610a1511fc0a - test[64760d2bdea328cc]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x610a1511fc0a - as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x610a1511fc0a - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x610a1511fc0a - std[716c9a7a72e5c14e]::panicking::catch_unwind::, core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x610a1511fc0a - std[716c9a7a72e5c14e]::panic::catch_unwind::, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x610a1511fc0a - test[64760d2bdea328cc]::run_test_in_process [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x610a1511fc0a - test[64760d2bdea328cc]::run_test::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x610a1511a0d4 - test[64760d2bdea328cc]::run_test::{closure#1} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x610a1511a0d4 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x610a15122702 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x610a15122702 - ::{closure#1}::{closure#0}> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x610a15122702 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x610a15122702 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<(), core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x610a15122702 - std[716c9a7a72e5c14e]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x610a15122702 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x610a15122702 - ::{closure#1} as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x610a154055ff - + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 43: 0x610a154055ff - ::new::thread_start [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 44: 0x7dd1b69ddaa4 - [INFO] [stdout] 45: 0x7dd1b6a6aa64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] agent::actions::tests::test_parse_natural_language_actions [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin agent` [INFO] running `Command { std: "docker" "inspect" "bf1f53404c3603e2d743acf481c592695e5711747a2f0b18034abb6eb03086c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf1f53404c3603e2d743acf481c592695e5711747a2f0b18034abb6eb03086c3", kill_on_drop: false }` [INFO] [stdout] bf1f53404c3603e2d743acf481c592695e5711747a2f0b18034abb6eb03086c3