[INFO] cloning repository https://github.com/king54346/wickdb
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/king54346/wickdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2Fwickdb"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2Fwickdb'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 08b1c96f958c98ea0b0ff7e26ad72a748c054275
[INFO] testing king54346/wickdb against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fking54346%2Fwickdb" "/workspace/builds/worker-2-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/king54346/wickdb
[INFO] finished tweaking git repo https://github.com/king54346/wickdb
[INFO] tweaked toml for git repo https://github.com/king54346/wickdb written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/king54346/wickdb on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/king54346/wickdb already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: source
[INFO] [stderr] help: source is a valid .cargo/config.toml key
[INFO] [stderr] warning: `wickdb` (manifest) generated 1 warning
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 6fd396581a86aa6b5ef8a2380b9b28cec378bc29af0a2ca71fa369a0b36f6a0f
[INFO] running `"docker" "start" "6fd396581a86aa6b5ef8a2380b9b28cec378bc29af0a2ca71fa369a0b36f6a0f"`
[INFO] running `"docker" "inspect" "6fd396581a86aa6b5ef8a2380b9b28cec378bc29af0a2ca71fa369a0b36f6a0f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6fd396581a86aa6b5ef8a2380b9b28cec378bc29af0a2ca71fa369a0b36f6a0f" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "6fd396581a86aa6b5ef8a2380b9b28cec378bc29af0a2ca71fa369a0b36f6a0f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6fd396581a86aa6b5ef8a2380b9b28cec378bc29af0a2ca71fa369a0b36f6a0f" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: source
[INFO] [stderr] help: source is a valid .cargo/config.toml key
[INFO] [stderr] warning: `wickdb` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling proc-macro2 v1.0.7
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling slog v2.5.2
[INFO] [stderr]    Compiling syn v1.0.13
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling snap v1.0.0
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling crossbeam-channel v0.3.9
[INFO] [stderr]    Compiling crossbeam-channel v0.4.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling dirs-sys v0.3.4
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling term v0.6.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling slog-async v2.4.0
[INFO] [stderr]    Compiling c2-chacha v0.2.3
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling chrono v0.4.10
[INFO] [stderr]    Compiling slog-term v2.5.0
[INFO] [stderr]    Compiling num-derive v0.3.0
[INFO] [stderr]    Compiling wickdb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::mem::transmute`
[INFO] [stdout]  --> src/util/coding.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem::transmute;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `min`
[INFO] [stdout]  --> src/util/comparator.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::{min, Ordering};
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:298:45
[INFO] [stdout]     |
[INFO] [stdout] 298 | / ...                   error!(
[INFO] [stdout] 299 | | ...                       "[process batch] Fail sending finshing signal to waiting batch: {}", e
[INFO] [stdout] 300 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:310:45
[INFO] [stdout]     |
[INFO] [stdout] 310 | / ...                   error!(
[INFO] [stdout] 311 | | ...                       "[process batch] Fail sending finshing signal to waiting batch: {}", e
[INFO] [stdout] 312 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:328:37
[INFO] [stdout]     |
[INFO] [stdout] 328 | / ...                   error!(
[INFO] [stdout] 329 | | ...                       "[process batch] Fail sending finishing signal to waiting batch: {}", e
[INFO] [stdout] 330 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:340:29
[INFO] [stdout]     |
[INFO] [stdout] 340 | / ...                   error!(
[INFO] [stdout] 341 | | ...                       "[process batch] fail to send finishing signal to waiting batch: {}", e
[INFO] [stdout] 342 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:808:25
[INFO] [stdout]     |
[INFO] [stdout] 808 |                         error!("Delete file failed [filename {:?}]: {:?}", &file, e)
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]     --> src/db/mod.rs:1349:17
[INFO] [stdout]      |
[INFO] [stdout] 1349 | /                 error!(
[INFO] [stdout] 1350 | |                     "[schedule compaction] Fail sending signal to compaction channel: {}",
[INFO] [stdout] 1351 | |                     e
[INFO] [stdout] 1352 | |                 )
[INFO] [stdout]      | |_________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]      = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]      = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]      = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::RwLock`
[INFO] [stdout]  --> src/mem/arena.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::RwLock;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Options`
[INFO] [stdout]  --> src/version/version_edit.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{Error, Options, Result};
[INFO] [stdout]   |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::id`
[INFO] [stdout]   --> src/version/version_set.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::process::id;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]     --> src/db/mod.rs:1191:46
[INFO] [stdout]      |
[INFO] [stdout] 1191 |         let mut last_sequence_for_key = u64::max_value();
[INFO] [stdout]      |                                              ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]     --> src/db/mod.rs:1221:54
[INFO] [stdout]      |
[INFO] [stdout] 1221 |                         last_sequence_for_key = u64::max_value();
[INFO] [stdout]      |                                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]     --> src/db/mod.rs:1265:50
[INFO] [stdout]      |
[INFO] [stdout] 1265 |                     last_sequence_for_key = u64::max_value();
[INFO] [stdout]      |                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::fetch_update`: renamed to `try_update` for consistency
[INFO] [stdout]    --> src/version/mod.rs:198:18
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |v| {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 198 -                 .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |v| {
[INFO] [stdout] 198 +                 .try_update(Ordering::SeqCst, Ordering::SeqCst, |v| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lock`
[INFO] [stdout]    --> src/mem/arena.rs:206:24
[INFO] [stdout]     |
[INFO] [stdout] 206 |                     Ok(lock) => {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_lock`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Slice` is never constructed
[INFO] [stdout]   --> src/util/slice.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Slice {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `as_slice`, `is_empty`, `compare`, and `as_str` are never used
[INFO] [stdout]   --> src/util/slice.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Slice {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 20 |     pub fn new(data: *const u8, size: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn as_slice(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn compare(&self, other: &Slice) -> Ordering {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `micros`, `bytes_read`, and `bytes_written` are never read
[INFO] [stdout]    --> src/compaction.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 352 | pub struct CompactionStats {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 353 |     // The microseconds this compaction takes
[INFO] [stdout] 354 |     pub micros: u64,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 355 |     /// The data size read by this compaction
[INFO] [stdout] 356 |     pub bytes_read: u64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 357 |     /// The data size created in new generated SSTables
[INFO] [stdout] 358 |     pub bytes_written: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CompactionStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `finish` that must be used
[INFO] [stdout]   --> src/util/slice.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |         state.finish();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let _ = state.finish();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::slice::Iter` that must be used
[INFO] [stdout]   --> src/compaction.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         self.base.iter();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: iterators are lazy and do nothing unless consumed
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let _ = self.base.iter();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/db/mod.rs:898:28
[INFO] [stdout]     |
[INFO] [stdout] 898 |     fn make_room_for_write(&self, mut force: bool) -> Result<MutexGuard<VersionSet<S, C>>> {
[INFO] [stdout]     |                            ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 898 |     fn make_room_for_write(&self, mut force: bool) -> Result<MutexGuard<'_, VersionSet<S, C>>> {
[INFO] [stdout]     |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/db/mod.rs:1183:22
[INFO] [stdout]      |
[INFO] [stdout] 1183 |     fn do_compaction(&self, mut c: Compaction<S::F, C>) -> Result<MutexGuard<VersionSet<S, C>>> {
[INFO] [stdout]      |                      ^^^^^ the lifetime is elided here            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 1183 |     fn do_compaction(&self, mut c: Compaction<S::F, C>) -> Result<MutexGuard<'_, VersionSet<S, C>>> {
[INFO] [stdout]      |                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/db/format.rs:78:76
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn decode_from(internal_key: &'a [u8]) -> Option<ParsedInternalKey<'_>> {
[INFO] [stdout]    |                                       -- the lifetime is named here        ^^ the same lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 78 -     pub fn decode_from(internal_key: &'a [u8]) -> Option<ParsedInternalKey<'_>> {
[INFO] [stdout] 78 +     pub fn decode_from(internal_key: &'a [u8]) -> Option<ParsedInternalKey<'a>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/db/format.rs:96:81
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> {
[INFO] [stdout]    |                      -- the lifetime is named here                              ^^ the same lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 96 -     pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> {
[INFO] [stdout] 96 +     pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'a> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Option::<T>::map_or` that must be used
[INFO] [stdout]    --> src/iterator.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         self.derived.as_mut().map_or((), |di| di.next());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the returned value, use `if let` instead
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let _ = self.derived.as_mut().map_or((), |di| di.next());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Option::<T>::map_or` that must be used
[INFO] [stdout]    --> src/iterator.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         self.derived.as_mut().map_or((), |di| di.prev());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the returned value, use `if let` instead
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let _ = self.derived.as_mut().map_or((), |di| di.prev());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/options.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Clone, Copy, Debug, FromPrimitive)]
[INFO] [stdout]    |                              ^------------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              `FromPrimitive` is not local
[INFO] [stdout]    |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompressionType`
[INFO] [stdout] 16 | pub enum CompressionType {
[INFO] [stdout]    |          --------------- `CompressionType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 7.74s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v1.0.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] running `"docker" "inspect" "6fd396581a86aa6b5ef8a2380b9b28cec378bc29af0a2ca71fa369a0b36f6a0f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6fd396581a86aa6b5ef8a2380b9b28cec378bc29af0a2ca71fa369a0b36f6a0f" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: source
[INFO] [stderr] help: source is a valid .cargo/config.toml key
[INFO] [stderr] warning: `wickdb` (manifest) generated 1 warning
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling memchr v2.3.0
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling regex-automata v0.1.8
[INFO] [stderr]    Compiling crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling rand_xoshiro v0.3.1
[INFO] [stderr]    Compiling rand_os v0.2.2
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stdout] warning: unused import: `std::mem::transmute`
[INFO] [stdout]  --> src/util/coding.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem::transmute;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `min`
[INFO] [stdout]  --> src/util/comparator.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::{min, Ordering};
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:298:45
[INFO] [stdout]     |
[INFO] [stdout] 298 | / ...                   error!(
[INFO] [stdout] 299 | | ...                       "[process batch] Fail sending finshing signal to waiting batch: {}", e
[INFO] [stdout] 300 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:310:45
[INFO] [stdout]     |
[INFO] [stdout] 310 | / ...                   error!(
[INFO] [stdout] 311 | | ...                       "[process batch] Fail sending finshing signal to waiting batch: {}", e
[INFO] [stdout] 312 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:328:37
[INFO] [stdout]     |
[INFO] [stdout] 328 | / ...                   error!(
[INFO] [stdout] 329 | | ...                       "[process batch] Fail sending finishing signal to waiting batch: {}", e
[INFO] [stdout] 330 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:340:29
[INFO] [stdout]     |
[INFO] [stdout] 340 | / ...                   error!(
[INFO] [stdout] 341 | | ...                       "[process batch] fail to send finishing signal to waiting batch: {}", e
[INFO] [stdout] 342 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:808:25
[INFO] [stdout]     |
[INFO] [stdout] 808 |                         error!("Delete file failed [filename {:?}]: {:?}", &file, e)
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]     --> src/db/mod.rs:1349:17
[INFO] [stdout]      |
[INFO] [stdout] 1349 | /                 error!(
[INFO] [stdout] 1350 | |                     "[schedule compaction] Fail sending signal to compaction channel: {}",
[INFO] [stdout] 1351 | |                     e
[INFO] [stdout] 1352 | |                 )
[INFO] [stdout]      | |_________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]      = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]      = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]      = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::RwLock`
[INFO] [stdout]  --> src/mem/arena.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::RwLock;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Options`
[INFO] [stdout]  --> src/version/version_edit.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{Error, Options, Result};
[INFO] [stdout]   |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::id`
[INFO] [stdout]   --> src/version/version_set.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::process::id;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]     --> src/db/mod.rs:1191:46
[INFO] [stdout]      |
[INFO] [stdout] 1191 |         let mut last_sequence_for_key = u64::max_value();
[INFO] [stdout]      |                                              ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]     --> src/db/mod.rs:1221:54
[INFO] [stdout]      |
[INFO] [stdout] 1221 |                         last_sequence_for_key = u64::max_value();
[INFO] [stdout]      |                                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]     --> src/db/mod.rs:1265:50
[INFO] [stdout]      |
[INFO] [stdout] 1265 |                     last_sequence_for_key = u64::max_value();
[INFO] [stdout]      |                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::fetch_update`: renamed to `try_update` for consistency
[INFO] [stdout]    --> src/version/mod.rs:198:18
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |v| {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 198 -                 .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |v| {
[INFO] [stdout] 198 +                 .try_update(Ordering::SeqCst, Ordering::SeqCst, |v| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lock`
[INFO] [stdout]    --> src/mem/arena.rs:206:24
[INFO] [stdout]     |
[INFO] [stdout] 206 |                     Ok(lock) => {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_lock`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Slice` is never constructed
[INFO] [stdout]   --> src/util/slice.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Slice {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `as_slice`, `is_empty`, `compare`, and `as_str` are never used
[INFO] [stdout]   --> src/util/slice.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Slice {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 20 |     pub fn new(data: *const u8, size: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn as_slice(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn compare(&self, other: &Slice) -> Ordering {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `micros`, `bytes_read`, and `bytes_written` are never read
[INFO] [stdout]    --> src/compaction.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 352 | pub struct CompactionStats {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 353 |     // The microseconds this compaction takes
[INFO] [stdout] 354 |     pub micros: u64,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 355 |     /// The data size read by this compaction
[INFO] [stdout] 356 |     pub bytes_read: u64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 357 |     /// The data size created in new generated SSTables
[INFO] [stdout] 358 |     pub bytes_written: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CompactionStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `finish` that must be used
[INFO] [stdout]   --> src/util/slice.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |         state.finish();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let _ = state.finish();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::slice::Iter` that must be used
[INFO] [stdout]   --> src/compaction.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         self.base.iter();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: iterators are lazy and do nothing unless consumed
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let _ = self.base.iter();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/db/mod.rs:898:28
[INFO] [stdout]     |
[INFO] [stdout] 898 |     fn make_room_for_write(&self, mut force: bool) -> Result<MutexGuard<VersionSet<S, C>>> {
[INFO] [stdout]     |                            ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 898 |     fn make_room_for_write(&self, mut force: bool) -> Result<MutexGuard<'_, VersionSet<S, C>>> {
[INFO] [stdout]     |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/db/mod.rs:1183:22
[INFO] [stdout]      |
[INFO] [stdout] 1183 |     fn do_compaction(&self, mut c: Compaction<S::F, C>) -> Result<MutexGuard<VersionSet<S, C>>> {
[INFO] [stdout]      |                      ^^^^^ the lifetime is elided here            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 1183 |     fn do_compaction(&self, mut c: Compaction<S::F, C>) -> Result<MutexGuard<'_, VersionSet<S, C>>> {
[INFO] [stdout]      |                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/db/format.rs:78:76
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn decode_from(internal_key: &'a [u8]) -> Option<ParsedInternalKey<'_>> {
[INFO] [stdout]    |                                       -- the lifetime is named here        ^^ the same lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 78 -     pub fn decode_from(internal_key: &'a [u8]) -> Option<ParsedInternalKey<'_>> {
[INFO] [stdout] 78 +     pub fn decode_from(internal_key: &'a [u8]) -> Option<ParsedInternalKey<'a>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/db/format.rs:96:81
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> {
[INFO] [stdout]    |                      -- the lifetime is named here                              ^^ the same lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 96 -     pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> {
[INFO] [stdout] 96 +     pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'a> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Option::<T>::map_or` that must be used
[INFO] [stdout]    --> src/iterator.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         self.derived.as_mut().map_or((), |di| di.next());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the returned value, use `if let` instead
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let _ = self.derived.as_mut().map_or((), |di| di.next());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Option::<T>::map_or` that must be used
[INFO] [stdout]    --> src/iterator.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         self.derived.as_mut().map_or((), |di| di.prev());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the returned value, use `if let` instead
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let _ = self.derived.as_mut().map_or((), |di| di.prev());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/options.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Clone, Copy, Debug, FromPrimitive)]
[INFO] [stdout]    |                              ^------------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              `FromPrimitive` is not local
[INFO] [stdout]    |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompressionType`
[INFO] [stdout] 16 | pub enum CompressionType {
[INFO] [stdout]    |          --------------- `CompressionType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling csv-core v0.1.6
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling criterion-plot v0.4.0
[INFO] [stderr]    Compiling rayon v1.3.0
[INFO] [stderr]    Compiling bstr v0.2.9
[INFO] [stderr]    Compiling serde_json v1.0.44
[INFO] [stderr]    Compiling csv v1.1.2
[INFO] [stderr]    Compiling tinytemplate v1.0.3
[INFO] [stderr]    Compiling criterion v0.3.0
[INFO] [stderr]    Compiling wickdb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::mem::transmute`
[INFO] [stdout]  --> src/util/coding.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::mem::transmute;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `min`
[INFO] [stdout]  --> src/util/comparator.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::{min, Ordering};
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:298:45
[INFO] [stdout]     |
[INFO] [stdout] 298 | / ...                   error!(
[INFO] [stdout] 299 | | ...                       "[process batch] Fail sending finshing signal to waiting batch: {}", e
[INFO] [stdout] 300 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:310:45
[INFO] [stdout]     |
[INFO] [stdout] 310 | / ...                   error!(
[INFO] [stdout] 311 | | ...                       "[process batch] Fail sending finshing signal to waiting batch: {}", e
[INFO] [stdout] 312 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:328:37
[INFO] [stdout]     |
[INFO] [stdout] 328 | / ...                   error!(
[INFO] [stdout] 329 | | ...                       "[process batch] Fail sending finishing signal to waiting batch: {}", e
[INFO] [stdout] 330 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:340:29
[INFO] [stdout]     |
[INFO] [stdout] 340 | / ...                   error!(
[INFO] [stdout] 341 | | ...                       "[process batch] fail to send finishing signal to waiting batch: {}", e
[INFO] [stdout] 342 | | ...                   )
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]    --> src/db/mod.rs:808:25
[INFO] [stdout]     |
[INFO] [stdout] 808 |                         error!("Delete file failed [filename {:?}]: {:?}", &file, e)
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]     --> src/db/mod.rs:1349:17
[INFO] [stdout]      |
[INFO] [stdout] 1349 | /                 error!(
[INFO] [stdout] 1350 | |                     "[schedule compaction] Fail sending signal to compaction channel: {}",
[INFO] [stdout] 1351 | |                     e
[INFO] [stdout] 1352 | |                 )
[INFO] [stdout]      | |_________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: macro invocations at the end of a block are treated as expressions
[INFO] [stdout]      = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stdout]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]      = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]      = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::RwLock`
[INFO] [stdout]  --> src/mem/arena.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::RwLock;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Options`
[INFO] [stdout]  --> src/version/version_edit.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::{Error, Options, Result};
[INFO] [stdout]   |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::id`
[INFO] [stdout]   --> src/version/version_set.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use std::process::id;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]     --> src/db/mod.rs:2834:18
[INFO] [stdout]      |
[INFO] [stdout] 2834 |         use std::usize;
[INFO] [stdout]      |                  ^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/util/coding.rs:73:19
[INFO] [stdout]    |
[INFO] [stdout] 73 |             (u32::max_value(), vec![0; 4], vec![255, 255, 255, 255]),
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/util/coding.rs:74:19
[INFO] [stdout]    |
[INFO] [stdout] 74 |             (u32::max_value(), vec![0; 6], vec![255, 255, 255, 255, 0, 0]),
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/util/coding.rs:97:45
[INFO] [stdout]    |
[INFO] [stdout] 97 |             (vec![255, 255, 255, 255], u32::max_value()),
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/util/coding.rs:98:51
[INFO] [stdout]    |
[INFO] [stdout] 98 |             (vec![255, 255, 255, 255, 0, 0], u32::max_value()),
[INFO] [stdout]    |                                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/util/coding.rs:99:51
[INFO] [stdout]    |
[INFO] [stdout] 99 |             (vec![255, 255, 255, 255, 1, 0], u32::max_value()),
[INFO] [stdout]    |                                                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/util/coding.rs:116:22
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 u64::max_value(),
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/util/coding.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 u64::max_value(),
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/util/coding.rs:149:22
[INFO] [stdout]     |
[INFO] [stdout] 149 |                 u64::max_value(),
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/util/coding.rs:153:22
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 u64::max_value(),
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/util/coding.rs:157:22
[INFO] [stdout]     |
[INFO] [stdout] 157 |                 u64::max_value(),
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]     --> src/db/mod.rs:1191:46
[INFO] [stdout]      |
[INFO] [stdout] 1191 |         let mut last_sequence_for_key = u64::max_value();
[INFO] [stdout]      |                                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]     --> src/db/mod.rs:1221:54
[INFO] [stdout]      |
[INFO] [stdout] 1221 |                         last_sequence_for_key = u64::max_value();
[INFO] [stdout]      |                                                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]     --> src/db/mod.rs:1265:50
[INFO] [stdout]      |
[INFO] [stdout] 1265 |                     last_sequence_for_key = u64::max_value();
[INFO] [stdout]      |                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/version/version_edit.rs:491:28
[INFO] [stdout]     |
[INFO] [stdout] 491 |         let log_num = u64::max_value();
[INFO] [stdout]     |                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/version/version_edit.rs:499:33
[INFO] [stdout]     |
[INFO] [stdout] 499 |         let prev_log_num = u64::max_value();
[INFO] [stdout]     |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/version/version_edit.rs:507:30
[INFO] [stdout]     |
[INFO] [stdout] 507 |         let next_file = u64::max_value();
[INFO] [stdout]     |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/version/version_edit.rs:515:34
[INFO] [stdout]     |
[INFO] [stdout] 515 |         let last_sequence = u64::max_value();
[INFO] [stdout]     |                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::fetch_update`: renamed to `try_update` for consistency
[INFO] [stdout]    --> src/version/mod.rs:198:18
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |v| {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 198 -                 .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |v| {
[INFO] [stdout] 198 +                 .try_update(Ordering::SeqCst, Ordering::SeqCst, |v| {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lock`
[INFO] [stdout]    --> src/mem/arena.rs:206:24
[INFO] [stdout]     |
[INFO] [stdout] 206 |                     Ok(lock) => {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_lock`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mem/arena.rs:364:35
[INFO] [stdout]     |
[INFO] [stdout] 363 |                     unsafe {
[INFO] [stdout]     |                     ------ because it's nested under this `unsafe` block
[INFO] [stdout] 364 |                         let ptr = unsafe { arena_clone.allocate::<AlignedStruct>(64, align)};
[INFO] [stdout]     |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/mem/arena.rs:402:35
[INFO] [stdout]     |
[INFO] [stdout] 401 |                     unsafe {
[INFO] [stdout]     |                     ------ because it's nested under this `unsafe` block
[INFO] [stdout] 402 |                         let ptr = unsafe { arena_clone.allocate::<AlignedStruct>(64, align)};
[INFO] [stdout]     |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Slice` is never constructed
[INFO] [stdout]   --> src/util/slice.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Slice {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `as_slice`, `is_empty`, `compare`, and `as_str` are never used
[INFO] [stdout]   --> src/util/slice.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Slice {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 20 |     pub fn new(data: *const u8, size: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn as_slice(&self) -> &[u8] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn compare(&self, other: &Slice) -> Ordering {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `micros`, `bytes_read`, and `bytes_written` are never read
[INFO] [stdout]    --> src/compaction.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 352 | pub struct CompactionStats {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 353 |     // The microseconds this compaction takes
[INFO] [stdout] 354 |     pub micros: u64,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 355 |     /// The data size read by this compaction
[INFO] [stdout] 356 |     pub bytes_read: u64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 357 |     /// The data size created in new generated SSTables
[INFO] [stdout] 358 |     pub bytes_written: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CompactionStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `finish` that must be used
[INFO] [stdout]   --> src/util/slice.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |         state.finish();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let _ = state.finish();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::slice::Iter` that must be used
[INFO] [stdout]   --> src/compaction.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         self.base.iter();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: iterators are lazy and do nothing unless consumed
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let _ = self.base.iter();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/db/mod.rs:898:28
[INFO] [stdout]     |
[INFO] [stdout] 898 |     fn make_room_for_write(&self, mut force: bool) -> Result<MutexGuard<VersionSet<S, C>>> {
[INFO] [stdout]     |                            ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 898 |     fn make_room_for_write(&self, mut force: bool) -> Result<MutexGuard<'_, VersionSet<S, C>>> {
[INFO] [stdout]     |                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/db/mod.rs:1183:22
[INFO] [stdout]      |
[INFO] [stdout] 1183 |     fn do_compaction(&self, mut c: Compaction<S::F, C>) -> Result<MutexGuard<VersionSet<S, C>>> {
[INFO] [stdout]      |                      ^^^^^ the lifetime is elided here            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 1183 |     fn do_compaction(&self, mut c: Compaction<S::F, C>) -> Result<MutexGuard<'_, VersionSet<S, C>>> {
[INFO] [stdout]      |                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/db/format.rs:78:76
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn decode_from(internal_key: &'a [u8]) -> Option<ParsedInternalKey<'_>> {
[INFO] [stdout]    |                                       -- the lifetime is named here        ^^ the same lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 78 -     pub fn decode_from(internal_key: &'a [u8]) -> Option<ParsedInternalKey<'_>> {
[INFO] [stdout] 78 +     pub fn decode_from(internal_key: &'a [u8]) -> Option<ParsedInternalKey<'a>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/db/format.rs:96:81
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> {
[INFO] [stdout]    |                      -- the lifetime is named here                              ^^ the same lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 96 -     pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> {
[INFO] [stdout] 96 +     pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'a> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]     --> src/db/mod.rs:1529:34
[INFO] [stdout]      |
[INFO] [stdout] 1529 |     #[derive(Debug, Clone, Copy, FromPrimitive)]
[INFO] [stdout]      |                                  ^------------
[INFO] [stdout]      |                                  |
[INFO] [stdout]      |                                  `FromPrimitive` is not local
[INFO] [stdout]      |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TestOption`
[INFO] [stdout] 1530 |     enum TestOption {
[INFO] [stdout]      |          ---------- `TestOption` is not local
[INFO] [stdout]      |
[INFO] [stdout]      = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]      = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]      = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]      = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Option::<T>::map_or` that must be used
[INFO] [stdout]    --> src/iterator.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         self.derived.as_mut().map_or((), |di| di.next());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the returned value, use `if let` instead
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let _ = self.derived.as_mut().map_or((), |di| di.next());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Option::<T>::map_or` that must be used
[INFO] [stdout]    --> src/iterator.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |         self.derived.as_mut().map_or((), |di| di.prev());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the returned value, use `if let` instead
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let _ = self.derived.as_mut().map_or((), |di| di.prev());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/options.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Clone, Copy, Debug, FromPrimitive)]
[INFO] [stdout]    |                              ^------------
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              `FromPrimitive` is not local
[INFO] [stdout]    |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompressionType`
[INFO] [stdout] 16 | pub enum CompressionType {
[INFO] [stdout]    |          --------------- `CompressionType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 38.60s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.0, snap v1.0.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7`
[INFO] running `"docker" "inspect" "6fd396581a86aa6b5ef8a2380b9b28cec378bc29af0a2ca71fa369a0b36f6a0f"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6fd396581a86aa6b5ef8a2380b9b28cec378bc29af0a2ca71fa369a0b36f6a0f" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: source
[INFO] [stderr] help: source is a valid .cargo/config.toml key
[INFO] [stderr] warning: `wickdb` (manifest) generated 1 warning
[INFO] [stderr] warning: unused import: `std::mem::transmute`
[INFO] [stderr]  --> src/util/coding.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::mem::transmute;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `min`
[INFO] [stderr]  --> src/util/comparator.rs:1:16
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::cmp::{min, Ordering};
[INFO] [stderr]   |                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trailing semicolon in macro used in expression position
[INFO] [stderr]    --> src/db/mod.rs:298:45
[INFO] [stderr]     |
[INFO] [stderr] 298 | / ...                   error!(
[INFO] [stderr] 299 | | ...                       "[process batch] Fail sending finshing signal to waiting batch: {}", e
[INFO] [stderr] 300 | | ...                   )
[INFO] [stderr]     | |_______________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stderr]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stderr]     = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stderr]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trailing semicolon in macro used in expression position
[INFO] [stderr]    --> src/db/mod.rs:310:45
[INFO] [stderr]     |
[INFO] [stderr] 310 | / ...                   error!(
[INFO] [stderr] 311 | | ...                       "[process batch] Fail sending finshing signal to waiting batch: {}", e
[INFO] [stderr] 312 | | ...                   )
[INFO] [stderr]     | |_______________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stderr]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stderr]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trailing semicolon in macro used in expression position
[INFO] [stderr]    --> src/db/mod.rs:328:37
[INFO] [stderr]     |
[INFO] [stderr] 328 | / ...                   error!(
[INFO] [stderr] 329 | | ...                       "[process batch] Fail sending finishing signal to waiting batch: {}", e
[INFO] [stderr] 330 | | ...                   )
[INFO] [stderr]     | |_______________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stderr]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stderr]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trailing semicolon in macro used in expression position
[INFO] [stderr]    --> src/db/mod.rs:340:29
[INFO] [stderr]     |
[INFO] [stderr] 340 | / ...                   error!(
[INFO] [stderr] 341 | | ...                       "[process batch] fail to send finishing signal to waiting batch: {}", e
[INFO] [stderr] 342 | | ...                   )
[INFO] [stderr]     | |_______________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stderr]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stderr]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trailing semicolon in macro used in expression position
[INFO] [stderr]    --> src/db/mod.rs:808:25
[INFO] [stderr]     |
[INFO] [stderr] 808 |                         error!("Delete file failed [filename {:?}]: {:?}", &file, e)
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: macro invocations at the end of a block are treated as expressions
[INFO] [stderr]     = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stderr]     = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trailing semicolon in macro used in expression position
[INFO] [stderr]     --> src/db/mod.rs:1349:17
[INFO] [stderr]      |
[INFO] [stderr] 1349 | /                 error!(
[INFO] [stderr] 1350 | |                     "[schedule compaction] Fail sending signal to compaction channel: {}",
[INFO] [stderr] 1351 | |                     e
[INFO] [stderr] 1352 | |                 )
[INFO] [stderr]      | |_________________^
[INFO] [stderr]      |
[INFO] [stderr]      = note: macro invocations at the end of a block are treated as expressions
[INFO] [stderr]      = note: to ignore the value produced by the macro, add a semicolon after the invocation of `error`
[INFO] [stderr]      = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]      = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stderr]      = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::RwLock`
[INFO] [stderr]  --> src/mem/arena.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::sync::RwLock;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Options`
[INFO] [stderr]  --> src/version/version_edit.rs:8:20
[INFO] [stderr]   |
[INFO] [stderr] 8 | use crate::{Error, Options, Result};
[INFO] [stderr]   |                    ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::process::id`
[INFO] [stderr]   --> src/version/version_set.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 27 | use std::process::id;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]     --> src/db/mod.rs:1191:46
[INFO] [stderr]      |
[INFO] [stderr] 1191 |         let mut last_sequence_for_key = u64::max_value();
[INFO] [stderr]      |                                              ^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]     --> src/db/mod.rs:1221:54
[INFO] [stderr]      |
[INFO] [stderr] 1221 |                         last_sequence_for_key = u64::max_value();
[INFO] [stderr]      |                                                      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]     --> src/db/mod.rs:1265:50
[INFO] [stderr]      |
[INFO] [stderr] 1265 |                     last_sequence_for_key = u64::max_value();
[INFO] [stderr]      |                                                  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::fetch_update`: renamed to `try_update` for consistency
[INFO] [stderr]    --> src/version/mod.rs:198:18
[INFO] [stderr]     |
[INFO] [stderr] 198 |                 .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |v| {
[INFO] [stderr]     |                  ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: replace the use of the deprecated method
[INFO] [stderr]     |
[INFO] [stderr] 198 -                 .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |v| {
[INFO] [stderr] 198 +                 .try_update(Ordering::SeqCst, Ordering::SeqCst, |v| {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lock`
[INFO] [stderr]    --> src/mem/arena.rs:206:24
[INFO] [stderr]     |
[INFO] [stderr] 206 |                     Ok(lock) => {
[INFO] [stderr]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_lock`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Slice` is never constructed
[INFO] [stderr]   --> src/util/slice.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct Slice {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `as_slice`, `is_empty`, `compare`, and `as_str` are never used
[INFO] [stderr]   --> src/util/slice.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 19 | impl Slice {
[INFO] [stderr]    | ---------- associated items in this implementation
[INFO] [stderr] 20 |     pub fn new(data: *const u8, size: usize) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |     pub fn as_slice(&self) -> &[u8] {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 34 |     pub fn is_empty(&self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 39 |     pub fn compare(&self, other: &Slice) -> Ordering {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 44 |     pub fn as_str(&self) -> &str {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `micros`, `bytes_read`, and `bytes_written` are never read
[INFO] [stderr]    --> src/compaction.rs:354:9
[INFO] [stderr]     |
[INFO] [stderr] 352 | pub struct CompactionStats {
[INFO] [stderr]     |            --------------- fields in this struct
[INFO] [stderr] 353 |     // The microseconds this compaction takes
[INFO] [stderr] 354 |     pub micros: u64,
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr] 355 |     /// The data size read by this compaction
[INFO] [stderr] 356 |     pub bytes_read: u64,
[INFO] [stderr]     |         ^^^^^^^^^^
[INFO] [stderr] 357 |     /// The data size created in new generated SSTables
[INFO] [stderr] 358 |     pub bytes_written: u64,
[INFO] [stderr]     |         ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `CompactionStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `finish` that must be used
[INFO] [stderr]   --> src/util/slice.rs:90:9
[INFO] [stderr]    |
[INFO] [stderr] 90 |         state.finish();
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stderr]    |
[INFO] [stderr] 90 |         let _ = state.finish();
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::slice::Iter` that must be used
[INFO] [stderr]   --> src/compaction.rs:40:9
[INFO] [stderr]    |
[INFO] [stderr] 40 |         self.base.iter();
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: iterators are lazy and do nothing unless consumed
[INFO] [stderr] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stderr]    |
[INFO] [stderr] 40 |         let _ = self.base.iter();
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/db/mod.rs:898:28
[INFO] [stderr]     |
[INFO] [stderr] 898 |     fn make_room_for_write(&self, mut force: bool) -> Result<MutexGuard<VersionSet<S, C>>> {
[INFO] [stderr]     |                            ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 898 |     fn make_room_for_write(&self, mut force: bool) -> Result<MutexGuard<'_, VersionSet<S, C>>> {
[INFO] [stderr]     |                                                                         +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]     --> src/db/mod.rs:1183:22
[INFO] [stderr]      |
[INFO] [stderr] 1183 |     fn do_compaction(&self, mut c: Compaction<S::F, C>) -> Result<MutexGuard<VersionSet<S, C>>> {
[INFO] [stderr]      |                      ^^^^^ the lifetime is elided here            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]      |
[INFO] [stderr]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]      |
[INFO] [stderr] 1183 |     fn do_compaction(&self, mut c: Compaction<S::F, C>) -> Result<MutexGuard<'_, VersionSet<S, C>>> {
[INFO] [stderr]      |                                                                              +++
[INFO] [stderr] 
[INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stderr]   --> src/db/format.rs:78:76
[INFO] [stderr]    |
[INFO] [stderr] 78 |     pub fn decode_from(internal_key: &'a [u8]) -> Option<ParsedInternalKey<'_>> {
[INFO] [stderr]    |                                       -- the lifetime is named here        ^^ the same lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: consistently use `'a`
[INFO] [stderr]    |
[INFO] [stderr] 78 -     pub fn decode_from(internal_key: &'a [u8]) -> Option<ParsedInternalKey<'_>> {
[INFO] [stderr] 78 +     pub fn decode_from(internal_key: &'a [u8]) -> Option<ParsedInternalKey<'a>> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stderr]   --> src/db/format.rs:96:81
[INFO] [stderr]    |
[INFO] [stderr] 96 |     pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> {
[INFO] [stderr]    |                      -- the lifetime is named here                              ^^ the same lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: consistently use `'a`
[INFO] [stderr]    |
[INFO] [stderr] 96 -     pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'_> {
[INFO] [stderr] 96 +     pub fn new(key: &'a [u8], seq: u64, v_type: ValueType) -> ParsedInternalKey<'a> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `Option::<T>::map_or` that must be used
[INFO] [stderr]    --> src/iterator.rs:201:9
[INFO] [stderr]     |
[INFO] [stderr] 201 |         self.derived.as_mut().map_or((), |di| di.next());
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you don't need the returned value, use `if let` instead
[INFO] [stderr] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stderr]     |
[INFO] [stderr] 201 |         let _ = self.derived.as_mut().map_or((), |di| di.next());
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `Option::<T>::map_or` that must be used
[INFO] [stderr]    --> src/iterator.rs:207:9
[INFO] [stderr]     |
[INFO] [stderr] 207 |         self.derived.as_mut().map_or((), |di| di.prev());
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: if you don't need the returned value, use `if let` instead
[INFO] [stderr] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stderr]     |
[INFO] [stderr] 207 |         let _ = self.derived.as_mut().map_or((), |di| di.prev());
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/options.rs:15:30
[INFO] [stderr]    |
[INFO] [stderr] 15 | #[derive(Clone, Copy, Debug, FromPrimitive)]
[INFO] [stderr]    |                              ^------------
[INFO] [stderr]    |                              |
[INFO] [stderr]    |                              `FromPrimitive` is not local
[INFO] [stderr]    |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompressionType`
[INFO] [stderr] 16 | pub enum CompressionType {
[INFO] [stderr]    |          --------------- `CompressionType` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `wickdb` (lib) generated 28 warnings (run `cargo fix --lib -p wickdb` to apply 11 suggestions)
[INFO] [stderr] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stderr]     --> src/db/mod.rs:2834:18
[INFO] [stderr]      |
[INFO] [stderr] 2834 |         use std::usize;
[INFO] [stderr]      |                  ^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]   --> src/util/coding.rs:73:19
[INFO] [stderr]    |
[INFO] [stderr] 73 |             (u32::max_value(), vec![0; 4], vec![255, 255, 255, 255]),
[INFO] [stderr]    |                   ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]   --> src/util/coding.rs:74:19
[INFO] [stderr]    |
[INFO] [stderr] 74 |             (u32::max_value(), vec![0; 6], vec![255, 255, 255, 255, 0, 0]),
[INFO] [stderr]    |                   ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]   --> src/util/coding.rs:97:45
[INFO] [stderr]    |
[INFO] [stderr] 97 |             (vec![255, 255, 255, 255], u32::max_value()),
[INFO] [stderr]    |                                             ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]   --> src/util/coding.rs:98:51
[INFO] [stderr]    |
[INFO] [stderr] 98 |             (vec![255, 255, 255, 255, 0, 0], u32::max_value()),
[INFO] [stderr]    |                                                   ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u32>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]   --> src/util/coding.rs:99:51
[INFO] [stderr]    |
[INFO] [stderr] 99 |             (vec![255, 255, 255, 255, 1, 0], u32::max_value()),
[INFO] [stderr]    |                                                   ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/util/coding.rs:116:22
[INFO] [stderr]     |
[INFO] [stderr] 116 |                 u64::max_value(),
[INFO] [stderr]     |                      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/util/coding.rs:121:22
[INFO] [stderr]     |
[INFO] [stderr] 121 |                 u64::max_value(),
[INFO] [stderr]     |                      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/util/coding.rs:149:22
[INFO] [stderr]     |
[INFO] [stderr] 149 |                 u64::max_value(),
[INFO] [stderr]     |                      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/util/coding.rs:153:22
[INFO] [stderr]     |
[INFO] [stderr] 153 |                 u64::max_value(),
[INFO] [stderr]     |                      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/util/coding.rs:157:22
[INFO] [stderr]     |
[INFO] [stderr] 157 |                 u64::max_value(),
[INFO] [stderr]     |                      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]     --> src/db/mod.rs:1191:46
[INFO] [stderr]      |
[INFO] [stderr] 1191 |         let mut last_sequence_for_key = u64::max_value();
[INFO] [stderr]      |                                              ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/version/version_edit.rs:491:28
[INFO] [stderr]     |
[INFO] [stderr] 491 |         let log_num = u64::max_value();
[INFO] [stderr]     |                            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/version/version_edit.rs:499:33
[INFO] [stderr]     |
[INFO] [stderr] 499 |         let prev_log_num = u64::max_value();
[INFO] [stderr]     |                                 ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/version/version_edit.rs:507:30
[INFO] [stderr]     |
[INFO] [stderr] 507 |         let next_file = u64::max_value();
[INFO] [stderr]     |                              ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/version/version_edit.rs:515:34
[INFO] [stderr]     |
[INFO] [stderr] 515 |         let last_sequence = u64::max_value();
[INFO] [stderr]     |                                  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> src/mem/arena.rs:364:35
[INFO] [stderr]     |
[INFO] [stderr] 363 |                     unsafe {
[INFO] [stderr]     |                     ------ because it's nested under this `unsafe` block
[INFO] [stderr] 364 |                         let ptr = unsafe { arena_clone.allocate::<AlignedStruct>(64, align)};
[INFO] [stderr]     |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> src/mem/arena.rs:402:35
[INFO] [stderr]     |
[INFO] [stderr] 401 |                     unsafe {
[INFO] [stderr]     |                     ------ because it's nested under this `unsafe` block
[INFO] [stderr] 402 |                         let ptr = unsafe { arena_clone.allocate::<AlignedStruct>(64, align)};
[INFO] [stderr]     |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]     --> src/db/mod.rs:1529:34
[INFO] [stderr]      |
[INFO] [stderr] 1529 |     #[derive(Debug, Clone, Copy, FromPrimitive)]
[INFO] [stderr]      |                                  ^------------
[INFO] [stderr]      |                                  |
[INFO] [stderr]      |                                  `FromPrimitive` is not local
[INFO] [stderr]      |                                  move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TestOption`
[INFO] [stderr] 1530 |     enum TestOption {
[INFO] [stderr]      |          ---------- `TestOption` is not local
[INFO] [stderr]      |
[INFO] [stderr]      = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]      = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]      = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]      = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]      = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]      = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/options.rs:15:30
[INFO] [stderr]    |
[INFO] [stderr] 15 | #[derive(Clone, Copy, Debug, FromPrimitive)]
[INFO] [stderr]    |                              ^------------
[INFO] [stderr]    |                              |
[INFO] [stderr]    |                              `FromPrimitive` is not local
[INFO] [stderr]    |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_CompressionType`
[INFO] [stderr] 16 | pub enum CompressionType {
[INFO] [stderr]    |          --------------- `CompressionType` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `wickdb` (lib test) generated 46 warnings (26 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.13s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.0, snap v1.0.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/wickdb/09dc9936f72b856f/out/wickdb-09dc9936f72b856f)
[INFO] [stdout] 
[INFO] [stdout] running 224 tests
[INFO] [stdout] test cache::lru::tests::test_eviction_policy ... ok
[INFO] [stdout] test cache::lru::tests::test_use_exceeds_cache_size ... ok
[INFO] [stdout] test cache::lru::tests::test_entries_are_pinned ... ok
[INFO] [stdout] test db::filename::tests::test_parse_filename ... ok
[INFO] [stdout] test batch::tests::test_multiple_records ... ok
[INFO] [stdout] test batch::tests::test_empty_batch ... ok
[INFO] [stdout] test batch::tests::test_corrupted_batch ... ok
[INFO] [stdout] test cache::lru::tests::test_erase ... ok
[INFO] [stdout] test cache::tests::test_concurrent_insert ... ok
[INFO] [stdout] test db::format::tests::test_icmp_cmp ... ok
[INFO] [stdout] test cache::lru::tests::test_zero_size_cache ... ok
[INFO] [stdout] test cache::lru::tests::test_hit_and_miss ... ok
[INFO] [stdout] test cache::lru::tests::test_heavy_entries ... ok
[INFO] [stdout] test batch::tests::test_approximate_size ... ok
[INFO] [stdout] test db::filename::tests::test_generate_filename ... ok
[INFO] [stdout] test batch::tests::test_append_batch ... ok
[INFO] [stdout] test db::tests::test_db_file_lock ... FAILED
[INFO] [stdout] test db::tests::test_approximate_size ... FAILED
[INFO] [stdout] test db::tests::test_deletion_marker1 ... FAILED
[INFO] [stdout] test db::tests::test_dbopen_options ... FAILED
[INFO] [stdout] test db::tests::test_db_reads_using_bloom_filter ... FAILED
[INFO] [stdout] test db::format::tests::test_icmp_successor ... ok
[INFO] [stdout] test db::format::tests::test_internal_key_encode_decode ... ok
[INFO] [stdout] test db::tests::test_custom_comparator ... FAILED
[INFO] [stdout] test db::format::tests::test_pack_seq_and_type ... ok
[INFO] [stdout] test db::tests::test_approximiate_sizes_min_of_small_and_large ... FAILED
[INFO] [stdout] test db::format::tests::test_icmp_separator ... ok
[INFO] [stdout] test db::format::tests::test_pack_seq_and_type_panic - should panic ... ok
[INFO] [stdout] test db::tests::test_destroy_empty_dir ... FAILED
[INFO] [stdout] test db::tests::test_compaction_generate_multiple_files ... FAILED
[INFO] [stdout] test db::tests::test_comparator_check ... FAILED
[INFO] [stdout] test db::tests::test_deletion_marker2 ... FAILED
[INFO] [stdout] test db::tests::test_empty_db ... FAILED
[INFO] [stdout] test db::tests::test_empty_key ... FAILED
[INFO] [stdout] test db::tests::test_fs_sync_error ... ok
[INFO] [stdout] test db::tests::test_fs_non_writable ... ok
[INFO] [stdout] test db::tests::test_get_with_snapshot ... FAILED
[INFO] [stdout] test db::tests::test_get_from_immutable_layer ... FAILED
[INFO] [stdout] test db::tests::test_get_from_versions ... FAILED
[INFO] [stdout] test db::tests::test_get_level0_ordering ... FAILED
[INFO] [stdout] test db::tests::test_iter_empty_db ... FAILED
[INFO] [stdout] test db::tests::test_get_ordered_by_levels ... FAILED
[INFO] [stdout] test db::tests::test_iter_multi ... FAILED
[INFO] [stdout] test db::tests::test_hidden_values_are_removed ... FAILED
[INFO] [stdout] test db::tests::test_get_with_identical_snapshots ... FAILED
[INFO] [stdout] test db::tests::test_get_encounters_empty_level ... FAILED
[INFO] [stdout] test db::tests::test_empty_value ... FAILED
[INFO] [stdout] test db::tests::test_file_deleted_after_compaction ... FAILED
[INFO] [stdout] test db::tests::test_iter_single ... FAILED
[INFO] [stdout] test db::tests::test_iter_small_and_large_mix ... FAILED
[INFO] [stdout] test db::tests::test_iter_pins_ref ... FAILED
[INFO] [stdout] test db::tests::test_iterate_over_empty_snapshot ... FAILED
[INFO] [stdout] test db::tests::test_iter_multi_with_delete ... FAILED
[INFO] [stdout] test db::tests::test_l0_compaction_when_reopen ... FAILED
[INFO] [stdout] test db::tests::test_manifest_write_error ... ok
[INFO] [stdout] test db::tests::test_missing_sstfile ... FAILED
[INFO] [stdout] test db::tests::test_no_storage_space ... ok
[INFO] [stdout] test db::tests::test_sparse_merge ... ignored
[INFO] [stdout] test db::tests::test_pick_correct_file ... FAILED
[INFO] [stdout] test db::tests::test_snapshot ... FAILED
[INFO] [stdout] test filter::bloom::tests::test_bloom_filter_empty ... ok
[INFO] [stdout] test filter::bloom::tests::test_bloom_filter_small ... ok
[INFO] [stdout] test db::tests::test_reopen_with_empty_db ... FAILED
[INFO] [stdout] test db::tests::test_mem_compact_into_max_level ... FAILED
[INFO] [stdout] test db::tests::test_repeated_write_to_same_key ... FAILED
[INFO] [stdout] test db::tests::test_multi_thread ... FAILED
[INFO] [stdout] test logger::tests::test_default_logger ... FAILED
[INFO] [stdout] test mem::arena::tests::test_allocate_fallback ... ok
[INFO] [stdout] test db::tests::test_overlap_in_level0 ... FAILED
[INFO] [stdout] test db::tests::test_recover_during_memtable_compaction ... FAILED
[INFO] [stdout] test mem::arena::tests::test_allocate_new_block ... ok
[INFO] [stdout] test db::tests::test_put_delete_get ... FAILED
[INFO] [stdout] test db::tests::test_minor_compactions_happend ... FAILED
[INFO] [stdout] test db::tests::test_recover_with_large_log ... FAILED
[INFO] [stdout] test db::tests::test_read_write ... FAILED
[INFO] [stdout] test mem::inlineskiplist::tests::test_empty ... ok
[INFO] [stdout] test iterator::tests::test_concatenated_iterator ... ok
[INFO] [stdout] test iterator::tests::test_merging_iterator ... ok
[INFO] [stdout] test mem::arena::tests::test_allocate_empty_should_panic - should panic ... ok
[INFO] [stdout] test mem::arena::tests::test_new_arena ... ok
[INFO] [stdout] test db::tests::test_recover_with_entries ... FAILED
[INFO] [stdout] test mem::inlineskiplist::tests::test_basic ... ok
[INFO] [stdout] test db::tests::test_manual_compaction ... FAILED
[INFO] [stdout] test mem::arena::tests::test_offset_arena_concurrency ... ok
[INFO] [stdout] test mem::arena::tests::test_block_arena_concurrency ... ok
[INFO] [stdout] test mem::inlineskiplist::tests::test_find_near ... ok
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/release/build/wickdb/09dc9936f72b856f/out/wickdb-09dc9936f72b856f` (signal: 4, SIGILL: illegal instruction)
[INFO] running `"docker" "inspect" "6fd396581a86aa6b5ef8a2380b9b28cec378bc29af0a2ca71fa369a0b36f6a0f"`
[INFO] running `"docker" "rm" "-f" "6fd396581a86aa6b5ef8a2380b9b28cec378bc29af0a2ca71fa369a0b36f6a0f"`
[INFO] [stdout] 6fd396581a86aa6b5ef8a2380b9b28cec378bc29af0a2ca71fa369a0b36f6a0f
