[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#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachwilke%2Fzachdb" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  32% (4598/14122)
Updating files:  33% (4661/14122)
Updating files:  34% (4802/14122)
Updating files:  35% (4943/14122)
Updating files:  36% (5084/14122)
Updating files:  36% (5159/14122)
Updating files:  37% (5226/14122)
Updating files:  37% (5278/14122)
Updating files:  38% (5367/14122)
Updating files:  38% (5399/14122)
Updating files:  38% (5466/14122)
Updating files:  38% (5476/14122)
Updating files:  39% (5508/14122)
Updating files:  39% (5519/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:  46% (6497/14122)
Updating files:  47% (6638/14122)
Updating files:  48% (6779/14122)
Updating files:  49% (6920/14122)
Updating files:  49% (6998/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:  61% (8700/14122)
Updating files:  62% (8756/14122)
Updating files:  63% (8897/14122)
Updating files:  64% (9039/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:  71% (10150/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:  79% (11157/14122)
Updating files:  80% (11298/14122)
Updating files:  81% (11439/14122)
Updating files:  81% (11503/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:  86% (12237/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% (13633/14122)
Updating files:  97% (13699/14122)
Updating files:  97% (13769/14122)
Updating files:  98% (13840/14122)
Updating files:  98% (13916/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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zachwilke/zachdb on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a3a0866cc689538d94bb5ce3a4bf9a3b6e9e9428b392ddb010c1e352c19bd135
[INFO] running `Command { std: "docker" "start" "-a" "a3a0866cc689538d94bb5ce3a4bf9a3b6e9e9428b392ddb010c1e352c19bd135", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3a0866cc689538d94bb5ce3a4bf9a3b6e9e9428b392ddb010c1e352c19bd135", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3a0866cc689538d94bb5ce3a4bf9a3b6e9e9428b392ddb010c1e352c19bd135", kill_on_drop: false }`
[INFO] [stdout] a3a0866cc689538d94bb5ce3a4bf9a3b6e9e9428b392ddb010c1e352c19bd135
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 758e77a132ea945bfd3f42aa713fbda914d747c8c493a172115e15657a6bdd47
[INFO] running `Command { std: "docker" "start" "-a" "758e77a132ea945bfd3f42aa713fbda914d747c8c493a172115e15657a6bdd47", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.171
[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 itoa v1.0.15
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling zerocopy v0.8.24
[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 ahash v0.7.8
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling rustix v1.0.5
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling ownedbytes v0.4.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling mio v1.0.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 syn v2.0.100
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling combine v4.6.7
[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 futures-channel v0.3.31
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling tantivy-bitpacker v0.3.0
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling fastdivide v0.4.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling measure_time v0.8.3
[INFO] [stderr]    Compiling clap_builder v4.5.35
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling bitpacking v0.8.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling lru v0.7.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling tantivy-fst v0.4.0
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling fastfield_codecs v0.3.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling murmurhash32 v0.2.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.14
[INFO] [stderr]    Compiling fail v0.5.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling census v0.4.2
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling oneshot v0.1.11
[INFO] [stderr]    Compiling downcast-rs v1.2.1
[INFO] [stderr]    Compiling levenshtein_automata v0.2.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling htmlescape v0.3.1
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling lz4_flex v0.9.5
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling dashmap v5.5.3
[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 clap_derive v4.5.32
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling tantivy-query-grammar v0.19.0
[INFO] [stderr]    Compiling clap v4.5.35
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling rust-stemmers v1.2.0
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper v0.14.32
[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 18s
[INFO] running `Command { std: "docker" "inspect" "758e77a132ea945bfd3f42aa713fbda914d747c8c493a172115e15657a6bdd47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "758e77a132ea945bfd3f42aa713fbda914d747c8c493a172115e15657a6bdd47", kill_on_drop: false }`
[INFO] [stdout] 758e77a132ea945bfd3f42aa713fbda914d747c8c493a172115e15657a6bdd47
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 883f41e30a690100e2b1c0b684b3c03d2c1e7e2c77c9ad1eaae1744b9c07be91
[INFO] running `Command { std: "docker" "start" "-a" "883f41e30a690100e2b1c0b684b3c03d2c1e7e2c77c9ad1eaae1744b9c07be91", kill_on_drop: false }`
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[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 syn v2.0.100
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling tokio v1.44.2
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling clap v4.5.35
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[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 tokio-util v0.7.14
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling h2 v0.3.26
[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: `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: 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: 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: 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: `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::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: `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 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 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 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 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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 1m 29s
[INFO] running `Command { std: "docker" "inspect" "883f41e30a690100e2b1c0b684b3c03d2c1e7e2c77c9ad1eaae1744b9c07be91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "883f41e30a690100e2b1c0b684b3c03d2c1e7e2c77c9ad1eaae1744b9c07be91", kill_on_drop: false }`
[INFO] [stdout] 883f41e30a690100e2b1c0b684b3c03d2c1e7e2c77c9ad1eaae1744b9c07be91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6db5d4d92a7c9b675e3375416f49d64dec8ed5bd9d1858ad3f6183aedf4228ed
[INFO] running `Command { std: "docker" "start" "-a" "6db5d4d92a7c9b675e3375416f49d64dec8ed5bd9d1858ad3f6183aedf4228ed", 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: `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: `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: `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_performance") generated 9 warnings (run `cargo fix --test "test_performance" -p zachdb` to apply 7 suggestions)
[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` (lib test) generated 12 warnings (12 duplicates)
[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]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zachdb-13186a08d66f57ab)
[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-b231386215e6a243)
[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-79e56a2a6126e744)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test test_list_collections ... ok
[INFO] [stdout] test test_create_collection ... ok
[INFO] [stdout] test test_server_info ... ok
[INFO] [stdout] test test_create_document ... ok
[INFO] [stdout] test test_delete_document ... ok
[INFO] [stdout] test test_query_documents ... ok
[INFO] [stdout] test test_get_document ... ok
[INFO] [stdout] test test_error_handling ... ok
[INFO] [stdout] test test_update_document ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/test_core.rs (/opt/rustwide/target/debug/deps/test_core-74d4b661a6760c72)
[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_insert_document ... ok
[INFO] [stdout] test test_delete_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.40s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/test_performance.rs (/opt/rustwide/target/debug/deps/test_performance-55d5d7cd22f2e6cf)
[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.82s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/test_utils.rs (/opt/rustwide/target/debug/deps/test_utils-6fed879144442049)
[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" "6db5d4d92a7c9b675e3375416f49d64dec8ed5bd9d1858ad3f6183aedf4228ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6db5d4d92a7c9b675e3375416f49d64dec8ed5bd9d1858ad3f6183aedf4228ed", kill_on_drop: false }`
[INFO] [stdout] 6db5d4d92a7c9b675e3375416f49d64dec8ed5bd9d1858ad3f6183aedf4228ed
