[INFO] cloning repository https://github.com/zachwilke/zachdb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zachwilke/zachdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachwilke%2Fzachdb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachwilke%2Fzachdb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 95ddf2873ad230703da2f77bb581eceea93f615f
[INFO] testing zachwilke/zachdb against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachwilke%2Fzachdb" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  36% (5165/14122)
Updating files:  37% (5226/14122)
Updating files:  38% (5367/14122)
Updating files:  38% (5399/14122)
Updating files:  38% (5468/14122)
Updating files:  39% (5508/14122)
Updating files:  40% (5649/14122)
Updating files:  41% (5791/14122)
Updating files:  42% (5932/14122)
Updating files:  43% (6073/14122)
Updating files:  44% (6214/14122)
Updating files:  45% (6355/14122)
Updating files:  45% (6357/14122)
Updating files:  46% (6497/14122)
Updating files:  47% (6638/14122)
Updating files:  48% (6779/14122)
Updating files:  49% (6920/14122)
Updating files:  50% (7061/14122)
Updating files:  51% (7203/14122)
Updating files:  52% (7344/14122)
Updating files:  53% (7485/14122)
Updating files:  54% (7626/14122)
Updating files:  55% (7768/14122)
Updating files:  56% (7909/14122)
Updating files:  57% (8050/14122)
Updating files:  58% (8191/14122)
Updating files:  59% (8332/14122)
Updating files:  60% (8474/14122)
Updating files:  61% (8615/14122)
Updating files:  62% (8756/14122)
Updating files:  63% (8897/14122)
Updating files:  64% (9039/14122)
Updating files:  64% (9053/14122)
Updating files:  65% (9180/14122)
Updating files:  66% (9321/14122)
Updating files:  67% (9462/14122)
Updating files:  68% (9603/14122)
Updating files:  69% (9745/14122)
Updating files:  70% (9886/14122)
Updating files:  71% (10027/14122)
Updating files:  72% (10168/14122)
Updating files:  73% (10310/14122)
Updating files:  74% (10451/14122)
Updating files:  75% (10592/14122)
Updating files:  76% (10733/14122)
Updating files:  77% (10874/14122)
Updating files:  78% (11016/14122)
Updating files:  78% (11115/14122)
Updating files:  79% (11157/14122)
Updating files:  80% (11298/14122)
Updating files:  81% (11439/14122)
Updating files:  82% (11581/14122)
Updating files:  83% (11722/14122)
Updating files:  84% (11863/14122)
Updating files:  85% (12004/14122)
Updating files:  86% (12145/14122)
Updating files:  87% (12287/14122)
Updating files:  88% (12428/14122)
Updating files:  89% (12569/14122)
Updating files:  90% (12710/14122)
Updating files:  91% (12852/14122)
Updating files:  92% (12993/14122)
Updating files:  93% (13134/14122)
Updating files:  94% (13275/14122)
Updating files:  95% (13416/14122)
Updating files:  96% (13558/14122)
Updating files:  96% (13609/14122)
Updating files:  97% (13699/14122)
Updating files:  98% (13840/14122)
Updating files:  98% (13910/14122)
Updating files:  99% (13981/14122)
Updating files: 100% (14122/14122)
Updating files: 100% (14122/14122), done.
[INFO] started tweaking git repo https://github.com/zachwilke/zachdb
[INFO] finished tweaking git repo https://github.com/zachwilke/zachdb
[INFO] tweaked toml for git repo https://github.com/zachwilke/zachdb written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zachwilke/zachdb on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zachwilke/zachdb 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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded utf8-ranges v1.0.5
[INFO] [stderr]   Downloaded tantivy-common v0.4.0
[INFO] [stderr]   Downloaded fastdivide v0.4.2
[INFO] [stderr]   Downloaded tantivy-bitpacker v0.3.0
[INFO] [stderr]   Downloaded measure_time v0.8.3
[INFO] [stderr]   Downloaded census v0.4.2
[INFO] [stderr]   Downloaded ownedbytes v0.4.0
[INFO] [stderr]   Downloaded levenshtein_automata v0.2.1
[INFO] [stderr]   Downloaded fail v0.5.1
[INFO] [stderr]   Downloaded bitpacking v0.8.4
[INFO] [stderr]   Downloaded tantivy-query-grammar v0.19.0
[INFO] [stderr]   Downloaded murmurhash32 v0.2.0
[INFO] [stderr]   Downloaded lz4_flex v0.9.5
[INFO] [stderr]   Downloaded fastfield_codecs v0.3.1
[INFO] [stderr]   Downloaded cc v1.2.18
[INFO] [stderr]   Downloaded tantivy-fst v0.4.0
[INFO] [stderr]   Downloaded tantivy v0.19.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5652e6a3218d51ee4b54193db21d7bfe81c3f1b27bda5cedf938603bd49bdfec
[INFO] running `Command { std: "docker" "start" "-a" "5652e6a3218d51ee4b54193db21d7bfe81c3f1b27bda5cedf938603bd49bdfec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5652e6a3218d51ee4b54193db21d7bfe81c3f1b27bda5cedf938603bd49bdfec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5652e6a3218d51ee4b54193db21d7bfe81c3f1b27bda5cedf938603bd49bdfec", kill_on_drop: false }`
[INFO] [stdout] 5652e6a3218d51ee4b54193db21d7bfe81c3f1b27bda5cedf938603bd49bdfec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 144a2eda33cfcaa6318dc010b25218458ffe6149a1c80cf0fb4ee2c1b02d8f61
[INFO] running `Command { std: "docker" "start" "-a" "144a2eda33cfcaa6318dc010b25218458ffe6149a1c80cf0fb4ee2c1b02d8f61", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling ownedbytes v0.4.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling rustix v1.0.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]    Compiling tantivy-common v0.4.0
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling tantivy-bitpacker v0.3.0
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling fastdivide v0.4.2
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling clap_builder v4.5.35
[INFO] [stderr]    Compiling tantivy-fst v0.4.0
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling fastfield_codecs v0.3.1
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling measure_time v0.8.3
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling fail v0.5.1
[INFO] [stderr]    Compiling tantivy-query-grammar v0.19.0
[INFO] [stderr]    Compiling lru v0.7.8
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling bitpacking v0.8.4
[INFO] [stderr]    Compiling murmurhash32 v0.2.0
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling crossbeam-channel v0.5.14
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling lz4_flex v0.9.5
[INFO] [stderr]    Compiling downcast-rs v1.2.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling oneshot v0.1.11
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling rust-stemmers v1.2.0
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling levenshtein_automata v0.2.1
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling census v0.4.2
[INFO] [stderr]    Compiling htmlescape v0.3.1
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling clap v4.5.35
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling tantivy v0.19.2
[INFO] [stderr]    Compiling zachdb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/storage/engine.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/indexing/index.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/indexing/index.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DocAddress`, `INDEXED`, `TEXT`, `Type`, and `doc`
[INFO] [stdout]   --> src/indexing/index.rs:8:29
[INFO] [stdout]    |
[INFO] [stdout]  8 |     schema::{Field, Schema, INDEXED, STORED, TEXT, JsonObjectOptions, Type},
[INFO] [stdout]    |                             ^^^^^^^          ^^^^                     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     doc,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 13 |     DocAddress,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DbError`
[INFO] [stdout]   --> src/indexing/index.rs:17:58
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::core::types::{Document, Query, QueryOperator, DbError};
[INFO] [stdout]    |                                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Index`
[INFO] [stdout]  --> src/core/collection.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::indexing::index::{Index, IndexManager};
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/indexing/index.rs:334:30
[INFO] [stdout]     |
[INFO] [stdout] 334 |             for (field_name, value) in obj {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/indexing/index.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let mut writer = self.writer.write().map_err(|e| {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data_dir` is never read
[INFO] [stdout]   --> src/core/database.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Database {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     data_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `schema` is never read
[INFO] [stdout]   --> src/indexing/index.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct FieldIndex {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 74 |     schema: Schema,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_schema_info` is never used
[INFO] [stdout]    --> src/indexing/index.rs:280:8
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl FieldIndex {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 280 |     fn get_schema_info(&self) -> Result<Field, IndexError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::PathBuf;
[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: `warn`
[INFO] [stdout]  --> src/main.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{info, warn, error};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DbResult`, `QueryCondition`, and `QueryOperator`
[INFO] [stdout]  --> src/core/mod.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use types::{Document, Query, DbResult, DbError, QueryCondition, QueryOperator};
[INFO] [stdout]   |                                  ^^^^^^^^           ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collection::Collection`
[INFO] [stdout]  --> src/core/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use collection::Collection; 
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/storage/engine.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `StorageEngine` and `StorageError`
[INFO] [stdout]  --> src/storage/mod.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use engine::{StorageEngine, StorageError}; 
[INFO] [stdout]   |                  ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/indexing/index.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/indexing/index.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DocAddress`, `INDEXED`, `TEXT`, `Type`, and `doc`
[INFO] [stdout]   --> src/indexing/index.rs:8:29
[INFO] [stdout]    |
[INFO] [stdout]  8 |     schema::{Field, Schema, INDEXED, STORED, TEXT, JsonObjectOptions, Type},
[INFO] [stdout]    |                             ^^^^^^^          ^^^^                     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     doc,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 13 |     DocAddress,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DbError`
[INFO] [stdout]   --> src/indexing/index.rs:17:58
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::core::types::{Document, Query, QueryOperator, DbError};
[INFO] [stdout]    |                                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IndexError`, `IndexManager`, and `Index`
[INFO] [stdout]  --> src/indexing/mod.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use index::{Index, IndexManager, IndexError}; 
[INFO] [stdout]   |                 ^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Index`
[INFO] [stdout]  --> src/core/collection.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::indexing::index::{Index, IndexManager};
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/indexing/index.rs:334:30
[INFO] [stdout]     |
[INFO] [stdout] 334 |             for (field_name, value) in obj {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/indexing/index.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let mut writer = self.writer.write().map_err(|e| {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_id` is never used
[INFO] [stdout]   --> src/core/types.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Document {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn with_id(id: String, data: serde_json::Value) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidData` is never constructed
[INFO] [stdout]    --> src/core/types.rs:154:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub enum DbError {
[INFO] [stdout]     |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 154 |     InvalidData(String),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/core/collection.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Collection {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout]  9 |     /// The name of the collection
[INFO] [stdout] 10 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `name` is never used
[INFO] [stdout]   --> src/core/collection.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Collection {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn name(&self) -> &str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `data_dir` are never read
[INFO] [stdout]   --> src/core/database.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Database {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 11 |     /// Name of the database
[INFO] [stdout] 12 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     data_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name` and `backup` are never used
[INFO] [stdout]    --> src/core/database.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl Database {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  74 |     pub fn name(&self) -> &str {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn backup(&self, backup_path: PathBuf) -> DbResult<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load_document` and `backup_database` are never used
[INFO] [stdout]    --> src/storage/engine.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout]  45 | impl StorageEngine {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn load_document(&self, collection_name: &str, document_id: &str) -> Result<Document, StorageError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     pub fn backup_database(&self, backup_path: PathBuf) -> Result<(), StorageError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `copy_dir_all` is never used
[INFO] [stdout]    --> src/storage/engine.rs:309:4
[INFO] [stdout]     |
[INFO] [stdout] 309 | fn copy_dir_all(src: impl AsRef<Path>, dst: impl AsRef<Path>) -> io::Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FieldError` is never constructed
[INFO] [stdout]   --> src/indexing/index.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum IndexError {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 32 |     FieldError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IndexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Index` is never used
[INFO] [stdout]   --> src/indexing/index.rs:42:11
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub trait Index: Send + Sync {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `schema` is never read
[INFO] [stdout]   --> src/indexing/index.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct FieldIndex {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 74 |     schema: Schema,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `commit` and `get_schema_info` are never used
[INFO] [stdout]    --> src/indexing/index.rs:268:8
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl FieldIndex {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 268 |     fn commit(&self) -> Result<(), IndexError> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 280 |     fn get_schema_info(&self) -> Result<Field, IndexError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_data_dir` and `commit` are never used
[INFO] [stdout]    --> src/indexing/index.rs:308:12
[INFO] [stdout]     |
[INFO] [stdout] 297 | impl IndexManager {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 308 |     pub fn with_data_dir(collection_name: String, data_dir: PathBuf) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 409 |     pub async fn commit(&self) -> Result<(), IndexError> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s
[INFO] running `Command { std: "docker" "inspect" "144a2eda33cfcaa6318dc010b25218458ffe6149a1c80cf0fb4ee2c1b02d8f61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "144a2eda33cfcaa6318dc010b25218458ffe6149a1c80cf0fb4ee2c1b02d8f61", kill_on_drop: false }`
[INFO] [stdout] 144a2eda33cfcaa6318dc010b25218458ffe6149a1c80cf0fb4ee2c1b02d8f61
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e3be1e9d6d46f543fd93d2e342ce2bd28386e5321f473000f8b28d4d5e487c3
[INFO] running `Command { std: "docker" "start" "-a" "8e3be1e9d6d46f543fd93d2e342ce2bd28386e5321f473000f8b28d4d5e487c3", kill_on_drop: false }`
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling cc v1.2.18
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling clap v4.5.35
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling tokio-util v0.7.14
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling rust-stemmers v1.2.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling tantivy v0.19.2
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling zachdb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/storage/engine.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/indexing/index.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/indexing/index.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DocAddress`, `INDEXED`, `TEXT`, `Type`, and `doc`
[INFO] [stdout]   --> src/indexing/index.rs:8:29
[INFO] [stdout]    |
[INFO] [stdout]  8 |     schema::{Field, Schema, INDEXED, STORED, TEXT, JsonObjectOptions, Type},
[INFO] [stdout]    |                             ^^^^^^^          ^^^^                     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     doc,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 13 |     DocAddress,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DbError`
[INFO] [stdout]   --> src/indexing/index.rs:17:58
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::core::types::{Document, Query, QueryOperator, DbError};
[INFO] [stdout]    |                                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Index`
[INFO] [stdout]  --> src/core/collection.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::indexing::index::{Index, IndexManager};
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/indexing/index.rs:334:30
[INFO] [stdout]     |
[INFO] [stdout] 334 |             for (field_name, value) in obj {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/indexing/index.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let mut writer = self.writer.write().map_err(|e| {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data_dir` is never read
[INFO] [stdout]   --> src/core/database.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Database {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     data_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `schema` is never read
[INFO] [stdout]   --> src/indexing/index.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct FieldIndex {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 74 |     schema: Schema,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_schema_info` is never used
[INFO] [stdout]    --> src/indexing/index.rs:280:8
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl FieldIndex {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 280 |     fn get_schema_info(&self) -> Result<Field, IndexError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> tests/test_performance.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[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: `Duration`
[INFO] [stdout]  --> tests/test_performance.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::{Instant, Duration};
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Database`
[INFO] [stdout]  --> tests/test_performance.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use zachdb::core::{Database, Document, Query, QueryOperator, QueryCondition};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `create_test_documents`
[INFO] [stdout]  --> tests/test_core.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 | use test_utils::{create_test_db, create_test_documents, cleanup_temp_data_dir, setup_test_collection};
[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: `Document`
[INFO] [stdout]   --> tests/test_api.rs:13:30
[INFO] [stdout]    |
[INFO] [stdout] 13 | use zachdb::core::{Database, Document};
[INFO] [stdout]    |                              ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::PathBuf;
[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: `warn`
[INFO] [stdout]  --> src/main.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{info, warn, error};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DbResult`, `QueryCondition`, and `QueryOperator`
[INFO] [stdout]  --> src/core/mod.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use types::{Document, Query, DbResult, DbError, QueryCondition, QueryOperator};
[INFO] [stdout]   |                                  ^^^^^^^^           ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collection::Collection`
[INFO] [stdout]  --> src/core/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use collection::Collection; 
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/storage/engine.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `StorageEngine` and `StorageError`
[INFO] [stdout]  --> src/storage/mod.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use engine::{StorageEngine, StorageError}; 
[INFO] [stdout]   |                  ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/indexing/index.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::PathBuf;
[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: `warn`
[INFO] [stdout]  --> src/main.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{info, warn, error};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DbResult`, `QueryCondition`, and `QueryOperator`
[INFO] [stdout]  --> src/core/mod.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use types::{Document, Query, DbResult, DbError, QueryCondition, QueryOperator};
[INFO] [stdout]   |                                  ^^^^^^^^           ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/indexing/index.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collection::Collection`
[INFO] [stdout]  --> src/core/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use collection::Collection; 
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/storage/engine.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `StorageEngine` and `StorageError`
[INFO] [stdout]  --> src/storage/mod.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use engine::{StorageEngine, StorageError}; 
[INFO] [stdout]   |                  ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/indexing/index.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/indexing/index.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DocAddress`, `INDEXED`, `TEXT`, `Type`, and `doc`
[INFO] [stdout]   --> src/indexing/index.rs:8:29
[INFO] [stdout]    |
[INFO] [stdout]  8 |     schema::{Field, Schema, INDEXED, STORED, TEXT, JsonObjectOptions, Type},
[INFO] [stdout]    |                             ^^^^^^^          ^^^^                     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     doc,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 13 |     DocAddress,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DbError`
[INFO] [stdout]   --> src/indexing/index.rs:17:58
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::core::types::{Document, Query, QueryOperator, DbError};
[INFO] [stdout]    |                                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IndexError`, `IndexManager`, and `Index`
[INFO] [stdout]  --> src/indexing/mod.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use index::{Index, IndexManager, IndexError}; 
[INFO] [stdout]   |                 ^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DocAddress`, `INDEXED`, `TEXT`, `Type`, and `doc`
[INFO] [stdout]   --> src/indexing/index.rs:8:29
[INFO] [stdout]    |
[INFO] [stdout]  8 |     schema::{Field, Schema, INDEXED, STORED, TEXT, JsonObjectOptions, Type},
[INFO] [stdout]    |                             ^^^^^^^          ^^^^                     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     doc,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 13 |     DocAddress,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DbError`
[INFO] [stdout]   --> src/indexing/index.rs:17:58
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::core::types::{Document, Query, QueryOperator, DbError};
[INFO] [stdout]    |                                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IndexError`, `IndexManager`, and `Index`
[INFO] [stdout]  --> src/indexing/mod.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use index::{Index, IndexManager, IndexError}; 
[INFO] [stdout]   |                 ^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `documents`
[INFO] [stdout]    --> tests/test_core.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let documents = setup_test_collection(&db, collection_name, 20).await;
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_documents`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `insert_results`
[INFO] [stdout]    --> tests/test_performance.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |     let insert_results = future::join_all(insert_tasks).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert_results`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_results`
[INFO] [stdout]    --> tests/test_performance.rs:252:9
[INFO] [stdout]     |
[INFO] [stdout] 252 |     let read_results = future::join_all(read_tasks).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_results`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `update_results`
[INFO] [stdout]    --> tests/test_performance.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |     let update_results = future::join_all(update_tasks).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_results`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `query_results`
[INFO] [stdout]    --> tests/test_performance.rs:254:9
[INFO] [stdout]     |
[INFO] [stdout] 254 |     let query_results = future::join_all(query_tasks).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_results`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_test_documents` is never used
[INFO] [stdout]   --> tests/test_utils.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn create_test_documents(count: usize) -> Vec<Document> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_collection` is never used
[INFO] [stdout]   --> tests/test_utils.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub async fn setup_test_collection(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Index`
[INFO] [stdout]  --> src/core/collection.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::indexing::index::{Index, IndexManager};
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Index`
[INFO] [stdout]  --> src/core/collection.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::indexing::index::{Index, IndexManager};
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/indexing/index.rs:334:30
[INFO] [stdout]     |
[INFO] [stdout] 334 |             for (field_name, value) in obj {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/indexing/index.rs:334:30
[INFO] [stdout]     |
[INFO] [stdout] 334 |             for (field_name, value) in obj {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/indexing/index.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let mut writer = self.writer.write().map_err(|e| {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/indexing/index.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let mut writer = self.writer.write().map_err(|e| {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_id` is never used
[INFO] [stdout]   --> src/core/types.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Document {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn with_id(id: String, data: serde_json::Value) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidData` is never constructed
[INFO] [stdout]    --> src/core/types.rs:154:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub enum DbError {
[INFO] [stdout]     |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 154 |     InvalidData(String),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/core/collection.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Collection {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout]  9 |     /// The name of the collection
[INFO] [stdout] 10 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `name` is never used
[INFO] [stdout]   --> src/core/collection.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Collection {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn name(&self) -> &str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `data_dir` are never read
[INFO] [stdout]   --> src/core/database.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Database {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 11 |     /// Name of the database
[INFO] [stdout] 12 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     data_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name` and `backup` are never used
[INFO] [stdout]    --> src/core/database.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl Database {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  74 |     pub fn name(&self) -> &str {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn backup(&self, backup_path: PathBuf) -> DbResult<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load_document` and `backup_database` are never used
[INFO] [stdout]    --> src/storage/engine.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout]  45 | impl StorageEngine {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn load_document(&self, collection_name: &str, document_id: &str) -> Result<Document, StorageError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     pub fn backup_database(&self, backup_path: PathBuf) -> Result<(), StorageError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `copy_dir_all` is never used
[INFO] [stdout]    --> src/storage/engine.rs:309:4
[INFO] [stdout]     |
[INFO] [stdout] 309 | fn copy_dir_all(src: impl AsRef<Path>, dst: impl AsRef<Path>) -> io::Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FieldError` is never constructed
[INFO] [stdout]   --> src/indexing/index.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum IndexError {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 32 |     FieldError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IndexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Index` is never used
[INFO] [stdout]   --> src/indexing/index.rs:42:11
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub trait Index: Send + Sync {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `schema` is never read
[INFO] [stdout]   --> src/indexing/index.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct FieldIndex {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 74 |     schema: Schema,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `commit` and `get_schema_info` are never used
[INFO] [stdout]    --> src/indexing/index.rs:268:8
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl FieldIndex {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 268 |     fn commit(&self) -> Result<(), IndexError> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 280 |     fn get_schema_info(&self) -> Result<Field, IndexError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_data_dir` and `commit` are never used
[INFO] [stdout]    --> src/indexing/index.rs:308:12
[INFO] [stdout]     |
[INFO] [stdout] 297 | impl IndexManager {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 308 |     pub fn with_data_dir(collection_name: String, data_dir: PathBuf) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 409 |     pub async fn commit(&self) -> Result<(), IndexError> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_id` is never used
[INFO] [stdout]   --> src/core/types.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Document {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn with_id(id: String, data: serde_json::Value) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `InvalidData` is never constructed
[INFO] [stdout]    --> src/core/types.rs:154:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub enum DbError {
[INFO] [stdout]     |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 154 |     InvalidData(String),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/core/collection.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Collection {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout]  9 |     /// The name of the collection
[INFO] [stdout] 10 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `name` is never used
[INFO] [stdout]   --> src/core/collection.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Collection {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn name(&self) -> &str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `data_dir` are never read
[INFO] [stdout]   --> src/core/database.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Database {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 11 |     /// Name of the database
[INFO] [stdout] 12 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     data_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name` and `backup` are never used
[INFO] [stdout]    --> src/core/database.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl Database {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  74 |     pub fn name(&self) -> &str {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn backup(&self, backup_path: PathBuf) -> DbResult<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `load_document` and `backup_database` are never used
[INFO] [stdout]    --> src/storage/engine.rs:196:12
[INFO] [stdout]     |
[INFO] [stdout]  45 | impl StorageEngine {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn load_document(&self, collection_name: &str, document_id: &str) -> Result<Document, StorageError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     pub fn backup_database(&self, backup_path: PathBuf) -> Result<(), StorageError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `copy_dir_all` is never used
[INFO] [stdout]    --> src/storage/engine.rs:309:4
[INFO] [stdout]     |
[INFO] [stdout] 309 | fn copy_dir_all(src: impl AsRef<Path>, dst: impl AsRef<Path>) -> io::Result<()> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FieldError` is never constructed
[INFO] [stdout]   --> src/indexing/index.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum IndexError {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 32 |     FieldError(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IndexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Index` is never used
[INFO] [stdout]   --> src/indexing/index.rs:42:11
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub trait Index: Send + Sync {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `schema` is never read
[INFO] [stdout]   --> src/indexing/index.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct FieldIndex {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 74 |     schema: Schema,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `commit` and `get_schema_info` are never used
[INFO] [stdout]    --> src/indexing/index.rs:268:8
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl FieldIndex {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 268 |     fn commit(&self) -> Result<(), IndexError> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 280 |     fn get_schema_info(&self) -> Result<Field, IndexError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_data_dir` and `commit` are never used
[INFO] [stdout]    --> src/indexing/index.rs:308:12
[INFO] [stdout]     |
[INFO] [stdout] 297 | impl IndexManager {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 308 |     pub fn with_data_dir(collection_name: String, data_dir: PathBuf) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 409 |     pub async fn commit(&self) -> Result<(), IndexError> {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/storage/engine.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/indexing/index.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/indexing/index.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DocAddress`, `INDEXED`, `TEXT`, `Type`, and `doc`
[INFO] [stdout]   --> src/indexing/index.rs:8:29
[INFO] [stdout]    |
[INFO] [stdout]  8 |     schema::{Field, Schema, INDEXED, STORED, TEXT, JsonObjectOptions, Type},
[INFO] [stdout]    |                             ^^^^^^^          ^^^^                     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     doc,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 13 |     DocAddress,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DbError`
[INFO] [stdout]   --> src/indexing/index.rs:17:58
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::core::types::{Document, Query, QueryOperator, DbError};
[INFO] [stdout]    |                                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Index`
[INFO] [stdout]  --> src/core/collection.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::indexing::index::{Index, IndexManager};
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/indexing/index.rs:334:30
[INFO] [stdout]     |
[INFO] [stdout] 334 |             for (field_name, value) in obj {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/indexing/index.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let mut writer = self.writer.write().map_err(|e| {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data_dir` is never read
[INFO] [stdout]   --> src/core/database.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Database {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     data_dir: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `schema` is never read
[INFO] [stdout]   --> src/indexing/index.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct FieldIndex {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 74 |     schema: Schema,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_schema_info` is never used
[INFO] [stdout]    --> src/indexing/index.rs:280:8
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl FieldIndex {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 280 |     fn get_schema_info(&self) -> Result<Field, IndexError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 32.62s
[INFO] running `Command { std: "docker" "inspect" "8e3be1e9d6d46f543fd93d2e342ce2bd28386e5321f473000f8b28d4d5e487c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e3be1e9d6d46f543fd93d2e342ce2bd28386e5321f473000f8b28d4d5e487c3", kill_on_drop: false }`
[INFO] [stdout] 8e3be1e9d6d46f543fd93d2e342ce2bd28386e5321f473000f8b28d4d5e487c3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] da40f132b280226356d2b6f58c39168d4d95c2f6ee85b53a65baa994620448a7
[INFO] running `Command { std: "docker" "start" "-a" "da40f132b280226356d2b6f58c39168d4d95c2f6ee85b53a65baa994620448a7", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/core/types.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/storage/engine.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HashMap`
[INFO] [stderr]  --> src/indexing/index.rs:1:24
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stderr]   |                        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Path`
[INFO] [stderr]  --> src/indexing/index.rs:2:17
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::path::{Path, PathBuf};
[INFO] [stderr]   |                 ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `DocAddress`, `INDEXED`, `TEXT`, `Type`, and `doc`
[INFO] [stderr]   --> src/indexing/index.rs:8:29
[INFO] [stderr]    |
[INFO] [stderr]  8 |     schema::{Field, Schema, INDEXED, STORED, TEXT, JsonObjectOptions, Type},
[INFO] [stderr]    |                             ^^^^^^^          ^^^^                     ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 12 |     doc,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 13 |     DocAddress,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `DbError`
[INFO] [stderr]   --> src/indexing/index.rs:17:58
[INFO] [stderr]    |
[INFO] [stderr] 17 | use crate::core::types::{Document, Query, QueryOperator, DbError};
[INFO] [stderr]    |                                                          ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Index`
[INFO] [stderr]  --> src/core/collection.rs:5:30
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::indexing::index::{Index, IndexManager};
[INFO] [stderr]   |                              ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `value`
[INFO] [stderr]    --> src/indexing/index.rs:334:30
[INFO] [stderr]     |
[INFO] [stderr] 334 |             for (field_name, value) in obj {
[INFO] [stderr]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/indexing/index.rs:192:13
[INFO] [stderr]     |
[INFO] [stderr] 192 |         let mut writer = self.writer.write().map_err(|e| {
[INFO] [stderr]     |             ----^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `data_dir` is never read
[INFO] [stderr]   --> src/core/database.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct Database {
[INFO] [stderr]    |            -------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 18 |     data_dir: PathBuf,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `schema` is never read
[INFO] [stderr]   --> src/indexing/index.rs:74:5
[INFO] [stderr]    |
[INFO] [stderr] 60 | pub struct FieldIndex {
[INFO] [stderr]    |            ---------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 74 |     schema: Schema,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_schema_info` is never used
[INFO] [stderr]    --> src/indexing/index.rs:280:8
[INFO] [stderr]     |
[INFO] [stderr]  77 | impl FieldIndex {
[INFO] [stderr]     | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 280 |     fn get_schema_info(&self) -> Result<Field, IndexError> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `zachdb` (lib) generated 12 warnings (run `cargo fix --lib -p zachdb` to apply 8 suggestions)
[INFO] [stderr] warning: unused import: `std::path::PathBuf`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::path::PathBuf;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/main.rs:8:21
[INFO] [stderr]   |
[INFO] [stderr] 8 | use tracing::{info, warn, error};
[INFO] [stderr]   |                     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/core/types.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `DbResult`, `QueryCondition`, and `QueryOperator`
[INFO] [stderr]  --> src/core/mod.rs:6:34
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub use types::{Document, Query, DbResult, DbError, QueryCondition, QueryOperator};
[INFO] [stderr]   |                                  ^^^^^^^^           ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `collection::Collection`
[INFO] [stderr]  --> src/core/mod.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub use collection::Collection; 
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `StorageEngine` and `StorageError`
[INFO] [stderr]  --> src/storage/mod.rs:3:18
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub use engine::{StorageEngine, StorageError}; 
[INFO] [stderr]   |                  ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `IndexError`, `IndexManager`, and `Index`
[INFO] [stderr]  --> src/indexing/mod.rs:3:17
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub use index::{Index, IndexManager, IndexError}; 
[INFO] [stderr]   |                 ^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `with_id` is never used
[INFO] [stderr]   --> src/core/types.rs:55:12
[INFO] [stderr]    |
[INFO] [stderr] 38 | impl Document {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 55 |     pub fn with_id(id: String, data: serde_json::Value) -> Self {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `InvalidData` is never constructed
[INFO] [stderr]    --> src/core/types.rs:154:5
[INFO] [stderr]     |
[INFO] [stderr] 131 | pub enum DbError {
[INFO] [stderr]     |          ------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 154 |     InvalidData(String),
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `name` is never read
[INFO] [stderr]   --> src/core/collection.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct Collection {
[INFO] [stderr]    |            ---------- field in this struct
[INFO] [stderr]  9 |     /// The name of the collection
[INFO] [stderr] 10 |     name: String,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `name` is never used
[INFO] [stderr]   --> src/core/collection.rs:28:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl Collection {
[INFO] [stderr]    | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 28 |     pub fn name(&self) -> &str {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name` and `data_dir` are never read
[INFO] [stderr]   --> src/core/database.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct Database {
[INFO] [stderr]    |            -------- fields in this struct
[INFO] [stderr] 11 |     /// Name of the database
[INFO] [stderr] 12 |     name: String,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     data_dir: PathBuf,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `name` and `backup` are never used
[INFO] [stderr]    --> src/core/database.rs:74:12
[INFO] [stderr]     |
[INFO] [stderr]  21 | impl Database {
[INFO] [stderr]     | ------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  74 |     pub fn name(&self) -> &str {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 178 |     pub fn backup(&self, backup_path: PathBuf) -> DbResult<()> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `load_document` and `backup_database` are never used
[INFO] [stderr]    --> src/storage/engine.rs:196:12
[INFO] [stderr]     |
[INFO] [stderr]  45 | impl StorageEngine {
[INFO] [stderr]     | ------------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 196 |     pub fn load_document(&self, collection_name: &str, document_id: &str) -> Result<Document, StorageError> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 286 |     pub fn backup_database(&self, backup_path: PathBuf) -> Result<(), StorageError> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `copy_dir_all` is never used
[INFO] [stderr]    --> src/storage/engine.rs:309:4
[INFO] [stderr]     |
[INFO] [stderr] 309 | fn copy_dir_all(src: impl AsRef<Path>, dst: impl AsRef<Path>) -> io::Result<()> {
[INFO] [stderr]     |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `FieldError` is never constructed
[INFO] [stderr]   --> src/indexing/index.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub enum IndexError {
[INFO] [stderr]    |          ---------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 32 |     FieldError(String),
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `IndexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Index` is never used
[INFO] [stderr]   --> src/indexing/index.rs:42:11
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub trait Index: Send + Sync {
[INFO] [stderr]    |           ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `commit` and `get_schema_info` are never used
[INFO] [stderr]    --> src/indexing/index.rs:268:8
[INFO] [stderr]     |
[INFO] [stderr]  77 | impl FieldIndex {
[INFO] [stderr]     | --------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 268 |     fn commit(&self) -> Result<(), IndexError> {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 280 |     fn get_schema_info(&self) -> Result<Field, IndexError> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `with_data_dir` and `commit` are never used
[INFO] [stderr]    --> src/indexing/index.rs:308:12
[INFO] [stderr]     |
[INFO] [stderr] 297 | impl IndexManager {
[INFO] [stderr]     | ----------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 308 |     pub fn with_data_dir(collection_name: String, data_dir: PathBuf) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 409 |     pub async fn commit(&self) -> Result<(), IndexError> {
[INFO] [stderr]     |                  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `zachdb` (bin "zachdb") generated 28 warnings (9 duplicates) (run `cargo fix --bin "zachdb" -p zachdb` to apply 7 suggestions)
[INFO] [stderr] warning: unused import: `create_test_documents`
[INFO] [stderr]  --> tests/test_core.rs:8:34
[INFO] [stderr]   |
[INFO] [stderr] 8 | use test_utils::{create_test_db, create_test_documents, cleanup_temp_data_dir, setup_test_collection};
[INFO] [stderr]   |                                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `documents`
[INFO] [stderr]    --> tests/test_core.rs:171:9
[INFO] [stderr]     |
[INFO] [stderr] 171 |     let documents = setup_test_collection(&db, collection_name, 20).await;
[INFO] [stderr]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_documents`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> tests/test_performance.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Duration`
[INFO] [stderr]  --> tests/test_performance.rs:4:26
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::time::{Instant, Duration};
[INFO] [stderr]   |                          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Database`
[INFO] [stderr]  --> tests/test_performance.rs:9:20
[INFO] [stderr]   |
[INFO] [stderr] 9 | use zachdb::core::{Database, Document, Query, QueryOperator, QueryCondition};
[INFO] [stderr]   |                    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `insert_results`
[INFO] [stderr]    --> tests/test_performance.rs:251:9
[INFO] [stderr]     |
[INFO] [stderr] 251 |     let insert_results = future::join_all(insert_tasks).await;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert_results`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `read_results`
[INFO] [stderr]    --> tests/test_performance.rs:252:9
[INFO] [stderr]     |
[INFO] [stderr] 252 |     let read_results = future::join_all(read_tasks).await;
[INFO] [stderr]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_results`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `update_results`
[INFO] [stderr]    --> tests/test_performance.rs:253:9
[INFO] [stderr]     |
[INFO] [stderr] 253 |     let update_results = future::join_all(update_tasks).await;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_results`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `query_results`
[INFO] [stderr]    --> tests/test_performance.rs:254:9
[INFO] [stderr]     |
[INFO] [stderr] 254 |     let query_results = future::join_all(query_tasks).await;
[INFO] [stderr]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_results`
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_test_documents` is never used
[INFO] [stderr]   --> tests/test_utils.rs:38:8
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub fn create_test_documents(count: usize) -> Vec<Document> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `setup_test_collection` is never used
[INFO] [stderr]   --> tests/test_utils.rs:57:14
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub async fn setup_test_collection(
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Document`
[INFO] [stderr]   --> tests/test_api.rs:13:30
[INFO] [stderr]    |
[INFO] [stderr] 13 | use zachdb::core::{Database, Document};
[INFO] [stderr]    |                              ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `zachdb` (test "test_core") generated 2 warnings (run `cargo fix --test "test_core" -p zachdb` to apply 2 suggestions)
[INFO] [stderr] warning: `zachdb` (test "test_performance") generated 9 warnings (run `cargo fix --test "test_performance" -p zachdb` to apply 7 suggestions)
[INFO] [stderr] warning: `zachdb` (bin "zachdb" test) generated 28 warnings (28 duplicates)
[INFO] [stderr] warning: `zachdb` (test "test_api") generated 1 warning (run `cargo fix --test "test_api" -p zachdb` to apply 1 suggestion)
[INFO] [stderr] warning: `zachdb` (lib test) generated 12 warnings (12 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zachdb-6921b6c807c075f7)
[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/zachdb-9db0ed64aaf016d9)
[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/test_api.rs (/opt/rustwide/target/debug/deps/test_api-26710b0238b2e109)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test test_server_info ... ok
[INFO] [stdout] test test_list_collections ... ok
[INFO] [stdout] test test_create_collection ... ok
[INFO] [stdout] test test_create_document ... ok
[INFO] [stdout] test test_error_handling ... ok
[INFO] [stdout] test test_update_document ... ok
[INFO] [stdout] test test_query_documents ... ok
[INFO] [stdout] test test_delete_document ... ok
[INFO] [stdout] test test_get_document ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/test_core.rs (/opt/rustwide/target/debug/deps/test_core-c8f459d2b1966769)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test test_delete_collection ... ok
[INFO] [stdout] test test_create_collection ... ok
[INFO] [stdout] test test_delete_document ... ok
[INFO] [stdout] test test_insert_document ... ok
[INFO] [stdout] test test_update_document ... ok
[INFO] [stdout] test test_persistence ... ok
[INFO] [stdout] test test_query_documents ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/test_performance.rs (/opt/rustwide/target/debug/deps/test_performance-6d02b7cce41f11f6)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test_concurrent_document_operations ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/test_utils.rs (/opt/rustwide/target/debug/deps/test_utils-0f4e12331599683c)
[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]    Doc-tests zachdb
[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" "da40f132b280226356d2b6f58c39168d4d95c2f6ee85b53a65baa994620448a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da40f132b280226356d2b6f58c39168d4d95c2f6ee85b53a65baa994620448a7", kill_on_drop: false }`
[INFO] [stdout] da40f132b280226356d2b6f58c39168d4d95c2f6ee85b53a65baa994620448a7
