[INFO] cloning repository https://github.com/raeisimv/search-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raeisimv/search-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraeisimv%2Fsearch-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraeisimv%2Fsearch-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f26b26f621141e77b596e8c7fc823888c9c1feae [INFO] checking raeisimv/search-engine against try#f27166d4c64dc29edc5ea3214357f191edf8b635 for pr-148329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraeisimv%2Fsearch-engine" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/raeisimv/search-engine [INFO] finished tweaking git repo https://github.com/raeisimv/search-engine [INFO] tweaked toml for git repo https://github.com/raeisimv/search-engine written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raeisimv/search-engine on toolchain f27166d4c64dc29edc5ea3214357f191edf8b635 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/raeisimv/search-engine 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" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1818b9c656f09aecb8a66748086cfdf4bfd9e35fa30fe732b37c480520b75f3c [INFO] running `Command { std: "docker" "start" "-a" "1818b9c656f09aecb8a66748086cfdf4bfd9e35fa30fe732b37c480520b75f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1818b9c656f09aecb8a66748086cfdf4bfd9e35fa30fe732b37c480520b75f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1818b9c656f09aecb8a66748086cfdf4bfd9e35fa30fe732b37c480520b75f3c", kill_on_drop: false }` [INFO] [stdout] 1818b9c656f09aecb8a66748086cfdf4bfd9e35fa30fe732b37c480520b75f3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e668cec67c83908ee3eb201ea617b9219cc692c2f2147233f3d68397f7e959ae [INFO] running `Command { std: "docker" "start" "-a" "e668cec67c83908ee3eb201ea617b9219cc692c2f2147233f3d68397f7e959ae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking search-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io::*` [INFO] [stdout] --> src/fs/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use io::*; [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: `io::*` [INFO] [stdout] --> src/fs/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use io::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/document.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Document` is never constructed [INFO] [stdout] --> src/document.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Document { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `attribute` are never used [INFO] [stdout] --> src/document.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Document { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn attribute(&mut self, key: impl Into, value: impl Into) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write` is never used [INFO] [stdout] --> src/fs/real_fs.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn write(path: &std::path::PathBuf, buf: &[u8]) -> MyResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/fs/real_fs.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn read(path: &std::path::PathBuf) -> MyResult> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> src/fs/real_fs.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn delete(path: &std::path::PathBuf) -> MyResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Directory` is never constructed [INFO] [stdout] --> src/fs/dir.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Directory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_clear_file`, `make_encrypted_file`, `create`, `delete`, and `get_files` are never used [INFO] [stdout] --> src/fs/dir.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Directory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 13 | pub fn make_clear_file(&self, relative: impl AsRef) -> ClearFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn make_encrypted_file(&self, relative: impl AsRef) -> EncryptFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn create(&self) -> MyResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub async fn delete(&self) -> MyResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn get_files(&self) -> MyResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `File` is never used [INFO] [stdout] --> src/fs/io.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClearFile` is never constructed [INFO] [stdout] --> src/fs/io.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ClearFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fs/io.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ClearFile { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(path: std::path::PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EncryptFile` is never constructed [INFO] [stdout] --> src/fs/io.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EncryptFile { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fs/io.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl EncryptFile { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 52 | pub fn new(path: std::path::PathBuf, cipher: Cipher) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EntryIndex` is never used [INFO] [stdout] --> src/index.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type EntryIndex = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AttributeIndex` is never used [INFO] [stdout] --> src/index.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type AttributeIndex = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ShardingValue` is never used [INFO] [stdout] --> src/index.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type ShardingValue = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DocumentIdentifier` is never used [INFO] [stdout] --> src/index.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type DocumentIdentifier = Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entry` is never constructed [INFO] [stdout] --> src/index.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Attribute` is never constructed [INFO] [stdout] --> src/index.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Attribute { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PersistedCollection` is never constructed [INFO] [stdout] --> src/index.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PersistedCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Collection` is never constructed [INFO] [stdout] --> src/index.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Collection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ValueIndex` is never used [INFO] [stdout] --> src/index.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | type ValueIndex = u8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BooleanIndex` is never constructed [INFO] [stdout] --> src/index.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct BooleanIndex { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `delete` are never used [INFO] [stdout] --> src/index.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl BooleanIndex { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 57 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn delete(&mut self, entry_index: EntryIndex) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsEmpty` is never used [INFO] [stdout] --> src/index.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait IsEmpty { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WithMut` is never used [INFO] [stdout] --> src/index.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | pub trait WithMut { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BOOLEAN` is never constructed [INFO] [stdout] --> src/schema.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Kind { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 11 | BOOLEAN, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attributes` and `shard_by` are never read [INFO] [stdout] --> src/schema.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Schema { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | pub attributes: HashMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub shard_by: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/document.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Document` is never constructed [INFO] [stdout] --> src/document.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Document { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `attribute` are never used [INFO] [stdout] --> src/document.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Document { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(id: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn attribute(&mut self, key: impl Into, value: impl Into) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write` is never used [INFO] [stdout] --> src/fs/real_fs.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn write(path: &std::path::PathBuf, buf: &[u8]) -> MyResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/fs/real_fs.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn read(path: &std::path::PathBuf) -> MyResult> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete` is never used [INFO] [stdout] --> src/fs/real_fs.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn delete(path: &std::path::PathBuf) -> MyResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Directory` is never constructed [INFO] [stdout] --> src/fs/dir.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Directory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_clear_file`, `make_encrypted_file`, `create`, `delete`, and `get_files` are never used [INFO] [stdout] --> src/fs/dir.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Directory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 13 | pub fn make_clear_file(&self, relative: impl AsRef) -> ClearFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn make_encrypted_file(&self, relative: impl AsRef) -> EncryptFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn create(&self) -> MyResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub async fn delete(&self) -> MyResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn get_files(&self) -> MyResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `File` is never used [INFO] [stdout] --> src/fs/io.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClearFile` is never constructed [INFO] [stdout] --> src/fs/io.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ClearFile { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fs/io.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl ClearFile { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(path: std::path::PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EncryptFile` is never constructed [INFO] [stdout] --> src/fs/io.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct EncryptFile { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fs/io.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl EncryptFile { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 52 | pub fn new(path: std::path::PathBuf, cipher: Cipher) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EntryIndex` is never used [INFO] [stdout] --> src/index.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type EntryIndex = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AttributeIndex` is never used [INFO] [stdout] --> src/index.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type AttributeIndex = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ShardingValue` is never used [INFO] [stdout] --> src/index.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type ShardingValue = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DocumentIdentifier` is never used [INFO] [stdout] --> src/index.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type DocumentIdentifier = Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entry` is never constructed [INFO] [stdout] --> src/index.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Attribute` is never constructed [INFO] [stdout] --> src/index.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Attribute { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PersistedCollection` is never constructed [INFO] [stdout] --> src/index.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PersistedCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Collection` is never constructed [INFO] [stdout] --> src/index.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Collection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ValueIndex` is never used [INFO] [stdout] --> src/index.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | type ValueIndex = u8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BooleanIndex` is never constructed [INFO] [stdout] --> src/index.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct BooleanIndex { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `delete` are never used [INFO] [stdout] --> src/index.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl BooleanIndex { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 57 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn insert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn delete(&mut self, entry_index: EntryIndex) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsEmpty` is never used [INFO] [stdout] --> src/index.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait IsEmpty { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WithMut` is never used [INFO] [stdout] --> src/index.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | pub trait WithMut { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SchemaError` is never used [INFO] [stdout] --> src/schema.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum SchemaError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Kind` is never used [INFO] [stdout] --> src/schema.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Kind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schema` is never constructed [INFO] [stdout] --> src/schema.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Schema { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `builder` is never used [INFO] [stdout] --> src/schema.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Schema { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 22 | pub fn builder() -> SchemaBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SchemaBuilder` is never constructed [INFO] [stdout] --> src/schema.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SchemaBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `shard_by`, `attribute`, and `build` are never used [INFO] [stdout] --> src/schema.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl SchemaBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 33 | pub fn shard_by>(mut self, shard_by: S) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn attribute>(mut self, name: S, kind: Kind) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn build(mut self) -> MyResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.87s [INFO] running `Command { std: "docker" "inspect" "e668cec67c83908ee3eb201ea617b9219cc692c2f2147233f3d68397f7e959ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e668cec67c83908ee3eb201ea617b9219cc692c2f2147233f3d68397f7e959ae", kill_on_drop: false }` [INFO] [stdout] e668cec67c83908ee3eb201ea617b9219cc692c2f2147233f3d68397f7e959ae