[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#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraeisimv%2Fsearch-engine" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raeisimv/search-engine on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d06efea6da92639d0997a3ecbedd7d9391fabb69994c774ecc261f2f51f10585 [INFO] running `Command { std: "docker" "start" "-a" "d06efea6da92639d0997a3ecbedd7d9391fabb69994c774ecc261f2f51f10585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d06efea6da92639d0997a3ecbedd7d9391fabb69994c774ecc261f2f51f10585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d06efea6da92639d0997a3ecbedd7d9391fabb69994c774ecc261f2f51f10585", kill_on_drop: false }` [INFO] [stdout] d06efea6da92639d0997a3ecbedd7d9391fabb69994c774ecc261f2f51f10585 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05b051c296c998f6681ebb98daef0fd972b9d4a385d193bb2d8d93bc91076727 [INFO] running `Command { std: "docker" "start" "-a" "05b051c296c998f6681ebb98daef0fd972b9d4a385d193bb2d8d93bc91076727", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking concurrent-queue v2.5.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 getrandom v0.2.16 [INFO] [stderr] Checking blocking v1.6.1 [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 inout v0.1.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking ghash v0.5.1 [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)]` 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)]` 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)]` 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] [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)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.29s [INFO] running `Command { std: "docker" "inspect" "05b051c296c998f6681ebb98daef0fd972b9d4a385d193bb2d8d93bc91076727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05b051c296c998f6681ebb98daef0fd972b9d4a385d193bb2d8d93bc91076727", kill_on_drop: false }` [INFO] [stdout] 05b051c296c998f6681ebb98daef0fd972b9d4a385d193bb2d8d93bc91076727