[INFO] cloning repository https://github.com/NxtCore/OxideChat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NxtCore/OxideChat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNxtCore%2FOxideChat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNxtCore%2FOxideChat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ff5e05d6a039cde5b17d25c7e3f777da3491148 [INFO] checking NxtCore/OxideChat against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNxtCore%2FOxideChat" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NxtCore/OxideChat [INFO] finished tweaking git repo https://github.com/NxtCore/OxideChat [INFO] tweaked toml for git repo https://github.com/NxtCore/OxideChat written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NxtCore/OxideChat on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NxtCore/OxideChat 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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest Rust 1.96.0-nightly compatible version [INFO] [stderr] Adding omniference v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c386cf47334cdf1b7082235d536e36ecaa9fdbfc3340faf2821d76c42d03b269 [INFO] running `Command { std: "docker" "start" "-a" "c386cf47334cdf1b7082235d536e36ecaa9fdbfc3340faf2821d76c42d03b269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c386cf47334cdf1b7082235d536e36ecaa9fdbfc3340faf2821d76c42d03b269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c386cf47334cdf1b7082235d536e36ecaa9fdbfc3340faf2821d76c42d03b269", kill_on_drop: false }` [INFO] [stdout] c386cf47334cdf1b7082235d536e36ecaa9fdbfc3340faf2821d76c42d03b269 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d335c51a3ccdc09b3bef3b946ab4fb57fd38ea81bfa4354a0770857654c9d29 [INFO] running `Command { std: "docker" "start" "-a" "1d335c51a3ccdc09b3bef3b946ab4fb57fd38ea81bfa4354a0770857654c9d29", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Compiling zmij v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling cranelift-srcgen v0.124.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.124.3 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling cranelift-bitset v0.124.3 [INFO] [stderr] Compiling cranelift-isle v0.124.3 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking bumpalo v3.19.1 [INFO] [stderr] Compiling target-lexicon v0.13.4 [INFO] [stderr] Compiling cranelift-codegen-shared v0.124.3 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling io-lifetimes v2.0.4 [INFO] [stderr] Checking rustls-pki-types v1.13.2 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.124.3 [INFO] [stderr] Checking wasmtime-internal-math v37.0.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking arbitrary v1.4.2 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Checking leb128fmt v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pulley-macros v37.0.3 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling wasmtime-internal-versioned-export-macros v37.0.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling pulley-interpreter v37.0.3 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking cranelift-control v0.124.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cranelift-codegen-meta v0.124.3 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking cranelift-entity v0.124.3 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking cranelift-bforest v0.124.3 [INFO] [stderr] Checking regalloc2 v0.13.5 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling wasmparser v0.239.0 [INFO] [stderr] Compiling io-extras v0.18.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking cobs v0.3.0 [INFO] [stderr] Compiling cranelift-codegen v0.124.3 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Checking rand_core v0.9.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling wasm-encoder v0.239.0 [INFO] [stderr] Compiling cap-primitives v3.4.5 [INFO] [stderr] Checking ambient-authority v0.0.2 [INFO] [stderr] Compiling cpp_demangle v0.4.5 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking postcard v1.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking fs-set-times v0.20.3 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking rustix-linux-procfs v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling ittapi-sys v0.4.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking unicode-properties v0.1.4 [INFO] [stderr] Compiling wasmtime-internal-unwinder v37.0.3 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Checking maybe-owned v0.3.4 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking wasmprinter v0.239.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling wit-parser v0.239.0 [INFO] [stderr] Compiling wast v35.0.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling wasmtime-internal-jit-debug v37.0.3 [INFO] [stderr] Compiling wasmtime-internal-fiber v37.0.3 [INFO] [stderr] Checking wasm-encoder v0.244.0 [INFO] [stderr] Checking webpki-roots v1.0.5 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling wasmtime-internal-component-macro v37.0.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling wasmtime-internal-cache v37.0.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Checking wasmtime-internal-component-util v37.0.3 [INFO] [stderr] Compiling cap-std v3.4.5 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking wast v244.0.0 [INFO] [stderr] Checking wasmtime-environ v37.0.3 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Checking postgres-protocol v0.6.9 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Compiling wasmtime-internal-wit-bindgen v37.0.3 [INFO] [stderr] Compiling witx v0.9.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling wasmtime v37.0.3 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Checking wasmtime-internal-asm-macros v37.0.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling wiggle-macro v37.0.3 [INFO] [stderr] Compiling cbindgen v0.29.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking wat v1.244.0 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Compiling toml v0.9.11+spec-1.1.0 [INFO] [stderr] Checking fxprof-processed-profile v0.6.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling wiggle-generate v37.0.3 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking ittapi v0.4.0 [INFO] [stderr] Checking postgres-types v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Checking memfd v0.6.5 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking wasmtime-internal-jit-icache-coherence v37.0.3 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking wasmtime-internal-slab v37.0.3 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling cap-fs-ext v3.4.5 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling system-interface v0.27.3 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling prost-derive v0.14.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking rmp v0.8.15 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking rmp-serde v1.3.1 [INFO] [stderr] Checking prost v0.14.3 [INFO] [stderr] Compiling extism-convert-macros v1.13.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking flate2 v1.1.8 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking cap-rand v3.4.5 [INFO] [stderr] Checking cap-time-ext v3.4.5 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking cranelift-native v0.124.3 [INFO] [stderr] Checking cranelift-frontend v0.124.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking wasmtime-internal-cranelift v37.0.3 [INFO] [stderr] Checking ureq-proto v0.5.3 [INFO] [stderr] Checking toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Checking extism-convert v1.13.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking ureq v3.1.4 [INFO] [stderr] Compiling extism v1.13.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking cookie v0.18.1 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking extism-manifest v1.13.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking infer v0.16.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking tower-cookies v0.11.0 [INFO] [stderr] Checking oauth2 v5.0.0 [INFO] [stderr] Checking arc-swap v1.8.0 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking omniference v0.1.5 [INFO] [stderr] Checking wiggle v37.0.3 [INFO] [stderr] Checking wasi-common v37.0.3 [INFO] [stderr] Checking OxideChat v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils::providers::sync_provider_models` [INFO] [stdout] --> src/ai.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::utils::providers::sync_provider_models; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::models_configs::ModelConfig` [INFO] [stdout] --> src/types/ai.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::types::models_configs::ModelConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::providers::sync_provider_models` [INFO] [stdout] --> src/ai.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::utils::providers::sync_provider_models; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::models_configs::ModelConfig` [INFO] [stdout] --> src/types/ai.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::types::models_configs::ModelConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::Digest` [INFO] [stdout] --> src/routes/public/tools.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sha2::Digest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::Digest` [INFO] [stdout] --> src/routes/public/tools.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sha2::Digest; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reload_providers` is never used [INFO] [stdout] --> src/ai.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | pub async fn reload_providers(pool: &PgPool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `log_full` and `log_with_metadata` are never used [INFO] [stdout] --> src/logging.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 165 | impl AuditLog { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn log_full( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn log_with_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `aliased_fields` and `aliased_fields_str` are never used [INFO] [stdout] --> src/types/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait BaseType { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn aliased_fields(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn aliased_fields_str(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `created_at` and `updated_at` are never read [INFO] [stdout] --> src/types/ai.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct AiModel { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AiModel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AiUsage` is never constructed [INFO] [stdout] --> src/types/ai.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AiUsage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicModelResponse` is never constructed [INFO] [stdout] --> src/types/ai.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct PublicModelResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProviderMetadata` is never constructed [INFO] [stdout] --> src/types/ai.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct ProviderMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProviderMetadataResponse` is never constructed [INFO] [stdout] --> src/types/ai.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct ProviderMetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StableModelKey` is never constructed [INFO] [stdout] --> src/types/ai.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct StableModelKey(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `parse` are never used [INFO] [stdout] --> src/types/ai.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 263 | impl StableModelKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn new(kind: &ProviderKind, model_id: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn parse(&self) -> Option<(String, String)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateModelConfigRequest` is never constructed [INFO] [stdout] --> src/types/ai.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | pub struct UpdateModelConfigRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Agent` is never constructed [INFO] [stdout] --> src/types/ai.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub struct Agent { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentResponse` is never constructed [INFO] [stdout] --> src/types/ai.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub struct AgentResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateAgentRequest` is never constructed [INFO] [stdout] --> src/types/ai.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | pub struct CreateAgentRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateAgentRequest` is never constructed [INFO] [stdout] --> src/types/ai.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | pub struct UpdateAgentRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelWithMetadata` is never constructed [INFO] [stdout] --> src/types/ai.rs:447:12 [INFO] [stdout] | [INFO] [stdout] 447 | pub struct ModelWithMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ModelCapabilities` is never used [INFO] [stdout] --> src/types/ai.rs:474:10 [INFO] [stdout] | [INFO] [stdout] 474 | pub enum ModelCapabilities { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> src/types/ai.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 484 | impl ModelCapabilities { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 485 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PaginatedUsersResponse` is never constructed [INFO] [stdout] --> src/types/auth.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct PaginatedUsersResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StreamingAnimation` is never used [INFO] [stdout] --> src/types/chat.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum StreamingAnimation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> src/types/chat.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | impl StreamingAnimation { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 23 | #[must_use] [INFO] [stdout] 24 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageRole` is never used [INFO] [stdout] --> src/types/chat.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum MessageRole { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/types/chat.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | impl MessageRole { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 55 | #[must_use] [INFO] [stdout] 56 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tool_name` is never read [INFO] [stdout] --> src/types/chat.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct ToolExecutionInternal { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 116 | pub call_id: String, [INFO] [stdout] 117 | pub tool_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolExecutionInternal` 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: field `user_id` is never read [INFO] [stdout] --> src/types/chat.rs:141:6 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Workspace { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 140 | pub id: Uuid, [INFO] [stdout] 141 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Workspace` 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: field `user_id` is never read [INFO] [stdout] --> src/types/chat.rs:154:6 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct WorkspaceWithCount { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 153 | pub id: Uuid, [INFO] [stdout] 154 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkspaceWithCount` 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: field `user_id` is never read [INFO] [stdout] --> src/types/chat.rs:168:6 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Chat { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 167 | pub id: Uuid, [INFO] [stdout] 168 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chat` 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: fields `chat_id` and `is_active_fork` are never read [INFO] [stdout] --> src/types/chat.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 181 | pub id: Uuid, [INFO] [stdout] 182 | pub chat_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub is_active_fork: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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: field `model_id` is never read [INFO] [stdout] --> src/types/chat.rs:259:6 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct UpdateChatRequest { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 259 | pub model_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateChatRequest` 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 `tools_enabled` is never read [INFO] [stdout] --> src/types/chat.rs:280:6 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct SendMessageRequest { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 280 | pub tools_enabled: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendMessageRequest` 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 `limit` is never read [INFO] [stdout] --> src/types/chat.rs:285:6 [INFO] [stdout] | [INFO] [stdout] 284 | pub struct MessageListParams { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 285 | pub limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageListParams` 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 `regenerate` is never read [INFO] [stdout] --> src/types/chat.rs:294:6 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct EditMessageRequest { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 294 | pub regenerate: bool, // Whether to trigger AI regeneration after editing [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EditMessageRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuditLogRow` is never constructed [INFO] [stdout] --> src/types/logging.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct AuditLogRow { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuditLogResponse` is never constructed [INFO] [stdout] --> src/types/logging.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct AuditLogResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `avatar_url` is never read [INFO] [stdout] --> src/types/oauth.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct OAuthUserInfo { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub avatar_url: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAuthUserInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PermissionNameRow` is never constructed [INFO] [stdout] --> src/types/permissions.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PermissionNameRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PermissionInfo` is never constructed [INFO] [stdout] --> src/types/permissions.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PermissionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROFILE_VIEW` is never used [INFO] [stdout] --> src/types/permissions.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub const PROFILE_VIEW: &str = "settings.profile.view"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROFILE_EDIT` is never used [INFO] [stdout] --> src/types/permissions.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub const PROFILE_EDIT: &str = "settings.profile.edit"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SESSIONS_VIEW` is never used [INFO] [stdout] --> src/types/permissions.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub const SESSIONS_VIEW: &str = "settings.sessions.view"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SESSIONS_REVOKE` is never used [INFO] [stdout] --> src/types/permissions.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub const SESSIONS_REVOKE: &str = "settings.sessions.revoke"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APPEARANCE_EDIT` is never used [INFO] [stdout] --> src/types/permissions.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub const APPEARANCE_EDIT: &str = "settings.appearance.edit"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ADMIN_CONFIG_VIEW` is never used [INFO] [stdout] --> src/types/permissions.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub const ADMIN_CONFIG_VIEW: &str = "admin.config.view"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ADMIN_CONFIG_EDIT` is never used [INFO] [stdout] --> src/types/permissions.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub const ADMIN_CONFIG_EDIT: &str = "admin.config.edit"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> src/types/tools.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | impl ToolSourceKind { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 22 | #[must_use] [INFO] [stdout] 23 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasmBlob` is never constructed [INFO] [stdout] --> src/types/tools.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct WasmBlob { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user_id`, `tool_id`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/types/tools.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct UserToolSettings { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 91 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 92 | pub user_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | pub tool_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 94 | pub settings: serde_json::Value, [INFO] [stdout] 95 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 96 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserToolSettings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpServer` is never constructed [INFO] [stdout] --> src/types/tools.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct McpServer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolExecution` is never constructed [INFO] [stdout] --> src/types/tools.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct ToolExecution { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpSourceConfig` is never constructed [INFO] [stdout] --> src/types/tools.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct McpSourceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpStdioConfig` is never constructed [INFO] [stdout] --> src/types/tools.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct McpStdioConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpSseConfig` is never constructed [INFO] [stdout] --> src/types/tools.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct McpSseConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `force_compile` is never read [INFO] [stdout] --> src/types/tools.rs:239:6 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct UploadWasmRequest { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 239 | pub force_compile: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UploadWasmRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateMcpServerRequest` is never constructed [INFO] [stdout] --> src/types/tools.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct CreateMcpServerRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateMcpServerRequest` is never constructed [INFO] [stdout] --> src/types/tools.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub struct UpdateMcpServerRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpServerResponse` is never constructed [INFO] [stdout] --> src/types/tools.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | pub struct McpServerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpDiscoveryResponse` is never constructed [INFO] [stdout] --> src/types/tools.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | pub struct McpDiscoveryResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpDiscoveredTool` is never constructed [INFO] [stdout] --> src/types/tools.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct McpDiscoveredTool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolExecutionLogResponse` is never constructed [INFO] [stdout] --> src/types/tools.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 436 | pub struct ToolExecutionLogResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `updated_at` is never read [INFO] [stdout] --> src/types/user.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub updated_at: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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 items `has_any_permission`, `list_paginated`, and `role_exists` are never used [INFO] [stdout] --> src/types/user.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 50 | impl User { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub async fn has_any_permission(&self, pool: &sqlx::PgPool, permissions: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub async fn list_paginated(pool: &sqlx::PgPool, page: i64, per_page: i64, search: Option<&str>, role: Option<&str>) -> Result<... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | pub async fn role_exists(pool: &sqlx::PgPool, role_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create`, `find_by_id`, and `update` are never used [INFO] [stdout] --> src/types/models.rs:151:15 [INFO] [stdout] | [INFO] [stdout] 129 | impl Model { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub async fn create(pool: &sqlx::PgPool, provider_id: &Uuid, model_id: &str, display_name: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | pub async fn find_by_id(pool: &sqlx::PgPool, id: &Uuid) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | pub async fn update(pool: &sqlx::PgPool, id: &Uuid, fields: &[(&str, &str)]) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_omni_kind`, `as_str`, and `from_str` are never used [INFO] [stdout] --> src/types/providers.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ProviderKind { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn from_omni_kind(kind: &OmniProviderKind) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `list_paginated` is never used [INFO] [stdout] --> src/types/providers.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 130 | impl Provider { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 131 | pub async fn list_paginated(pool: &sqlx::PgPool, page: i64, per_page: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidProvider`, `StateMismatch`, and `EmailRequired` are never constructed [INFO] [stdout] --> src/utils/oauth.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum OAuthError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | InvalidProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | StateMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// Email is required but not provided [INFO] [stdout] 28 | EmailRequired, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAuthError` 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 `Text` is never constructed [INFO] [stdout] --> src/utils/response.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum ResponseBody { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 30 | Json(T), [INFO] [stdout] 31 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/utils/response.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 35 | impl ResponseBuilder { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn header(mut self, key: HeaderName, value: HeaderValue) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn header_str(mut self, key: &'static str, value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn headers(mut self, headers: HeaderMap) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn content_type(mut self, content_type: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn cache_control(mut self, directive: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn no_cache(self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn cache_max_age(self, seconds: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn cache_private(self, seconds: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn allow_origin(mut self, origin: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn cors_permissive(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn security_headers(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/utils/response.rs:205:2 [INFO] [stdout] | [INFO] [stdout] 189 | pub enum ErrorCode { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 205 | MalformedRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | SessionExpired, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 214 | TokenInvalid, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 215 | TokenExpired, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | AccountDisabled, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | ResourceNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | OAuthEmailConflict, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | UnprocessableEntity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | ServiceUnavailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorCode` 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 `single`, `with_details`, `with_field`, `multiple`, and `primary_status` are never used [INFO] [stdout] --> src/utils/response.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 439 | impl ApiError { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 442 | pub fn single(code: ErrorCode) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | pub fn with_details(code: ErrorCode, details: Value) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn with_field(code: ErrorCode, field: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn multiple(codes: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | pub fn primary_status(&self) -> StatusCode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `details`, `field`, `header`, and `header_str` are never used [INFO] [stdout] --> src/utils/response.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 519 | impl ErrorBuilder { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 539 | pub fn add(mut self, code: ErrorCode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 555 | pub fn details(mut self, details: Value) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | pub fn field(mut self, field: impl Into) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 569 | pub fn header(mut self, key: HeaderName, value: HeaderValue) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 579 | pub fn header_str(mut self, key: &'static str, value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/utils/tools/builtin/imagegen.rs:87:2 [INFO] [stdout] | [INFO] [stdout] 85 | struct GeminiPart { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 86 | #[serde(default)] [INFO] [stdout] 87 | text: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeminiPart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_schema` is never used [INFO] [stdout] --> src/utils/tools/builtin/websearch.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn input_schema() -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `settings_schema` is never used [INFO] [stdout] --> src/utils/tools/builtin/websearch.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn settings_schema() -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Timeout`, `McpError`, and `CompilationError` are never constructed [INFO] [stdout] --> src/utils/tools/executor.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ToolError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Timeout(u64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | McpError(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | CompilationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolError` 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 `name` is never used [INFO] [stdout] --> src/utils/tools/executor.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait ToolExecutor: Send + Sync { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 88 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/utils/tools/http.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct HttpExecutor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 22 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonRpcRequest` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct JsonRpcRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonRpcResponse` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct JsonRpcResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonRpcError` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct JsonRpcError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpToolInfo` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct McpToolInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListToolsResult` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct ListToolsResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CallToolResult` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | struct CallToolResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpContent` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct McpContent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `McpTransport` is never used [INFO] [stdout] --> src/utils/tools/mcp.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | trait McpTransport: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StdioTransport` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | struct StdioTransport { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/tools/mcp.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 82 | impl StdioTransport { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 83 | pub async fn new(command: &str, args: &[String], env: &HashMap) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SseTransport` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | struct SseTransport { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/tools/mcp.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 147 | impl SseTransport { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 148 | pub fn new(url: String, headers: HashMap) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpClient` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct McpClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_stdio`, `new_sse`, `initialize`, `list_tools`, `call_tool`, and `close` are never used [INFO] [stdout] --> src/utils/tools/mcp.rs:206:15 [INFO] [stdout] | [INFO] [stdout] 204 | impl McpClient { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 205 | /// Create a new MCP client with stdio transport [INFO] [stdout] 206 | pub async fn new_stdio(server_name: String, command: &str, args: &[String], env: &HashMap) -> Result) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | async fn initialize(&mut self) -> Result<(), ToolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub async fn list_tools(&self) -> Result, ToolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub async fn call_tool(&self, tool_name: &str, arguments: Value) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub async fn close(&self) -> Result<(), ToolError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpExecutor` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | pub struct McpExecutor { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/tools/mcp.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 318 | impl McpExecutor { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 319 | pub fn new(client: Arc, tool_name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/utils/tools/wasm.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct WasmExecutor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reload_providers` is never used [INFO] [stdout] --> src/ai.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | pub async fn reload_providers(pool: &PgPool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Role`, `Config`, and `RateLimit` are never constructed [INFO] [stdout] --> src/logging.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum EntityType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Role, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Translation, [INFO] [stdout] 21 | Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | RateLimit, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityType` 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 function `from_str` is never used [INFO] [stdout] --> src/logging.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 25 | impl EntityType { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/logging.rs:66:2 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum LogEvent { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 66 | SessionCreated, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 67 | SessionExpired, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 68 | SessionInvalidated, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | RoleRevoked, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | ConfigUpdated, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 79 | TranslationCreated, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | RateLimited, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | OAuthIdentityLinked, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEvent` 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 function `from_str` is never used [INFO] [stdout] --> src/logging.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 94 | impl LogEvent { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `log_full` and `log_with_metadata` are never used [INFO] [stdout] --> src/logging.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 165 | impl AuditLog { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn log_full( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn log_with_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `aliased_fields` and `aliased_fields_str` are never used [INFO] [stdout] --> src/types/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait BaseType { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn aliased_fields(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn aliased_fields_str(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `created_at` and `updated_at` are never read [INFO] [stdout] --> src/types/ai.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct AiModel { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AiModel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AiUsage` is never constructed [INFO] [stdout] --> src/types/ai.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AiUsage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicModelResponse` is never constructed [INFO] [stdout] --> src/types/ai.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct PublicModelResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProviderMetadata` is never constructed [INFO] [stdout] --> src/types/ai.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct ProviderMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProviderMetadataResponse` is never constructed [INFO] [stdout] --> src/types/ai.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct ProviderMetadataResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StableModelKey` is never constructed [INFO] [stdout] --> src/types/ai.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct StableModelKey(pub String); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `parse` are never used [INFO] [stdout] --> src/types/ai.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 263 | impl StableModelKey { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn new(kind: &ProviderKind, model_id: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn parse(&self) -> Option<(String, String)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateModelConfigRequest` is never constructed [INFO] [stdout] --> src/types/ai.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | pub struct UpdateModelConfigRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Agent` is never constructed [INFO] [stdout] --> src/types/ai.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub struct Agent { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentResponse` is never constructed [INFO] [stdout] --> src/types/ai.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub struct AgentResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateAgentRequest` is never constructed [INFO] [stdout] --> src/types/ai.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | pub struct CreateAgentRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateAgentRequest` is never constructed [INFO] [stdout] --> src/types/ai.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | pub struct UpdateAgentRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelWithMetadata` is never constructed [INFO] [stdout] --> src/types/ai.rs:447:12 [INFO] [stdout] | [INFO] [stdout] 447 | pub struct ModelWithMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ModelCapabilities` is never used [INFO] [stdout] --> src/types/ai.rs:474:10 [INFO] [stdout] | [INFO] [stdout] 474 | pub enum ModelCapabilities { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> src/types/ai.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 484 | impl ModelCapabilities { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 485 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PaginatedUsersResponse` is never constructed [INFO] [stdout] --> src/types/auth.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct PaginatedUsersResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StreamingAnimation` is never used [INFO] [stdout] --> src/types/chat.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum StreamingAnimation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> src/types/chat.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | impl StreamingAnimation { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 23 | #[must_use] [INFO] [stdout] 24 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageRole` is never used [INFO] [stdout] --> src/types/chat.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum MessageRole { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/types/chat.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | impl MessageRole { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 55 | #[must_use] [INFO] [stdout] 56 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tool_name` is never read [INFO] [stdout] --> src/types/chat.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct ToolExecutionInternal { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 116 | pub call_id: String, [INFO] [stdout] 117 | pub tool_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolExecutionInternal` 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: field `user_id` is never read [INFO] [stdout] --> src/types/chat.rs:141:6 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Workspace { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 140 | pub id: Uuid, [INFO] [stdout] 141 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Workspace` 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: field `user_id` is never read [INFO] [stdout] --> src/types/chat.rs:154:6 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct WorkspaceWithCount { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 153 | pub id: Uuid, [INFO] [stdout] 154 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkspaceWithCount` 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: field `user_id` is never read [INFO] [stdout] --> src/types/chat.rs:168:6 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Chat { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 167 | pub id: Uuid, [INFO] [stdout] 168 | pub user_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chat` 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: fields `chat_id` and `is_active_fork` are never read [INFO] [stdout] --> src/types/chat.rs:182:6 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 181 | pub id: Uuid, [INFO] [stdout] 182 | pub chat_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub is_active_fork: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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: field `model_id` is never read [INFO] [stdout] --> src/types/chat.rs:259:6 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct UpdateChatRequest { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 259 | pub model_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateChatRequest` 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 `tools_enabled` is never read [INFO] [stdout] --> src/types/chat.rs:280:6 [INFO] [stdout] | [INFO] [stdout] 274 | pub struct SendMessageRequest { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 280 | pub tools_enabled: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendMessageRequest` 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 `limit` is never read [INFO] [stdout] --> src/types/chat.rs:285:6 [INFO] [stdout] | [INFO] [stdout] 284 | pub struct MessageListParams { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 285 | pub limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageListParams` 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 `regenerate` is never read [INFO] [stdout] --> src/types/chat.rs:294:6 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct EditMessageRequest { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 294 | pub regenerate: bool, // Whether to trigger AI regeneration after editing [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EditMessageRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuditLogRow` is never constructed [INFO] [stdout] --> src/types/logging.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct AuditLogRow { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuditLogResponse` is never constructed [INFO] [stdout] --> src/types/logging.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct AuditLogResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `avatar_url` is never read [INFO] [stdout] --> src/types/oauth.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct OAuthUserInfo { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub avatar_url: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAuthUserInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PermissionNameRow` is never constructed [INFO] [stdout] --> src/types/permissions.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PermissionNameRow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PermissionInfo` is never constructed [INFO] [stdout] --> src/types/permissions.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PermissionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROFILE_VIEW` is never used [INFO] [stdout] --> src/types/permissions.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub const PROFILE_VIEW: &str = "settings.profile.view"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROFILE_EDIT` is never used [INFO] [stdout] --> src/types/permissions.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub const PROFILE_EDIT: &str = "settings.profile.edit"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SESSIONS_VIEW` is never used [INFO] [stdout] --> src/types/permissions.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub const SESSIONS_VIEW: &str = "settings.sessions.view"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SESSIONS_REVOKE` is never used [INFO] [stdout] --> src/types/permissions.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub const SESSIONS_REVOKE: &str = "settings.sessions.revoke"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APPEARANCE_EDIT` is never used [INFO] [stdout] --> src/types/permissions.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub const APPEARANCE_EDIT: &str = "settings.appearance.edit"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ADMIN_CONFIG_VIEW` is never used [INFO] [stdout] --> src/types/permissions.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub const ADMIN_CONFIG_VIEW: &str = "admin.config.view"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ADMIN_CONFIG_EDIT` is never used [INFO] [stdout] --> src/types/permissions.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub const ADMIN_CONFIG_EDIT: &str = "admin.config.edit"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> src/types/tools.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | impl ToolSourceKind { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 22 | #[must_use] [INFO] [stdout] 23 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WasmBlob` is never constructed [INFO] [stdout] --> src/types/tools.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct WasmBlob { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user_id`, `tool_id`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/types/tools.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct UserToolSettings { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 91 | pub id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 92 | pub user_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | pub tool_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 94 | pub settings: serde_json::Value, [INFO] [stdout] 95 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 96 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserToolSettings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpServer` is never constructed [INFO] [stdout] --> src/types/tools.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct McpServer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolExecution` is never constructed [INFO] [stdout] --> src/types/tools.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct ToolExecution { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpSourceConfig` is never constructed [INFO] [stdout] --> src/types/tools.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct McpSourceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpStdioConfig` is never constructed [INFO] [stdout] --> src/types/tools.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct McpStdioConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpSseConfig` is never constructed [INFO] [stdout] --> src/types/tools.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct McpSseConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `force_compile` is never read [INFO] [stdout] --> src/types/tools.rs:239:6 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct UploadWasmRequest { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 239 | pub force_compile: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UploadWasmRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateMcpServerRequest` is never constructed [INFO] [stdout] --> src/types/tools.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct CreateMcpServerRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateMcpServerRequest` is never constructed [INFO] [stdout] --> src/types/tools.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | pub struct UpdateMcpServerRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpServerResponse` is never constructed [INFO] [stdout] --> src/types/tools.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | pub struct McpServerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpDiscoveryResponse` is never constructed [INFO] [stdout] --> src/types/tools.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | pub struct McpDiscoveryResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpDiscoveredTool` is never constructed [INFO] [stdout] --> src/types/tools.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | pub struct McpDiscoveredTool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolExecutionLogResponse` is never constructed [INFO] [stdout] --> src/types/tools.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 436 | pub struct ToolExecutionLogResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `updated_at` is never read [INFO] [stdout] --> src/types/user.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub updated_at: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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 items `has_any_permission`, `list_paginated`, and `role_exists` are never used [INFO] [stdout] --> src/types/user.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 50 | impl User { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub async fn has_any_permission(&self, pool: &sqlx::PgPool, permissions: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub async fn list_paginated(pool: &sqlx::PgPool, page: i64, per_page: i64, search: Option<&str>, role: Option<&str>) -> Result<... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | pub async fn role_exists(pool: &sqlx::PgPool, role_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create`, `find_by_id`, and `update` are never used [INFO] [stdout] --> src/types/models.rs:151:15 [INFO] [stdout] | [INFO] [stdout] 129 | impl Model { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub async fn create(pool: &sqlx::PgPool, provider_id: &Uuid, model_id: &str, display_name: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | pub async fn find_by_id(pool: &sqlx::PgPool, id: &Uuid) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | pub async fn update(pool: &sqlx::PgPool, id: &Uuid, fields: &[(&str, &str)]) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_omni_kind`, `as_str`, and `from_str` are never used [INFO] [stdout] --> src/types/providers.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ProviderKind { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn from_omni_kind(kind: &OmniProviderKind) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `list_paginated` is never used [INFO] [stdout] --> src/types/providers.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 130 | impl Provider { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 131 | pub async fn list_paginated(pool: &sqlx::PgPool, page: i64, per_page: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidProvider`, `StateMismatch`, and `EmailRequired` are never constructed [INFO] [stdout] --> src/utils/oauth.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum OAuthError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | InvalidProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | StateMismatch, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | /// Email is required but not provided [INFO] [stdout] 28 | EmailRequired, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAuthError` 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 `Text` is never constructed [INFO] [stdout] --> src/utils/response.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum ResponseBody { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 30 | Json(T), [INFO] [stdout] 31 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/utils/response.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 35 | impl ResponseBuilder { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn header(mut self, key: HeaderName, value: HeaderValue) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn header_str(mut self, key: &'static str, value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn headers(mut self, headers: HeaderMap) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn content_type(mut self, content_type: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn cache_control(mut self, directive: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn no_cache(self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn cache_max_age(self, seconds: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn cache_private(self, seconds: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn allow_origin(mut self, origin: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn cors_permissive(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn security_headers(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/utils/response.rs:205:2 [INFO] [stdout] | [INFO] [stdout] 189 | pub enum ErrorCode { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 205 | MalformedRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | Unauthorized, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | SessionExpired, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 214 | TokenInvalid, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 215 | TokenExpired, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | AccountDisabled, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | ResourceNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | Conflict, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | OAuthEmailConflict, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | UnprocessableEntity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | RateLimited, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | ServiceUnavailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorCode` 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 `single`, `with_details`, `with_field`, `multiple`, and `primary_status` are never used [INFO] [stdout] --> src/utils/response.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 439 | impl ApiError { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 442 | pub fn single(code: ErrorCode) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | pub fn with_details(code: ErrorCode, details: Value) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn with_field(code: ErrorCode, field: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn multiple(codes: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | pub fn primary_status(&self) -> StatusCode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `details`, `field`, `header`, and `header_str` are never used [INFO] [stdout] --> src/utils/response.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 519 | impl ErrorBuilder { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 539 | pub fn add(mut self, code: ErrorCode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 555 | pub fn details(mut self, details: Value) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | pub fn field(mut self, field: impl Into) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 569 | pub fn header(mut self, key: HeaderName, value: HeaderValue) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 579 | pub fn header_str(mut self, key: &'static str, value: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/utils/tools/builtin/imagegen.rs:87:2 [INFO] [stdout] | [INFO] [stdout] 85 | struct GeminiPart { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 86 | #[serde(default)] [INFO] [stdout] 87 | text: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeminiPart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_schema` is never used [INFO] [stdout] --> src/utils/tools/builtin/websearch.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn input_schema() -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `settings_schema` is never used [INFO] [stdout] --> src/utils/tools/builtin/websearch.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn settings_schema() -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Timeout`, `McpError`, and `CompilationError` are never constructed [INFO] [stdout] --> src/utils/tools/executor.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ToolError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Timeout(u64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | McpError(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | CompilationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolError` 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 `name` is never used [INFO] [stdout] --> src/utils/tools/executor.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait ToolExecutor: Send + Sync { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 88 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/utils/tools/http.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct HttpExecutor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 22 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonRpcRequest` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct JsonRpcRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonRpcResponse` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct JsonRpcResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsonRpcError` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct JsonRpcError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpToolInfo` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct McpToolInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListToolsResult` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct ListToolsResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CallToolResult` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | struct CallToolResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpContent` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct McpContent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `McpTransport` is never used [INFO] [stdout] --> src/utils/tools/mcp.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | trait McpTransport: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StdioTransport` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | struct StdioTransport { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/tools/mcp.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 82 | impl StdioTransport { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 83 | pub async fn new(command: &str, args: &[String], env: &HashMap) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SseTransport` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | struct SseTransport { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/tools/mcp.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 147 | impl SseTransport { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 148 | pub fn new(url: String, headers: HashMap) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpClient` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct McpClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_stdio`, `new_sse`, `initialize`, `list_tools`, `call_tool`, and `close` are never used [INFO] [stdout] --> src/utils/tools/mcp.rs:206:15 [INFO] [stdout] | [INFO] [stdout] 204 | impl McpClient { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 205 | /// Create a new MCP client with stdio transport [INFO] [stdout] 206 | pub async fn new_stdio(server_name: String, command: &str, args: &[String], env: &HashMap) -> Result) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | async fn initialize(&mut self) -> Result<(), ToolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub async fn list_tools(&self) -> Result, ToolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub async fn call_tool(&self, tool_name: &str, arguments: Value) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub async fn close(&self) -> Result<(), ToolError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `McpExecutor` is never constructed [INFO] [stdout] --> src/utils/tools/mcp.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | pub struct McpExecutor { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/tools/mcp.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 318 | impl McpExecutor { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 319 | pub fn new(client: Arc, tool_name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/utils/tools/wasm.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct WasmExecutor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 15s [INFO] running `Command { std: "docker" "inspect" "1d335c51a3ccdc09b3bef3b946ab4fb57fd38ea81bfa4354a0770857654c9d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d335c51a3ccdc09b3bef3b946ab4fb57fd38ea81bfa4354a0770857654c9d29", kill_on_drop: false }` [INFO] [stdout] 1d335c51a3ccdc09b3bef3b946ab4fb57fd38ea81bfa4354a0770857654c9d29