[INFO] cloning repository https://github.com/stencillogic/db-core
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stencillogic/db-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstencillogic%2Fdb-core", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstencillogic%2Fdb-core'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 98818e972d62db49ce0b5d8f53b3d933915bae71
[INFO] checking stencillogic/db-core against master#b389b0ab72cb0aa9acf4df0ae0c0e12090782da9 for pr-128351-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstencillogic%2Fdb-core" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/stencillogic/db-core on toolchain b389b0ab72cb0aa9acf4df0ae0c0e12090782da9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b389b0ab72cb0aa9acf4df0ae0c0e12090782da9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/stencillogic/db-core
[INFO] finished tweaking git repo https://github.com/stencillogic/db-core
[INFO] tweaked toml for git repo https://github.com/stencillogic/db-core written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/stencillogic/db-core already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b389b0ab72cb0aa9acf4df0ae0c0e12090782da9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fs2 v0.4.3
[INFO] [stderr]   Downloaded log v0.4.8
[INFO] [stderr]   Downloaded wasi v0.10.2+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded libc v0.2.66
[INFO] [stderr]   Downloaded winapi v0.3.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+b389b0ab72cb0aa9acf4df0ae0c0e12090782da9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ebad47b97c02f7c93467d64b79266ef52a2d5d54af4ac4aff23d1d850db76f6f
[INFO] running `Command { std: "docker" "start" "-a" "ebad47b97c02f7c93467d64b79266ef52a2d5d54af4ac4aff23d1d850db76f6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ebad47b97c02f7c93467d64b79266ef52a2d5d54af4ac4aff23d1d850db76f6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ebad47b97c02f7c93467d64b79266ef52a2d5d54af4ac4aff23d1d850db76f6f", kill_on_drop: false }`
[INFO] [stdout] ebad47b97c02f7c93467d64b79266ef52a2d5d54af4ac4aff23d1d850db76f6f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+b389b0ab72cb0aa9acf4df0ae0c0e12090782da9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 07f84c5579cd3ca7e803afa575e579c1ffcb7a20ebb5cbb61539604cdbe779a0
[INFO] running `Command { std: "docker" "start" "-a" "07f84c5579cd3ca7e803afa575e579c1ffcb7a20ebb5cbb61539604cdbe779a0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking db-core v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stdout] warning: unused import: `crate::log_mgr::io::LogRecordHeader`
[INFO] [stdout]   --> src/log_mgr/log_mgr.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use crate::log_mgr::io::LogRecordHeader;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]   --> src/log_mgr/buf.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[cfg(feature = "metrics")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:248:7
[INFO] [stdout]     |
[INFO] [stdout] 248 | #[cfg(feature = "metrics")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:259:11
[INFO] [stdout]     |
[INFO] [stdout] 259 |     #[cfg(feature = "metrics")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:417:11
[INFO] [stdout]     |
[INFO] [stdout] 417 |     #[cfg(feature = "metrics")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:425:11
[INFO] [stdout]     |
[INFO] [stdout] 425 |     #[cfg(feature = "metrics")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:276:15
[INFO] [stdout]     |
[INFO] [stdout] 276 |         #[cfg(feature = "metrics")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:284:19
[INFO] [stdout]     |
[INFO] [stdout] 284 |             #[cfg(feature = "metrics")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:346:27
[INFO] [stdout]     |
[INFO] [stdout] 346 |                     #[cfg(feature = "metrics")] 
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:356:27
[INFO] [stdout]     |
[INFO] [stdout] 356 |                     #[cfg(feature = "metrics")] 
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:404:19
[INFO] [stdout]     |
[INFO] [stdout] 404 |             #[cfg(feature = "metrics")] {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:410:23
[INFO] [stdout]     |
[INFO] [stdout] 410 |             #[cfg(not(feature = "metrics"))] {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:579:19
[INFO] [stdout]     |
[INFO] [stdout] 579 |             #[cfg(feature = "metrics")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:219:17
[INFO] [stdout]     |
[INFO] [stdout] 219 |     std::alloc::LayoutErr, IncorrectLayout, layout_err,
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:209:79
[INFO] [stdout]     |
[INFO] [stdout] 209 |     IncorrectLayout             , incorrect_layout              , std::alloc::LayoutErr,
[INFO] [stdout]     |                                                                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead
[INFO] [stdout]    --> src/common/intercom.rs:202:33
[INFO] [stdout]     |
[INFO] [stdout] 202 |             core::sync::atomic::spin_loop_hint();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/log_mgr/buf.rs:112:52
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let cur_acq_size = self.acquire_size.0.compare_and_swap(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/log_mgr/buf.rs:182:52
[INFO] [stdout]     |
[INFO] [stdout] 182 |             let cur_acq_size = self.acquire_size.0.compare_and_swap(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/datastore.rs:445:29
[INFO] [stdout]     |
[INFO] [stdout] 445 |     fn add_fi_blocks(&self, mut block_id: &mut BlockId, fi_block_num: usize, stub_pin: &AtomicU64, f: &std::fs::File) -> Result<(), Error> {
[INFO] [stdout]     |                             ----^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/datastore.rs:863:13
[INFO] [stdout]     |
[INFO] [stdout] 863 |         let mut desc = xlock.get_mut(&file_id).unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/datastore.rs:869:13
[INFO] [stdout]     |
[INFO] [stdout] 869 |         let mut desc = xlock.get_mut(&file_id).unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/block_driver.rs:731:26
[INFO] [stdout]     |
[INFO] [stdout] 731 |     pub fn replay(&self, mut rs: &mut ReplayState, data: &[u8]) -> Result<(), Error> {
[INFO] [stdout]     |                          ----^^
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `write_ready` is never read
[INFO] [stdout]   --> src/buf_mgr/buf_writer.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct BufWriter {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     write_ready:        SyncNotification<usize>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufWriter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Metrics` is never constructed
[INFO] [stdout]    --> src/log_mgr/buf.rs:243:12
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub struct Metrics {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Metrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_extent_bit` is never used
[INFO] [stdout]    --> src/block_mgr/free_info.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 36  | impl FreeInfo {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn set_extent_bit(&self, file_id: u16, extent_id: u16, set: bool) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `used_iter` is never used
[INFO] [stdout]    --> src/block_mgr/free_info.rs:321:12
[INFO] [stdout]     |
[INFO] [stdout] 305 | impl FiData {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 321 |     pub fn used_iter(&self) -> FiDataIter {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/block_mgr/block.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Read(RwLockReadGuard<'a, ()>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Read(()),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/block_mgr/block.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Write(RwLockWriteGuard<'a, ()>),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Write(()),
[INFO] [stdout]    |           ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_crc` is never used
[INFO] [stdout]   --> src/block_mgr/block.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub trait BasicBlock {
[INFO] [stdout]    |           ---------- method in this trait
[INFO] [stdout] 87 |
[INFO] [stdout] 88 |     fn get_crc(&self) -> u32;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `delete_entry` is never used
[INFO] [stdout]    --> src/block_mgr/block.rs:276:12
[INFO] [stdout]     |
[INFO] [stdout] 131 | impl<'a> DataBlock<'a> {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub fn delete_entry(&mut self, entry_id: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `mark_extent_full` and `set_free_info_free` are never used
[INFO] [stdout]    --> src/block_mgr/allocator.rs:93:12
[INFO] [stdout]     |
[INFO] [stdout] 37  | impl BlockAllocator {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 93  |     pub fn mark_extent_full(&self, file_id: u16, extent_id: u16) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn set_free_info_free(&self, block_id: &BlockId) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/storage/datastore.rs:764:9
[INFO] [stdout]     |
[INFO] [stdout] 764 |         drop(v);
[INFO] [stdout]     |         ^^^^^-^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 764 -         drop(v);
[INFO] [stdout] 764 +         let _ = v;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 32 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::log_mgr::io::LogRecordHeader`
[INFO] [stdout]   --> src/log_mgr/log_mgr.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use crate::log_mgr::io::LogRecordHeader;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]   --> src/log_mgr/buf.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[cfg(feature = "metrics")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:248:7
[INFO] [stdout]     |
[INFO] [stdout] 248 | #[cfg(feature = "metrics")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:259:11
[INFO] [stdout]     |
[INFO] [stdout] 259 |     #[cfg(feature = "metrics")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:417:11
[INFO] [stdout]     |
[INFO] [stdout] 417 |     #[cfg(feature = "metrics")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:425:11
[INFO] [stdout]     |
[INFO] [stdout] 425 |     #[cfg(feature = "metrics")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:276:15
[INFO] [stdout]     |
[INFO] [stdout] 276 |         #[cfg(feature = "metrics")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:284:19
[INFO] [stdout]     |
[INFO] [stdout] 284 |             #[cfg(feature = "metrics")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:346:27
[INFO] [stdout]     |
[INFO] [stdout] 346 |                     #[cfg(feature = "metrics")] 
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:356:27
[INFO] [stdout]     |
[INFO] [stdout] 356 |                     #[cfg(feature = "metrics")] 
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:404:19
[INFO] [stdout]     |
[INFO] [stdout] 404 |             #[cfg(feature = "metrics")] {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:410:23
[INFO] [stdout]     |
[INFO] [stdout] 410 |             #[cfg(not(feature = "metrics"))] {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:579:19
[INFO] [stdout]     |
[INFO] [stdout] 579 |             #[cfg(feature = "metrics")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:219:17
[INFO] [stdout]     |
[INFO] [stdout] 219 |     std::alloc::LayoutErr, IncorrectLayout, layout_err,
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:209:79
[INFO] [stdout]     |
[INFO] [stdout] 209 |     IncorrectLayout             , incorrect_layout              , std::alloc::LayoutErr,
[INFO] [stdout]     |                                                                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead
[INFO] [stdout]    --> src/common/intercom.rs:202:33
[INFO] [stdout]     |
[INFO] [stdout] 202 |             core::sync::atomic::spin_loop_hint();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/log_mgr/buf.rs:112:52
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let cur_acq_size = self.acquire_size.0.compare_and_swap(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/log_mgr/buf.rs:182:52
[INFO] [stdout]     |
[INFO] [stdout] 182 |             let cur_acq_size = self.acquire_size.0.compare_and_swap(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/datastore.rs:445:29
[INFO] [stdout]     |
[INFO] [stdout] 445 |     fn add_fi_blocks(&self, mut block_id: &mut BlockId, fi_block_num: usize, stub_pin: &AtomicU64, f: &std::fs::File) -> Result<(), Error> {
[INFO] [stdout]     |                             ----^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/datastore.rs:863:13
[INFO] [stdout]     |
[INFO] [stdout] 863 |         let mut desc = xlock.get_mut(&file_id).unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/datastore.rs:869:13
[INFO] [stdout]     |
[INFO] [stdout] 869 |         let mut desc = xlock.get_mut(&file_id).unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/block_driver.rs:731:26
[INFO] [stdout]     |
[INFO] [stdout] 731 |     pub fn replay(&self, mut rs: &mut ReplayState, data: &[u8]) -> Result<(), Error> {
[INFO] [stdout]     |                          ----^^
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `write_ready` is never read
[INFO] [stdout]   --> src/buf_mgr/buf_writer.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct BufWriter {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     write_ready:        SyncNotification<usize>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufWriter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Metrics` is never constructed
[INFO] [stdout]    --> src/log_mgr/buf.rs:243:12
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub struct Metrics {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Metrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/block_mgr/block.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Read(RwLockReadGuard<'a, ()>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Read(()),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/block_mgr/block.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Write(RwLockWriteGuard<'a, ()>),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Write(()),
[INFO] [stdout]    |           ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mark_extent_full` is never used
[INFO] [stdout]   --> src/block_mgr/allocator.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl BlockAllocator {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub fn mark_extent_full(&self, file_id: u16, extent_id: u16) -> Result<(), Error> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/storage/datastore.rs:764:9
[INFO] [stdout]     |
[INFO] [stdout] 764 |         drop(v);
[INFO] [stdout]     |         ^^^^^-^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 764 -         drop(v);
[INFO] [stdout] 764 +         let _ = v;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]     --> src/block_mgr/block.rs:1128:9
[INFO] [stdout]      |
[INFO] [stdout] 1128 |         &mut entry4_buf.copy_from_slice(entry.data);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1128 |         let _ = &mut entry4_buf.copy_from_slice(entry.data);
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.94s
[INFO] running `Command { std: "docker" "inspect" "07f84c5579cd3ca7e803afa575e579c1ffcb7a20ebb5cbb61539604cdbe779a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07f84c5579cd3ca7e803afa575e579c1ffcb7a20ebb5cbb61539604cdbe779a0", kill_on_drop: false }`
[INFO] [stdout] 07f84c5579cd3ca7e803afa575e579c1ffcb7a20ebb5cbb61539604cdbe779a0
[INFO] checking stencillogic/db-core against try#16d823b1c168ce52c66ccc00dfd686f775a45c65 for pr-128351-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstencillogic%2Fdb-core" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/stencillogic/db-core on toolchain 16d823b1c168ce52c66ccc00dfd686f775a45c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16d823b1c168ce52c66ccc00dfd686f775a45c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/stencillogic/db-core
[INFO] finished tweaking git repo https://github.com/stencillogic/db-core
[INFO] tweaked toml for git repo https://github.com/stencillogic/db-core written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/stencillogic/db-core already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16d823b1c168ce52c66ccc00dfd686f775a45c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+16d823b1c168ce52c66ccc00dfd686f775a45c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f7adc09dada0c5d8411f366071d17fe8a794989ad43cf91d6d1e5598da5b7a5
[INFO] running `Command { std: "docker" "start" "-a" "6f7adc09dada0c5d8411f366071d17fe8a794989ad43cf91d6d1e5598da5b7a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f7adc09dada0c5d8411f366071d17fe8a794989ad43cf91d6d1e5598da5b7a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f7adc09dada0c5d8411f366071d17fe8a794989ad43cf91d6d1e5598da5b7a5", kill_on_drop: false }`
[INFO] [stdout] 6f7adc09dada0c5d8411f366071d17fe8a794989ad43cf91d6d1e5598da5b7a5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+16d823b1c168ce52c66ccc00dfd686f775a45c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 422ef1f7c13f9af0158fc90fcd8e44636d491ab7126a821bbfab52de6445c992
[INFO] running `Command { std: "docker" "start" "-a" "422ef1f7c13f9af0158fc90fcd8e44636d491ab7126a821bbfab52de6445c992", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking db-core v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stdout] warning: unused import: `crate::log_mgr::io::LogRecordHeader`
[INFO] [stdout]   --> src/log_mgr/log_mgr.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use crate::log_mgr::io::LogRecordHeader;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]   --> src/log_mgr/buf.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[cfg(feature = "metrics")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:248:7
[INFO] [stdout]     |
[INFO] [stdout] 248 | #[cfg(feature = "metrics")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:259:11
[INFO] [stdout]     |
[INFO] [stdout] 259 |     #[cfg(feature = "metrics")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:417:11
[INFO] [stdout]     |
[INFO] [stdout] 417 |     #[cfg(feature = "metrics")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:425:11
[INFO] [stdout]     |
[INFO] [stdout] 425 |     #[cfg(feature = "metrics")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:276:15
[INFO] [stdout]     |
[INFO] [stdout] 276 |         #[cfg(feature = "metrics")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:284:19
[INFO] [stdout]     |
[INFO] [stdout] 284 |             #[cfg(feature = "metrics")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:346:27
[INFO] [stdout]     |
[INFO] [stdout] 346 |                     #[cfg(feature = "metrics")] 
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:356:27
[INFO] [stdout]     |
[INFO] [stdout] 356 |                     #[cfg(feature = "metrics")] 
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:404:19
[INFO] [stdout]     |
[INFO] [stdout] 404 |             #[cfg(feature = "metrics")] {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:410:23
[INFO] [stdout]     |
[INFO] [stdout] 410 |             #[cfg(not(feature = "metrics"))] {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:579:19
[INFO] [stdout]     |
[INFO] [stdout] 579 |             #[cfg(feature = "metrics")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:219:17
[INFO] [stdout]     |
[INFO] [stdout] 219 |     std::alloc::LayoutErr, IncorrectLayout, layout_err,
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:209:79
[INFO] [stdout]     |
[INFO] [stdout] 209 |     IncorrectLayout             , incorrect_layout              , std::alloc::LayoutErr,
[INFO] [stdout]     |                                                                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead
[INFO] [stdout]    --> src/common/intercom.rs:202:33
[INFO] [stdout]     |
[INFO] [stdout] 202 |             core::sync::atomic::spin_loop_hint();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/log_mgr/buf.rs:112:52
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let cur_acq_size = self.acquire_size.0.compare_and_swap(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/log_mgr/buf.rs:182:52
[INFO] [stdout]     |
[INFO] [stdout] 182 |             let cur_acq_size = self.acquire_size.0.compare_and_swap(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/datastore.rs:445:29
[INFO] [stdout]     |
[INFO] [stdout] 445 |     fn add_fi_blocks(&self, mut block_id: &mut BlockId, fi_block_num: usize, stub_pin: &AtomicU64, f: &std::fs::File) -> Result<(), Error> {
[INFO] [stdout]     |                             ----^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/datastore.rs:863:13
[INFO] [stdout]     |
[INFO] [stdout] 863 |         let mut desc = xlock.get_mut(&file_id).unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/datastore.rs:869:13
[INFO] [stdout]     |
[INFO] [stdout] 869 |         let mut desc = xlock.get_mut(&file_id).unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/block_driver.rs:731:26
[INFO] [stdout]     |
[INFO] [stdout] 731 |     pub fn replay(&self, mut rs: &mut ReplayState, data: &[u8]) -> Result<(), Error> {
[INFO] [stdout]     |                          ----^^
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `write_ready` is never read
[INFO] [stdout]   --> src/buf_mgr/buf_writer.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct BufWriter {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     write_ready:        SyncNotification<usize>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufWriter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Metrics` is never constructed
[INFO] [stdout]    --> src/log_mgr/buf.rs:243:12
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub struct Metrics {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Metrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_extent_bit` is never used
[INFO] [stdout]    --> src/block_mgr/free_info.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 36  | impl FreeInfo {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn set_extent_bit(&self, file_id: u16, extent_id: u16, set: bool) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `used_iter` is never used
[INFO] [stdout]    --> src/block_mgr/free_info.rs:321:12
[INFO] [stdout]     |
[INFO] [stdout] 305 | impl FiData {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 321 |     pub fn used_iter(&self) -> FiDataIter {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/block_mgr/block.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Read(RwLockReadGuard<'a, ()>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Read(()),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/block_mgr/block.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Write(RwLockWriteGuard<'a, ()>),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Write(()),
[INFO] [stdout]    |           ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_crc` is never used
[INFO] [stdout]   --> src/block_mgr/block.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub trait BasicBlock {
[INFO] [stdout]    |           ---------- method in this trait
[INFO] [stdout] 87 |
[INFO] [stdout] 88 |     fn get_crc(&self) -> u32;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `delete_entry` is never used
[INFO] [stdout]    --> src/block_mgr/block.rs:276:12
[INFO] [stdout]     |
[INFO] [stdout] 131 | impl<'a> DataBlock<'a> {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub fn delete_entry(&mut self, entry_id: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `mark_extent_full` and `set_free_info_free` are never used
[INFO] [stdout]    --> src/block_mgr/allocator.rs:93:12
[INFO] [stdout]     |
[INFO] [stdout] 37  | impl BlockAllocator {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 93  |     pub fn mark_extent_full(&self, file_id: u16, extent_id: u16) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn set_free_info_free(&self, block_id: &BlockId) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/storage/datastore.rs:764:9
[INFO] [stdout]     |
[INFO] [stdout] 764 |         drop(v);
[INFO] [stdout]     |         ^^^^^-^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 764 -         drop(v);
[INFO] [stdout] 764 +         let _ = v;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 32 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::log_mgr::io::LogRecordHeader`
[INFO] [stdout]   --> src/log_mgr/log_mgr.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use crate::log_mgr::io::LogRecordHeader;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]   --> src/log_mgr/buf.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[cfg(feature = "metrics")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:248:7
[INFO] [stdout]     |
[INFO] [stdout] 248 | #[cfg(feature = "metrics")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:259:11
[INFO] [stdout]     |
[INFO] [stdout] 259 |     #[cfg(feature = "metrics")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:417:11
[INFO] [stdout]     |
[INFO] [stdout] 417 |     #[cfg(feature = "metrics")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:425:11
[INFO] [stdout]     |
[INFO] [stdout] 425 |     #[cfg(feature = "metrics")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:276:15
[INFO] [stdout]     |
[INFO] [stdout] 276 |         #[cfg(feature = "metrics")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:284:19
[INFO] [stdout]     |
[INFO] [stdout] 284 |             #[cfg(feature = "metrics")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:346:27
[INFO] [stdout]     |
[INFO] [stdout] 346 |                     #[cfg(feature = "metrics")] 
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:356:27
[INFO] [stdout]     |
[INFO] [stdout] 356 |                     #[cfg(feature = "metrics")] 
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:404:19
[INFO] [stdout]     |
[INFO] [stdout] 404 |             #[cfg(feature = "metrics")] {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:410:23
[INFO] [stdout]     |
[INFO] [stdout] 410 |             #[cfg(not(feature = "metrics"))] {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `metrics`
[INFO] [stdout]    --> src/log_mgr/buf.rs:579:19
[INFO] [stdout]     |
[INFO] [stdout] 579 |             #[cfg(feature = "metrics")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `metrics` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:219:17
[INFO] [stdout]     |
[INFO] [stdout] 219 |     std::alloc::LayoutErr, IncorrectLayout, layout_err,
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError
[INFO] [stdout]    --> src/common/errors.rs:209:79
[INFO] [stdout]     |
[INFO] [stdout] 209 |     IncorrectLayout             , incorrect_layout              , std::alloc::LayoutErr,
[INFO] [stdout]     |                                                                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead
[INFO] [stdout]    --> src/common/intercom.rs:202:33
[INFO] [stdout]     |
[INFO] [stdout] 202 |             core::sync::atomic::spin_loop_hint();
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/log_mgr/buf.rs:112:52
[INFO] [stdout]     |
[INFO] [stdout] 112 |             let cur_acq_size = self.acquire_size.0.compare_and_swap(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]    --> src/log_mgr/buf.rs:182:52
[INFO] [stdout]     |
[INFO] [stdout] 182 |             let cur_acq_size = self.acquire_size.0.compare_and_swap(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/datastore.rs:445:29
[INFO] [stdout]     |
[INFO] [stdout] 445 |     fn add_fi_blocks(&self, mut block_id: &mut BlockId, fi_block_num: usize, stub_pin: &AtomicU64, f: &std::fs::File) -> Result<(), Error> {
[INFO] [stdout]     |                             ----^^^^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/datastore.rs:863:13
[INFO] [stdout]     |
[INFO] [stdout] 863 |         let mut desc = xlock.get_mut(&file_id).unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/datastore.rs:869:13
[INFO] [stdout]     |
[INFO] [stdout] 869 |         let mut desc = xlock.get_mut(&file_id).unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/block_driver.rs:731:26
[INFO] [stdout]     |
[INFO] [stdout] 731 |     pub fn replay(&self, mut rs: &mut ReplayState, data: &[u8]) -> Result<(), Error> {
[INFO] [stdout]     |                          ----^^
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `write_ready` is never read
[INFO] [stdout]   --> src/buf_mgr/buf_writer.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct BufWriter {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     write_ready:        SyncNotification<usize>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufWriter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Metrics` is never constructed
[INFO] [stdout]    --> src/log_mgr/buf.rs:243:12
[INFO] [stdout]     |
[INFO] [stdout] 243 | pub struct Metrics {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Metrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/block_mgr/block.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Read(RwLockReadGuard<'a, ()>),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Read(()),
[INFO] [stdout]    |          ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/block_mgr/block.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Write(RwLockWriteGuard<'a, ()>),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Write(()),
[INFO] [stdout]    |           ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mark_extent_full` is never used
[INFO] [stdout]   --> src/block_mgr/allocator.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl BlockAllocator {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub fn mark_extent_full(&self, file_id: u16, extent_id: u16) -> Result<(), Error> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/storage/datastore.rs:764:9
[INFO] [stdout]     |
[INFO] [stdout] 764 |         drop(v);
[INFO] [stdout]     |         ^^^^^-^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 764 -         drop(v);
[INFO] [stdout] 764 +         let _ = v;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]     --> src/block_mgr/block.rs:1128:9
[INFO] [stdout]      |
[INFO] [stdout] 1128 |         &mut entry4_buf.copy_from_slice(entry.data);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1128 |         let _ = &mut entry4_buf.copy_from_slice(entry.data);
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.77s
[INFO] running `Command { std: "docker" "inspect" "422ef1f7c13f9af0158fc90fcd8e44636d491ab7126a821bbfab52de6445c992", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "422ef1f7c13f9af0158fc90fcd8e44636d491ab7126a821bbfab52de6445c992", kill_on_drop: false }`
[INFO] [stdout] 422ef1f7c13f9af0158fc90fcd8e44636d491ab7126a821bbfab52de6445c992
