[INFO] cloning repository https://github.com/hardwayp3nny/rust_database [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hardwayp3nny/rust_database" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhardwayp3nny%2Frust_database", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhardwayp3nny%2Frust_database'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6153ff7e8a7b7d08dbe88c502b893cfe48942a1e [INFO] testing hardwayp3nny/rust_database against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhardwayp3nny%2Frust_database" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hardwayp3nny/rust_database [INFO] finished tweaking git repo https://github.com/hardwayp3nny/rust_database [INFO] tweaked toml for git repo https://github.com/hardwayp3nny/rust_database written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hardwayp3nny/rust_database on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hardwayp3nny/rust_database 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: unused manifest key: build [INFO] [stderr] help: build is a valid .cargo/config.toml key [INFO] [stderr] warning: `sql_homework` (manifest) generated 1 warning [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4bea1c2f9d3270107e7e9943fc3d4647ce094984f61390edb796aa2aba7c814 [INFO] running `Command { std: "docker" "start" "-a" "e4bea1c2f9d3270107e7e9943fc3d4647ce094984f61390edb796aa2aba7c814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4bea1c2f9d3270107e7e9943fc3d4647ce094984f61390edb796aa2aba7c814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4bea1c2f9d3270107e7e9943fc3d4647ce094984f61390edb796aa2aba7c814", kill_on_drop: false }` [INFO] [stdout] e4bea1c2f9d3270107e7e9943fc3d4647ce094984f61390edb796aa2aba7c814 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 089580338c20f41d5ae914a16b81f14cb5b29e720ca1d80e0d1963986af95825 [INFO] running `Command { std: "docker" "start" "-a" "089580338c20f41d5ae914a16b81f14cb5b29e720ca1d80e0d1963986af95825", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: unused manifest key: build [INFO] [stderr] help: build is a valid .cargo/config.toml key [INFO] [stderr] warning: `sql_homework` (manifest) generated 1 warning [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling cc v1.1.36 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling futures-lite v2.5.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling ttf-parser v0.25.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-broadcast v0.7.1 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling xml-rs v0.8.23 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling accesskit v0.16.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling immutable-chunkmap v2.0.6 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling glutin_glx_sys v0.6.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling accesskit_consumer v0.24.3 [INFO] [stderr] Compiling epaint_default_fonts v0.29.1 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling glutin v0.32.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling glow v0.14.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling emath v0.29.1 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ecolor v0.29.1 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling epaint v0.29.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling wayland-protocols v0.32.5 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling wayland-cursor v0.31.7 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling egui v0.29.1 [INFO] [stderr] Compiling arboard v3.4.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling egui_glow v0.29.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.5 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.5 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling webbrowser v1.0.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling atspi-proxies v0.6.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.9.3 [INFO] [stderr] Compiling atspi-connection v0.6.0 [INFO] [stderr] Compiling atspi v0.22.0 [INFO] [stderr] Compiling accesskit_unix v0.12.3 [INFO] [stderr] Compiling accesskit_winit v0.22.4 [INFO] [stderr] Compiling egui-winit v0.29.1 [INFO] [stderr] Compiling eframe v0.29.1 [INFO] [stderr] Compiling sql_homework v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/gui.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Serialize, Deserialize}; [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 variable: `name` [INFO] [stdout] --> src/part1.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(name: &str) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/part2.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | for (i, col) in self.temp_columns.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/gui.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | if let Some(ref db) = self.database { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/gui.rs:315:18 [INFO] [stdout] | [INFO] [stdout] 315 | for (i, col) in self.temp_columns.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_rows`, `update_row`, and `delete_row` are never used [INFO] [stdout] --> src/part1.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn read_rows(&self, table_name: &str) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn update_row(&mut self, table_name: &str, row_index: usize, new_row: Row) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn delete_row(&mut self, table_name: &str, row_index: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseGui` is never constructed [INFO] [stdout] --> src/part2.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DatabaseGui { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ViewState` is never used [INFO] [stdout] --> src/part2.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum ViewState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `show_main_view`, `show_create_table_view`, `show_insert_data_view`, `show_query_view`, and `execute_sql_query` are never used [INFO] [stdout] --> src/part2.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 92 | impl DatabaseGui { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 93 | fn show_main_view(&mut self, ui: &mut egui::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn show_create_table_view(&mut self, ui: &mut egui::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn show_insert_data_view(&mut self, ui: &mut egui::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | fn show_query_view(&mut self, ui: &mut egui::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | fn execute_sql_query(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_gui` is never used [INFO] [stdout] --> src/part2.rs:552:8 [INFO] [stdout] | [INFO] [stdout] 552 | pub fn run_gui() -> Result<(), eframe::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AIAssistant` is never constructed [INFO] [stdout] --> src/ai_assistant.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AIAssistant { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `natural_to_sql`, `analyze_data`, and `query_openai` are never used [INFO] [stdout] --> src/ai_assistant.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AIAssistant { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(api_key: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub async fn natural_to_sql(&self, natural_query: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn analyze_data(&self, data: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | async fn query_openai(&self, prompt: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "089580338c20f41d5ae914a16b81f14cb5b29e720ca1d80e0d1963986af95825", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "089580338c20f41d5ae914a16b81f14cb5b29e720ca1d80e0d1963986af95825", kill_on_drop: false }` [INFO] [stdout] 089580338c20f41d5ae914a16b81f14cb5b29e720ca1d80e0d1963986af95825 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e69f7ae04cb5e2b790b79c292dd56d1b51ee1a25c8467732c326080d7cb5c7d8 [INFO] running `Command { std: "docker" "start" "-a" "e69f7ae04cb5e2b790b79c292dd56d1b51ee1a25c8467732c326080d7cb5c7d8", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: unused manifest key: build [INFO] [stderr] help: build is a valid .cargo/config.toml key [INFO] [stderr] warning: `sql_homework` (manifest) generated 1 warning [INFO] [stderr] Compiling sql_homework v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/gui.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Serialize, Deserialize}; [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 variable: `name` [INFO] [stdout] --> src/part1.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(name: &str) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/part2.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | for (i, col) in self.temp_columns.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/gui.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | if let Some(ref db) = self.database { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/gui.rs:315:18 [INFO] [stdout] | [INFO] [stdout] 315 | for (i, col) in self.temp_columns.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_rows`, `update_row`, and `delete_row` are never used [INFO] [stdout] --> src/part1.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn read_rows(&self, table_name: &str) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn update_row(&mut self, table_name: &str, row_index: usize, new_row: Row) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn delete_row(&mut self, table_name: &str, row_index: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseGui` is never constructed [INFO] [stdout] --> src/part2.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DatabaseGui { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ViewState` is never used [INFO] [stdout] --> src/part2.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum ViewState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `show_main_view`, `show_create_table_view`, `show_insert_data_view`, `show_query_view`, and `execute_sql_query` are never used [INFO] [stdout] --> src/part2.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 92 | impl DatabaseGui { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 93 | fn show_main_view(&mut self, ui: &mut egui::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn show_create_table_view(&mut self, ui: &mut egui::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn show_insert_data_view(&mut self, ui: &mut egui::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | fn show_query_view(&mut self, ui: &mut egui::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | fn execute_sql_query(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_gui` is never used [INFO] [stdout] --> src/part2.rs:552:8 [INFO] [stdout] | [INFO] [stdout] 552 | pub fn run_gui() -> Result<(), eframe::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AIAssistant` is never constructed [INFO] [stdout] --> src/ai_assistant.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AIAssistant { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `natural_to_sql`, `analyze_data`, and `query_openai` are never used [INFO] [stdout] --> src/ai_assistant.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AIAssistant { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(api_key: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub async fn natural_to_sql(&self, natural_query: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn analyze_data(&self, data: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | async fn query_openai(&self, prompt: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.32s [INFO] running `Command { std: "docker" "inspect" "e69f7ae04cb5e2b790b79c292dd56d1b51ee1a25c8467732c326080d7cb5c7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e69f7ae04cb5e2b790b79c292dd56d1b51ee1a25c8467732c326080d7cb5c7d8", kill_on_drop: false }` [INFO] [stdout] e69f7ae04cb5e2b790b79c292dd56d1b51ee1a25c8467732c326080d7cb5c7d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c96035063e2f8bfa9eb8dca18a5b304ff6edbe1391a578d4101e526809b21a93 [INFO] running `Command { std: "docker" "start" "-a" "c96035063e2f8bfa9eb8dca18a5b304ff6edbe1391a578d4101e526809b21a93", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: unused manifest key: build [INFO] [stderr] help: build is a valid .cargo/config.toml key [INFO] [stderr] warning: `sql_homework` (manifest) generated 1 warning [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/gui.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use serde::{Serialize, Deserialize}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/part1.rs:42:16 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn new(name: &str) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/part2.rs:198:18 [INFO] [stderr] | [INFO] [stderr] 198 | for (i, col) in self.temp_columns.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> src/gui.rs:163:21 [INFO] [stderr] | [INFO] [stderr] 163 | if let Some(ref db) = self.database { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/gui.rs:315:18 [INFO] [stderr] | [INFO] [stderr] 315 | for (i, col) in self.temp_columns.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: methods `read_rows`, `update_row`, and `delete_row` are never used [INFO] [stderr] --> src/part1.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 41 | impl Database { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 61 | pub fn read_rows(&self, table_name: &str) -> Option<&Vec> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn update_row(&mut self, table_name: &str, row_index: usize, new_row: Row) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn delete_row(&mut self, table_name: &str, row_index: usize) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `DatabaseGui` is never constructed [INFO] [stderr] --> src/part2.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct DatabaseGui { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ViewState` is never used [INFO] [stderr] --> src/part2.rs:25:6 [INFO] [stderr] | [INFO] [stderr] 25 | enum ViewState { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `show_main_view`, `show_create_table_view`, `show_insert_data_view`, `show_query_view`, and `execute_sql_query` are never used [INFO] [stderr] --> src/part2.rs:93:8 [INFO] [stderr] | [INFO] [stderr] 92 | impl DatabaseGui { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] 93 | fn show_main_view(&mut self, ui: &mut egui::Ui) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 115 | fn show_create_table_view(&mut self, ui: &mut egui::Ui) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 232 | fn show_insert_data_view(&mut self, ui: &mut egui::Ui) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 277 | fn show_query_view(&mut self, ui: &mut egui::Ui) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 303 | fn execute_sql_query(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_gui` is never used [INFO] [stderr] --> src/part2.rs:552:8 [INFO] [stderr] | [INFO] [stderr] 552 | pub fn run_gui() -> Result<(), eframe::Error> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AIAssistant` is never constructed [INFO] [stderr] --> src/ai_assistant.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct AIAssistant { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `natural_to_sql`, `analyze_data`, and `query_openai` are never used [INFO] [stderr] --> src/ai_assistant.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl AIAssistant { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 11 | pub fn new(api_key: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | pub async fn natural_to_sql(&self, natural_query: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | pub async fn analyze_data(&self, data: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | async fn query_openai(&self, prompt: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sql_homework` (bin "sql_homework" test) generated 12 warnings (run `cargo fix --bin "sql_homework" -p sql_homework --tests` to apply 5 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/sql_homework-139917be2c2fc5b0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c96035063e2f8bfa9eb8dca18a5b304ff6edbe1391a578d4101e526809b21a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c96035063e2f8bfa9eb8dca18a5b304ff6edbe1391a578d4101e526809b21a93", kill_on_drop: false }` [INFO] [stdout] c96035063e2f8bfa9eb8dca18a5b304ff6edbe1391a578d4101e526809b21a93