[INFO] cloning repository https://github.com/kevinbayes/agency [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevinbayes/agency" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinbayes%2Fagency", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinbayes%2Fagency'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02831b745d3ea7ccac4e2f8d269936ec9acfbf6c [INFO] checking kevinbayes/agency against master#f21fbac535ab2c3bc50db20547f4d48477357103 for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinbayes%2Fagency" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kevinbayes/agency [INFO] finished tweaking git repo https://github.com/kevinbayes/agency [INFO] tweaked toml for git repo https://github.com/kevinbayes/agency written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kevinbayes/agency on toolchain f21fbac535ab2c3bc50db20547f4d48477357103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kevinbayes/agency 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" "+f21fbac535ab2c3bc50db20547f4d48477357103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base64-url v3.0.0 [INFO] [stderr] Downloaded metrics v0.24.1 [INFO] [stderr] Downloaded priority-queue v2.3.0 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.16.2 [INFO] [stderr] Downloaded metrics-util v0.19.0 [INFO] [stderr] Downloaded rustworkx-core v0.16.0 [INFO] [stderr] Downloaded minijinja v2.8.0 [INFO] [stderr] Downloaded aws-lc-rs v1.12.6 [INFO] [stderr] Downloaded aws-lc-sys v0.27.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe319fe1d90b826d629ed94ef9b77e83ad0b5916b6db9035c937749ab87cf85c [INFO] running `Command { std: "docker" "start" "-a" "fe319fe1d90b826d629ed94ef9b77e83ad0b5916b6db9035c937749ab87cf85c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe319fe1d90b826d629ed94ef9b77e83ad0b5916b6db9035c937749ab87cf85c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe319fe1d90b826d629ed94ef9b77e83ad0b5916b6db9035c937749ab87cf85c", kill_on_drop: false }` [INFO] [stdout] fe319fe1d90b826d629ed94ef9b77e83ad0b5916b6db9035c937749ab87cf85c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc93642db7d44c9dcfb5e9cd7ff183f79833a2c76b291cf387e473f7e590c578 [INFO] running `Command { std: "docker" "start" "-a" "fc93642db7d44c9dcfb5e9cd7ff183f79833a2c76b291cf387e473f7e590c578", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking value-bag v1.10.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling aws-lc-rs v1.12.6 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling aws-lc-sys v0.27.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling time-macros v0.2.21 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking time v0.3.40 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking data-encoding v2.8.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking metrics v0.24.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking bstr v1.11.3 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking sketches-ddsketch v0.3.0 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking clap_builder v4.5.32 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking self_cell v1.1.0 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking memo-map v0.3.3 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking env_logger v0.11.7 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Checking base64-url v3.0.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking clap v4.5.32 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking rcgen v0.13.2 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking axum-core v0.5.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking minijinja v2.8.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking raw-cpuid v11.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Checking quanta v0.12.5 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking rayon-cond v0.3.0 [INFO] [stderr] Checking prost v0.13.5 [INFO] [stderr] Checking metrics-util v0.19.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking priority-queue v2.3.0 [INFO] [stderr] Checking petgraph v0.7.1 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking rustls-webpki v0.103.0 [INFO] [stderr] Checking async-std v1.13.1 [INFO] [stderr] Checking sqlx-core v0.8.3 [INFO] [stderr] Checking rustworkx-core v0.16.0 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking sqlx-mysql v0.8.3 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking axum v0.8.1 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking hyper-rustls v0.27.5 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking metrics-exporter-prometheus v0.16.2 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking axum-extra v0.10.0 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking agency v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/config/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/handler/auth_middleware.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/handler/auth_middleware.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/handler/auth_middleware.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap` and `StatusCode` [INFO] [stdout] --> src/handler/auth_middleware.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::http::{HeaderMap, Request, StatusCode}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequestParts` and `FromRequest` [INFO] [stdout] --> src/handler/auth_middleware.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::extract::{FromRequest, FromRequestParts, State}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::header::AUTHORIZATION` [INFO] [stdout] --> src/handler/auth_middleware.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::http::header::AUTHORIZATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::request::Parts` [INFO] [stdout] --> src/handler/auth_middleware.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use axum::http::request::Parts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest` [INFO] [stdout] --> src/handler/auth_middleware.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use reqwest; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlgorithmParameters`, `Algorithm`, `JwkSet`, and `TokenData` [INFO] [stdout] --> src/handler/auth_middleware.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | use jsonwebtoken::{decode, decode_header, jwk::{AlgorithmParameters, JwkSet}, Algorithm, DecodingKey, Validation, TokenData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonwebtoken::jwk::Jwk` [INFO] [stdout] --> src/handler/auth_middleware.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use jsonwebtoken::jwk::Jwk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ClientError` [INFO] [stdout] --> src/handler/auth_middleware.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::error::ClientError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArgMatches` [INFO] [stdout] --> src/cli/agent_command.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{arg, Arg, ArgAction, ArgMatches, Command}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/cli/agent_command.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArgMatches`, `Arg`, and `arg` [INFO] [stdout] --> src/cli/worker_command.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{arg, Arg, ArgMatches, Command}; [INFO] [stdout] | ^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/cli/worker_command.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/cli/agent/interact.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/cli/agent/sandbox.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use ignore::{Error, WalkBuilder}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cli/agent/sandbox.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | if(gitignore_path.exists() && gitignore_path.is_file()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - if(gitignore_path.exists() && gitignore_path.is_file()) { [INFO] [stdout] 80 + if gitignore_path.exists() && gitignore_path.is_file() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `interact_agent`, `start_agent`, and `stop_agent` [INFO] [stdout] --> src/cli/agent_command_handler.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cli::agent::interact::{interact_agent, start_agent, stop_agent}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_sandbox` [INFO] [stdout] --> src/cli/agent_command_handler.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::cli::agent::sandbox::{create_sandbox, sync_sandbox}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/common/jwks_supplier.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/common/jwks_supplier.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/config/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/handler/auth_middleware.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/handler/auth_middleware.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/handler/auth_middleware.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap` and `StatusCode` [INFO] [stdout] --> src/handler/auth_middleware.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::http::{HeaderMap, Request, StatusCode}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequestParts` and `FromRequest` [INFO] [stdout] --> src/handler/auth_middleware.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::extract::{FromRequest, FromRequestParts, State}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::header::AUTHORIZATION` [INFO] [stdout] --> src/handler/auth_middleware.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::http::header::AUTHORIZATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::request::Parts` [INFO] [stdout] --> src/handler/auth_middleware.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use axum::http::request::Parts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest` [INFO] [stdout] --> src/handler/auth_middleware.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use reqwest; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlgorithmParameters`, `Algorithm`, `JwkSet`, and `TokenData` [INFO] [stdout] --> src/handler/auth_middleware.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | use jsonwebtoken::{decode, decode_header, jwk::{AlgorithmParameters, JwkSet}, Algorithm, DecodingKey, Validation, TokenData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jsonwebtoken::jwk::Jwk` [INFO] [stdout] --> src/handler/auth_middleware.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use jsonwebtoken::jwk::Jwk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ClientError` [INFO] [stdout] --> src/handler/auth_middleware.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::error::ClientError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArgMatches` [INFO] [stdout] --> src/cli/agent_command.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{arg, Arg, ArgAction, ArgMatches, Command}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/cli/agent_command.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArgMatches`, `Arg`, and `arg` [INFO] [stdout] --> src/cli/worker_command.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{arg, Arg, ArgMatches, Command}; [INFO] [stdout] | ^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/cli/worker_command.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/cli/agent/interact.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/cli/agent/sandbox.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use ignore::{Error, WalkBuilder}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cli/agent/sandbox.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | if(gitignore_path.exists() && gitignore_path.is_file()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - if(gitignore_path.exists() && gitignore_path.is_file()) { [INFO] [stdout] 80 + if gitignore_path.exists() && gitignore_path.is_file() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `interact_agent`, `start_agent`, and `stop_agent` [INFO] [stdout] --> src/cli/agent_command_handler.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cli::agent::interact::{interact_agent, start_agent, stop_agent}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_sandbox` [INFO] [stdout] --> src/cli/agent_command_handler.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::cli::agent::sandbox::{create_sandbox, sync_sandbox}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/common/jwks_supplier.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/common/jwks_supplier.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlgorithmParameters`, `Algorithm`, `Validation`, `decode_header`, and `decode` [INFO] [stdout] --> src/common/jwks_supplier.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | decode, decode_header, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 13 | jwk::{AlgorithmParameters, JwkSet}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Algorithm, DecodingKey, Validation, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/common/jwks_supplier.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::config::config::{Config, OAuthConfig}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64::Engine` [INFO] [stdout] --> src/common/jwks_supplier.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | use base64::Engine; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/common/create_folder.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | if(!file_path.exists()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - if(!file_path.exists()) { [INFO] [stdout] 52 + if !file_path.exists() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{env, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method` and `Uri` [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use axum::http::{Method, Uri}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::get` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use axum::routing::get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arg` [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use clap::{Arg, ArgMatches, Command}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlgorithmParameters`, `Algorithm`, `DecodingKey`, `Validation`, `decode_header`, and `decode` [INFO] [stdout] --> src/common/jwks_supplier.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | decode, decode_header, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 13 | jwk::{AlgorithmParameters, JwkSet}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Algorithm, DecodingKey, Validation, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MySqlPoolOptions` and `MySqlPool` [INFO] [stdout] --> src/main.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | use sqlx::mysql::{MySqlPool, MySqlPoolOptions}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/common/jwks_supplier.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::config::config::{Config, OAuthConfig}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MySql` and `Pool` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | use sqlx::{MySql, Pool}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::jwks_supplier::JwksReadThroughCache` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::jwks_supplier::JwksReadThroughCache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/common/create_folder.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | if(!file_path.exists()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - if(!file_path.exists()) { [INFO] [stdout] 52 + if !file_path.exists() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LocalResult` [INFO] [stdout] --> src/main.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::error::{LocalError, LocalResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{env, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method` and `Uri` [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use axum::http::{Method, Uri}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::routing::get` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use axum::routing::get; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arg` [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use clap::{Arg, ArgMatches, Command}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MySqlPoolOptions` and `MySqlPool` [INFO] [stdout] --> src/main.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | use sqlx::mysql::{MySqlPool, MySqlPoolOptions}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MySql` and `Pool` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | use sqlx::{MySql, Pool}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::jwks_supplier::JwksReadThroughCache` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::jwks_supplier::JwksReadThroughCache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LocalResult` [INFO] [stdout] --> src/main.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::error::{LocalError, LocalResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthState` and `auth_middleware` [INFO] [stdout] --> src/main.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::handler::auth_middleware::{auth_middleware, AuthState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Env` and `Logger` [INFO] [stdout] --> src/main.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | use env_logger::{Logger, Env}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync_sandbox` [INFO] [stdout] --> src/main.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::cli::agent::sandbox::{create_sandbox, sync_sandbox}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthState` and `auth_middleware` [INFO] [stdout] --> src/main.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::handler::auth_middleware::{auth_middleware, AuthState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Env` and `Logger` [INFO] [stdout] --> src/main.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | use env_logger::{Logger, Env}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync_sandbox` [INFO] [stdout] --> src/main.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::cli::agent::sandbox::{create_sandbox, sync_sandbox}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handler/auth_middleware.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | let header = decode_header(token).map_err(|err| LocalError::InvalidToken)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/handler/auth_middleware.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | let header = decode_header(token).map_err(|err| LocalError::InvalidToken)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cli_command` [INFO] [stdout] --> src/main.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | Some(("init", cli_command)) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cli_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_command` [INFO] [stdout] --> src/main.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | Some(("start", sub_command)) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_command` [INFO] [stdout] --> src/main.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | Some(("interact", sub_command)) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_command` [INFO] [stdout] --> src/main.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | Some(("stop", sub_command)) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cli_command` [INFO] [stdout] --> src/main.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | Some(("init", cli_command)) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cli_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_command` [INFO] [stdout] --> src/main.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | Some(("start", sub_command)) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_command` [INFO] [stdout] --> src/main.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | Some(("interact", sub_command)) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_command` [INFO] [stdout] --> src/main.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | Some(("stop", sub_command)) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> src/main.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | async fn handle_worker_command(p0: ArgMatches, p1: Option<&ArgMatches>) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/main.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | async fn handle_worker_command(p0: ArgMatches, p1: Option<&ArgMatches>) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> src/main.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | async fn handle_worker_command(p0: ArgMatches, p1: Option<&ArgMatches>) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/main.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | async fn handle_worker_command(p0: ArgMatches, p1: Option<&ArgMatches>) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::TryFutureExt` [INFO] [stdout] --> src/handler/auth_middleware.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use futures_util::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequestExt` [INFO] [stdout] --> src/handler/auth_middleware.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use axum::{RequestExt, RequestPartsExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::TryFutureExt` [INFO] [stdout] --> src/handler/auth_middleware.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use futures_util::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequestExt` [INFO] [stdout] --> src/handler/auth_middleware.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use axum::{RequestExt, RequestPartsExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/cli/agent_command_handler.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | pub (crate) fn sandbox_command_handler(matches: ArgMatches, cli_command: &ArgMatches, sub_command: &ArgMatches) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cli_command` [INFO] [stdout] --> src/cli/agent_command_handler.rs:6:61 [INFO] [stdout] | [INFO] [stdout] 6 | pub (crate) fn sandbox_command_handler(matches: ArgMatches, cli_command: &ArgMatches, sub_command: &ArgMatches) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cli_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `security` is never read [INFO] [stdout] --> src/config/config.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub security: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `oauth` and `jwt` are never read [INFO] [stdout] --> src/config/config.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SecurityConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub oauth: OAuthConfig, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub jwt: SecurityJwtConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecurityConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jwks_domain`, `jwks_protocol`, `jwks_path`, and `audience` are never read [INFO] [stdout] --> src/config/config.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct OAuthConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub jwks_domain: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 49 | #[serde(rename = "jwks_protocol")] [INFO] [stdout] 50 | pub jwks_protocol: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 51 | #[serde(rename = "jwks_path")] [INFO] [stdout] 52 | pub jwks_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 53 | #[serde(rename = "audience")] [INFO] [stdout] 54 | pub audience: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAuthConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `secret` and `issuer` are never read [INFO] [stdout] --> src/config/config.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct SecurityJwtConfig { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | pub secret: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | #[serde(rename = "issuer")] [INFO] [stdout] 63 | pub issuer: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecurityJwtConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthState` is never constructed [INFO] [stdout] --> src/handler/auth_middleware.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct AuthState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_middleware` is never used [INFO] [stdout] --> src/handler/auth_middleware.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn auth_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Claims` is never constructed [INFO] [stdout] --> src/handler/auth_middleware.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Claims { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `track_metrics` is never used [INFO] [stdout] --> src/handler/actuator.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn track_metrics(req: Request, next: Next) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LocalResult` is never used [INFO] [stdout] --> src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type LocalResult = core::result::Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotImplemented`, `JwksError`, `AuthFailed`, and `InvalidToken` are never constructed [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum LocalError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 10 | [INFO] [stdout] 11 | NotImplemented, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | JwksError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | AuthFailed, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | InvalidToken, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LOGIN_FAIL`, `NO_AUTH`, `NOT_FOUND`, `UNSUPPORTED`, and `INVALID_PARAMS` are never constructed [INFO] [stdout] --> src/error.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum ClientError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 63 | LOGIN_FAIL, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | NO_AUTH, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 65 | NOT_FOUND, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | UNSUPPORTED, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | INVALID_PARAMS, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientError` 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 `main` is never used [INFO] [stdout] --> src/cli/agent/sandbox.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JwksReadThroughCache` is never constructed [INFO] [stdout] --> src/common/jwks_supplier.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct JwksReadThroughCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_or_refresh`, `try_refresh`, `get_jwkset`, `get_static_jwks`, and `call_jwks` are never used [INFO] [stdout] --> src/common/jwks_supplier.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl JwksReadThroughCache { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 32 | [INFO] [stdout] 33 | pub fn new(config: OAuthConfig, time_to_live: StdDuration, static_jwks: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub async fn get_or_refresh( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | async fn try_refresh(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | async fn get_jwkset(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn get_static_jwks(&self, jwks: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | async fn call_jwks(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entry` is never constructed [INFO] [stdout] --> src/common/jwks_supplier.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | struct Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_expired` are never used [INFO] [stdout] --> src/common/jwks_supplier.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 146 | impl Entry { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 147 | fn new(set: JwkSet, expiration: &Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn is_expired(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/cli/agent/sandbox.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let target = PathBuf::from("target/target_directory"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/cli/agent_command_handler.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | pub (crate) fn sandbox_command_handler(matches: ArgMatches, cli_command: &ArgMatches, sub_command: &ArgMatches) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cli_command` [INFO] [stdout] --> src/cli/agent_command_handler.rs:6:61 [INFO] [stdout] | [INFO] [stdout] 6 | pub (crate) fn sandbox_command_handler(matches: ArgMatches, cli_command: &ArgMatches, sub_command: &ArgMatches) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cli_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoding_key` [INFO] [stdout] --> src/common/jwks_supplier.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | let decoding_key = DecodingKey::from_jwk(&jwk4).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoding_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `security` is never read [INFO] [stdout] --> src/config/config.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub security: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `oauth` and `jwt` are never read [INFO] [stdout] --> src/config/config.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SecurityConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub oauth: OAuthConfig, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub jwt: SecurityJwtConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecurityConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `audience` is never read [INFO] [stdout] --> src/config/config.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct OAuthConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub audience: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAuthConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `secret` and `issuer` are never read [INFO] [stdout] --> src/config/config.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct SecurityJwtConfig { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | pub secret: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | #[serde(rename = "issuer")] [INFO] [stdout] 63 | pub issuer: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecurityJwtConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthState` is never constructed [INFO] [stdout] --> src/handler/auth_middleware.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct AuthState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_middleware` is never used [INFO] [stdout] --> src/handler/auth_middleware.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn auth_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Claims` is never constructed [INFO] [stdout] --> src/handler/auth_middleware.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Claims { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `track_metrics` is never used [INFO] [stdout] --> src/handler/actuator.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn track_metrics(req: Request, next: Next) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LocalResult` is never used [INFO] [stdout] --> src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type LocalResult = core::result::Result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotImplemented` and `InvalidToken` are never constructed [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum LocalError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 10 | [INFO] [stdout] 11 | NotImplemented, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | InvalidToken, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LOGIN_FAIL`, `NO_AUTH`, `NOT_FOUND`, `UNSUPPORTED`, and `INVALID_PARAMS` are never constructed [INFO] [stdout] --> src/error.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum ClientError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 63 | LOGIN_FAIL, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | NO_AUTH, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 65 | NOT_FOUND, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | UNSUPPORTED, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | INVALID_PARAMS, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientError` 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 `main` is never used [INFO] [stdout] --> src/cli/agent/sandbox.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "fc93642db7d44c9dcfb5e9cd7ff183f79833a2c76b291cf387e473f7e590c578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc93642db7d44c9dcfb5e9cd7ff183f79833a2c76b291cf387e473f7e590c578", kill_on_drop: false }` [INFO] [stdout] fc93642db7d44c9dcfb5e9cd7ff183f79833a2c76b291cf387e473f7e590c578