[INFO] cloning repository https://github.com/Piczadev/openchats
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Piczadev/openchats" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPiczadev%2Fopenchats", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPiczadev%2Fopenchats'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2ffb8f92f3eb700214276c417e14f497a3714bcb
[INFO] checking Piczadev/openchats/2ffb8f92f3eb700214276c417e14f497a3714bcb against master#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPiczadev%2Fopenchats" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Piczadev/openchats
[INFO] finished tweaking git repo https://github.com/Piczadev/openchats
[INFO] tweaked toml for git repo https://github.com/Piczadev/openchats written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Piczadev/openchats on toolchain c9af9c1dc85a55e309345030ff9cb7ea247953fa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Piczadev/openchats 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" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded parking_lot_core v0.9.11
[INFO] [stderr]   Downloaded http-range-header v0.3.1
[INFO] [stderr]   Downloaded lock_api v0.4.13
[INFO] [stderr]   Downloaded bitflags v2.9.1
[INFO] [stderr]   Downloaded colorchoice v1.0.4
[INFO] [stderr]   Downloaded once_cell_polyfill v1.70.1
[INFO] [stderr]   Downloaded anstyle v1.0.11
[INFO] [stderr]   Downloaded errno v0.3.12
[INFO] [stderr]   Downloaded colorize v0.1.0
[INFO] [stderr]   Downloaded anstyle-query v1.1.3
[INFO] [stderr]   Downloaded security-framework-sys v2.14.0
[INFO] [stderr]   Downloaded multer v3.1.0
[INFO] [stderr]   Downloaded clap_lex v0.7.5
[INFO] [stderr]   Downloaded schannel v0.1.27
[INFO] [stderr]   Downloaded clap v4.5.40
[INFO] [stderr]   Downloaded flate2 v1.1.2
[INFO] [stderr]   Downloaded rustls-webpki v0.103.3
[INFO] [stderr]   Downloaded async-compression v0.4.24
[INFO] [stderr]   Downloaded zerovec v0.11.2
[INFO] [stderr]   Downloaded clap_builder v4.5.40
[INFO] [stderr]   Downloaded h2 v0.4.10
[INFO] [stderr]   Downloaded hashbrown v0.15.4
[INFO] [stderr]   Downloaded reqwest v0.12.19
[INFO] [stderr]   Downloaded rpassword v7.4.0
[INFO] [stderr]   Downloaded rusqlite v0.29.0
[INFO] [stderr]   Downloaded hyper-util v0.1.14
[INFO] [stderr]   Downloaded cc v1.2.26
[INFO] [stderr]   Downloaded tokio-util v0.7.15
[INFO] [stderr]   Downloaded tower-http v0.4.4
[INFO] [stderr]   Downloaded rustls v0.23.27
[INFO] [stderr]   Downloaded ahash v0.8.12
[INFO] [stderr]   Downloaded clap_derive v4.5.40
[INFO] [stderr]   Downloaded tokio-rustls v0.26.2
[INFO] [stderr]   Downloaded system-configuration v0.6.1
[INFO] [stderr]   Downloaded tempfile v3.20.0
[INFO] [stderr]   Downloaded fallible-iterator v0.2.0
[INFO] [stderr]   Downloaded fallible-streaming-iterator v0.1.9
[INFO] [stderr]   Downloaded hashlink v0.8.4
[INFO] [stderr]   Downloaded anstyle-parse v0.2.7
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.9
[INFO] [stderr]   Downloaded anstream v0.6.19
[INFO] [stderr]   Downloaded potential_utf v0.1.2
[INFO] [stderr]   Downloaded rtoolbox v0.0.3
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.50
[INFO] [stderr]   Downloaded windows-registry v0.5.2
[INFO] [stderr]   Downloaded system-configuration-sys v0.6.0
[INFO] [stderr]   Downloaded parking_lot v0.12.4
[INFO] [stderr]   Downloaded libsqlite3-sys v0.26.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 31e0982dafa3a399f969b36e83e47a7989fa1f621ce4e0f4d7d94cad9bc758ed
[INFO] running `Command { std: "docker" "start" "-a" "31e0982dafa3a399f969b36e83e47a7989fa1f621ce4e0f4d7d94cad9bc758ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31e0982dafa3a399f969b36e83e47a7989fa1f621ce4e0f4d7d94cad9bc758ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31e0982dafa3a399f969b36e83e47a7989fa1f621ce4e0f4d7d94cad9bc758ed", kill_on_drop: false }`
[INFO] [stdout] 31e0982dafa3a399f969b36e83e47a7989fa1f621ce4e0f4d7d94cad9bc758ed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6f93cf4c435a4261647878503fc1fd7cd53480201a828a39c940013ee38c737b
[INFO] running `Command { std: "docker" "start" "-a" "6f93cf4c435a4261647878503fc1fd7cd53480201a828a39c940013ee38c737b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling cc v1.2.26
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking miniz_oxide v0.8.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking anstyle-query v1.1.3
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]     Checking anstyle v1.0.11
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking anstream v0.6.19
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking iri-string v0.7.8
[INFO] [stderr]     Checking clap_lex v0.7.5
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking rtoolbox v0.0.3
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-range-header v0.3.1
[INFO] [stderr]     Checking clap_builder v4.5.40
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking rpassword v7.4.0
[INFO] [stderr]     Checking dotenvy v0.15.7
[INFO] [stderr]     Checking colorize v0.1.0
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling libsqlite3-sys v0.26.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking tower-http v0.4.4
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling clap_derive v4.5.40
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]     Checking tokio v1.45.1
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking clap v4.5.40
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking rusqlite v0.29.0
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking async-compression v0.4.24
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking h2 v0.4.10
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking hyper-util v0.1.14
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking reqwest v0.12.19
[INFO] [stderr]     Checking chat_gemini v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Server` in `axum`
[INFO] [stdout]   --> src/web_ui.rs:64:11
[INFO] [stdout]    |
[INFO] [stdout] 64 |     axum::Server::bind(&format!("0.0.0.0:{}", port).parse()?)
[INFO] [stdout]    |           ^^^^^^ could not find `Server` in `axum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Server` in `axum`
[INFO] [stdout]   --> src/web_ui.rs:64:11
[INFO] [stdout]    |
[INFO] [stdout] 64 |     axum::Server::bind(&format!("0.0.0.0:{}", port).parse()?)
[INFO] [stdout]    |           ^^^^^^ could not find `Server` in `axum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/web_ui.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/web_ui.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/web_ui.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/web_ui.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn(State<Arc<...>>, ...) -> ... {handle_chat_message}: Handler<_, _>` is not satisfied
[INFO] [stdout]     --> src/web_ui.rs:57:34
[INFO] [stdout]      |
[INFO] [stdout]   57 |         .route("/api/chat", post(handle_chat_message))
[INFO] [stdout]      |                             ---- ^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State<Arc<AppState>>, Form<...>) -> ... {handle_chat_message}`
[INFO] [stdout]      |                             |
[INFO] [stdout]      |                             required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = note: Consider using `#[axum::debug_handler]` to improve the error message
[INFO] [stdout] help: the following other types implement trait `Handler<T, S>`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:1309:1
[INFO] [stdout]      |
[INFO] [stdout] 1309 | / impl<S> Handler<(), S> for MethodRouter<S>
[INFO] [stdout] 1310 | | where
[INFO] [stdout] 1311 | |     S: Clone + 'static,
[INFO] [stdout]      | |_______________________^ `MethodRouter<S>` implements `Handler<(), S>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/handler/mod.rs:303:1
[INFO] [stdout]      |
[INFO] [stdout]  303 | / impl<H, S, T, L> Handler<T, S> for Layered<L, H, T, S>
[INFO] [stdout]  304 | | where
[INFO] [stdout]  305 | |     L: Layer<HandlerService<H, T, S>> + Clone + Send + 'static,
[INFO] [stdout]  306 | |     H: Handler<T, S>,
[INFO] [stdout] ...    |
[INFO] [stdout]  310 | |     T: 'static,
[INFO] [stdout]  311 | |     S: 'static,
[INFO] [stdout]      | |_______________^ `Layered<L, H, T, S>` implements `Handler<T, S>`
[INFO] [stdout] note: required by a bound in `post`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:166:16
[INFO] [stdout]      |
[INFO] [stdout]  166 |             H: Handler<T, S>,
[INFO] [stdout]      |                ^^^^^^^^^^^^^ required by this bound in `post`
[INFO] [stdout] ...
[INFO] [stdout]  443 | top_level_handler_fn!(post, POST);
[INFO] [stdout]      | ---------------------------------
[INFO] [stdout]      | |                     |
[INFO] [stdout]      | |                     required by a bound in this function
[INFO] [stdout]      | in this macro invocation
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/chat_gemini-2abf4a11780da25c.long-type-9188584368241735893.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]      = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn(State<Arc<...>>, ...) -> ... {handle_chat_message}: Handler<_, _>` is not satisfied
[INFO] [stdout]     --> src/web_ui.rs:57:34
[INFO] [stdout]      |
[INFO] [stdout]   57 |         .route("/api/chat", post(handle_chat_message))
[INFO] [stdout]      |                             ---- ^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State<Arc<AppState>>, Form<...>) -> ... {handle_chat_message}`
[INFO] [stdout]      |                             |
[INFO] [stdout]      |                             required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = note: Consider using `#[axum::debug_handler]` to improve the error message
[INFO] [stdout] help: the following other types implement trait `Handler<T, S>`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:1309:1
[INFO] [stdout]      |
[INFO] [stdout] 1309 | / impl<S> Handler<(), S> for MethodRouter<S>
[INFO] [stdout] 1310 | | where
[INFO] [stdout] 1311 | |     S: Clone + 'static,
[INFO] [stdout]      | |_______________________^ `MethodRouter<S>` implements `Handler<(), S>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/handler/mod.rs:303:1
[INFO] [stdout]      |
[INFO] [stdout]  303 | / impl<H, S, T, L> Handler<T, S> for Layered<L, H, T, S>
[INFO] [stdout]  304 | | where
[INFO] [stdout]  305 | |     L: Layer<HandlerService<H, T, S>> + Clone + Send + 'static,
[INFO] [stdout]  306 | |     H: Handler<T, S>,
[INFO] [stdout] ...    |
[INFO] [stdout]  310 | |     T: 'static,
[INFO] [stdout]  311 | |     S: 'static,
[INFO] [stdout]      | |_______________^ `Layered<L, H, T, S>` implements `Handler<T, S>`
[INFO] [stdout] note: required by a bound in `post`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:166:16
[INFO] [stdout]      |
[INFO] [stdout]  166 |             H: Handler<T, S>,
[INFO] [stdout]      |                ^^^^^^^^^^^^^ required by this bound in `post`
[INFO] [stdout] ...
[INFO] [stdout]  443 | top_level_handler_fn!(post, POST);
[INFO] [stdout]      | ---------------------------------
[INFO] [stdout]      | |                     |
[INFO] [stdout]      | |                     required by a bound in this function
[INFO] [stdout]      | in this macro invocation
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/chat_gemini-0c201570288a4e17.long-type-462575984756961740.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]      = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for struct `tokio::sync::MutexGuard<'_, GeminiClient>` in the current scope
[INFO] [stdout]    --> src/web_ui.rs:179:34
[INFO] [stdout]     |
[INFO] [stdout] 179 |                 *client = client.clone().with_model(&model_name);
[INFO] [stdout]     |                                  ^^^^^ method not found in `tokio::sync::MutexGuard<'_, GeminiClient>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `clone`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for struct `tokio::sync::MutexGuard<'_, GeminiClient>` in the current scope
[INFO] [stdout]    --> src/web_ui.rs:179:34
[INFO] [stdout]     |
[INFO] [stdout] 179 |                 *client = client.clone().with_model(&model_name);
[INFO] [stdout]     |                                  ^^^^^ method not found in `tokio::sync::MutexGuard<'_, GeminiClient>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `clone`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn(State<Arc<AppState>>, ...) -> ... {handle_command}: Handler<_, _>` is not satisfied
[INFO] [stdout]     --> src/web_ui.rs:58:37
[INFO] [stdout]      |
[INFO] [stdout]   58 |         .route("/api/command", post(handle_command))
[INFO] [stdout]      |                                ---- ^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State<Arc<AppState>>, Form<CommandRequest>) -> ... {handle_command}`
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = note: Consider using `#[axum::debug_handler]` to improve the error message
[INFO] [stdout] help: the following other types implement trait `Handler<T, S>`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:1309:1
[INFO] [stdout]      |
[INFO] [stdout] 1309 | / impl<S> Handler<(), S> for MethodRouter<S>
[INFO] [stdout] 1310 | | where
[INFO] [stdout] 1311 | |     S: Clone + 'static,
[INFO] [stdout]      | |_______________________^ `MethodRouter<S>` implements `Handler<(), S>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/handler/mod.rs:303:1
[INFO] [stdout]      |
[INFO] [stdout]  303 | / impl<H, S, T, L> Handler<T, S> for Layered<L, H, T, S>
[INFO] [stdout]  304 | | where
[INFO] [stdout]  305 | |     L: Layer<HandlerService<H, T, S>> + Clone + Send + 'static,
[INFO] [stdout]  306 | |     H: Handler<T, S>,
[INFO] [stdout] ...    |
[INFO] [stdout]  310 | |     T: 'static,
[INFO] [stdout]  311 | |     S: 'static,
[INFO] [stdout]      | |_______________^ `Layered<L, H, T, S>` implements `Handler<T, S>`
[INFO] [stdout] note: required by a bound in `post`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:166:16
[INFO] [stdout]      |
[INFO] [stdout]  166 |             H: Handler<T, S>,
[INFO] [stdout]      |                ^^^^^^^^^^^^^ required by this bound in `post`
[INFO] [stdout] ...
[INFO] [stdout]  443 | top_level_handler_fn!(post, POST);
[INFO] [stdout]      | ---------------------------------
[INFO] [stdout]      | |                     |
[INFO] [stdout]      | |                     required by a bound in this function
[INFO] [stdout]      | in this macro invocation
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/chat_gemini-0c201570288a4e17.long-type-5502414714868436677.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]      = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn(State<Arc<AppState>>, ...) -> ... {handle_command}: Handler<_, _>` is not satisfied
[INFO] [stdout]     --> src/web_ui.rs:58:37
[INFO] [stdout]      |
[INFO] [stdout]   58 |         .route("/api/command", post(handle_command))
[INFO] [stdout]      |                                ---- ^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State<Arc<AppState>>, Form<CommandRequest>) -> ... {handle_command}`
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = note: Consider using `#[axum::debug_handler]` to improve the error message
[INFO] [stdout] help: the following other types implement trait `Handler<T, S>`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:1309:1
[INFO] [stdout]      |
[INFO] [stdout] 1309 | / impl<S> Handler<(), S> for MethodRouter<S>
[INFO] [stdout] 1310 | | where
[INFO] [stdout] 1311 | |     S: Clone + 'static,
[INFO] [stdout]      | |_______________________^ `MethodRouter<S>` implements `Handler<(), S>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/handler/mod.rs:303:1
[INFO] [stdout]      |
[INFO] [stdout]  303 | / impl<H, S, T, L> Handler<T, S> for Layered<L, H, T, S>
[INFO] [stdout]  304 | | where
[INFO] [stdout]  305 | |     L: Layer<HandlerService<H, T, S>> + Clone + Send + 'static,
[INFO] [stdout]  306 | |     H: Handler<T, S>,
[INFO] [stdout] ...    |
[INFO] [stdout]  310 | |     T: 'static,
[INFO] [stdout]  311 | |     S: 'static,
[INFO] [stdout]      | |_______________^ `Layered<L, H, T, S>` implements `Handler<T, S>`
[INFO] [stdout] note: required by a bound in `post`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:166:16
[INFO] [stdout]      |
[INFO] [stdout]  166 |             H: Handler<T, S>,
[INFO] [stdout]      |                ^^^^^^^^^^^^^ required by this bound in `post`
[INFO] [stdout] ...
[INFO] [stdout]  443 | top_level_handler_fn!(post, POST);
[INFO] [stdout]      | ---------------------------------
[INFO] [stdout]      | |                     |
[INFO] [stdout]      | |                     required by a bound in this function
[INFO] [stdout]      | in this macro invocation
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/chat_gemini-2abf4a11780da25c.long-type-9571272385643172752.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]      = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn(State<Arc<AppState>>) -> ... {get_chat_history}: Handler<_, _>` is not satisfied
[INFO] [stdout]     --> src/web_ui.rs:59:36
[INFO] [stdout]      |
[INFO] [stdout]   59 |         .route("/api/history", get(get_chat_history))
[INFO] [stdout]      |                                --- ^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State<Arc<AppState>>) -> ... {get_chat_history}`
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = note: Consider using `#[axum::debug_handler]` to improve the error message
[INFO] [stdout] help: the following other types implement trait `Handler<T, S>`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:1309:1
[INFO] [stdout]      |
[INFO] [stdout] 1309 | / impl<S> Handler<(), S> for MethodRouter<S>
[INFO] [stdout] 1310 | | where
[INFO] [stdout] 1311 | |     S: Clone + 'static,
[INFO] [stdout]      | |_______________________^ `MethodRouter<S>` implements `Handler<(), S>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/handler/mod.rs:303:1
[INFO] [stdout]      |
[INFO] [stdout]  303 | / impl<H, S, T, L> Handler<T, S> for Layered<L, H, T, S>
[INFO] [stdout]  304 | | where
[INFO] [stdout]  305 | |     L: Layer<HandlerService<H, T, S>> + Clone + Send + 'static,
[INFO] [stdout]  306 | |     H: Handler<T, S>,
[INFO] [stdout] ...    |
[INFO] [stdout]  310 | |     T: 'static,
[INFO] [stdout]  311 | |     S: 'static,
[INFO] [stdout]      | |_______________^ `Layered<L, H, T, S>` implements `Handler<T, S>`
[INFO] [stdout] note: required by a bound in `axum::routing::get`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:166:16
[INFO] [stdout]      |
[INFO] [stdout]  166 |             H: Handler<T, S>,
[INFO] [stdout]      |                ^^^^^^^^^^^^^ required by this bound in `get`
[INFO] [stdout] ...
[INFO] [stdout]  439 | top_level_handler_fn!(get, GET);
[INFO] [stdout]      | -------------------------------
[INFO] [stdout]      | |                     |
[INFO] [stdout]      | |                     required by a bound in this function
[INFO] [stdout]      | in this macro invocation
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/chat_gemini-0c201570288a4e17.long-type-9015538301430532117.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]      = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn(State<Arc<AppState>>) -> ... {get_chat_history}: Handler<_, _>` is not satisfied
[INFO] [stdout]     --> src/web_ui.rs:59:36
[INFO] [stdout]      |
[INFO] [stdout]   59 |         .route("/api/history", get(get_chat_history))
[INFO] [stdout]      |                                --- ^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State<Arc<AppState>>) -> ... {get_chat_history}`
[INFO] [stdout]      |                                |
[INFO] [stdout]      |                                required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = note: Consider using `#[axum::debug_handler]` to improve the error message
[INFO] [stdout] help: the following other types implement trait `Handler<T, S>`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:1309:1
[INFO] [stdout]      |
[INFO] [stdout] 1309 | / impl<S> Handler<(), S> for MethodRouter<S>
[INFO] [stdout] 1310 | | where
[INFO] [stdout] 1311 | |     S: Clone + 'static,
[INFO] [stdout]      | |_______________________^ `MethodRouter<S>` implements `Handler<(), S>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/handler/mod.rs:303:1
[INFO] [stdout]      |
[INFO] [stdout]  303 | / impl<H, S, T, L> Handler<T, S> for Layered<L, H, T, S>
[INFO] [stdout]  304 | | where
[INFO] [stdout]  305 | |     L: Layer<HandlerService<H, T, S>> + Clone + Send + 'static,
[INFO] [stdout]  306 | |     H: Handler<T, S>,
[INFO] [stdout] ...    |
[INFO] [stdout]  310 | |     T: 'static,
[INFO] [stdout]  311 | |     S: 'static,
[INFO] [stdout]      | |_______________^ `Layered<L, H, T, S>` implements `Handler<T, S>`
[INFO] [stdout] note: required by a bound in `axum::routing::get`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:166:16
[INFO] [stdout]      |
[INFO] [stdout]  166 |             H: Handler<T, S>,
[INFO] [stdout]      |                ^^^^^^^^^^^^^ required by this bound in `get`
[INFO] [stdout] ...
[INFO] [stdout]  439 | top_level_handler_fn!(get, GET);
[INFO] [stdout]      | -------------------------------
[INFO] [stdout]      | |                     |
[INFO] [stdout]      | |                     required by a bound in this function
[INFO] [stdout]      | in this macro invocation
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/chat_gemini-2abf4a11780da25c.long-type-6019319489779045601.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]      = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `RefCell<rusqlite::inner_connection::InnerConnection>` cannot be shared between threads safely
[INFO] [stdout]    --> src/web_ui.rs:53:15
[INFO] [stdout]     |
[INFO] [stdout]  53 |     let app = Router::new()
[INFO] [stdout]     |               ^^^^^^^^^^^^^ `RefCell<rusqlite::inner_connection::InnerConnection>` cannot be shared between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `Database`, the trait `Sync` is not implemented for `RefCell<rusqlite::inner_connection::InnerConnection>`
[INFO] [stdout]     = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead
[INFO] [stdout] note: required because it appears within the type `Connection`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rusqlite-0.29.0/src/lib.rs:323:12
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub struct Connection {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Database`
[INFO] [stdout]    --> src/db.rs:13:12
[INFO] [stdout]     |
[INFO] [stdout]  13 | pub struct Database {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     = note: required for `Arc<Database>` to implement `Sync`
[INFO] [stdout] note: required because it appears within the type `AppState`
[INFO] [stdout]    --> src/web_ui.rs:16:12
[INFO] [stdout]     |
[INFO] [stdout]  16 | pub struct AppState {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     = note: required for `Arc<AppState>` to implement `Send`
[INFO] [stdout] note: required by a bound in `Router::<S>::new`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/mod.rs:133:16
[INFO] [stdout]     |
[INFO] [stdout] 133 |     S: Clone + Send + Sync + 'static,
[INFO] [stdout]     |                ^^^^ required by this bound in `Router::<S>::new`
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub fn new() -> Self {
[INFO] [stdout]     |            --- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `RefCell<hashlink::lru_cache::LruCache<Arc<str>, rusqlite::raw_statement::RawStatement>>` cannot be shared between threads safely
[INFO] [stdout]    --> src/web_ui.rs:53:15
[INFO] [stdout]     |
[INFO] [stdout]  53 |     let app = Router::new()
[INFO] [stdout]     |               ^^^^^^^^^^^^^ `RefCell<hashlink::lru_cache::LruCache<Arc<str>, rusqlite::raw_statement::RawStatement>>` cannot be shared between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `Database`, the trait `Sync` is not implemented for `RefCell<hashlink::lru_cache::LruCache<Arc<str>, rusqlite::raw_statement::RawStatement>>`
[INFO] [stdout]     = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead
[INFO] [stdout] note: required because it appears within the type `rusqlite::cache::StatementCache`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rusqlite-0.29.0/src/cache.rs:61:12
[INFO] [stdout]     |
[INFO] [stdout]  61 | pub struct StatementCache(RefCell<LruCache<Arc<str>, RawStatement>>);
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Connection`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rusqlite-0.29.0/src/lib.rs:323:12
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub struct Connection {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Database`
[INFO] [stdout]    --> src/db.rs:13:12
[INFO] [stdout]     |
[INFO] [stdout]  13 | pub struct Database {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     = note: required for `Arc<Database>` to implement `Sync`
[INFO] [stdout] note: required because it appears within the type `AppState`
[INFO] [stdout]    --> src/web_ui.rs:16:12
[INFO] [stdout]     |
[INFO] [stdout]  16 | pub struct AppState {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     = note: required for `Arc<AppState>` to implement `Send`
[INFO] [stdout] note: required by a bound in `Router::<S>::new`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/mod.rs:133:16
[INFO] [stdout]     |
[INFO] [stdout] 133 |     S: Clone + Send + Sync + 'static,
[INFO] [stdout]     |                ^^^^ required by this bound in `Router::<S>::new`
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub fn new() -> Self {
[INFO] [stdout]     |            --- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `RefCell<rusqlite::inner_connection::InnerConnection>` cannot be shared between threads safely
[INFO] [stdout]    --> src/web_ui.rs:53:15
[INFO] [stdout]     |
[INFO] [stdout]  53 |     let app = Router::new()
[INFO] [stdout]     |               ^^^^^^^^^^^^^ `RefCell<rusqlite::inner_connection::InnerConnection>` cannot be shared between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `Database`, the trait `Sync` is not implemented for `RefCell<rusqlite::inner_connection::InnerConnection>`
[INFO] [stdout]     = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead
[INFO] [stdout] note: required because it appears within the type `Connection`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rusqlite-0.29.0/src/lib.rs:323:12
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub struct Connection {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Database`
[INFO] [stdout]    --> src/db.rs:13:12
[INFO] [stdout]     |
[INFO] [stdout]  13 | pub struct Database {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     = note: required for `Arc<Database>` to implement `Sync`
[INFO] [stdout] note: required because it appears within the type `AppState`
[INFO] [stdout]    --> src/web_ui.rs:16:12
[INFO] [stdout]     |
[INFO] [stdout]  16 | pub struct AppState {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     = note: required for `Arc<AppState>` to implement `Send`
[INFO] [stdout] note: required by a bound in `Router::<S>::new`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/mod.rs:133:16
[INFO] [stdout]     |
[INFO] [stdout] 133 |     S: Clone + Send + Sync + 'static,
[INFO] [stdout]     |                ^^^^ required by this bound in `Router::<S>::new`
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub fn new() -> Self {
[INFO] [stdout]     |            --- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `RefCell<hashlink::lru_cache::LruCache<Arc<str>, rusqlite::raw_statement::RawStatement>>` cannot be shared between threads safely
[INFO] [stdout]    --> src/web_ui.rs:53:15
[INFO] [stdout]     |
[INFO] [stdout]  53 |     let app = Router::new()
[INFO] [stdout]     |               ^^^^^^^^^^^^^ `RefCell<hashlink::lru_cache::LruCache<Arc<str>, rusqlite::raw_statement::RawStatement>>` cannot be shared between threads safely
[INFO] [stdout]     |
[INFO] [stdout]     = help: within `Database`, the trait `Sync` is not implemented for `RefCell<hashlink::lru_cache::LruCache<Arc<str>, rusqlite::raw_statement::RawStatement>>`
[INFO] [stdout]     = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` instead
[INFO] [stdout] note: required because it appears within the type `rusqlite::cache::StatementCache`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rusqlite-0.29.0/src/cache.rs:61:12
[INFO] [stdout]     |
[INFO] [stdout]  61 | pub struct StatementCache(RefCell<LruCache<Arc<str>, RawStatement>>);
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Connection`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rusqlite-0.29.0/src/lib.rs:323:12
[INFO] [stdout]     |
[INFO] [stdout] 323 | pub struct Connection {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] note: required because it appears within the type `Database`
[INFO] [stdout]    --> src/db.rs:13:12
[INFO] [stdout]     |
[INFO] [stdout]  13 | pub struct Database {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     = note: required for `Arc<Database>` to implement `Sync`
[INFO] [stdout] note: required because it appears within the type `AppState`
[INFO] [stdout]    --> src/web_ui.rs:16:12
[INFO] [stdout]     |
[INFO] [stdout]  16 | pub struct AppState {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     = note: required for `Arc<AppState>` to implement `Send`
[INFO] [stdout] note: required by a bound in `Router::<S>::new`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/mod.rs:133:16
[INFO] [stdout]     |
[INFO] [stdout] 133 |     S: Clone + Send + Sync + 'static,
[INFO] [stdout]     |                ^^^^ required by this bound in `Router::<S>::new`
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub fn new() -> Self {
[INFO] [stdout]     |            --- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `max_tokens` of struct `GeminiClient` is private
[INFO] [stdout]    --> src/main.rs:147:24
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 client.max_tokens = None;
[INFO] [stdout]     |                        ^^^^^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0616]: field `max_tokens` of struct `GeminiClient` is private
[INFO] [stdout]    --> src/main.rs:147:24
[INFO] [stdout]     |
[INFO] [stdout] 147 |                 client.max_tokens = None;
[INFO] [stdout]     |                        ^^^^^^^^^^ private field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `DateTime<Utc>: Serialize` is not satisfied
[INFO] [stdout]     --> src/db.rs:5:17
[INFO] [stdout]      |
[INFO] [stdout]    5 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]      |                 ^^^^^^^^^ the trait `Serialize` is not implemented for `DateTime<Utc>`
[INFO] [stdout] ...
[INFO] [stdout]   10 |     pub timestamp: DateTime<Utc>,
[INFO] [stdout]      |     ---------------------------- required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `DateTime<Utc>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 136 others
[INFO] [stdout] note: required by a bound in `db::_::_serde::ser::SerializeStruct::serialize_field`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:1866:21
[INFO] [stdout]      |
[INFO] [stdout] 1864 |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stdout]      |        --------------- required by a bound in this associated function
[INFO] [stdout] 1865 |     where
[INFO] [stdout] 1866 |         T: ?Sized + Serialize;
[INFO] [stdout]      |                     ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
[INFO] [stdout]      = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `DateTime<Utc>: Serialize` is not satisfied
[INFO] [stdout]     --> src/db.rs:5:17
[INFO] [stdout]      |
[INFO] [stdout]    5 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]      |                 ^^^^^^^^^ the trait `Serialize` is not implemented for `DateTime<Utc>`
[INFO] [stdout] ...
[INFO] [stdout]   10 |     pub timestamp: DateTime<Utc>,
[INFO] [stdout]      |     ---------------------------- required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `DateTime<Utc>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 136 others
[INFO] [stdout] note: required by a bound in `db::_::_serde::ser::SerializeStruct::serialize_field`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:1866:21
[INFO] [stdout]      |
[INFO] [stdout] 1864 |     fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
[INFO] [stdout]      |        --------------- required by a bound in this associated function
[INFO] [stdout] 1865 |     where
[INFO] [stdout] 1866 |         T: ?Sized + Serialize;
[INFO] [stdout]      |                     ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
[INFO] [stdout]      = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `DateTime<Utc>: Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> src/db.rs:10:20
[INFO] [stdout]      |
[INFO] [stdout]   10 |     pub timestamp: DateTime<Utc>,
[INFO] [stdout]      |                    ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `DateTime<Utc>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DateTime<Utc>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a serde_json::value::RawValue
[INFO] [stdout]                &'a std::path::Path
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]              and 149 others
[INFO] [stdout] note: required by a bound in `next_element`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1732:12
[INFO] [stdout]      |
[INFO] [stdout] 1730 |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stdout]      |        ------------ required by a bound in this associated function
[INFO] [stdout] 1731 |     where
[INFO] [stdout] 1732 |         T: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `DateTime<Utc>: Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> src/db.rs:10:20
[INFO] [stdout]      |
[INFO] [stdout]   10 |     pub timestamp: DateTime<Utc>,
[INFO] [stdout]      |                    ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `DateTime<Utc>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DateTime<Utc>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a serde_json::value::RawValue
[INFO] [stdout]                &'a std::path::Path
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]              and 149 others
[INFO] [stdout] note: required by a bound in `next_value`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1871:12
[INFO] [stdout]      |
[INFO] [stdout] 1869 |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stdout]      |        ---------- required by a bound in this associated function
[INFO] [stdout] 1870 |     where
[INFO] [stdout] 1871 |         V: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `DateTime<Utc>: Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> src/db.rs:10:20
[INFO] [stdout]      |
[INFO] [stdout]   10 |     pub timestamp: DateTime<Utc>,
[INFO] [stdout]      |                    ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `DateTime<Utc>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DateTime<Utc>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a serde_json::value::RawValue
[INFO] [stdout]                &'a std::path::Path
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]              and 149 others
[INFO] [stdout] note: required by a bound in `next_element`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1732:12
[INFO] [stdout]      |
[INFO] [stdout] 1730 |     fn next_element<T>(&mut self) -> Result<Option<T>, Self::Error>
[INFO] [stdout]      |        ------------ required by a bound in this associated function
[INFO] [stdout] 1731 |     where
[INFO] [stdout] 1732 |         T: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `DateTime<Utc>: Deserialize<'_>` is not satisfied
[INFO] [stdout]   --> src/db.rs:5:28
[INFO] [stdout]    |
[INFO] [stdout]  5 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `DateTime<Utc>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DateTime<Utc>` type
[INFO] [stdout]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]              &'a [u8]
[INFO] [stdout]              &'a serde_json::value::RawValue
[INFO] [stdout]              &'a std::path::Path
[INFO] [stdout]              &'a str
[INFO] [stdout]              ()
[INFO] [stdout]              (T,)
[INFO] [stdout]              (T0, T1)
[INFO] [stdout]              (T0, T1, T2)
[INFO] [stdout]            and 149 others
[INFO] [stdout] note: required by a bound in `db::_::_serde::__private::de::missing_field`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/private/de.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stdout]    |        ------------- required by a bound in this function
[INFO] [stdout] 24 | where
[INFO] [stdout] 25 |     V: Deserialize<'de>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `DateTime<Utc>: Deserialize<'_>` is not satisfied
[INFO] [stdout]     --> src/db.rs:10:20
[INFO] [stdout]      |
[INFO] [stdout]   10 |     pub timestamp: DateTime<Utc>,
[INFO] [stdout]      |                    ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `DateTime<Utc>`
[INFO] [stdout]      |
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DateTime<Utc>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a serde_json::value::RawValue
[INFO] [stdout]                &'a std::path::Path
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]              and 149 others
[INFO] [stdout] note: required by a bound in `next_value`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1871:12
[INFO] [stdout]      |
[INFO] [stdout] 1869 |     fn next_value<V>(&mut self) -> Result<V, Self::Error>
[INFO] [stdout]      |        ---------- required by a bound in this associated function
[INFO] [stdout] 1870 |     where
[INFO] [stdout] 1871 |         V: Deserialize<'de>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `DateTime<Utc>: Deserialize<'_>` is not satisfied
[INFO] [stdout]   --> src/db.rs:5:28
[INFO] [stdout]    |
[INFO] [stdout]  5 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `DateTime<Utc>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `DateTime<Utc>` type
[INFO] [stdout]    = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]    = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]              &'a [u8]
[INFO] [stdout]              &'a serde_json::value::RawValue
[INFO] [stdout]              &'a std::path::Path
[INFO] [stdout]              &'a str
[INFO] [stdout]              ()
[INFO] [stdout]              (T,)
[INFO] [stdout]              (T0, T1)
[INFO] [stdout]              (T0, T1, T2)
[INFO] [stdout]            and 149 others
[INFO] [stdout] note: required by a bound in `db::_::_serde::__private::de::missing_field`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/private/de.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
[INFO] [stdout]    |        ------------- required by a bound in this function
[INFO] [stdout] 24 | where
[INFO] [stdout] 25 |     V: Deserialize<'de>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^ required by this bound in `missing_field`
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599, E0616.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599, E0616.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chat_gemini` (bin "chat_gemini" test) due to 12 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `chat_gemini` (bin "chat_gemini") due to 12 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6f93cf4c435a4261647878503fc1fd7cd53480201a828a39c940013ee38c737b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f93cf4c435a4261647878503fc1fd7cd53480201a828a39c940013ee38c737b", kill_on_drop: false }`
[INFO] [stdout] 6f93cf4c435a4261647878503fc1fd7cd53480201a828a39c940013ee38c737b
