[INFO] cloning repository https://github.com/jeremycod/genie-querygpt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeremycod/genie-querygpt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremycod%2Fgenie-querygpt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremycod%2Fgenie-querygpt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] da6c3a77b18291d7c6d8a50fa64ad78aa6e6bb5c
[INFO] checking jeremycod/genie-querygpt against master#57f772f25c5ce2bd870d6f8c3ab318eaee5a3326 for pr-133502-22
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremycod%2Fgenie-querygpt" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jeremycod/genie-querygpt
[INFO] finished tweaking git repo https://github.com/jeremycod/genie-querygpt
[INFO] tweaked toml for git repo https://github.com/jeremycod/genie-querygpt written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jeremycod/genie-querygpt on toolchain 57f772f25c5ce2bd870d6f8c3ab318eaee5a3326
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jeremycod/genie-querygpt 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" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded recursive v0.1.1
[INFO] [stderr]   Downloaded recursive-proc-macro-impl v0.1.1
[INFO] [stderr]   Downloaded tokio-postgres v0.7.15
[INFO] [stderr]   Downloaded insta v1.45.0
[INFO] [stderr]   Downloaded redox_syscall v0.6.0
[INFO] [stderr]   Downloaded deadpool-postgres v0.14.1
[INFO] [stderr]   Downloaded sqlparser v0.60.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9ca22469316c1e99b0f37f7ed078267f5a90922dcd4a1b8066a9c28c8dd8c751
[INFO] running `Command { std: "docker" "start" "-a" "9ca22469316c1e99b0f37f7ed078267f5a90922dcd4a1b8066a9c28c8dd8c751", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ca22469316c1e99b0f37f7ed078267f5a90922dcd4a1b8066a9c28c8dd8c751", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ca22469316c1e99b0f37f7ed078267f5a90922dcd4a1b8066a9c28c8dd8c751", kill_on_drop: false }`
[INFO] [stdout] 9ca22469316c1e99b0f37f7ed078267f5a90922dcd4a1b8066a9c28c8dd8c751
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d58c02cc3bf8e41a78016e04428fcfcd31ba81b731eddb8bfd1c185aef07745c
[INFO] running `Command { std: "docker" "start" "-a" "d58c02cc3bf8e41a78016e04428fcfcd31ba81b731eddb8bfd1c185aef07745c", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.49
[INFO] [stderr]     Checking tracing-core v0.1.35
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.7
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking rustix v1.1.2
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking similar v2.7.0
[INFO] [stderr]     Checking uuid v1.19.0
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking unicode-properties v0.1.4
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking phf_shared v0.13.1
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]     Checking whoami v1.6.1
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking clap_lex v0.7.6
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking csv-core v0.1.13
[INFO] [stderr]     Checking phf v0.13.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking csv v1.4.0
[INFO] [stderr]     Checking clap_builder v4.5.54
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling psm v0.1.28
[INFO] [stderr]    Compiling stacker v0.1.22
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking tempfile v3.23.0
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking postgres-protocol v0.6.9
[INFO] [stderr]     Checking postgres-types v0.2.11
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling recursive-proc-macro-impl v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]     Checking recursive v0.1.1
[INFO] [stderr]     Checking sqlparser v0.60.0
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking tracing v0.1.43
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking clap v4.5.54
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking insta v1.45.0
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking deadpool-runtime v0.1.4
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking deadpool v0.12.3
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking tokio-postgres v0.7.15
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking deadpool-postgres v0.14.1
[INFO] [stderr]     Checking querygpt-worker v0.1.0 (/opt/rustwide/workdir/crates/querygpt-worker)
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking querygpt-core v0.1.0 (/opt/rustwide/workdir/crates/querygpt-core)
[INFO] [stderr]     Checking querygpt-server v0.1.0 (/opt/rustwide/workdir/crates/querygpt-server)
[INFO] [stderr]     Checking querygpt-compiler v0.1.0 (/opt/rustwide/workdir/crates/querygpt-compiler)
[INFO] [stderr]     Checking querygpt-cli v0.1.0 (/opt/rustwide/workdir/crates/querygpt-cli)
[INFO] [stdout] warning: unused variable: `after_limit`
[INFO] [stdout]    --> crates/querygpt-server/src/executor.rs:304:17
[INFO] [stdout]     |
[INFO] [stdout] 304 |             let after_limit = &sql[limit_pos + 5..].trim_start();
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_after_limit`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `after_limit`
[INFO] [stdout]    --> crates/querygpt-server/src/executor.rs:304:17
[INFO] [stdout]     |
[INFO] [stdout] 304 |             let after_limit = &sql[limit_pos + 5..].trim_start();
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_after_limit`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `session_store` is never read
[INFO] [stdout]   --> crates/querygpt-server/src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct AppState {
[INFO] [stdout]    |        -------- field in this struct
[INFO] [stdout] 37 |     session_store: SessionStore,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PlannerInitialization` is never constructed
[INFO] [stdout]    --> crates/querygpt-server/src/main.rs:318:5
[INFO] [stdout]     |
[INFO] [stdout] 317 | enum AppError {
[INFO] [stdout]     |      -------- variant in this enum
[INFO] [stdout] 318 |     PlannerInitialization(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `session_id` is never read
[INFO] [stdout]   --> crates/querygpt-server/src/api_types.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct QueryRequest {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub session_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `session_id` and `action` are never read
[INFO] [stdout]   --> crates/querygpt-server/src/api_types.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct ConfirmRequest {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 46 |     /// Session ID for the pending confirmation
[INFO] [stdout] 47 |     pub session_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 48 |     /// User's decision
[INFO] [stdout] 49 |     pub action: ConfirmAction,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConfirmRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PendingConfirmation` is never constructed
[INFO] [stdout]   --> crates/querygpt-server/src/api_types.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub enum QueryResponse {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 86 |     PendingConfirmation {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QueryResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Success`, `Rejected`, `PendingConfirmation`, `CompilationFailed`, `RetryLimitExceeded`, and `SessionNotFound` are never constructed
[INFO] [stdout]    --> crates/querygpt-server/src/api_types.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub enum ConfirmResponse {
[INFO] [stdout]     |          --------------- variants in this enum
[INFO] [stdout] 141 |     /// Confirmation processed, query completed
[INFO] [stdout] 142 |     Success {
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     Rejected,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 154 |     /// Modification requested, awaiting new draft
[INFO] [stdout] 155 |     PendingConfirmation {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     CompilationFailed {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     RetryLimitExceeded {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     SessionNotFound { session_id: String },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConfirmResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_details` is never used
[INFO] [stdout]    --> crates/querygpt-server/src/api_types.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 189 | impl ErrorResponse {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub fn with_details(error: impl Into<String>, details: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `auto_approve` and `require_approval` are never used
[INFO] [stdout]   --> crates/querygpt-server/src/confirmation.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl ServerConfirmation {
[INFO] [stdout]    | ----------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn auto_approve() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn require_approval() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidConfig` is never constructed
[INFO] [stdout]   --> crates/querygpt-server/src/db.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum DbError {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 21 |     InvalidConfig(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `status` is never used
[INFO] [stdout]    --> crates/querygpt-server/src/db.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout]  38 | impl DbPool {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn status(&self) -> PoolStatus {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PoolStatus` is never constructed
[INFO] [stdout]    --> crates/querygpt-server/src/db.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub struct PoolStatus {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_PREVIEW_ROWS` is never used
[INFO] [stdout]   --> crates/querygpt-server/src/executor.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const MAX_PREVIEW_ROWS: usize = 1000;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_EXPORT_ROWS` is never used
[INFO] [stdout]   --> crates/querygpt-server/src/executor.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const MAX_EXPORT_ROWS: usize = 1_000_000;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TooLarge` and `InvalidSql` are never constructed
[INFO] [stdout]   --> crates/querygpt-server/src/executor.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum ExecutionError {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 30 |     TooLarge { actual: usize, max: usize },
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     InvalidSql(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExecutionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `row_limit` and `exceeds_limit` are never used
[INFO] [stdout]   --> crates/querygpt-server/src/executor.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl ExecutionMode {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] 68 |     /// Get the row limit for this mode
[INFO] [stdout] 69 |     pub fn row_limit(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn exceeds_limit(&self, rows: usize) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `DatabaseNotConfigured` is never constructed
[INFO] [stdout]   --> crates/querygpt-server/src/export.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum ExportError {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     DatabaseNotConfigured,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExportError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ExportFormat` is never used
[INFO] [stdout]   --> crates/querygpt-server/src/export.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub enum ExportFormat {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> crates/querygpt-server/src/session.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SessionState {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 12 |     /// Unique session identifier
[INFO] [stdout] 13 |     pub id: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 14 |     /// Original user prompt
[INFO] [stdout] 15 |     pub prompt: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 16 |     /// Workspace being queried
[INFO] [stdout] 17 |     pub workspace: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 18 |     /// Schema registry for compilation
[INFO] [stdout] 19 |     pub registry: Arc<SchemaRegistry>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 20 |     /// Planner context
[INFO] [stdout] 21 |     pub context: PlannerContext,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 22 |     /// Current attempt number
[INFO] [stdout] 23 |     pub attempt: usize,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 24 |     /// Planner trace
[INFO] [stdout] 25 |     pub trace: PlannerTrace,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 26 |     /// When this session was created
[INFO] [stdout] 27 |     pub created_at: Instant,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 28 |     /// When this session was last accessed
[INFO] [stdout] 29 |     pub last_accessed: Instant,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SessionState` 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: associated items `new`, `touch`, and `is_expired` are never used
[INFO] [stdout]   --> crates/querygpt-server/src/session.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl SessionState {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 33 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn touch(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn is_expired(&self, timeout: Duration) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sessions` and `timeout` are never read
[INFO] [stdout]   --> crates/querygpt-server/src/session.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct SessionStore {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 67 |     sessions: Arc<RwLock<HashMap<String, SessionState>>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 68 |     timeout: Duration,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SessionStore` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `insert`, `get`, `remove`, `cleanup_expired`, `len`, and `is_empty` are never used
[INFO] [stdout]    --> crates/querygpt-server/src/session.rs:86:18
[INFO] [stdout]     |
[INFO] [stdout]  71 | impl SessionStore {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub async fn insert(&self, session: SessionState) {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub async fn get(&self, id: &str) -> Option<SessionState> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub async fn remove(&self, id: &str) -> Option<SessionState> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub async fn cleanup_expired(&self) -> usize {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub async fn len(&self) -> usize {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub async fn is_empty(&self) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_session_id` is never used
[INFO] [stdout]    --> crates/querygpt-server/src/session.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub fn generate_session_id() -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `session_store` is never read
[INFO] [stdout]   --> crates/querygpt-server/src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct AppState {
[INFO] [stdout]    |        -------- field in this struct
[INFO] [stdout] 37 |     session_store: SessionStore,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PlannerInitialization` is never constructed
[INFO] [stdout]    --> crates/querygpt-server/src/main.rs:318:5
[INFO] [stdout]     |
[INFO] [stdout] 317 | enum AppError {
[INFO] [stdout]     |      -------- variant in this enum
[INFO] [stdout] 318 |     PlannerInitialization(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `session_id` is never read
[INFO] [stdout]   --> crates/querygpt-server/src/api_types.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct QueryRequest {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub session_id: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `session_id` and `action` are never read
[INFO] [stdout]   --> crates/querygpt-server/src/api_types.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct ConfirmRequest {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 46 |     /// Session ID for the pending confirmation
[INFO] [stdout] 47 |     pub session_id: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 48 |     /// User's decision
[INFO] [stdout] 49 |     pub action: ConfirmAction,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConfirmRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PendingConfirmation` is never constructed
[INFO] [stdout]   --> crates/querygpt-server/src/api_types.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub enum QueryResponse {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 86 |     PendingConfirmation {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QueryResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Success`, `Rejected`, `PendingConfirmation`, `CompilationFailed`, `RetryLimitExceeded`, and `SessionNotFound` are never constructed
[INFO] [stdout]    --> crates/querygpt-server/src/api_types.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub enum ConfirmResponse {
[INFO] [stdout]     |          --------------- variants in this enum
[INFO] [stdout] 141 |     /// Confirmation processed, query completed
[INFO] [stdout] 142 |     Success {
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     Rejected,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 154 |     /// Modification requested, awaiting new draft
[INFO] [stdout] 155 |     PendingConfirmation {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     CompilationFailed {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     RetryLimitExceeded {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     SessionNotFound { session_id: String },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ConfirmResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_details` is never used
[INFO] [stdout]    --> crates/querygpt-server/src/api_types.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 189 | impl ErrorResponse {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub fn with_details(error: impl Into<String>, details: impl Into<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `status` is never used
[INFO] [stdout]    --> crates/querygpt-server/src/db.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout]  38 | impl DbPool {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn status(&self) -> PoolStatus {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidSql` is never constructed
[INFO] [stdout]   --> crates/querygpt-server/src/executor.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum ExecutionError {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 36 |     InvalidSql(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExecutionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `DatabaseNotConfigured` is never constructed
[INFO] [stdout]   --> crates/querygpt-server/src/export.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum ExportError {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     DatabaseNotConfigured,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExportError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> crates/querygpt-server/src/session.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct SessionState {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub prompt: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 16 |     /// Workspace being queried
[INFO] [stdout] 17 |     pub workspace: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 18 |     /// Schema registry for compilation
[INFO] [stdout] 19 |     pub registry: Arc<SchemaRegistry>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 20 |     /// Planner context
[INFO] [stdout] 21 |     pub context: PlannerContext,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 22 |     /// Current attempt number
[INFO] [stdout] 23 |     pub attempt: usize,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 24 |     /// Planner trace
[INFO] [stdout] 25 |     pub trace: PlannerTrace,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 26 |     /// When this session was created
[INFO] [stdout] 27 |     pub created_at: Instant,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SessionState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_empty` is never used
[INFO] [stdout]    --> crates/querygpt-server/src/session.rs:131:18
[INFO] [stdout]     |
[INFO] [stdout]  71 | impl SessionStore {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub async fn is_empty(&self) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.20s
[INFO] running `Command { std: "docker" "inspect" "d58c02cc3bf8e41a78016e04428fcfcd31ba81b731eddb8bfd1c185aef07745c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d58c02cc3bf8e41a78016e04428fcfcd31ba81b731eddb8bfd1c185aef07745c", kill_on_drop: false }`
[INFO] [stdout] d58c02cc3bf8e41a78016e04428fcfcd31ba81b731eddb8bfd1c185aef07745c
