[INFO] fetching crate raindb 1.0.0... [INFO] checking raindb-1.0.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate raindb 1.0.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate raindb 1.0.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate raindb 1.0.0 [INFO] finished tweaking crates.io crate raindb 1.0.0 [INFO] tweaked toml for crates.io crate raindb 1.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding env_logger v0.10.2 (latest: v0.11.3) [INFO] [stderr] Adding integer-encoding v3.0.4 (latest: v4.0.0) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_assertions v1.4.0 [INFO] [stderr] Downloaded nerdondon-hopscotch v2.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1430c1f060adc2d0db3ec7e3559e5293561e653349039f0de9b7db696c59d618 [INFO] running `Command { std: "docker" "start" "-a" "1430c1f060adc2d0db3ec7e3559e5293561e653349039f0de9b7db696c59d618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1430c1f060adc2d0db3ec7e3559e5293561e653349039f0de9b7db696c59d618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1430c1f060adc2d0db3ec7e3559e5293561e653349039f0de9b7db696c59d618", kill_on_drop: false }` [INFO] [stdout] 1430c1f060adc2d0db3ec7e3559e5293561e653349039f0de9b7db696c59d618 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea04cb24eb55afa72767865fe377b676dea355891ba09664d463e98357dbc920 [INFO] running `Command { std: "docker" "start" "-a" "ea04cb24eb55afa72767865fe377b676dea355891ba09664d463e98357dbc920", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking integer-encoding v3.0.4 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking crc v3.0.1 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking nerdondon-hopscotch v2.7.0 [INFO] [stderr] Checking raindb v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/config.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/logs.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/logs.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tables/block.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tables/block_handle.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tables/footer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tables/table.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/tables/table.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/key.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/key.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.4 [INFO] [stdout] warning: method `max_next_level_overlapping_bytes` is never used [INFO] [stdout] --> src/db.rs:1659:8 [INFO] [stdout] | [INFO] [stdout] 756 | impl DB { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1659 | fn max_next_level_overlapping_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key_range` is never used [INFO] [stdout] --> src/compaction/manual_compaction.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 24 | impl ManualCompactionConfiguration { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] 25 | /// Get a reference to the key range to manually compact. [INFO] [stdout] 26 | pub(crate) fn get_key_range(&self) -> Range> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TABLE_FILE_COMPRESSION_TYPE` is never used [INFO] [stdout] --> src/config.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | pub(crate) const TABLE_FILE_COMPRESSION_TYPE: TableFileCompressionType = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/logs.rs:332:8 [INFO] [stdout] | [INFO] [stdout] 308 | impl LogWriter { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 332 | fn len(&self) -> LogIOResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `log_drop` and `log_corruption` are never used [INFO] [stdout] --> src/logs.rs:564:8 [INFO] [stdout] | [INFO] [stdout] 465 | impl LogReader { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 564 | fn log_drop(num_bytes_dropped: u64, reason: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 573 | fn log_corruption(num_bytes_corrupted: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/tables/block.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 95 | / impl BlockReader [INFO] [stdout] 96 | | where [INFO] [stdout] 97 | | K: RainDbKeyType, [INFO] [stdout] | |_____________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub(crate) fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCK_HANDLE_MAX_ENCODED_LENGTH_BYTES` is never used [INFO] [stdout] --> src/tables/block_handle.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) const BLOCK_HANDLE_MAX_ENCODED_LENGTH_BYTES: u64 = 10 + 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offsets` is never read [INFO] [stdout] --> src/tables/filter_block.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct FilterBlockReader { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | offsets: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/utils/cache.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 106 | / impl LRUCache [INFO] [stdout] 107 | | where [INFO] [stdout] 108 | | K: Hash + Eq + Debug, [INFO] [stdout] 109 | | V: Debug, [INFO] [stdout] | |_____________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `max_next_level_overlapping_bytes` is never used [INFO] [stdout] --> src/versioning/version_set.rs:770:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl VersionSet { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 770 | pub fn max_next_level_overlapping_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/db.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / pub struct DB { [INFO] [stdout] 175 | | /// Options for configuring the operation of the database. [INFO] [stdout] 176 | | options: DbOptions, [INFO] [stdout] ... | [INFO] [stdout] 229 | | background_work_finished_signal: Arc, [INFO] [stdout] 230 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | #![warn(missing_debug_implementations, missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/db.rs:785:17 [INFO] [stdout] | [INFO] [stdout] 785 | Box::from_raw(old_wal_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 785 | let _ = Box::from_raw(old_wal_ptr); [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/db.rs:2268:17 [INFO] [stdout] | [INFO] [stdout] 2268 | Box::from_raw(self.wal.load(Ordering::SeqCst)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 2268 | let _ = Box::from_raw(self.wal.load(Ordering::SeqCst)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/fs/traits.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / pub struct FileLock { [INFO] [stdout] 134 | | inner: Box, [INFO] [stdout] 135 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/fs/fs_disk.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct OsFileSystem {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/fs/fs_disk.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | / pub struct TmpFileSystem { [INFO] [stdout] 179 | | root_dir: TempDir, [INFO] [stdout] 180 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/fs/fs_mem.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pub struct InMemoryFileSystem { [INFO] [stdout] 22 | | /** [INFO] [stdout] 23 | | The files on the file system. [INFO] [stdout] ... | [INFO] [stdout] 28 | | files: Arc>>, [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/batch.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | / pub struct Batch { [INFO] [stdout] 176 | | /** [INFO] [stdout] 177 | | The starting sequence number for this batch of operations. [INFO] [stdout] ... | [INFO] [stdout] 184 | | operations: Vec, [INFO] [stdout] 185 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/iterator.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / pub struct DatabaseIterator { [INFO] [stdout] 208 | | /// Database state that can be accessed from the iterator. [INFO] [stdout] 209 | | db_state: PortableDatabaseState, [INFO] [stdout] ... | [INFO] [stdout] 242 | | cached_value: Option>, [INFO] [stdout] 243 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/config.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/logs.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/logs.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tables/block.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tables/block_handle.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tables/footer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/tables/table.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/tables/table.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `InternalKey` is imported redundantly [INFO] [stdout] --> src/tables/block_builder.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | use crate::key::InternalKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | use super::*; [INFO] [stdout] | -------- the item `InternalKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/key.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/key.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `max_next_level_overlapping_bytes` is never used [INFO] [stdout] --> src/db.rs:1659:8 [INFO] [stdout] | [INFO] [stdout] 756 | impl DB { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1659 | fn max_next_level_overlapping_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_levels` is never used [INFO] [stdout] --> src/db/test_utils.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn fill_levels(db: &DB, start_user_key: &[u8], end_user_key: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key_range` is never used [INFO] [stdout] --> src/compaction/manual_compaction.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 24 | impl ManualCompactionConfiguration { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] 25 | /// Get a reference to the key range to manually compact. [INFO] [stdout] 26 | pub(crate) fn get_key_range(&self) -> Range> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TABLE_FILE_COMPRESSION_TYPE` is never used [INFO] [stdout] --> src/config.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | pub(crate) const TABLE_FILE_COMPRESSION_TYPE: TableFileCompressionType = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `log_drop` and `log_corruption` are never used [INFO] [stdout] --> src/logs.rs:564:8 [INFO] [stdout] | [INFO] [stdout] 465 | impl LogReader { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 564 | fn log_drop(num_bytes_dropped: u64, reason: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 573 | fn log_corruption(num_bytes_corrupted: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCK_HANDLE_MAX_ENCODED_LENGTH_BYTES` is never used [INFO] [stdout] --> src/tables/block_handle.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) const BLOCK_HANDLE_MAX_ENCODED_LENGTH_BYTES: u64 = 10 + 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offsets` is never read [INFO] [stdout] --> src/tables/filter_block.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct FilterBlockReader { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | offsets: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `max_next_level_overlapping_bytes` is never used [INFO] [stdout] --> src/versioning/version_set.rs:770:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl VersionSet { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 770 | pub fn max_next_level_overlapping_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/db.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | / pub struct DB { [INFO] [stdout] 175 | | /// Options for configuring the operation of the database. [INFO] [stdout] 176 | | options: DbOptions, [INFO] [stdout] ... | [INFO] [stdout] 229 | | background_work_finished_signal: Arc, [INFO] [stdout] 230 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | #![warn(missing_debug_implementations, missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/db.rs:785:17 [INFO] [stdout] | [INFO] [stdout] 785 | Box::from_raw(old_wal_ptr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 785 | let _ = Box::from_raw(old_wal_ptr); [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/db.rs:2268:17 [INFO] [stdout] | [INFO] [stdout] 2268 | Box::from_raw(self.wal.load(Ordering::SeqCst)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 2268 | let _ = Box::from_raw(self.wal.load(Ordering::SeqCst)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/fs/traits.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / pub struct FileLock { [INFO] [stdout] 134 | | inner: Box, [INFO] [stdout] 135 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/fs/fs_disk.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct OsFileSystem {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/fs/fs_disk.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | / pub struct TmpFileSystem { [INFO] [stdout] 179 | | root_dir: TempDir, [INFO] [stdout] 180 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/fs/fs_mem.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pub struct InMemoryFileSystem { [INFO] [stdout] 22 | | /** [INFO] [stdout] 23 | | The files on the file system. [INFO] [stdout] ... | [INFO] [stdout] 28 | | files: Arc>>, [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/batch.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | / pub struct Batch { [INFO] [stdout] 176 | | /** [INFO] [stdout] 177 | | The starting sequence number for this batch of operations. [INFO] [stdout] ... | [INFO] [stdout] 184 | | operations: Vec, [INFO] [stdout] 185 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/iterator.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / pub struct DatabaseIterator { [INFO] [stdout] 208 | | /// Database state that can be accessed from the iterator. [INFO] [stdout] 209 | | db_state: PortableDatabaseState, [INFO] [stdout] ... | [INFO] [stdout] 242 | | cached_value: Option>, [INFO] [stdout] 243 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.17s [INFO] running `Command { std: "docker" "inspect" "ea04cb24eb55afa72767865fe377b676dea355891ba09664d463e98357dbc920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea04cb24eb55afa72767865fe377b676dea355891ba09664d463e98357dbc920", kill_on_drop: false }` [INFO] [stdout] ea04cb24eb55afa72767865fe377b676dea355891ba09664d463e98357dbc920