[INFO] fetching crate db 0.0.0-alpha.101... [INFO] testing db-0.0.0-alpha.101 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate db 0.0.0-alpha.101 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate db 0.0.0-alpha.101 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate db 0.0.0-alpha.101 [INFO] tweaked toml for crates.io crate db 0.0.0-alpha.101 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate db 0.0.0-alpha.101 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate db 0.0.0-alpha.101 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stack-map v1.0.5 [INFO] [stderr] Downloaded pagetable v0.4.6 [INFO] [stderr] Downloaded fault-injection v1.0.10 [INFO] [stderr] Downloaded shared-local-state v0.1.4 [INFO] [stderr] Downloaded fst-map v0.1.0 [INFO] [stderr] Downloaded terrors v0.3.3 [INFO] [stderr] Downloaded ebr v0.2.13 [INFO] [stderr] Downloaded marble v16.0.2 [INFO] [stderr] Downloaded concurrent-map v5.0.37 [INFO] [stderr] Downloaded bloomfilter v1.0.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 467419703aa6a54c244f31f09dc6629709d3ee75199a7f7f71452046c7f096b9 [INFO] running `Command { std: "docker" "start" "-a" "467419703aa6a54c244f31f09dc6629709d3ee75199a7f7f71452046c7f096b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "467419703aa6a54c244f31f09dc6629709d3ee75199a7f7f71452046c7f096b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "467419703aa6a54c244f31f09dc6629709d3ee75199a7f7f71452046c7f096b9", kill_on_drop: false }` [INFO] [stdout] 467419703aa6a54c244f31f09dc6629709d3ee75199a7f7f71452046c7f096b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9cb7ed3e0a159dfc205a9f3dbc872cd2f8dc99d28ee29a14c36155a7c43817e4 [INFO] running `Command { std: "docker" "start" "-a" "9cb7ed3e0a159dfc205a9f3dbc872cd2f8dc99d28ee29a14c36155a7c43817e4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.21 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling stack-map v1.0.5 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling fault-injection v1.0.10 [INFO] [stderr] Compiling bit-vec v0.7.0 [INFO] [stderr] Compiling pagetable v0.4.6 [INFO] [stderr] Compiling terrors v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bloomfilter v1.0.16 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling shared-local-state v0.1.4 [INFO] [stderr] Compiling ebr v0.2.13 [INFO] [stderr] Compiling concurrent-map v5.0.37 [INFO] [stderr] Compiling marble v16.0.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy-derive v0.8.21 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fst-map v0.1.0 [INFO] [stderr] Compiling db v0.0.0-alpha.101 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `InterestFilter` [INFO] [stdout] --> src/db/db.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use super::{InterestFilter, Transactor, Tx}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/db/open.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/db/open.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/db/open.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InterestFilter`, `Transactor`, and `Tx` [INFO] [stdout] --> src/db/open.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use super::{InterestFilter, Transactor, Tx}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes` and `WriteBatch` [INFO] [stdout] --> src/db/open.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::util::{Bytes, WriteBatch}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/fs/local_fs.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `read_exact_at` and `write_all_at` [INFO] [stdout] --> src/fs/local_fs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | read_exact_at, write_all_at, Error, FileAlreadyExists, FileDoesNotExist, Fs, Unavailable, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `terrors::OneOf` [INFO] [stdout] --> src/fs/local_fs.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use terrors::OneOf; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `local_fs::LocalFs` [INFO] [stdout] --> src/fs/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use local_fs::LocalFs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem_fs::MemFs` [INFO] [stdout] --> src/fs/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mem_fs::MemFs; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SendOne` [INFO] [stdout] --> src/sync/mod.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | pub use oneshot::{oneshot, ReceiveOne, SendOne}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `read_batch` and `write_batch` [INFO] [stdout] --> src/util/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use batch::{read_batch, write_batch}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VirtualStorageAddress` [INFO] [stdout] --> src/util/mod.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub use num::{CollectionId, VirtualStorageAddress}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::AsyncFs` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use fs::AsyncFs; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/db/db.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let config = Config { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/db/open.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let config = Config { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/local_fs.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | path: &Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `at` [INFO] [stdout] --> src/fs/local_fs.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | at: usize, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/fs/local_fs.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | buf: &mut [u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/local_fs.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | path: &Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/fs/local_fs.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | buf: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/local_fs.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/mem_fs.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileDoesNotExist` is more private than the item `Fs::read_at_exact` [INFO] [stdout] --> src/fs/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / fn read_at_exact( [INFO] [stdout] 15 | | &self, [INFO] [stdout] 16 | | path: &Path, [INFO] [stdout] 17 | | at: usize, [INFO] [stdout] 18 | | buf: &mut [u8], [INFO] [stdout] 19 | | ) -> Result<(), Error<(FileDoesNotExist, UnexpectedEof, Unavailable)>>; [INFO] [stdout] | |___________________________________________________________________________^ method `Fs::read_at_exact` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `FileDoesNotExist` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | struct FileDoesNotExist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `fs::UnexpectedEof` is more private than the item `Fs::read_at_exact` [INFO] [stdout] --> src/fs/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / fn read_at_exact( [INFO] [stdout] 15 | | &self, [INFO] [stdout] 16 | | path: &Path, [INFO] [stdout] 17 | | at: usize, [INFO] [stdout] 18 | | buf: &mut [u8], [INFO] [stdout] 19 | | ) -> Result<(), Error<(FileDoesNotExist, UnexpectedEof, Unavailable)>>; [INFO] [stdout] | |___________________________________________________________________________^ method `Fs::read_at_exact` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `fs::UnexpectedEof` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | struct UnexpectedEof; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Unavailable` is more private than the item `Fs::read_at_exact` [INFO] [stdout] --> src/fs/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / fn read_at_exact( [INFO] [stdout] 15 | | &self, [INFO] [stdout] 16 | | path: &Path, [INFO] [stdout] 17 | | at: usize, [INFO] [stdout] 18 | | buf: &mut [u8], [INFO] [stdout] 19 | | ) -> Result<(), Error<(FileDoesNotExist, UnexpectedEof, Unavailable)>>; [INFO] [stdout] | |___________________________________________________________________________^ method `Fs::read_at_exact` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Unavailable` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | struct Unavailable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileAlreadyExists` is more private than the item `Fs::create_unique` [INFO] [stdout] --> src/fs/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / fn create_unique( [INFO] [stdout] 22 | | &self, [INFO] [stdout] 23 | | path: &Path, [INFO] [stdout] 24 | | buf: &[u8], [INFO] [stdout] 25 | | ) -> Result<(), Error<(FileAlreadyExists, Unavailable)>>; [INFO] [stdout] | |_____________________________________________________________^ method `Fs::create_unique` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `FileAlreadyExists` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | struct FileAlreadyExists; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Unavailable` is more private than the item `Fs::create_unique` [INFO] [stdout] --> src/fs/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / fn create_unique( [INFO] [stdout] 22 | | &self, [INFO] [stdout] 23 | | path: &Path, [INFO] [stdout] 24 | | buf: &[u8], [INFO] [stdout] 25 | | ) -> Result<(), Error<(FileAlreadyExists, Unavailable)>>; [INFO] [stdout] | |_____________________________________________________________^ method `Fs::create_unique` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Unavailable` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | struct Unavailable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileDoesNotExist` is more private than the item `Fs::delete` [INFO] [stdout] --> src/fs/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Fs::delete` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `FileDoesNotExist` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | struct FileDoesNotExist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Unavailable` is more private than the item `Fs::delete` [INFO] [stdout] --> src/fs/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Fs::delete` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Unavailable` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | struct Unavailable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open` is never used [INFO] [stdout] --> src/db/db.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn open>(path: P) -> std::io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Key` and `Range` are never constructed [INFO] [stdout] --> src/db/transactor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum InterestFilter { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 6 | Key(Bytes), [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `collection_id` is never read [INFO] [stdout] --> src/db/transactor.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Transactor { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 25 | collection_id: CollectionId, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Fs` is never used [INFO] [stdout] --> src/fs/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Fs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/fs/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Error [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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: struct `FileAlreadyExists` is never constructed [INFO] [stdout] --> src/fs/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct FileAlreadyExists; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileAlreadyExists` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileDoesNotExist` is never constructed [INFO] [stdout] --> src/fs/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct FileDoesNotExist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileDoesNotExist` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnexpectedEof` is never constructed [INFO] [stdout] --> src/fs/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct UnexpectedEof; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnexpectedEof` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unavailable` is never constructed [INFO] [stdout] --> src/fs/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct Unavailable; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unavailable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AsyncFs` is never constructed [INFO] [stdout] --> src/fs/async_fs.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct AsyncFs { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_at_exact`, `create_unique`, and `delete` are never used [INFO] [stdout] --> src/fs/async_fs.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AsyncFs { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 13 | pub fn new(fs: Arc, threads: usize) -> AsyncFs { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | async fn read_at_exact( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | async fn create_unique( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | async fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalFs` is never constructed [INFO] [stdout] --> src/fs/local_fs.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LocalFs {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemFs` is never constructed [INFO] [stdout] --> src/fs/mem_fs.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MemFs { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemFs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_exact_at` is never used [INFO] [stdout] --> src/fs/unix.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) fn read_exact_at(file: &fs::File, buf: &mut [u8], offset: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_all_at` is never used [INFO] [stdout] --> src/fs/unix.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub(super) fn write_all_at(file: &fs::File, buf: &[u8], offset: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `oneshot` is never used [INFO] [stdout] --> src/sync/oneshot.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn oneshot() -> (SendOne, ReceiveOne) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cv` is never read [INFO] [stdout] --> src/sync/oneshot.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Shared { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 34 | state: Mutex>, [INFO] [stdout] 35 | cv: Condvar, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SendOne` is never constructed [INFO] [stdout] --> src/sync/oneshot.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct SendOne { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send` and `send_inner` are never used [INFO] [stdout] --> src/sync/oneshot.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl SendOne { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 60 | pub fn send(mut self, t: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn send_inner(&mut self, t_res: Result) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `recv` is never used [INFO] [stdout] --> src/sync/oneshot.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl ReceiveOne { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 93 | pub fn recv(self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Register` is never constructed [INFO] [stdout] --> src/task/executor.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum Work { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Register(PinBoxFuture), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spawn` and `execute` are never used [INFO] [stdout] --> src/task/executor.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl Executor { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn spawn(&self, f: F) -> ReceiveOne [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn execute(&self, f: F) -> ReceiveOne [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_batch` is never used [INFO] [stdout] --> src/util/batch.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn write_batch(batch: B, w: W) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_batch` is never used [INFO] [stdout] --> src/util/batch.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn read_batch(r: R) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buf` is never read [INFO] [stdout] --> src/util/block.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 10 | buf: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value_start_offset` is never used [INFO] [stdout] --> src/util/block.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Header { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 23 | fn value_start_offset(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `header`, `map`, `value_array`, and `get` are never used [INFO] [stdout] --> src/util/block.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 66 | / impl Block [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | V: Immutable + IntoBytes + KnownLayout + FromBytes + Unaligned, [INFO] [stdout] | |___________________________________________________________________- methods in this implementation [INFO] [stdout] 69 | { [INFO] [stdout] 70 | fn header(&self) -> &Header { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn map(&self) -> Map<&[u8]> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn value_array(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get(&self, key: K) -> Option<&V> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `header_for_buf` is never used [INFO] [stdout] --> src/util/frame.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn header_for_buf(buf: &[u8]) -> FrameHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_frame` is never used [INFO] [stdout] --> src/util/frame.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn write_frame(buf: &[u8], mut w: W) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_frame` is never used [INFO] [stdout] --> src/util/frame.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn read_frame(mut r: R) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VirtualStorageAddress` is never constructed [INFO] [stdout] --> src/util/num.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct VirtualStorageAddress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `collection_id` is never read [INFO] [stdout] --> src/util/num.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CollectionId { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | pub collection_id: std::num::NonZeroU64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.09s [INFO] running `Command { std: "docker" "inspect" "9cb7ed3e0a159dfc205a9f3dbc872cd2f8dc99d28ee29a14c36155a7c43817e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cb7ed3e0a159dfc205a9f3dbc872cd2f8dc99d28ee29a14c36155a7c43817e4", kill_on_drop: false }` [INFO] [stdout] 9cb7ed3e0a159dfc205a9f3dbc872cd2f8dc99d28ee29a14c36155a7c43817e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7ed7f5770fda34e04f49e9f72e74ed32e2824dc1a9533dc42d7a809fdc4191c0 [INFO] running `Command { std: "docker" "start" "-a" "7ed7f5770fda34e04f49e9f72e74ed32e2824dc1a9533dc42d7a809fdc4191c0", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `InterestFilter` [INFO] [stdout] --> src/db/db.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use super::{InterestFilter, Transactor, Tx}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/db/open.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/db/open.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/db/open.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InterestFilter`, `Transactor`, and `Tx` [INFO] [stdout] --> src/db/open.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use super::{InterestFilter, Transactor, Tx}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes` and `WriteBatch` [INFO] [stdout] --> src/db/open.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::util::{Bytes, WriteBatch}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/fs/local_fs.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `read_exact_at` and `write_all_at` [INFO] [stdout] --> src/fs/local_fs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | read_exact_at, write_all_at, Error, FileAlreadyExists, FileDoesNotExist, Fs, Unavailable, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `terrors::OneOf` [INFO] [stdout] --> src/fs/local_fs.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use terrors::OneOf; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `local_fs::LocalFs` [INFO] [stdout] --> src/fs/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use local_fs::LocalFs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem_fs::MemFs` [INFO] [stdout] --> src/fs/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mem_fs::MemFs; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SendOne` [INFO] [stdout] --> src/sync/mod.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | pub use oneshot::{oneshot, ReceiveOne, SendOne}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `read_batch` and `write_batch` [INFO] [stdout] --> src/util/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use batch::{read_batch, write_batch}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VirtualStorageAddress` [INFO] [stdout] --> src/util/mod.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub use num::{CollectionId, VirtualStorageAddress}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::AsyncFs` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use fs::AsyncFs; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/db/db.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let config = Config { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/db/open.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let config = Config { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/local_fs.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | path: &Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `at` [INFO] [stdout] --> src/fs/local_fs.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | at: usize, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/fs/local_fs.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | buf: &mut [u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/local_fs.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | path: &Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/fs/local_fs.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | buf: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/local_fs.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/mem_fs.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileDoesNotExist` is more private than the item `Fs::read_at_exact` [INFO] [stdout] --> src/fs/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / fn read_at_exact( [INFO] [stdout] 15 | | &self, [INFO] [stdout] 16 | | path: &Path, [INFO] [stdout] 17 | | at: usize, [INFO] [stdout] 18 | | buf: &mut [u8], [INFO] [stdout] 19 | | ) -> Result<(), Error<(FileDoesNotExist, UnexpectedEof, Unavailable)>>; [INFO] [stdout] | |___________________________________________________________________________^ method `Fs::read_at_exact` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `FileDoesNotExist` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | struct FileDoesNotExist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `fs::UnexpectedEof` is more private than the item `Fs::read_at_exact` [INFO] [stdout] --> src/fs/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / fn read_at_exact( [INFO] [stdout] 15 | | &self, [INFO] [stdout] 16 | | path: &Path, [INFO] [stdout] 17 | | at: usize, [INFO] [stdout] 18 | | buf: &mut [u8], [INFO] [stdout] 19 | | ) -> Result<(), Error<(FileDoesNotExist, UnexpectedEof, Unavailable)>>; [INFO] [stdout] | |___________________________________________________________________________^ method `Fs::read_at_exact` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `fs::UnexpectedEof` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | struct UnexpectedEof; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Unavailable` is more private than the item `Fs::read_at_exact` [INFO] [stdout] --> src/fs/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / fn read_at_exact( [INFO] [stdout] 15 | | &self, [INFO] [stdout] 16 | | path: &Path, [INFO] [stdout] 17 | | at: usize, [INFO] [stdout] 18 | | buf: &mut [u8], [INFO] [stdout] 19 | | ) -> Result<(), Error<(FileDoesNotExist, UnexpectedEof, Unavailable)>>; [INFO] [stdout] | |___________________________________________________________________________^ method `Fs::read_at_exact` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Unavailable` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | struct Unavailable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileAlreadyExists` is more private than the item `Fs::create_unique` [INFO] [stdout] --> src/fs/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / fn create_unique( [INFO] [stdout] 22 | | &self, [INFO] [stdout] 23 | | path: &Path, [INFO] [stdout] 24 | | buf: &[u8], [INFO] [stdout] 25 | | ) -> Result<(), Error<(FileAlreadyExists, Unavailable)>>; [INFO] [stdout] | |_____________________________________________________________^ method `Fs::create_unique` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `FileAlreadyExists` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | struct FileAlreadyExists; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Unavailable` is more private than the item `Fs::create_unique` [INFO] [stdout] --> src/fs/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / fn create_unique( [INFO] [stdout] 22 | | &self, [INFO] [stdout] 23 | | path: &Path, [INFO] [stdout] 24 | | buf: &[u8], [INFO] [stdout] 25 | | ) -> Result<(), Error<(FileAlreadyExists, Unavailable)>>; [INFO] [stdout] | |_____________________________________________________________^ method `Fs::create_unique` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Unavailable` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | struct Unavailable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileDoesNotExist` is more private than the item `Fs::delete` [INFO] [stdout] --> src/fs/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Fs::delete` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `FileDoesNotExist` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | struct FileDoesNotExist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Unavailable` is more private than the item `Fs::delete` [INFO] [stdout] --> src/fs/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Fs::delete` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Unavailable` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | struct Unavailable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open` is never used [INFO] [stdout] --> src/db/db.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn open>(path: P) -> std::io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Key` and `Range` are never constructed [INFO] [stdout] --> src/db/transactor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum InterestFilter { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 6 | Key(Bytes), [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `collection_id` is never read [INFO] [stdout] --> src/db/transactor.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Transactor { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 25 | collection_id: CollectionId, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Fs` is never used [INFO] [stdout] --> src/fs/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Fs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/fs/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Error [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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: struct `FileAlreadyExists` is never constructed [INFO] [stdout] --> src/fs/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct FileAlreadyExists; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileAlreadyExists` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileDoesNotExist` is never constructed [INFO] [stdout] --> src/fs/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct FileDoesNotExist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileDoesNotExist` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnexpectedEof` is never constructed [INFO] [stdout] --> src/fs/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct UnexpectedEof; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnexpectedEof` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unavailable` is never constructed [INFO] [stdout] --> src/fs/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct Unavailable; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unavailable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AsyncFs` is never constructed [INFO] [stdout] --> src/fs/async_fs.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct AsyncFs { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_at_exact`, `create_unique`, and `delete` are never used [INFO] [stdout] --> src/fs/async_fs.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AsyncFs { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 13 | pub fn new(fs: Arc, threads: usize) -> AsyncFs { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | async fn read_at_exact( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | async fn create_unique( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | async fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalFs` is never constructed [INFO] [stdout] --> src/fs/local_fs.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LocalFs {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemFs` is never constructed [INFO] [stdout] --> src/fs/mem_fs.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MemFs { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemFs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_exact_at` is never used [INFO] [stdout] --> src/fs/unix.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) fn read_exact_at(file: &fs::File, buf: &mut [u8], offset: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_all_at` is never used [INFO] [stdout] --> src/fs/unix.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub(super) fn write_all_at(file: &fs::File, buf: &[u8], offset: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `oneshot` is never used [INFO] [stdout] --> src/sync/oneshot.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn oneshot() -> (SendOne, ReceiveOne) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cv` is never read [INFO] [stdout] --> src/sync/oneshot.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Shared { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 34 | state: Mutex>, [INFO] [stdout] 35 | cv: Condvar, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SendOne` is never constructed [INFO] [stdout] --> src/sync/oneshot.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct SendOne { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send` and `send_inner` are never used [INFO] [stdout] --> src/sync/oneshot.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl SendOne { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 60 | pub fn send(mut self, t: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn send_inner(&mut self, t_res: Result) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `recv` is never used [INFO] [stdout] --> src/sync/oneshot.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl ReceiveOne { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 93 | pub fn recv(self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Register` is never constructed [INFO] [stdout] --> src/task/executor.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum Work { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Register(PinBoxFuture), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spawn` and `execute` are never used [INFO] [stdout] --> src/task/executor.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl Executor { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn spawn(&self, f: F) -> ReceiveOne [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn execute(&self, f: F) -> ReceiveOne [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_batch` is never used [INFO] [stdout] --> src/util/batch.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn write_batch(batch: B, w: W) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_batch` is never used [INFO] [stdout] --> src/util/batch.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn read_batch(r: R) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `buf` is never read [INFO] [stdout] --> src/util/block.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 10 | buf: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value_start_offset` is never used [INFO] [stdout] --> src/util/block.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Header { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 23 | fn value_start_offset(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `header`, `map`, `value_array`, and `get` are never used [INFO] [stdout] --> src/util/block.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 66 | / impl Block [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | V: Immutable + IntoBytes + KnownLayout + FromBytes + Unaligned, [INFO] [stdout] | |___________________________________________________________________- methods in this implementation [INFO] [stdout] 69 | { [INFO] [stdout] 70 | fn header(&self) -> &Header { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn map(&self) -> Map<&[u8]> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn value_array(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get(&self, key: K) -> Option<&V> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling db v0.0.0-alpha.101 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `header_for_buf` is never used [INFO] [stdout] --> src/util/frame.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn header_for_buf(buf: &[u8]) -> FrameHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_frame` is never used [INFO] [stdout] --> src/util/frame.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn write_frame(buf: &[u8], mut w: W) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_frame` is never used [INFO] [stdout] --> src/util/frame.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn read_frame(mut r: R) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VirtualStorageAddress` is never constructed [INFO] [stdout] --> src/util/num.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct VirtualStorageAddress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `collection_id` is never read [INFO] [stdout] --> src/util/num.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CollectionId { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | pub collection_id: std::num::NonZeroU64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterestFilter` [INFO] [stdout] --> src/db/db.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use super::{InterestFilter, Transactor, Tx}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/db/open.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/db/open.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/db/open.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InterestFilter`, `Transactor`, and `Tx` [INFO] [stdout] --> src/db/open.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use super::{InterestFilter, Transactor, Tx}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes` and `WriteBatch` [INFO] [stdout] --> src/db/open.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub use crate::util::{Bytes, WriteBatch}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/fs/local_fs.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `read_exact_at` and `write_all_at` [INFO] [stdout] --> src/fs/local_fs.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | read_exact_at, write_all_at, Error, FileAlreadyExists, FileDoesNotExist, Fs, Unavailable, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `terrors::OneOf` [INFO] [stdout] --> src/fs/local_fs.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use terrors::OneOf; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `local_fs::LocalFs` [INFO] [stdout] --> src/fs/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use local_fs::LocalFs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem_fs::MemFs` [INFO] [stdout] --> src/fs/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mem_fs::MemFs; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SendOne` [INFO] [stdout] --> src/sync/mod.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | pub use oneshot::{oneshot, ReceiveOne, SendOne}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `read_batch` and `write_batch` [INFO] [stdout] --> src/util/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use batch::{read_batch, write_batch}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VirtualStorageAddress` [INFO] [stdout] --> src/util/mod.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub use num::{CollectionId, VirtualStorageAddress}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::AsyncFs` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use fs::AsyncFs; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/db/db.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let config = Config { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/db/open.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let config = Config { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/local_fs.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | path: &Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `at` [INFO] [stdout] --> src/fs/local_fs.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | at: usize, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/fs/local_fs.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | buf: &mut [u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/local_fs.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | path: &Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/fs/local_fs.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | buf: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/local_fs.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/mem_fs.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileDoesNotExist` is more private than the item `Fs::read_at_exact` [INFO] [stdout] --> src/fs/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / fn read_at_exact( [INFO] [stdout] 15 | | &self, [INFO] [stdout] 16 | | path: &Path, [INFO] [stdout] 17 | | at: usize, [INFO] [stdout] 18 | | buf: &mut [u8], [INFO] [stdout] 19 | | ) -> Result<(), Error<(FileDoesNotExist, UnexpectedEof, Unavailable)>>; [INFO] [stdout] | |___________________________________________________________________________^ method `Fs::read_at_exact` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `FileDoesNotExist` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | struct FileDoesNotExist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `fs::UnexpectedEof` is more private than the item `Fs::read_at_exact` [INFO] [stdout] --> src/fs/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / fn read_at_exact( [INFO] [stdout] 15 | | &self, [INFO] [stdout] 16 | | path: &Path, [INFO] [stdout] 17 | | at: usize, [INFO] [stdout] 18 | | buf: &mut [u8], [INFO] [stdout] 19 | | ) -> Result<(), Error<(FileDoesNotExist, UnexpectedEof, Unavailable)>>; [INFO] [stdout] | |___________________________________________________________________________^ method `Fs::read_at_exact` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `fs::UnexpectedEof` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | struct UnexpectedEof; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Unavailable` is more private than the item `Fs::read_at_exact` [INFO] [stdout] --> src/fs/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / fn read_at_exact( [INFO] [stdout] 15 | | &self, [INFO] [stdout] 16 | | path: &Path, [INFO] [stdout] 17 | | at: usize, [INFO] [stdout] 18 | | buf: &mut [u8], [INFO] [stdout] 19 | | ) -> Result<(), Error<(FileDoesNotExist, UnexpectedEof, Unavailable)>>; [INFO] [stdout] | |___________________________________________________________________________^ method `Fs::read_at_exact` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Unavailable` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | struct Unavailable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileAlreadyExists` is more private than the item `Fs::create_unique` [INFO] [stdout] --> src/fs/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / fn create_unique( [INFO] [stdout] 22 | | &self, [INFO] [stdout] 23 | | path: &Path, [INFO] [stdout] 24 | | buf: &[u8], [INFO] [stdout] 25 | | ) -> Result<(), Error<(FileAlreadyExists, Unavailable)>>; [INFO] [stdout] | |_____________________________________________________________^ method `Fs::create_unique` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `FileAlreadyExists` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | struct FileAlreadyExists; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Unavailable` is more private than the item `Fs::create_unique` [INFO] [stdout] --> src/fs/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / fn create_unique( [INFO] [stdout] 22 | | &self, [INFO] [stdout] 23 | | path: &Path, [INFO] [stdout] 24 | | buf: &[u8], [INFO] [stdout] 25 | | ) -> Result<(), Error<(FileAlreadyExists, Unavailable)>>; [INFO] [stdout] | |_____________________________________________________________^ method `Fs::create_unique` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Unavailable` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | struct Unavailable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FileDoesNotExist` is more private than the item `Fs::delete` [INFO] [stdout] --> src/fs/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Fs::delete` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `FileDoesNotExist` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | struct FileDoesNotExist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Unavailable` is more private than the item `Fs::delete` [INFO] [stdout] --> src/fs/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Fs::delete` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Unavailable` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/fs/mod.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | struct Unavailable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open` is never used [INFO] [stdout] --> src/db/db.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn open>(path: P) -> std::io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Key` and `Range` are never constructed [INFO] [stdout] --> src/db/transactor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum InterestFilter { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 6 | Key(Bytes), [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `collection_id` is never read [INFO] [stdout] --> src/db/transactor.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Transactor { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 25 | collection_id: CollectionId, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Fs` is never used [INFO] [stdout] --> src/fs/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Fs { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/fs/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Error [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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: struct `FileAlreadyExists` is never constructed [INFO] [stdout] --> src/fs/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct FileAlreadyExists; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileAlreadyExists` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileDoesNotExist` is never constructed [INFO] [stdout] --> src/fs/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct FileDoesNotExist; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileDoesNotExist` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnexpectedEof` is never constructed [INFO] [stdout] --> src/fs/mod.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct UnexpectedEof; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnexpectedEof` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unavailable` is never constructed [INFO] [stdout] --> src/fs/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct Unavailable; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unavailable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AsyncFs` is never constructed [INFO] [stdout] --> src/fs/async_fs.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct AsyncFs { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read_at_exact`, `create_unique`, and `delete` are never used [INFO] [stdout] --> src/fs/async_fs.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl AsyncFs { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 13 | pub fn new(fs: Arc, threads: usize) -> AsyncFs { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | async fn read_at_exact( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | async fn create_unique( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | async fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalFs` is never constructed [INFO] [stdout] --> src/fs/local_fs.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LocalFs {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemFs` is never constructed [INFO] [stdout] --> src/fs/mem_fs.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MemFs { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemFs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_exact_at` is never used [INFO] [stdout] --> src/fs/unix.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(super) fn read_exact_at(file: &fs::File, buf: &mut [u8], offset: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_all_at` is never used [INFO] [stdout] --> src/fs/unix.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | pub(super) fn write_all_at(file: &fs::File, buf: &[u8], offset: u64) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `spawn` is never used [INFO] [stdout] --> src/task/executor.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl Executor { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn spawn(&self, f: F) -> ReceiveOne [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VirtualStorageAddress` is never constructed [INFO] [stdout] --> src/util/num.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct VirtualStorageAddress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `collection_id` is never read [INFO] [stdout] --> src/util/num.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CollectionId { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | pub collection_id: std::num::NonZeroU64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "7ed7f5770fda34e04f49e9f72e74ed32e2824dc1a9533dc42d7a809fdc4191c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ed7f5770fda34e04f49e9f72e74ed32e2824dc1a9533dc42d7a809fdc4191c0", kill_on_drop: false }` [INFO] [stdout] 7ed7f5770fda34e04f49e9f72e74ed32e2824dc1a9533dc42d7a809fdc4191c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d2f8409f5a94560a99675874f826570a1e281b33a35484babb081cd7bdce35e8 [INFO] running `Command { std: "docker" "start" "-a" "d2f8409f5a94560a99675874f826570a1e281b33a35484babb081cd7bdce35e8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `InterestFilter` [INFO] [stderr] --> src/db/db.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | pub use super::{InterestFilter, Transactor, Tx}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::BTreeMap` [INFO] [stderr] --> src/db/open.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::BTreeMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/db/open.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc` and `Mutex` [INFO] [stderr] --> src/db/open.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use std::sync::{Arc, Mutex}; [INFO] [stderr] | ^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `InterestFilter`, `Transactor`, and `Tx` [INFO] [stderr] --> src/db/open.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | pub use super::{InterestFilter, Transactor, Tx}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Bytes` and `WriteBatch` [INFO] [stderr] --> src/db/open.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | pub use crate::util::{Bytes, WriteBatch}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PathBuf` [INFO] [stderr] --> src/fs/local_fs.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `read_exact_at` and `write_all_at` [INFO] [stderr] --> src/fs/local_fs.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | read_exact_at, write_all_at, Error, FileAlreadyExists, FileDoesNotExist, Fs, Unavailable, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `terrors::OneOf` [INFO] [stderr] --> src/fs/local_fs.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use terrors::OneOf; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `local_fs::LocalFs` [INFO] [stderr] --> src/fs/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use local_fs::LocalFs; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `mem_fs::MemFs` [INFO] [stderr] --> src/fs/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use mem_fs::MemFs; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `SendOne` [INFO] [stderr] --> src/sync/mod.rs:5:40 [INFO] [stderr] | [INFO] [stderr] 5 | pub use oneshot::{oneshot, ReceiveOne, SendOne}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `read_batch` and `write_batch` [INFO] [stderr] --> src/util/mod.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | pub use batch::{read_batch, write_batch}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `VirtualStorageAddress` [INFO] [stderr] --> src/util/mod.rs:11:29 [INFO] [stderr] | [INFO] [stderr] 11 | pub use num::{CollectionId, VirtualStorageAddress}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `fs::AsyncFs` [INFO] [stderr] --> src/lib.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use fs::AsyncFs; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/db/db.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | let config = Config { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/db/open.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let config = Config { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/fs/local_fs.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | path: &Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `at` [INFO] [stderr] --> src/fs/local_fs.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | at: usize, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_at` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buf` [INFO] [stderr] --> src/fs/local_fs.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | buf: &mut [u8], [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/fs/local_fs.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | path: &Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buf` [INFO] [stderr] --> src/fs/local_fs.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | buf: &[u8], [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/fs/local_fs.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/fs/mem_fs.rs:63:22 [INFO] [stderr] | [INFO] [stderr] 63 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: type `FileDoesNotExist` is more private than the item `Fs::read_at_exact` [INFO] [stderr] --> src/fs/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | / fn read_at_exact( [INFO] [stderr] 15 | | &self, [INFO] [stderr] 16 | | path: &Path, [INFO] [stderr] 17 | | at: usize, [INFO] [stderr] 18 | | buf: &mut [u8], [INFO] [stderr] 19 | | ) -> Result<(), Error<(FileDoesNotExist, UnexpectedEof, Unavailable)>>; [INFO] [stderr] | |___________________________________________________________________________^ method `Fs::read_at_exact` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `FileDoesNotExist` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/fs/mod.rs:44:1 [INFO] [stderr] | [INFO] [stderr] 44 | struct FileDoesNotExist; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `fs::UnexpectedEof` is more private than the item `Fs::read_at_exact` [INFO] [stderr] --> src/fs/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | / fn read_at_exact( [INFO] [stderr] 15 | | &self, [INFO] [stderr] 16 | | path: &Path, [INFO] [stderr] 17 | | at: usize, [INFO] [stderr] 18 | | buf: &mut [u8], [INFO] [stderr] 19 | | ) -> Result<(), Error<(FileDoesNotExist, UnexpectedEof, Unavailable)>>; [INFO] [stderr] | |___________________________________________________________________________^ method `Fs::read_at_exact` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `fs::UnexpectedEof` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/fs/mod.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | struct UnexpectedEof; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `Unavailable` is more private than the item `Fs::read_at_exact` [INFO] [stderr] --> src/fs/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | / fn read_at_exact( [INFO] [stderr] 15 | | &self, [INFO] [stderr] 16 | | path: &Path, [INFO] [stderr] 17 | | at: usize, [INFO] [stderr] 18 | | buf: &mut [u8], [INFO] [stderr] 19 | | ) -> Result<(), Error<(FileDoesNotExist, UnexpectedEof, Unavailable)>>; [INFO] [stderr] | |___________________________________________________________________________^ method `Fs::read_at_exact` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `Unavailable` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/fs/mod.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | struct Unavailable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `FileAlreadyExists` is more private than the item `Fs::create_unique` [INFO] [stderr] --> src/fs/mod.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | / fn create_unique( [INFO] [stderr] 22 | | &self, [INFO] [stderr] 23 | | path: &Path, [INFO] [stderr] 24 | | buf: &[u8], [INFO] [stderr] 25 | | ) -> Result<(), Error<(FileAlreadyExists, Unavailable)>>; [INFO] [stderr] | |_____________________________________________________________^ method `Fs::create_unique` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `FileAlreadyExists` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/fs/mod.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | struct FileAlreadyExists; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `Unavailable` is more private than the item `Fs::create_unique` [INFO] [stderr] --> src/fs/mod.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | / fn create_unique( [INFO] [stderr] 22 | | &self, [INFO] [stderr] 23 | | path: &Path, [INFO] [stderr] 24 | | buf: &[u8], [INFO] [stderr] 25 | | ) -> Result<(), Error<(FileAlreadyExists, Unavailable)>>; [INFO] [stderr] | |_____________________________________________________________^ method `Fs::create_unique` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `Unavailable` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/fs/mod.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | struct Unavailable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `FileDoesNotExist` is more private than the item `Fs::delete` [INFO] [stderr] --> src/fs/mod.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Fs::delete` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `FileDoesNotExist` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/fs/mod.rs:44:1 [INFO] [stderr] | [INFO] [stderr] 44 | struct FileDoesNotExist; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `Unavailable` is more private than the item `Fs::delete` [INFO] [stderr] --> src/fs/mod.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Fs::delete` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `Unavailable` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/fs/mod.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | struct Unavailable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `open` is never used [INFO] [stderr] --> src/db/db.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn open>(path: P) -> std::io::Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Key` and `Range` are never constructed [INFO] [stderr] --> src/db/transactor.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum InterestFilter { [INFO] [stderr] | -------------- variants in this enum [INFO] [stderr] 6 | Key(Bytes), [INFO] [stderr] | ^^^ [INFO] [stderr] 7 | Range { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `collection_id` is never read [INFO] [stderr] --> src/db/transactor.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct Transactor { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 25 | collection_id: CollectionId, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Fs` is never used [INFO] [stderr] --> src/fs/mod.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub trait Fs { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Error` is never constructed [INFO] [stderr] --> src/fs/mod.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct Error [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `FileAlreadyExists` is never constructed [INFO] [stderr] --> src/fs/mod.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | struct FileAlreadyExists; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FileAlreadyExists` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `FileDoesNotExist` is never constructed [INFO] [stderr] --> src/fs/mod.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | struct FileDoesNotExist; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FileDoesNotExist` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `UnexpectedEof` is never constructed [INFO] [stderr] --> src/fs/mod.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | struct UnexpectedEof; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UnexpectedEof` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Unavailable` is never constructed [INFO] [stderr] --> src/fs/mod.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | struct Unavailable; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Unavailable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `AsyncFs` is never constructed [INFO] [stderr] --> src/fs/async_fs.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) struct AsyncFs { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `read_at_exact`, `create_unique`, and `delete` are never used [INFO] [stderr] --> src/fs/async_fs.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl AsyncFs { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 13 | pub fn new(fs: Arc, threads: usize) -> AsyncFs { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | async fn read_at_exact( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | async fn create_unique( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | async fn delete(&self, path: &Path) -> Result<(), Error<(FileDoesNotExist, Unavailable)>> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `LocalFs` is never constructed [INFO] [stderr] --> src/fs/local_fs.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct LocalFs {} [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MemFs` is never constructed [INFO] [stderr] --> src/fs/mem_fs.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct MemFs { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MemFs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `read_exact_at` is never used [INFO] [stderr] --> src/fs/unix.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | pub(super) fn read_exact_at(file: &fs::File, buf: &mut [u8], offset: u64) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_all_at` is never used [INFO] [stderr] --> src/fs/unix.rs:24:15 [INFO] [stderr] | [INFO] [stderr] 24 | pub(super) fn write_all_at(file: &fs::File, buf: &[u8], offset: u64) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `oneshot` is never used [INFO] [stderr] --> src/sync/oneshot.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn oneshot() -> (SendOne, ReceiveOne) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `cv` is never read [INFO] [stderr] --> src/sync/oneshot.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct Shared { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 34 | state: Mutex>, [INFO] [stderr] 35 | cv: Condvar, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SendOne` is never constructed [INFO] [stderr] --> src/sync/oneshot.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct SendOne { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `send` and `send_inner` are never used [INFO] [stderr] --> src/sync/oneshot.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 59 | impl SendOne { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] 60 | pub fn send(mut self, t: T) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | fn send_inner(&mut self, t_res: Result) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `recv` is never used [INFO] [stderr] --> src/sync/oneshot.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 92 | impl ReceiveOne { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 93 | pub fn recv(self) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Register` is never constructed [INFO] [stderr] --> src/task/executor.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 20 | enum Work { [INFO] [stderr] | ---- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 23 | Register(PinBoxFuture), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `spawn` and `execute` are never used [INFO] [stderr] --> src/task/executor.rs:162:12 [INFO] [stderr] | [INFO] [stderr] 134 | impl Executor { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 162 | pub fn spawn(&self, f: F) -> ReceiveOne [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 176 | pub fn execute(&self, f: F) -> ReceiveOne [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_batch` is never used [INFO] [stderr] --> src/util/batch.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn write_batch(batch: B, w: W) -> io::Result<()> [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_batch` is never used [INFO] [stderr] --> src/util/batch.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn read_batch(r: R) -> io::Result>> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `buf` is never read [INFO] [stderr] --> src/util/block.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Block { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 10 | buf: Vec, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Block` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `value_start_offset` is never used [INFO] [stderr] --> src/util/block.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 22 | impl Header { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] 23 | fn value_start_offset(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `header`, `map`, `value_array`, and `get` are never used [INFO] [stderr] --> src/util/block.rs:70:8 [INFO] [stderr] | [INFO] [stderr] 66 | / impl Block [INFO] [stderr] 67 | | where [INFO] [stderr] 68 | | V: Immutable + IntoBytes + KnownLayout + FromBytes + Unaligned, [INFO] [stderr] | |___________________________________________________________________- methods in this implementation [INFO] [stderr] 69 | { [INFO] [stderr] 70 | fn header(&self) -> &Header { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | fn map(&self) -> Map<&[u8]> { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | fn value_array(&self) -> &[u8] { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | pub fn get(&self, key: K) -> Option<&V> [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `header_for_buf` is never used [INFO] [stderr] --> src/util/frame.rs:35:4 [INFO] [stderr] | [INFO] [stderr] 35 | fn header_for_buf(buf: &[u8]) -> FrameHeader { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_frame` is never used [INFO] [stderr] --> src/util/frame.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn write_frame(buf: &[u8], mut w: W) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_frame` is never used [INFO] [stderr] --> src/util/frame.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn read_frame(mut r: R) -> io::Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `VirtualStorageAddress` is never constructed [INFO] [stderr] --> src/util/num.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct VirtualStorageAddress { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `collection_id` is never read [INFO] [stderr] --> src/util/num.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct CollectionId { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 6 | pub collection_id: std::num::NonZeroU64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `spawn` is never used [INFO] [stderr] --> src/task/executor.rs:162:12 [INFO] [stderr] | [INFO] [stderr] 134 | impl Executor { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 162 | pub fn spawn(&self, f: F) -> ReceiveOne [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `db` (lib) generated 63 warnings (run `cargo fix --lib -p db` to apply 15 suggestions) [INFO] [stderr] warning: `db` (lib test) generated 49 warnings (48 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/db-a35407e59b3e28cf) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test task::executor_tests::executor_test_00 ... ok [INFO] [stdout] test util::frame::smoke_frame ... ok [INFO] [stdout] test task::executor_tests::executor_test_01 ... ok [INFO] [stdout] test util::batch::smoke_batch ... ok [INFO] [stdout] test util::block::smoke_fst_map ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 28.85s [INFO] [stdout] [INFO] [stderr] Running tests/smoke.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/smoke-a3203cf095bfd668) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test smoke_00 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/transactor.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/transactor-65138f4702acc482) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test transactor_00 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d2f8409f5a94560a99675874f826570a1e281b33a35484babb081cd7bdce35e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2f8409f5a94560a99675874f826570a1e281b33a35484babb081cd7bdce35e8", kill_on_drop: false }` [INFO] [stdout] d2f8409f5a94560a99675874f826570a1e281b33a35484babb081cd7bdce35e8