[INFO] cloning repository https://github.com/marcelxv/elicit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcelxv/elicit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelxv%2Felicit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelxv%2Felicit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1773c4befbb2db4926ab3674a1d7e402cb440f92 [INFO] testing marcelxv/elicit against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcelxv%2Felicit" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marcelxv/elicit [INFO] finished tweaking git repo https://github.com/marcelxv/elicit [INFO] tweaked toml for git repo https://github.com/marcelxv/elicit written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcelxv/elicit on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marcelxv/elicit 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4047396dcf4f49d54403783cda6db0ee822dbdd1619157385576e66571fc2a6c [INFO] running `Command { std: "docker" "start" "-a" "4047396dcf4f49d54403783cda6db0ee822dbdd1619157385576e66571fc2a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4047396dcf4f49d54403783cda6db0ee822dbdd1619157385576e66571fc2a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4047396dcf4f49d54403783cda6db0ee822dbdd1619157385576e66571fc2a6c", kill_on_drop: false }` [INFO] [stdout] 4047396dcf4f49d54403783cda6db0ee822dbdd1619157385576e66571fc2a6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 505ae0de237132a7e4f90dc44f2cdd57a88f169970b0b8f30ccec7d00ac951f0 [INFO] running `Command { std: "docker" "start" "-a" "505ae0de237132a7e4f90dc44f2cdd57a88f169970b0b8f30ccec7d00ac951f0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling traitobject v0.1.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling rangemap v1.6.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling type1-encoding-parser v0.1.0 [INFO] [stderr] Compiling adobe-cmap-parser v0.4.1 [INFO] [stderr] Compiling euclid v0.20.14 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling postscript v0.14.1 [INFO] [stderr] Compiling lopdf v0.34.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pdf-extract v0.7.12 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tiny_http v0.6.4 [INFO] [stderr] Compiling lopdf v0.32.0 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling elicit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/config/mod.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, warn, error}; [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: `StatusCode` [INFO] [stdout] --> src/handlers/extract.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | http::{HeaderMap, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/handlers/extract.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn extract_handler(headers: HeaderMap, mut multipart: Multipart) -> AppResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json` and `http::StatusCode` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | response::{Html, Json}, [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 imports: `Value` and `json` [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/config/mod.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/handlers/extract.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | http::{HeaderMap, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth::*` [INFO] [stdout] --> src/middleware/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use auth::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rate_limit::*` [INFO] [stdout] --> src/middleware/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use rate_limit::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logging::*` [INFO] [stdout] --> src/middleware/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use logging::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/handlers/extract.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn extract_handler(headers: HeaderMap, mut multipart: Multipart) -> AppResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ServiceUnavailable` and `DatabaseError` are never constructed [INFO] [stdout] --> src/error/types.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | ServiceUnavailable { service: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | DatabaseError { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `validation`, `service_unavailable`, `processing`, and `internal` are never used [INFO] [stdout] --> src/error/types.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl AppError { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 163 | pub fn validation(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn service_unavailable(service: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn processing(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn internal(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rate_limit_middleware` is never used [INFO] [stdout] --> src/middleware/rate_limit.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn rate_limit_middleware(request: Request, next: Next) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `logging_middleware` is never used [INFO] [stdout] --> src/middleware/logging.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn logging_middleware(mut request: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExtractRequest` is never constructed [INFO] [stdout] --> src/models/request.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ExtractRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HealthResponse` is never constructed [INFO] [stdout] --> src/models/response.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct HealthResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorResponse` is never constructed [INFO] [stdout] --> src/models/response.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ErrorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorDetail` is never constructed [INFO] [stdout] --> src/models/response.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ErrorDetail { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_dates` is never used [INFO] [stdout] --> src/models/response.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl PdfMetadata { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn with_dates( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_text_from_image` is never used [INFO] [stdout] --> src/services/ocr_service.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl OcrService { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn extract_text_from_image(&self, _image_data: &[u8]) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "505ae0de237132a7e4f90dc44f2cdd57a88f169970b0b8f30ccec7d00ac951f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "505ae0de237132a7e4f90dc44f2cdd57a88f169970b0b8f30ccec7d00ac951f0", kill_on_drop: false }` [INFO] [stdout] 505ae0de237132a7e4f90dc44f2cdd57a88f169970b0b8f30ccec7d00ac951f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 943060fa9f54830cb7baf7d7d4dd95cb3df25586293a14b181138ba5f7853245 [INFO] running `Command { std: "docker" "start" "-a" "943060fa9f54830cb7baf7d7d4dd95cb3df25586293a14b181138ba5f7853245", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling tiny_http v0.6.4 [INFO] [stderr] Compiling lopdf v0.32.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling elicit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/config/mod.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, warn, error}; [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: `StatusCode` [INFO] [stdout] --> src/handlers/extract.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | http::{HeaderMap, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/handlers/extract.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn extract_handler(headers: HeaderMap, mut multipart: Multipart) -> AppResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stdout] warning: unused imports: `Json` and `http::StatusCode` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | response::{Html, Json}, [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 imports: `Value` and `json` [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/config/mod.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/handlers/extract.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | http::{HeaderMap, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth::*` [INFO] [stdout] --> src/middleware/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use auth::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rate_limit::*` [INFO] [stdout] --> src/middleware/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use rate_limit::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logging::*` [INFO] [stdout] --> src/middleware/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use logging::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/handlers/extract.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn extract_handler(headers: HeaderMap, mut multipart: Multipart) -> AppResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ServiceUnavailable` and `DatabaseError` are never constructed [INFO] [stdout] --> src/error/types.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | ServiceUnavailable { service: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | DatabaseError { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `validation`, `service_unavailable`, `processing`, and `internal` are never used [INFO] [stdout] --> src/error/types.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl AppError { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 163 | pub fn validation(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn service_unavailable(service: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn processing(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn internal(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rate_limit_middleware` is never used [INFO] [stdout] --> src/middleware/rate_limit.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn rate_limit_middleware(request: Request, next: Next) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `logging_middleware` is never used [INFO] [stdout] --> src/middleware/logging.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn logging_middleware(mut request: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExtractRequest` is never constructed [INFO] [stdout] --> src/models/request.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ExtractRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HealthResponse` is never constructed [INFO] [stdout] --> src/models/response.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct HealthResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorResponse` is never constructed [INFO] [stdout] --> src/models/response.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ErrorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorDetail` is never constructed [INFO] [stdout] --> src/models/response.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ErrorDetail { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_dates` is never used [INFO] [stdout] --> src/models/response.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl PdfMetadata { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn with_dates( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_text_from_image` is never used [INFO] [stdout] --> src/services/ocr_service.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl OcrService { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn extract_text_from_image(&self, _image_data: &[u8]) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json` and `http::StatusCode` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | response::{Html, Json}, [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 imports: `Value` and `json` [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/config/mod.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/handlers/extract.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | http::{HeaderMap, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `auth::*` [INFO] [stdout] --> src/middleware/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use auth::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rate_limit::*` [INFO] [stdout] --> src/middleware/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use rate_limit::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logging::*` [INFO] [stdout] --> src/middleware/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use logging::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/config/mod.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing::{info, warn, error}; [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: `StatusCode` [INFO] [stdout] --> src/handlers/extract.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | http::{HeaderMap, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/handlers/extract.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn extract_handler(headers: HeaderMap, mut multipart: Multipart) -> AppResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/handlers/extract.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn extract_handler(headers: HeaderMap, mut multipart: Multipart) -> AppResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ServiceUnavailable` and `DatabaseError` are never constructed [INFO] [stdout] --> src/error/types.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | ServiceUnavailable { service: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | DatabaseError { message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `validation`, `service_unavailable`, `processing`, and `internal` are never used [INFO] [stdout] --> src/error/types.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 162 | impl AppError { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 163 | pub fn validation(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn service_unavailable(service: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn processing(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn internal(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_router` is never used [INFO] [stdout] --> src/handlers/mod.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn create_router() -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rate_limit_middleware` is never used [INFO] [stdout] --> src/middleware/rate_limit.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn rate_limit_middleware(request: Request, next: Next) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `logging_middleware` is never used [INFO] [stdout] --> src/middleware/logging.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn logging_middleware(mut request: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExtractRequest` is never constructed [INFO] [stdout] --> src/models/request.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ExtractRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HealthResponse` is never constructed [INFO] [stdout] --> src/models/response.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct HealthResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorResponse` is never constructed [INFO] [stdout] --> src/models/response.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ErrorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorDetail` is never constructed [INFO] [stdout] --> src/models/response.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct ErrorDetail { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_dates` is never used [INFO] [stdout] --> src/models/response.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl PdfMetadata { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn with_dates( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_text_from_image` is never used [INFO] [stdout] --> src/services/ocr_service.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl OcrService { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn extract_text_from_image(&self, _image_data: &[u8]) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 53.34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "943060fa9f54830cb7baf7d7d4dd95cb3df25586293a14b181138ba5f7853245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "943060fa9f54830cb7baf7d7d4dd95cb3df25586293a14b181138ba5f7853245", kill_on_drop: false }` [INFO] [stdout] 943060fa9f54830cb7baf7d7d4dd95cb3df25586293a14b181138ba5f7853245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 39263d817fb3ed98e9686057a227db4ade7ac2baa54d764bab1cc901837d2571 [INFO] running `Command { std: "docker" "start" "-a" "39263d817fb3ed98e9686057a227db4ade7ac2baa54d764bab1cc901837d2571", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/config/mod.rs:5:27 [INFO] [stderr] | [INFO] [stderr] 5 | use tracing::{info, warn, error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `StatusCode` [INFO] [stderr] --> src/handlers/extract.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | http::{HeaderMap, StatusCode}, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `headers` [INFO] [stderr] --> src/handlers/extract.rs:15:30 [INFO] [stderr] | [INFO] [stderr] 15 | pub async fn extract_handler(headers: HeaderMap, mut multipart: Multipart) -> AppResult> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `elicit` (lib) generated 3 warnings (run `cargo fix --lib -p elicit` to apply 3 suggestions) [INFO] [stderr] warning: unused imports: `Json` and `http::StatusCode` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | http::StatusCode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 4 | response::{Html, Json}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Value` and `json` [INFO] [stderr] --> src/main.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | use serde_json::{json, Value}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/config/mod.rs:5:27 [INFO] [stderr] | [INFO] [stderr] 5 | use tracing::{info, warn, error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `auth::*` [INFO] [stderr] --> src/middleware/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use auth::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rate_limit::*` [INFO] [stderr] --> src/middleware/mod.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use rate_limit::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `logging::*` [INFO] [stderr] --> src/middleware/mod.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub use logging::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `ServiceUnavailable` and `DatabaseError` are never constructed [INFO] [stderr] --> src/error/types.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub enum AppError { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 52 | ServiceUnavailable { service: String }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | DatabaseError { message: String }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated functions `validation`, `service_unavailable`, `processing`, and `internal` are never used [INFO] [stderr] --> src/error/types.rs:163:12 [INFO] [stderr] | [INFO] [stderr] 162 | impl AppError { [INFO] [stderr] | ------------- associated functions in this implementation [INFO] [stderr] 163 | pub fn validation(message: impl Into) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 175 | pub fn service_unavailable(service: impl Into) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 181 | pub fn processing(message: impl Into) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 187 | pub fn internal(message: impl Into) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `rate_limit_middleware` is never used [INFO] [stderr] --> src/middleware/rate_limit.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | pub async fn rate_limit_middleware(request: Request, next: Next) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `logging_middleware` is never used [INFO] [stderr] --> src/middleware/logging.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | pub async fn logging_middleware(mut request: Request, next: Next) -> Response { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ExtractRequest` is never constructed [INFO] [stderr] --> src/models/request.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct ExtractRequest { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `HealthResponse` is never constructed [INFO] [stderr] --> src/models/response.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct HealthResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ErrorResponse` is never constructed [INFO] [stderr] --> src/models/response.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct ErrorResponse { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ErrorDetail` is never constructed [INFO] [stderr] --> src/models/response.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct ErrorDetail { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `with_dates` is never used [INFO] [stderr] --> src/models/response.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 62 | impl PdfMetadata { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 89 | pub fn with_dates( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `extract_text_from_image` is never used [INFO] [stderr] --> src/services/ocr_service.rs:65:18 [INFO] [stderr] | [INFO] [stderr] 10 | impl OcrService { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 65 | pub async fn extract_text_from_image(&self, _image_data: &[u8]) -> AppResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `elicit` (bin "elicit") generated 18 warnings (2 duplicates) (run `cargo fix --bin "elicit" -p elicit` to apply 6 suggestions) [INFO] [stderr] warning: function `create_router` is never used [INFO] [stderr] --> src/handlers/mod.rs:23:14 [INFO] [stderr] | [INFO] [stderr] 23 | pub async fn create_router() -> Router { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `elicit` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `elicit` (bin "elicit" test) generated 19 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/elicit-27ce1e557cd19f15) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/elicit-074df98ad102258a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-f00964b8a9030d2c) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_concurrent_request_limits ... ok [INFO] [stdout] test test_error_helper_methods ... ok [INFO] [stdout] test test_error_response_format ... ok [INFO] [stdout] test test_file_size_validation ... ok [INFO] [stderr] Running tests/unit_tests.rs (/opt/rustwide/target/debug/deps/unit_tests-923000c70f281b56) [INFO] [stdout] test test_config_loading ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_error_codes ... ok [INFO] [stdout] test test_config_validation ... ok [INFO] [stdout] test test_error_helper_methods ... ok [INFO] [stdout] test test_error_conversions ... ok [INFO] [stdout] test test_error_status_codes ... ok [INFO] [stdout] test test_file_size_validation ... ok [INFO] [stdout] test test_extract_response_creation ... ok [INFO] [stdout] test test_pdf_metadata_creation ... ok [INFO] [stdout] test test_pdf_processor_availability ... ok [INFO] [stdout] test test_ocr_service_availability ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests elicit [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "39263d817fb3ed98e9686057a227db4ade7ac2baa54d764bab1cc901837d2571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39263d817fb3ed98e9686057a227db4ade7ac2baa54d764bab1cc901837d2571", kill_on_drop: false }` [INFO] [stdout] 39263d817fb3ed98e9686057a227db4ade7ac2baa54d764bab1cc901837d2571