[INFO] fetching crate db-core 0.1.1... [INFO] checking db-core-0.1.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate db-core 0.1.1 into /workspace/builds/worker-79/source [INFO] validating manifest of crates.io crate db-core 0.1.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate db-core 0.1.1 [INFO] finished tweaking crates.io crate db-core 0.1.1 [INFO] tweaked toml for crates.io crate db-core 0.1.1 written to /workspace/builds/worker-79/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ebbdcff8971f9af1e8289aa42988394b8cdf9e1547272f42ed7d05f0586198f [INFO] running `Command { std: "docker" "start" "-a" "7ebbdcff8971f9af1e8289aa42988394b8cdf9e1547272f42ed7d05f0586198f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ebbdcff8971f9af1e8289aa42988394b8cdf9e1547272f42ed7d05f0586198f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ebbdcff8971f9af1e8289aa42988394b8cdf9e1547272f42ed7d05f0586198f", kill_on_drop: false }` [INFO] [stdout] 7ebbdcff8971f9af1e8289aa42988394b8cdf9e1547272f42ed7d05f0586198f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-79/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 668ffd3ea3c44f378c5f6979c0f09618876cf968d17f480a0da1a86e4b778046 [INFO] running `Command { std: "docker" "start" "-a" "668ffd3ea3c44f378c5f6979c0f09618876cf968d17f480a0da1a86e4b778046", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking db-core v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | 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:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | std::alloc::LayoutErr, IncorrectLayout, layout_err, [INFO] [stdout] | ^^^^^^^^^ [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:206:79 [INFO] [stdout] | [INFO] [stdout] 206 | 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:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/storage/block_driver.rs (8 fixes) [INFO] [stderr] Fixed src/storage/datastore.rs (1 fix) [INFO] [stderr] Fixed src/system/instance.rs (1 fix) [INFO] [stderr] Fixed src/buf_mgr/buf_mgr.rs (8 fixes) [INFO] [stderr] Fixed src/block_mgr/block.rs (3 fixes) [INFO] [stderr] Fixed src/block_mgr/block_mgr.rs (4 fixes) [INFO] [stderr] Fixed src/block_mgr/allocator.rs (2 fixes) [INFO] [stderr] Fixed src/log_mgr/log_mgr.rs (1 fix) [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/buf_mgr/buf_mgr.rs:287:39 [INFO] [stdout] | [INFO] [stdout] 287 | let cur2 = self.pins[idx].compare_and_swap(cur, new_val, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/buf_mgr/buf_mgr.rs:373:43 [INFO] [stdout] | [INFO] [stdout] 373 | let cur2 = self.pins[buf_idx].compare_and_swap(cur, cur+1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/buf_mgr/buf_mgr.rs:388:32 [INFO] [stdout] | [INFO] [stdout] 388 | self.pins[buf_idx].compare_and_swap(cur, cur | PINLOCK_BIT, Ordering::Relaxed) == 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/intercom.rs:221:36 [INFO] [stdout] | [INFO] [stdout] 221 | let cur = self.wr_lock.compare_and_swap(cur, true, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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: use of deprecated type alias `std::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/common/errors.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | 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:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | std::alloc::LayoutErr, IncorrectLayout, layout_err, [INFO] [stdout] | ^^^^^^^^^ [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:206:79 [INFO] [stdout] | [INFO] [stdout] 206 | 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:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU16::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/storage/datastore.rs:668:36 [INFO] [stdout] | [INFO] [stdout] 668 | ret = self.seq_file_id.compare_and_swap(current, current+1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/system/instance.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | cur_csn = self.csns.latest_commit_csn.compare_and_swap(cur_csn, csn, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/buf_mgr/buf_mgr.rs:287:39 [INFO] [stdout] | [INFO] [stdout] 287 | let cur2 = self.pins[idx].compare_and_swap(cur, new_val, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/buf_mgr/buf_mgr.rs:373:43 [INFO] [stdout] | [INFO] [stdout] 373 | let cur2 = self.pins[buf_idx].compare_and_swap(cur, cur+1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/buf_mgr/buf_mgr.rs:388:32 [INFO] [stdout] | [INFO] [stdout] 388 | self.pins[buf_idx].compare_and_swap(cur, cur | PINLOCK_BIT, Ordering::Relaxed) == 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/system/checkpointer.rs:104:59 [INFO] [stdout] | [INFO] [stdout] 104 | let new_req_count = self.checkpoint_req_count.compare_and_swap(req_count, req_count + 1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/intercom.rs:221:36 [INFO] [stdout] | [INFO] [stdout] 221 | let cur = self.wr_lock.compare_and_swap(cur, true, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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: use of deprecated associated function `std::sync::atomic::AtomicU16::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/storage/datastore.rs:668:36 [INFO] [stdout] | [INFO] [stdout] 668 | ret = self.seq_file_id.compare_and_swap(current, current+1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/system/instance.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | cur_csn = self.csns.latest_commit_csn.compare_and_swap(cur_csn, csn, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/system/checkpointer.rs:104:59 [INFO] [stdout] | [INFO] [stdout] 104 | let new_req_count = self.checkpoint_req_count.compare_and_swap(req_count, req_count + 1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `csn` is never read [INFO] [stdout] --> src/block_mgr/block.rs:1285:17 [INFO] [stdout] | [INFO] [stdout] 1285 | let mut csn = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `csn` is never read [INFO] [stdout] --> src/block_mgr/block.rs:1347:17 [INFO] [stdout] | [INFO] [stdout] 1347 | let mut csn = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `csn` is never read [INFO] [stdout] --> src/block_mgr/block.rs:1412:17 [INFO] [stdout] | [INFO] [stdout] 1412 | let mut csn = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `wake_writers` [INFO] [stdout] --> src/buf_mgr/buf_writer.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn wake_writers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/common/defs.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn init(file_id: u16, extent_id: u16, block_id: u16) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_entry` [INFO] [stdout] --> src/block_mgr/block.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn delete_entry(&mut self, entry_id: u16) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_free_info_free` [INFO] [stdout] --> src/block_mgr/allocator.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn set_free_info_free(&self, block_id: &BlockId) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `wake_writers` [INFO] [stdout] --> src/buf_mgr/buf_writer.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn wake_writers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/block_mgr/block.rs:1237:9 [INFO] [stdout] | [INFO] [stdout] 1237 | block.restore_entry(&entry4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.09s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking db-core v0.1.1 (/tmp/fixit) [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:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | 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:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | std::alloc::LayoutErr, IncorrectLayout, layout_err, [INFO] [stdout] | ^^^^^^^^^ [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:206:79 [INFO] [stdout] | [INFO] [stdout] 206 | 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:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [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:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | 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:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | std::alloc::LayoutErr, IncorrectLayout, layout_err, [INFO] [stdout] | ^^^^^^^^^ [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:206:79 [INFO] [stdout] | [INFO] [stdout] 206 | 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:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/buf_mgr/buf_mgr.rs:287:39 [INFO] [stdout] | [INFO] [stdout] 287 | let cur2 = self.pins[idx].compare_and_swap(cur, new_val, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/buf_mgr/buf_mgr.rs:373:43 [INFO] [stdout] | [INFO] [stdout] 373 | let cur2 = self.pins[buf_idx].compare_and_swap(cur, cur+1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/buf_mgr/buf_mgr.rs:388:32 [INFO] [stdout] | [INFO] [stdout] 388 | self.pins[buf_idx].compare_and_swap(cur, cur | PINLOCK_BIT, Ordering::Relaxed) == 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/buf_mgr/buf_mgr.rs:287:39 [INFO] [stdout] | [INFO] [stdout] 287 | let cur2 = self.pins[idx].compare_and_swap(cur, new_val, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/buf_mgr/buf_mgr.rs:373:43 [INFO] [stdout] | [INFO] [stdout] 373 | let cur2 = self.pins[buf_idx].compare_and_swap(cur, cur+1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/buf_mgr/buf_mgr.rs:388:32 [INFO] [stdout] | [INFO] [stdout] 388 | self.pins[buf_idx].compare_and_swap(cur, cur | PINLOCK_BIT, Ordering::Relaxed) == 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/intercom.rs:221:36 [INFO] [stdout] | [INFO] [stdout] 221 | let cur = self.wr_lock.compare_and_swap(cur, true, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/common/intercom.rs:221:36 [INFO] [stdout] | [INFO] [stdout] 221 | let cur = self.wr_lock.compare_and_swap(cur, true, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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: use of deprecated associated function `std::sync::atomic::AtomicU16::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/storage/datastore.rs:668:36 [INFO] [stdout] | [INFO] [stdout] 668 | ret = self.seq_file_id.compare_and_swap(current, current+1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU16::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/storage/datastore.rs:668:36 [INFO] [stdout] | [INFO] [stdout] 668 | ret = self.seq_file_id.compare_and_swap(current, current+1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/system/instance.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | cur_csn = self.csns.latest_commit_csn.compare_and_swap(cur_csn, csn, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/system/checkpointer.rs:104:59 [INFO] [stdout] | [INFO] [stdout] 104 | let new_req_count = self.checkpoint_req_count.compare_and_swap(req_count, req_count + 1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/system/instance.rs:201:51 [INFO] [stdout] | [INFO] [stdout] 201 | cur_csn = self.csns.latest_commit_csn.compare_and_swap(cur_csn, csn, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/system/checkpointer.rs:104:59 [INFO] [stdout] | [INFO] [stdout] 104 | let new_req_count = self.checkpoint_req_count.compare_and_swap(req_count, req_count + 1, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `csn` is never read [INFO] [stdout] --> src/block_mgr/block.rs:1285:17 [INFO] [stdout] | [INFO] [stdout] 1285 | let mut csn = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `csn` is never read [INFO] [stdout] --> src/block_mgr/block.rs:1347:17 [INFO] [stdout] | [INFO] [stdout] 1347 | let mut csn = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `csn` is never read [INFO] [stdout] --> src/block_mgr/block.rs:1412:17 [INFO] [stdout] | [INFO] [stdout] 1412 | let mut csn = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `wake_writers` [INFO] [stdout] --> src/buf_mgr/buf_writer.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn wake_writers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/common/defs.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn init(file_id: u16, extent_id: u16, block_id: u16) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_entry` [INFO] [stdout] --> src/block_mgr/block.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn delete_entry(&mut self, entry_id: u16) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_free_info_free` [INFO] [stdout] --> src/block_mgr/allocator.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn set_free_info_free(&self, block_id: &BlockId) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `wake_writers` [INFO] [stdout] --> src/buf_mgr/buf_writer.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn wake_writers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/block_mgr/block.rs:1237:9 [INFO] [stdout] | [INFO] [stdout] 1237 | block.restore_entry(&entry4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.11s [INFO] running `Command { std: "docker" "inspect" "668ffd3ea3c44f378c5f6979c0f09618876cf968d17f480a0da1a86e4b778046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "668ffd3ea3c44f378c5f6979c0f09618876cf968d17f480a0da1a86e4b778046", kill_on_drop: false }` [INFO] [stdout] 668ffd3ea3c44f378c5f6979c0f09618876cf968d17f480a0da1a86e4b778046