[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 try#d0ab665d12770dbaae620b539ee4319b83445f45 for pr-133502-24
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremycod%2Fgenie-querygpt" "/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/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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jeremycod/genie-querygpt on toolchain d0ab665d12770dbaae620b539ee4319b83445f45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "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" "+d0ab665d12770dbaae620b539ee4319b83445f45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 461dc3675471c21793cd65a1ae66753a71a038fd206ddd4139d7168879e33042
[INFO] running `Command { std: "docker" "start" "461dc3675471c21793cd65a1ae66753a71a038fd206ddd4139d7168879e33042", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "461dc3675471c21793cd65a1ae66753a71a038fd206ddd4139d7168879e33042", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "461dc3675471c21793cd65a1ae66753a71a038fd206ddd4139d7168879e33042" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "461dc3675471c21793cd65a1ae66753a71a038fd206ddd4139d7168879e33042", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "461dc3675471c21793cd65a1ae66753a71a038fd206ddd4139d7168879e33042" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking bytes v1.11.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling find-msvc-tools v0.1.5
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking slab v0.4.11
[INFO] [stderr]     Checking tracing-core v0.1.35
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking writeable v0.6.2
[INFO] [stderr]     Checking litemap v0.8.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling cc v1.2.49
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking similar v2.7.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]     Checking tinyvec v1.10.0
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking unicode-properties v0.1.4
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.7
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking siphasher v1.0.1
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]     Checking whoami v1.6.1
[INFO] [stderr]     Checking phf_shared v0.13.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling stacker v0.1.22
[INFO] [stderr]     Checking phf v0.13.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]     Checking anstyle v1.0.13
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking clap_lex v0.7.6
[INFO] [stderr]     Checking csv-core v0.1.13
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking iana-time-zone v0.1.64
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking http-range-header v0.4.2
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking clap_builder v4.5.54
[INFO] [stderr]     Checking tempfile v3.23.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]     Checking uuid v1.19.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking csv v1.4.0
[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 regex v1.12.2
[INFO] [stderr]    Compiling ar_archive_writer v0.2.0
[INFO] [stderr]    Compiling psm v0.1.28
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking digest v0.10.7
[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 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 futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[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]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]     Checking recursive v0.1.1
[INFO] [stderr]     Checking sqlparser v0.60.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking tracing v0.1.43
[INFO] [stderr]     Checking clap v4.5.54
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[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 futures-executor v0.3.31
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking futures v0.3.31
[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 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 deadpool-runtime v0.1.4
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking deadpool v0.12.3
[INFO] [stderr]     Checking hyper-util v0.1.19
[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 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-cli v0.1.0 (/opt/rustwide/workdir/crates/querygpt-cli)
[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] [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: 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] [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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s
[INFO] running `Command { std: "docker" "inspect" "461dc3675471c21793cd65a1ae66753a71a038fd206ddd4139d7168879e33042", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "461dc3675471c21793cd65a1ae66753a71a038fd206ddd4139d7168879e33042", kill_on_drop: false }`
[INFO] [stdout] 461dc3675471c21793cd65a1ae66753a71a038fd206ddd4139d7168879e33042
