[INFO] cloning repository https://github.com/nowaywastaken/MD2DB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nowaywastaken/MD2DB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnowaywastaken%2FMD2DB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnowaywastaken%2FMD2DB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a36413857a027a51bb7cd316967b73c2e9c65712 [INFO] checking nowaywastaken/MD2DB against master#035b01b794602d5861daa43ac792f372f8981ed7 for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnowaywastaken%2FMD2DB" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nowaywastaken/MD2DB [INFO] finished tweaking git repo https://github.com/nowaywastaken/MD2DB [INFO] tweaked toml for git repo https://github.com/nowaywastaken/MD2DB written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nowaywastaken/MD2DB on toolchain 035b01b794602d5861daa43ac792f372f8981ed7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nowaywastaken/MD2DB 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" "+035b01b794602d5861daa43ac792f372f8981ed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zeroize_derive v1.4.3 [INFO] [stderr] Downloaded lzma-rs v0.3.0 [INFO] [stderr] Downloaded sha-1 v0.10.1 [INFO] [stderr] Downloaded is-terminal v0.4.17 [INFO] [stderr] Downloaded enum-as-inner v0.4.0 [INFO] [stderr] Downloaded rustc_version_runtime v0.2.1 [INFO] [stderr] Downloaded pulldown-cmark-escape v0.11.0 [INFO] [stderr] Downloaded typed-builder v0.10.0 [INFO] [stderr] Downloaded bzip2 v0.5.2 [INFO] [stderr] Downloaded trust-dns-resolver v0.21.2 [INFO] [stderr] Downloaded rsa v0.9.10 [INFO] [stderr] Downloaded hyper-util v0.1.20 [INFO] [stderr] Downloaded bson v2.15.0 [INFO] [stderr] Downloaded tower-http v0.5.2 [INFO] [stderr] Downloaded pulldown-cmark v0.11.3 [INFO] [stderr] Downloaded libm v0.2.16 [INFO] [stderr] Downloaded zip v2.4.2 [INFO] [stderr] Downloaded zerocopy-derive v0.8.38 [INFO] [stderr] Downloaded trust-dns-proto v0.21.2 [INFO] [stderr] Downloaded zerocopy v0.8.38 [INFO] [stderr] Downloaded mongodb v2.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbbda89256c74a9dcee9f546d4c5926a286acce7481e6cf69695eda5cec2d50e [INFO] running `Command { std: "docker" "start" "-a" "fbbda89256c74a9dcee9f546d4c5926a286acce7481e6cf69695eda5cec2d50e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbbda89256c74a9dcee9f546d4c5926a286acce7481e6cf69695eda5cec2d50e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbbda89256c74a9dcee9f546d4c5926a286acce7481e6cf69695eda5cec2d50e", kill_on_drop: false }` [INFO] [stdout] fbbda89256c74a9dcee9f546d4c5926a286acce7481e6cf69695eda5cec2d50e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 040d895828babf9517ccb84ddaf750b5e354651f4f5128dc79f30c441d9460e6 [INFO] running `Command { std: "docker" "start" "-a" "040d895828babf9517ccb84ddaf750b5e354651f4f5128dc79f30c441d9460e6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.38 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Checking crc v3.4.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking bumpalo v3.19.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Checking num-conv v0.2.0 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling pulldown-cmark v0.11.3 [INFO] [stderr] Checking time-core v0.1.8 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking zopfli v0.8.3 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking time v0.3.46 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking bzip2 v0.5.2 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking unicase v2.9.0 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Checking deflate64 v0.1.10 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking compression-codecs v0.4.36 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking pulldown-cmark-escape v0.11.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking clap_builder v4.5.57 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerocopy-derive v0.8.38 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking clap v4.5.57 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking async-compression v0.4.37 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking md2db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MarkdownParser` [INFO] [stdout] --> src/processor.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::parser::{parse_markdown, MarkdownParser}; [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: `ZipEntry` [INFO] [stdout] --> src/processor.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::zip::{ZipEntry, ZipProcessor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/processor.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response`, `body::Body`, and `header` [INFO] [stdout] --> src/api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | body::Body, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | extract::{Multipart, State}, [INFO] [stdout] 12 | http::{header, StatusCode}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | response::{IntoResponse, Json, Response}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MarkdownParser` [INFO] [stdout] --> src/processor.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::parser::{parse_markdown, MarkdownParser}; [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: `ZipEntry` [INFO] [stdout] --> src/processor.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::zip::{ZipEntry, ZipProcessor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/processor.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response`, `body::Body`, and `header` [INFO] [stdout] --> src/api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | body::Body, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | extract::{Multipart, State}, [INFO] [stdout] 12 | http::{header, StatusCode}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | response::{IntoResponse, Json, Response}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `body::Body` and `self` [INFO] [stdout] --> src/api.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | body::Body, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 203 | http::{self, StatusCode}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::ServiceExt` [INFO] [stdout] --> src/api.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | use tower::ServiceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/processor.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/processor.rs:353:26 [INFO] [stdout] | [INFO] [stdout] 353 | .map(|(data, source)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_warning` are never used [INFO] [stdout] --> src/processor.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl ProcessResult { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 107 | /// Create a new empty result [INFO] [stdout] 108 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn add_warning(&mut self, warning: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/processor.rs:353:26 [INFO] [stdout] | [INFO] [stdout] 353 | .map(|(data, source)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_warning` is never used [INFO] [stdout] --> src/processor.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl ProcessResult { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn add_warning(&mut self, warning: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response`, `body::Body`, and `header` [INFO] [stdout] --> src/api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | body::Body, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | extract::{Multipart, State}, [INFO] [stdout] 12 | http::{header, StatusCode}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | response::{IntoResponse, Json, Response}, [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: `MarkdownParser` [INFO] [stdout] --> src/processor.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::parser::{parse_markdown, MarkdownParser}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZipEntry` [INFO] [stdout] --> src/processor.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::zip::{ZipEntry, ZipProcessor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/processor.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> benches/parser_benchmark.rs:160:46 [INFO] [stdout] | [INFO] [stdout] 160 | let contents: Vec = (0..10).map(|i| generate_test_questions(100)).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response`, `body::Body`, and `header` [INFO] [stdout] --> src/api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | body::Body, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | extract::{Multipart, State}, [INFO] [stdout] 12 | http::{header, StatusCode}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | response::{IntoResponse, Json, Response}, [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: `body::Body` and `self` [INFO] [stdout] --> src/api.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | body::Body, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 203 | http::{self, StatusCode}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::ServiceExt` [INFO] [stdout] --> src/api.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | use tower::ServiceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MarkdownParser` [INFO] [stdout] --> src/processor.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::parser::{parse_markdown, MarkdownParser}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZipEntry` [INFO] [stdout] --> src/processor.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::zip::{ZipEntry, ZipProcessor}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/processor.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::IntoResponse` [INFO] [stdout] --> tests/api_integration_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | response::IntoResponse, [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: `rayon::prelude` [INFO] [stdout] --> src/processor.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/processor.rs:353:26 [INFO] [stdout] | [INFO] [stdout] 353 | .map(|(data, source)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassificationResult` is never constructed [INFO] [stdout] --> src/models.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct ClassificationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `certain`, and `uncertain` are never used [INFO] [stdout] --> src/models.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl ClassificationResult { [INFO] [stdout] | ------------------------- associated functions in this implementation [INFO] [stdout] 107 | /// Create a new classification result [INFO] [stdout] 108 | pub fn new(qtype: QuestionType, confidence: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn certain(qtype: QuestionType) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn uncertain(qtype: QuestionType, confidence: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_by_id` and `find_by_type` are never used [INFO] [stdout] --> src/database.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait QuestionRepository: Send + Sync { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | async fn find_by_id(&self, id: Uuid) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | async fn find_by_type(&self, qtype: &crate::models::QuestionType) -> anyhow::Result>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostgresRepository` is never constructed [INFO] [stdout] --> src/database.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PostgresRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_pool` are never used [INFO] [stdout] --> src/database.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 32 | impl PostgresRepository { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 33 | /// Create a new PostgreSQL repository [INFO] [stdout] 34 | pub async fn new(database_url: &str) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn with_pool(pool: PgPool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorResponse` is never constructed [INFO] [stdout] --> src/api.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct ErrorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_path` is never used [INFO] [stdout] --> src/media.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn normalize_path(path: &Path) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructuralClassifier` is never constructed [INFO] [stdout] --> src/classifier.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct StructuralClassifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `classify` and `is_binary_options` are never used [INFO] [stdout] --> src/classifier.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl StructuralClassifier { [INFO] [stdout] | ------------------------- associated functions in this implementation [INFO] [stdout] 12 | /// Classify based on explicit structural patterns [INFO] [stdout] 13 | pub fn classify(stem: &str, options: &[String]) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn is_binary_options(options: &[String]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SemanticRuleClassifier` is never constructed [INFO] [stdout] --> src/classifier.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct SemanticRuleClassifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `classify` is never used [INFO] [stdout] --> src/classifier.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl SemanticRuleClassifier { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 64 | /// Classify based on semantic context and rules [INFO] [stdout] 65 | pub fn classify(stem: &str, options: &[String]) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NlpClassifier` is never constructed [INFO] [stdout] --> src/classifier.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct NlpClassifier; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/classifier.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 117 | impl NlpClassifier { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 118 | /// Multiple choice indicator keywords (Chinese and English) [INFO] [stdout] 119 | const MULTIPLE_CHOICE_KEYWORDS: &'static [&'static str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | const SINGLE_CHOICE_KEYWORDS: &'static [&'static str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | const TRUE_FALSE_KEYWORDS: &'static [&'static str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | const FILL_BLANK_KEYWORDS: &'static [&'static str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn classify(stem: &str, options: &[String]) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | fn calculate_score(text: &str, keywords: &[&str], options: &[String]) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | fn adjust_confidence( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn analyze(stem: &str, options: &[String]) -> NlpAnalysis { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | fn find_matches(text: &str, keywords: &[&str]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NlpAnalysis` is never constructed [INFO] [stdout] --> src/classifier.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 369 | pub struct NlpAnalysis { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_image` is never read [INFO] [stdout] --> src/zip.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ZipEntry { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub is_image: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZipEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_workers` is never used [INFO] [stdout] --> src/zip.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl ZipProcessor { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn with_workers(workers: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessorConfig` is never constructed [INFO] [stdout] --> src/processor.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ProcessorConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_cpu_workers`, `with_io_workers`, `with_batch_size`, and `with_max_concurrent_zips` are never used [INFO] [stdout] --> src/processor.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl ProcessorConfig { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 64 | /// Create a new configuration with specified CPU workers [INFO] [stdout] 65 | pub fn with_cpu_workers(mut self, workers: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn with_io_workers(mut self, workers: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn with_batch_size(mut self, batch_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn with_max_concurrent_zips(mut self, max: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessResult` is never constructed [INFO] [stdout] --> src/processor.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ProcessResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_warning`, `is_success`, and `success_rate` are never used [INFO] [stdout] --> src/processor.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl ProcessResult { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 107 | /// Create a new empty result [INFO] [stdout] 108 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn add_warning(&mut self, warning: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn is_success(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn success_rate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InputSource` is never used [INFO] [stdout] --> src/processor.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | pub enum InputSource { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleMachineProcessor` is never constructed [INFO] [stdout] --> src/processor.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct SingleMachineProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/processor.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 169 | / impl SingleMachineProcessor [INFO] [stdout] 170 | | where [INFO] [stdout] 171 | | R: QuestionRepository + Send + Sync, [INFO] [stdout] | |________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn new(repository: R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn with_config(repository: R, config: ProcessorConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub async fn process(&self, input: InputSource) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | async fn process_single_markdown( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | async fn process_multiple_markdown( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | async fn process_single_zip( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | async fn process_multiple_zips( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | async fn save_questions_batched(&self, questions: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | pub fn config(&self) -> &ProcessorConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | pub fn cpu_cores(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BatchSaveResult` is never constructed [INFO] [stdout] --> src/processor.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 478 | struct BatchSaveResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/processor.rs:353:26 [INFO] [stdout] | [INFO] [stdout] 353 | .map(|(data, source)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `needs_review` is never read [INFO] [stdout] --> src/models.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct ClassificationResult { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | pub needs_review: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassificationResult` has derived impls for the traits `Clone` and `Debug`, but these are 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 function `uncertain` is never used [INFO] [stdout] --> src/models.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl ClassificationResult { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn uncertain(qtype: QuestionType, confidence: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PostgresRepository` is never constructed [INFO] [stdout] --> src/database.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PostgresRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_pool` are never used [INFO] [stdout] --> src/database.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 32 | impl PostgresRepository { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 33 | /// Create a new PostgreSQL repository [INFO] [stdout] 34 | pub async fn new(database_url: &str) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn with_pool(pool: PgPool) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorResponse` is never constructed [INFO] [stdout] --> src/api.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct ErrorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `single_choice_matches`, `true_false_matches`, `fill_blank_matches`, and `recommended_type` are never read [INFO] [stdout] --> src/classifier.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 369 | pub struct NlpAnalysis { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 373 | pub single_choice_matches: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 374 | /// Keywords that matched true/false patterns [INFO] [stdout] 375 | pub true_false_matches: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 376 | /// Keywords that matched fill-in-blank patterns [INFO] [stdout] 377 | pub fill_blank_matches: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub recommended_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NlpAnalysis` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_images` and `warnings` are never read [INFO] [stdout] --> src/processor.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ProcessResult { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub total_images: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 100 | /// Warnings generated during processing [INFO] [stdout] 101 | pub warnings: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_warning` is never used [INFO] [stdout] --> src/processor.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 106 | impl ProcessResult { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn add_warning(&mut self, warning: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Zip` and `MultipleZip` are never constructed [INFO] [stdout] --> src/processor.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub enum InputSource { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 147 | Zip { data: Vec, source: String }, [INFO] [stdout] | ^^^ [INFO] [stdout] 148 | /// Multiple ZIP files [INFO] [stdout] 149 | MultipleZip { files: Vec<(Vec, String)> }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputSource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "040d895828babf9517ccb84ddaf750b5e354651f4f5128dc79f30c441d9460e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "040d895828babf9517ccb84ddaf750b5e354651f4f5128dc79f30c441d9460e6", kill_on_drop: false }` [INFO] [stdout] 040d895828babf9517ccb84ddaf750b5e354651f4f5128dc79f30c441d9460e6