[INFO] cloning repository https://github.com/sawlow81wt/mydb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sawlow81wt/mydb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsawlow81wt%2Fmydb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsawlow81wt%2Fmydb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 441c85e44023875315189446e1cb0763ae518f69
[INFO] testing sawlow81wt/mydb against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsawlow81wt%2Fmydb" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sawlow81wt/mydb on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sawlow81wt/mydb
[INFO] finished tweaking git repo https://github.com/sawlow81wt/mydb
[INFO] tweaked toml for git repo https://github.com/sawlow81wt/mydb written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/sawlow81wt/mydb 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8c09d172f955c65569d9b1d7ac22a7b7b277e779ad298a4d4d06a46bb876b657
[INFO] running `Command { std: "docker" "start" "-a" "8c09d172f955c65569d9b1d7ac22a7b7b277e779ad298a4d4d06a46bb876b657", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c09d172f955c65569d9b1d7ac22a7b7b277e779ad298a4d4d06a46bb876b657", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c09d172f955c65569d9b1d7ac22a7b7b277e779ad298a4d4d06a46bb876b657", kill_on_drop: false }`
[INFO] [stdout] 8c09d172f955c65569d9b1d7ac22a7b7b277e779ad298a4d4d06a46bb876b657
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f1dadb2ba7e395338cb2aa039addf3f7f15786676ae7eb9939cdd06c9aa904d
[INFO] running `Command { std: "docker" "start" "-a" "3f1dadb2ba7e395338cb2aa039addf3f7f15786676ae7eb9939cdd06c9aa904d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.32
[INFO] [stderr]    Compiling thiserror v1.0.32
[INFO] [stderr]    Compiling mydb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]  --> src/transaction/lock_table.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::{Arc, Mutex, RwLock};
[INFO] [stdout]   |                             ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]  --> src/transaction/log_record.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log_manager::LogManager`
[INFO] [stdout]  --> src/transaction/log_record.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     log_manager::LogManager,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::transaction::Transaction`
[INFO] [stdout]  --> src/transaction/log_record.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::transaction::Transaction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LogRecordTrait`, `transaction::Transaction`
[INFO] [stdout]   --> src/transaction/recovery_manager.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 |     log_record::{LogRecord, LogRecordTrait},
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     transaction::Transaction,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/transaction/log_record.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |             _ => {
[INFO] [stdout]     |             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/transaction/log_record.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |             _ => todo!(),
[INFO] [stdout]     |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record`
[INFO] [stdout]    --> src/transaction/transaction.rs:188:35
[INFO] [stdout]     |
[INFO] [stdout] 188 |             LogRecord::CheckPoint(record)
[INFO] [stdout]     |                                   ^^^^^^
[INFO] [stdout] 189 |             | LogRecord::Commit(record)
[INFO] [stdout]     |                                 ^^^^^^
[INFO] [stdout] 190 |             | LogRecord::Start(record)
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout] 191 |             | LogRecord::Rollback(record) => {
[INFO] [stdout]     |                                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 188 ~             LogRecord::CheckPoint(_record)
[INFO] [stdout] 189 ~             | LogRecord::Commit(_record)
[INFO] [stdout] 190 ~             | LogRecord::Start(_record)
[INFO] [stdout] 191 ~             | LogRecord::Rollback(_record) => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_TIME` is never used
[INFO] [stdout]   --> src/buffer_manager.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const MAX_TIME: i32 = 10000;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BufferAbortError` is never constructed
[INFO] [stdout]   --> src/buffer_manager.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum BufferAbortError {
[INFO] [stdout]    |          ---------------- variant in this enum
[INFO] [stdout] 16 |     #[error("Buffer Abort Error")]
[INFO] [stdout] 17 |     BufferAbortError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufferAbortError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `block_id`, `pins`, `txnum`, and `last_save_numbder` are never read
[INFO] [stdout]   --> src/buffer_manager.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Buffer {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 21 |     contents: Page,
[INFO] [stdout] 22 |     block_id: Option<BlockId>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 23 |     pins: i32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 24 |     txnum: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 25 |     last_save_numbder: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/buffer_manager.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Buffer {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 42 |     fn new(block_size: usize) -> Buffer {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn block_id(&self) -> Option<&BlockId> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn set_modified(&mut self, txnum: i32, last_save_number: i32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn is_pinned(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn modifying_tx(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn assign_to_back(&mut self, block_id: BlockId) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     fn flush(&mut self) {}
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 82 |
[INFO] [stdout] 83 |     fn pin(&mut self) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     fn unpin(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BufferManager` is never constructed
[INFO] [stdout]   --> src/buffer_manager.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct BufferManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/buffer_manager.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 99  | impl BufferManager {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 100 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn available(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn flush_all(&mut self, txnum: i32) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn unpin(&mut self, buffer: Arc<RwLock<Buffer>>) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub fn pin(&mut self, block_id: &BlockId) -> Result<Arc<RwLock<Buffer>>, BufferAbortError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn try_to_pin(&mut self, block_id: &BlockId) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn find_assignable_block(&self, block_id: &BlockId) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn find_existing_buffer(&self, target_block_id: &BlockId) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     fn choose_unpinned_buffer(&self) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGE_SIZE` is never used
[INFO] [stdout]  --> src/file_manager.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const PAGE_SIZE: usize = 4096;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/file_manager.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl BlockId {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 19 |     fn new(filename: &str, block_number: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `write`, `length`, `append_new_block`, and `last_block_num` are never used
[INFO] [stdout]    --> src/file_manager.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl FileManager {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 101 |     pub fn new(directory: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn write(&mut self, block_id: &BlockId, page: &mut Page) -> io::Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn length(&mut self, filename: &String) -> anyhow::Result<i32> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn append_new_block(&mut self, filename: &String) -> io::Result<BlockId> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn last_block_num(&mut self, filename: &String) -> io::Result<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LogManager` is never constructed
[INFO] [stdout]  --> src/log_manager.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct LogManager {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/log_manager.rs:18:12
[INFO] [stdout]     |
[INFO] [stdout] 17  | impl LogManager {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 18  |     pub fn new(mut file_manager: FileManager, log_file: String) -> io::Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 43  |     pub fn flush_with(&mut self, lsn: i32) -> io::Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50  |     pub fn iterator(&mut self) -> io::Result<LogIterator> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55  |     pub fn append_record(&mut self, log_record: &[u8]) -> io::Result<i32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75  |     fn append_new_block(&mut self) -> io::Result<BlockId> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91  |     fn get_boundary(&mut self) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95  |     fn set_boundary(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     fn flush(&mut self) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/log_manager.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl LogIterator {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 120 |     pub fn new(file_manager: Arc<Mutex<FileManager>>, block_id: BlockId) -> io::Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BufferList` is never constructed
[INFO] [stdout]  --> src/transaction/buffer_list.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct BufferList {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_buffer`, `pin`, `unpin`, and `unpin_all` are never used
[INFO] [stdout]   --> src/transaction/buffer_list.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl BufferList {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new(buffer_manager: Arc<Mutex<BufferManager>>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn get_buffer(&self, block_id: &BlockId) -> Option<&Arc<RwLock<Buffer>>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn pin(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn unpin(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn unpin_all(&mut self) -> anyhow::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_TIME` is never used
[INFO] [stdout]  --> src/transaction/lock_table.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const MAX_TIME: Duration = Duration::from_secs(10);
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `table` is never read
[INFO] [stdout]   --> src/transaction/lock_table.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct LockTable {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 10 |     table: HashMap<BlockId, i32>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/transaction/lock_table.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl LockTable {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn slock(&mut self, block_id: &BlockId) -> Result<(), LockAbortError> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn xlock(&mut self, block_id: &BlockId) -> Result<(), LockAbortError> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn unlock(&mut self, block_id: &BlockId) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn has_xlock(&self, block_id: &BlockId) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     fn has_other_slocks(&self, block_id: &BlockId) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     fn get_lock_val(&self, block_id: &BlockId) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConcurrentManager` is never constructed
[INFO] [stdout]   --> src/transaction/lock_table.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct ConcurrentManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `slock`, `xlock`, `release`, and `has_lock` are never used
[INFO] [stdout]    --> src/transaction/lock_table.rs:83:12
[INFO] [stdout]     |
[INFO] [stdout] 82  | impl ConcurrentManager {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] 83  |     pub fn new(lock_table: Arc<Mutex<LockTable>>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 88  |     pub fn slock(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 96  |     pub fn xlock(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn release(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     fn has_lock(&self, block_id: &BlockId) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_txnum` is never used
[INFO] [stdout]    --> src/transaction/log_record.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub trait LogRecordTrait {
[INFO] [stdout]     |           -------------- method in this trait
[INFO] [stdout] 125 |     fn get_txnum(&self) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `record_type` is never read
[INFO] [stdout]    --> src/transaction/log_record.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct UpdateRecord<T> {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] 134 |     record_type: LogRecordType,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecoveryManager` is never constructed
[INFO] [stdout]   --> src/transaction/recovery_manager.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct RecoveryManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `commit`, `rollback`, `recover`, `set_int`, and `set_string` are never used
[INFO] [stdout]   --> src/transaction/recovery_manager.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl RecoveryManager {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn commit(&self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn rollback(&self) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn recover(&self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn set_int(&self, buf: Arc<RwLock<Buffer>>, offset: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |     pub fn set_string(&self, buf: Arc<RwLock<Buffer>>, offset: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TXMUN` is never used
[INFO] [stdout]   --> src/transaction/transaction.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | static TXMUN: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transaction` is never constructed
[INFO] [stdout]   --> src/transaction/transaction.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Transaction {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/transaction/transaction.rs:28:12
[INFO] [stdout]     |
[INFO] [stdout] 27  | impl Transaction {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 28  |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 52  |     pub fn commit(&mut self) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59  |     pub fn rollback(&mut self) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79  |     pub fn recover(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn pin(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn unpin(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn get_int(&mut self, block_id: &BlockId, offset: i32) -> anyhow::Result<i32> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn get_string(&mut self, block_id: &BlockId, offset: i32) -> anyhow::Result<String> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn set_int(
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn set_string(
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn size(&mut self, filename: String) -> anyhow::Result<i32> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn undo(&mut self, log_record: LogRecord) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:195:17
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 self.pin(&record.block_id);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 let _ = self.pin(&record.block_id);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:196:17
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 self.set_int(&record.block_id, record.offset, record.value, false);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 let _ = self.set_int(&record.block_id, record.offset, record.value, false);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 self.unpin(&record.block_id);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 let _ = self.unpin(&record.block_id);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:200:17
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 self.pin(&record.block_id);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 let _ = self.pin(&record.block_id);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:201:17
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 self.set_string(&record.block_id, record.offset, record.value, false);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 let _ = self.set_string(&record.block_id, record.offset, record.value, false);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:202:17
[INFO] [stdout]     |
[INFO] [stdout] 202 |                 self.unpin(&record.block_id);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 202 |                 let _ = self.unpin(&record.block_id);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 40 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_TIME` is never used
[INFO] [stdout]   --> src/buffer_manager.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const MAX_TIME: i32 = 10000;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BufferAbortError` is never constructed
[INFO] [stdout]   --> src/buffer_manager.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum BufferAbortError {
[INFO] [stdout]    |          ---------------- variant in this enum
[INFO] [stdout] 16 |     #[error("Buffer Abort Error")]
[INFO] [stdout] 17 |     BufferAbortError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufferAbortError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `block_id`, `pins`, `txnum`, and `last_save_numbder` are never read
[INFO] [stdout]   --> src/buffer_manager.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Buffer {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 21 |     contents: Page,
[INFO] [stdout] 22 |     block_id: Option<BlockId>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 23 |     pins: i32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 24 |     txnum: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 25 |     last_save_numbder: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/buffer_manager.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Buffer {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 42 |     fn new(block_size: usize) -> Buffer {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn block_id(&self) -> Option<&BlockId> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn set_modified(&mut self, txnum: i32, last_save_number: i32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn is_pinned(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn modifying_tx(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn assign_to_back(&mut self, block_id: BlockId) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     fn flush(&mut self) {}
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 82 |
[INFO] [stdout] 83 |     fn pin(&mut self) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     fn unpin(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BufferManager` is never constructed
[INFO] [stdout]   --> src/buffer_manager.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct BufferManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/buffer_manager.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 99  | impl BufferManager {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 100 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn available(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn flush_all(&mut self, txnum: i32) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn unpin(&mut self, buffer: Arc<RwLock<Buffer>>) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub fn pin(&mut self, block_id: &BlockId) -> Result<Arc<RwLock<Buffer>>, BufferAbortError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn try_to_pin(&mut self, block_id: &BlockId) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn find_assignable_block(&self, block_id: &BlockId) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn find_existing_buffer(&self, target_block_id: &BlockId) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     fn choose_unpinned_buffer(&self) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGE_SIZE` is never used
[INFO] [stdout]  --> src/file_manager.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const PAGE_SIZE: usize = 4096;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/file_manager.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl BlockId {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 19 |     fn new(filename: &str, block_number: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `set_int`, `set_bytes`, `get_string`, `set_string`, and `max_length` are never used
[INFO] [stdout]   --> src/file_manager.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Page {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn set_int(&mut self, offset: usize, value: i32) -> io::Result<()> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn set_bytes(&mut self, offset: usize, value: &[u8]) -> io::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn get_string(&mut self, offset: usize) -> io::Result<String> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub fn set_string(&mut self, offset: usize, value: String) -> io::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn max_length(strlen: usize) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `write`, `length`, `append_new_block`, and `last_block_num` are never used
[INFO] [stdout]    --> src/file_manager.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl FileManager {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 101 |     pub fn new(directory: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn write(&mut self, block_id: &BlockId, page: &mut Page) -> io::Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn length(&mut self, filename: &String) -> anyhow::Result<i32> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn append_new_block(&mut self, filename: &String) -> io::Result<BlockId> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn last_block_num(&mut self, filename: &String) -> io::Result<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LogManager` is never constructed
[INFO] [stdout]  --> src/log_manager.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct LogManager {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/log_manager.rs:18:12
[INFO] [stdout]     |
[INFO] [stdout] 17  | impl LogManager {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 18  |     pub fn new(mut file_manager: FileManager, log_file: String) -> io::Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 43  |     pub fn flush_with(&mut self, lsn: i32) -> io::Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50  |     pub fn iterator(&mut self) -> io::Result<LogIterator> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55  |     pub fn append_record(&mut self, log_record: &[u8]) -> io::Result<i32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75  |     fn append_new_block(&mut self) -> io::Result<BlockId> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91  |     fn get_boundary(&mut self) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95  |     fn set_boundary(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     fn flush(&mut self) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/log_manager.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl LogIterator {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 120 |     pub fn new(file_manager: Arc<Mutex<FileManager>>, block_id: BlockId) -> io::Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.83s
[INFO] running `Command { std: "docker" "inspect" "3f1dadb2ba7e395338cb2aa039addf3f7f15786676ae7eb9939cdd06c9aa904d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f1dadb2ba7e395338cb2aa039addf3f7f15786676ae7eb9939cdd06c9aa904d", kill_on_drop: false }`
[INFO] [stdout] 3f1dadb2ba7e395338cb2aa039addf3f7f15786676ae7eb9939cdd06c9aa904d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b44fbe499d01abdb07c4308479ac73c68074d224f4ca34604038ce18c3acf91c
[INFO] running `Command { std: "docker" "start" "-a" "b44fbe499d01abdb07c4308479ac73c68074d224f4ca34604038ce18c3acf91c", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]  --> src/transaction/lock_table.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::{Arc, Mutex, RwLock};
[INFO] [stdout]   |                             ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]  --> src/transaction/log_record.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log_manager::LogManager`
[INFO] [stdout]  --> src/transaction/log_record.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     log_manager::LogManager,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::transaction::Transaction`
[INFO] [stdout]  --> src/transaction/log_record.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::transaction::Transaction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LogRecordTrait`, `transaction::Transaction`
[INFO] [stdout]   --> src/transaction/recovery_manager.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 |     log_record::{LogRecord, LogRecordTrait},
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     transaction::Transaction,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/transaction/log_record.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |             _ => {
[INFO] [stdout]     |             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/transaction/log_record.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |             _ => todo!(),
[INFO] [stdout]     |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record`
[INFO] [stdout]    --> src/transaction/transaction.rs:188:35
[INFO] [stdout]     |
[INFO] [stdout] 188 |             LogRecord::CheckPoint(record)
[INFO] [stdout]     |                                   ^^^^^^
[INFO] [stdout] 189 |             | LogRecord::Commit(record)
[INFO] [stdout]     |                                 ^^^^^^
[INFO] [stdout] 190 |             | LogRecord::Start(record)
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout] 191 |             | LogRecord::Rollback(record) => {
[INFO] [stdout]     |                                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 188 ~             LogRecord::CheckPoint(_record)
[INFO] [stdout] 189 ~             | LogRecord::Commit(_record)
[INFO] [stdout] 190 ~             | LogRecord::Start(_record)
[INFO] [stdout] 191 ~             | LogRecord::Rollback(_record) => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_TIME` is never used
[INFO] [stdout]   --> src/buffer_manager.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const MAX_TIME: i32 = 10000;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BufferAbortError` is never constructed
[INFO] [stdout]   --> src/buffer_manager.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum BufferAbortError {
[INFO] [stdout]    |          ---------------- variant in this enum
[INFO] [stdout] 16 |     #[error("Buffer Abort Error")]
[INFO] [stdout] 17 |     BufferAbortError,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufferAbortError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `block_id`, `pins`, `txnum`, and `last_save_numbder` are never read
[INFO] [stdout]   --> src/buffer_manager.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Buffer {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 21 |     contents: Page,
[INFO] [stdout] 22 |     block_id: Option<BlockId>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 23 |     pins: i32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 24 |     txnum: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 25 |     last_save_numbder: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/buffer_manager.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Buffer {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 42 |     fn new(block_size: usize) -> Buffer {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn block_id(&self) -> Option<&BlockId> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn set_modified(&mut self, txnum: i32, last_save_number: i32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn is_pinned(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn modifying_tx(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn assign_to_back(&mut self, block_id: BlockId) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     fn flush(&mut self) {}
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 82 |
[INFO] [stdout] 83 |     fn pin(&mut self) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     fn unpin(&mut self) {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BufferManager` is never constructed
[INFO] [stdout]   --> src/buffer_manager.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct BufferManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/buffer_manager.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 99  | impl BufferManager {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 100 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn available(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn flush_all(&mut self, txnum: i32) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn unpin(&mut self, buffer: Arc<RwLock<Buffer>>) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub fn pin(&mut self, block_id: &BlockId) -> Result<Arc<RwLock<Buffer>>, BufferAbortError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn try_to_pin(&mut self, block_id: &BlockId) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn find_assignable_block(&self, block_id: &BlockId) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn find_existing_buffer(&self, target_block_id: &BlockId) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     fn choose_unpinned_buffer(&self) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAGE_SIZE` is never used
[INFO] [stdout]  --> src/file_manager.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const PAGE_SIZE: usize = 4096;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/file_manager.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl BlockId {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 19 |     fn new(filename: &str, block_number: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `write`, `length`, `append_new_block`, and `last_block_num` are never used
[INFO] [stdout]    --> src/file_manager.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl FileManager {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 101 |     pub fn new(directory: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn write(&mut self, block_id: &BlockId, page: &mut Page) -> io::Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn length(&mut self, filename: &String) -> anyhow::Result<i32> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn append_new_block(&mut self, filename: &String) -> io::Result<BlockId> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn last_block_num(&mut self, filename: &String) -> io::Result<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LogManager` is never constructed
[INFO] [stdout]  --> src/log_manager.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct LogManager {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/log_manager.rs:18:12
[INFO] [stdout]     |
[INFO] [stdout] 17  | impl LogManager {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 18  |     pub fn new(mut file_manager: FileManager, log_file: String) -> io::Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 43  |     pub fn flush_with(&mut self, lsn: i32) -> io::Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50  |     pub fn iterator(&mut self) -> io::Result<LogIterator> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55  |     pub fn append_record(&mut self, log_record: &[u8]) -> io::Result<i32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75  |     fn append_new_block(&mut self) -> io::Result<BlockId> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91  |     fn get_boundary(&mut self) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95  |     fn set_boundary(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     fn flush(&mut self) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/log_manager.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl LogIterator {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] 120 |     pub fn new(file_manager: Arc<Mutex<FileManager>>, block_id: BlockId) -> io::Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BufferList` is never constructed
[INFO] [stdout]  --> src/transaction/buffer_list.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct BufferList {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_buffer`, `pin`, `unpin`, and `unpin_all` are never used
[INFO] [stdout]   --> src/transaction/buffer_list.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl BufferList {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new(buffer_manager: Arc<Mutex<BufferManager>>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn get_buffer(&self, block_id: &BlockId) -> Option<&Arc<RwLock<Buffer>>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn pin(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn unpin(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn unpin_all(&mut self) -> anyhow::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_TIME` is never used
[INFO] [stdout]  --> src/transaction/lock_table.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const MAX_TIME: Duration = Duration::from_secs(10);
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `table` is never read
[INFO] [stdout]   --> src/transaction/lock_table.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct LockTable {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 10 |     table: HashMap<BlockId, i32>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/transaction/lock_table.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl LockTable {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn slock(&mut self, block_id: &BlockId) -> Result<(), LockAbortError> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn xlock(&mut self, block_id: &BlockId) -> Result<(), LockAbortError> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn unlock(&mut self, block_id: &BlockId) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn has_xlock(&self, block_id: &BlockId) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     fn has_other_slocks(&self, block_id: &BlockId) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     fn get_lock_val(&self, block_id: &BlockId) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConcurrentManager` is never constructed
[INFO] [stdout]   --> src/transaction/lock_table.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct ConcurrentManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `slock`, `xlock`, `release`, and `has_lock` are never used
[INFO] [stdout]    --> src/transaction/lock_table.rs:83:12
[INFO] [stdout]     |
[INFO] [stdout] 82  | impl ConcurrentManager {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] 83  |     pub fn new(lock_table: Arc<Mutex<LockTable>>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 88  |     pub fn slock(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 96  |     pub fn xlock(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn release(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     fn has_lock(&self, block_id: &BlockId) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_txnum` is never used
[INFO] [stdout]    --> src/transaction/log_record.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub trait LogRecordTrait {
[INFO] [stdout]     |           -------------- method in this trait
[INFO] [stdout] 125 |     fn get_txnum(&self) -> i32;
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `record_type` is never read
[INFO] [stdout]    --> src/transaction/log_record.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct UpdateRecord<T> {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] 134 |     record_type: LogRecordType,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RecoveryManager` is never constructed
[INFO] [stdout]   --> src/transaction/recovery_manager.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct RecoveryManager {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `commit`, `rollback`, `recover`, `set_int`, and `set_string` are never used
[INFO] [stdout]   --> src/transaction/recovery_manager.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl RecoveryManager {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn commit(&self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn rollback(&self) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn recover(&self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn set_int(&self, buf: Arc<RwLock<Buffer>>, offset: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |     pub fn set_string(&self, buf: Arc<RwLock<Buffer>>, offset: i32) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TXMUN` is never used
[INFO] [stdout]   --> src/transaction/transaction.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | static TXMUN: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transaction` is never constructed
[INFO] [stdout]   --> src/transaction/transaction.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Transaction {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/transaction/transaction.rs:28:12
[INFO] [stdout]     |
[INFO] [stdout] 27  | impl Transaction {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 28  |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 52  |     pub fn commit(&mut self) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59  |     pub fn rollback(&mut self) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79  |     pub fn recover(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn pin(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn unpin(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn get_int(&mut self, block_id: &BlockId, offset: i32) -> anyhow::Result<i32> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn get_string(&mut self, block_id: &BlockId, offset: i32) -> anyhow::Result<String> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn set_int(
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn set_string(
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn size(&mut self, filename: String) -> anyhow::Result<i32> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn undo(&mut self, log_record: LogRecord) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:195:17
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 self.pin(&record.block_id);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 let _ = self.pin(&record.block_id);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:196:17
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 self.set_int(&record.block_id, record.offset, record.value, false);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 let _ = self.set_int(&record.block_id, record.offset, record.value, false);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 self.unpin(&record.block_id);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 let _ = self.unpin(&record.block_id);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:200:17
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 self.pin(&record.block_id);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 let _ = self.pin(&record.block_id);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:201:17
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 self.set_string(&record.block_id, record.offset, record.value, false);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 let _ = self.set_string(&record.block_id, record.offset, record.value, false);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling mydb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:202:17
[INFO] [stdout]     |
[INFO] [stdout] 202 |                 self.unpin(&record.block_id);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 202 |                 let _ = self.unpin(&record.block_id);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 40 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]  --> src/transaction/lock_table.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::{Arc, Mutex, RwLock};
[INFO] [stdout]   |                             ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout]  --> src/transaction/log_record.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::{Arc, Mutex};
[INFO] [stdout]   |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log_manager::LogManager`
[INFO] [stdout]  --> src/transaction/log_record.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     log_manager::LogManager,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::transaction::Transaction`
[INFO] [stdout]  --> src/transaction/log_record.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::transaction::Transaction;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LogRecordTrait`, `transaction::Transaction`
[INFO] [stdout]   --> src/transaction/recovery_manager.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 |     log_record::{LogRecord, LogRecordTrait},
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     transaction::Transaction,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_TIME` is never used
[INFO] [stdout]   --> src/buffer_manager.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const MAX_TIME: i32 = 10000;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `txnum` and `last_save_numbder` are never read
[INFO] [stdout]   --> src/buffer_manager.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Buffer {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     txnum: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 25 |     last_save_numbder: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `block_id`, `set_modified`, and `modifying_tx` are never used
[INFO] [stdout]   --> src/buffer_manager.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Buffer {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn block_id(&self) -> Option<&BlockId> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn set_modified(&mut self, txnum: i32, last_save_number: i32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn modifying_tx(&self) -> i32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `log_manager` is never read
[INFO] [stdout]   --> src/buffer_manager.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct BufferManager {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 93 |     file_manager: Arc<Mutex<FileManager>>,
[INFO] [stdout] 94 |     log_manager: Arc<Mutex<LogManager>>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `flush_all` is never used
[INFO] [stdout]    --> src/buffer_manager.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 99  | impl BufferManager {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn flush_all(&mut self, txnum: i32) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/file_manager.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl BlockId {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 19 |     fn new(filename: &str, block_number: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `length` is never used
[INFO] [stdout]    --> src/file_manager.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl FileManager {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn length(&mut self, filename: &String) -> anyhow::Result<i32> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `flush_with` is never used
[INFO] [stdout]   --> src/log_manager.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl LogManager {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn flush_with(&mut self, lsn: i32) -> io::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/transaction/log_record.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |             _ => {
[INFO] [stdout]     |             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/transaction/log_record.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |             _ => todo!(),
[INFO] [stdout]     |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record`
[INFO] [stdout]    --> src/transaction/transaction.rs:188:35
[INFO] [stdout]     |
[INFO] [stdout] 188 |             LogRecord::CheckPoint(record)
[INFO] [stdout]     |                                   ^^^^^^
[INFO] [stdout] 189 |             | LogRecord::Commit(record)
[INFO] [stdout]     |                                 ^^^^^^
[INFO] [stdout] 190 |             | LogRecord::Start(record)
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout] 191 |             | LogRecord::Rollback(record) => {
[INFO] [stdout]     |                                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 188 ~             LogRecord::CheckPoint(_record)
[INFO] [stdout] 189 ~             | LogRecord::Commit(_record)
[INFO] [stdout] 190 ~             | LogRecord::Start(_record)
[INFO] [stdout] 191 ~             | LogRecord::Rollback(_record) => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rval`
[INFO] [stdout]    --> src/transaction/transaction.rs:286:13
[INFO] [stdout]     |
[INFO] [stdout] 286 |         let rval = tx4.get_int(&block, 80);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_rval`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_TIME` is never used
[INFO] [stdout]   --> src/buffer_manager.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const MAX_TIME: i32 = 10000;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/file_manager.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl BlockId {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 19 |     fn new(filename: &str, block_number: i32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `length` is never used
[INFO] [stdout]    --> src/file_manager.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl FileManager {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn length(&mut self, filename: &String) -> anyhow::Result<i32> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `record_type` is never read
[INFO] [stdout]    --> src/transaction/log_record.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct UpdateRecord<T> {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] 134 |     record_type: LogRecordType,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_set_int` is never used
[INFO] [stdout]    --> src/transaction/log_record.rs:313:8
[INFO] [stdout]     |
[INFO] [stdout] 313 |     fn test_set_int() {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `recover` is never used
[INFO] [stdout]   --> src/transaction/recovery_manager.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl RecoveryManager {
[INFO] [stdout]    | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn recover(&self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file_manager` and `buffer_manager` are never read
[INFO] [stdout]   --> src/transaction/transaction.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Transaction {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 18 |     file_manager: Arc<Mutex<FileManager>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 19 |     log_manager: Arc<Mutex<LogManager>>,
[INFO] [stdout] 20 |     buffer_manager: Arc<Mutex<BufferManager>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `recover` and `size` are never used
[INFO] [stdout]    --> src/transaction/transaction.rs:79:12
[INFO] [stdout]     |
[INFO] [stdout] 27  | impl Transaction {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79  |     pub fn recover(&mut self) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn size(&mut self, filename: String) -> anyhow::Result<i32> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:195:17
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 self.pin(&record.block_id);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 195 |                 let _ = self.pin(&record.block_id);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:196:17
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 self.set_int(&record.block_id, record.offset, record.value, false);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 196 |                 let _ = self.set_int(&record.block_id, record.offset, record.value, false);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 self.unpin(&record.block_id);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 let _ = self.unpin(&record.block_id);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:200:17
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 self.pin(&record.block_id);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 let _ = self.pin(&record.block_id);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:201:17
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 self.set_string(&record.block_id, record.offset, record.value, false);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 let _ = self.set_string(&record.block_id, record.offset, record.value, false);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:202:17
[INFO] [stdout]     |
[INFO] [stdout] 202 |                 self.unpin(&record.block_id);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 202 |                 let _ = self.unpin(&record.block_id);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/transaction/transaction.rs:244:31
[INFO] [stdout]     |
[INFO] [stdout] 244 |             filename: filename.clone().to_string(),
[INFO] [stdout]     |                               ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:248:9
[INFO] [stdout]     |
[INFO] [stdout] 248 |         tx1.pin(&block);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 248 |         let _ = tx1.pin(&block);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:249:9
[INFO] [stdout]     |
[INFO] [stdout] 249 |         tx1.set_int(&block, 80, 1, false);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let _ = tx1.set_int(&block, 80, 1, false);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:250:9
[INFO] [stdout]     |
[INFO] [stdout] 250 |         tx1.set_string(&block, 40, "one".to_string(), false);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 250 |         let _ = tx1.set_string(&block, 40, "one".to_string(), false);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         tx1.commit();
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 251 |         let _ = tx1.commit();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |         tx2.pin(&block);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 259 |         let _ = tx2.pin(&block);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:265:9
[INFO] [stdout]     |
[INFO] [stdout] 265 |         tx2.set_int(&block, 80, new_ival, false);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let _ = tx2.set_int(&block, 80, new_ival, false);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |         tx2.set_string(&block, 40, new_sval.to_string(), false);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 266 |         let _ = tx2.set_string(&block, 40, new_sval.to_string(), false);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:267:9
[INFO] [stdout]     |
[INFO] [stdout] 267 |         tx2.commit();
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 267 |         let _ = tx2.commit();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:275:9
[INFO] [stdout]     |
[INFO] [stdout] 275 |         tx3.pin(&block);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 275 |         let _ = tx3.pin(&block);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 276 |         tx3.set_int(&block, 80, 9999, false);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 276 |         let _ = tx3.set_int(&block, 80, 9999, false);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:277:9
[INFO] [stdout]     |
[INFO] [stdout] 277 |         tx3.rollback();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let _ = tx3.rollback();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:285:9
[INFO] [stdout]     |
[INFO] [stdout] 285 |         tx4.pin(&block);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let _ = tx4.pin(&block);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/transaction/transaction.rs:287:9
[INFO] [stdout]     |
[INFO] [stdout] 287 |         tx4.commit();
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 287 |         let _ = tx4.commit();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 37 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] running `Command { std: "docker" "inspect" "b44fbe499d01abdb07c4308479ac73c68074d224f4ca34604038ce18c3acf91c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b44fbe499d01abdb07c4308479ac73c68074d224f4ca34604038ce18c3acf91c", kill_on_drop: false }`
[INFO] [stdout] b44fbe499d01abdb07c4308479ac73c68074d224f4ca34604038ce18c3acf91c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 82a623711a1ef9ae453920cee10269e112b24731f03bdc9ee907cc9013606242
[INFO] running `Command { std: "docker" "start" "-a" "82a623711a1ef9ae453920cee10269e112b24731f03bdc9ee907cc9013606242", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `RwLock`
[INFO] [stderr]  --> src/transaction/lock_table.rs:2:29
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::sync::{Arc, Mutex, RwLock};
[INFO] [stderr]   |                             ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Arc`, `Mutex`
[INFO] [stderr]  --> src/transaction/log_record.rs:1:17
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::sync::{Arc, Mutex};
[INFO] [stderr]   |                 ^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `log_manager::LogManager`
[INFO] [stderr]  --> src/transaction/log_record.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 |     log_manager::LogManager,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::transaction::Transaction`
[INFO] [stderr]  --> src/transaction/log_record.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use super::transaction::Transaction;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `LogRecordTrait`, `transaction::Transaction`
[INFO] [stderr]   --> src/transaction/recovery_manager.rs:10:29
[INFO] [stderr]    |
[INFO] [stderr] 10 |     log_record::{LogRecord, LogRecordTrait},
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^
[INFO] [stderr] 11 |     transaction::Transaction,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/transaction/log_record.rs:222:13
[INFO] [stderr]     |
[INFO] [stderr] 222 |             _ => {
[INFO] [stderr]     |             ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/transaction/log_record.rs:283:13
[INFO] [stderr]     |
[INFO] [stderr] 283 |             _ => todo!(),
[INFO] [stderr]     |             ^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `record`
[INFO] [stderr]    --> src/transaction/transaction.rs:188:35
[INFO] [stderr]     |
[INFO] [stderr] 188 |             LogRecord::CheckPoint(record)
[INFO] [stderr]     |                                   ^^^^^^
[INFO] [stderr] 189 |             | LogRecord::Commit(record)
[INFO] [stderr]     |                                 ^^^^^^
[INFO] [stderr] 190 |             | LogRecord::Start(record)
[INFO] [stderr]     |                                ^^^^^^
[INFO] [stderr] 191 |             | LogRecord::Rollback(record) => {
[INFO] [stderr]     |                                   ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] help: if this is intentional, prefix it with an underscore
[INFO] [stderr]     |
[INFO] [stderr] 188 ~             LogRecord::CheckPoint(_record)
[INFO] [stderr] 189 ~             | LogRecord::Commit(_record)
[INFO] [stderr] 190 ~             | LogRecord::Start(_record)
[INFO] [stderr] 191 ~             | LogRecord::Rollback(_record) => {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MAX_TIME` is never used
[INFO] [stderr]   --> src/buffer_manager.rs:12:11
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub const MAX_TIME: i32 = 10000;
[INFO] [stderr]    |           ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `BufferAbortError` is never constructed
[INFO] [stderr]   --> src/buffer_manager.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub enum BufferAbortError {
[INFO] [stderr]    |          ---------------- variant in this enum
[INFO] [stderr] 16 |     #[error("Buffer Abort Error")]
[INFO] [stderr] 17 |     BufferAbortError,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `BufferAbortError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `block_id`, `pins`, `txnum`, and `last_save_numbder` are never read
[INFO] [stderr]   --> src/buffer_manager.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct Buffer {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] 21 |     contents: Page,
[INFO] [stderr] 22 |     block_id: Option<BlockId>,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 23 |     pins: i32,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 24 |     txnum: i32,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 25 |     last_save_numbder: i32,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]   --> src/buffer_manager.rs:42:8
[INFO] [stderr]    |
[INFO] [stderr] 41 | impl Buffer {
[INFO] [stderr]    | ----------- associated items in this implementation
[INFO] [stderr] 42 |     fn new(block_size: usize) -> Buffer {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 53 |     pub fn block_id(&self) -> Option<&BlockId> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 60 |     pub fn set_modified(&mut self, txnum: i32, last_save_number: i32) {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 67 |     pub fn is_pinned(&self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 71 |     pub fn modifying_tx(&self) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 75 |     fn assign_to_back(&mut self, block_id: BlockId) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 81 |     fn flush(&mut self) {}
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 82 |
[INFO] [stderr] 83 |     fn pin(&mut self) {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 87 |     fn unpin(&mut self) {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BufferManager` is never constructed
[INFO] [stderr]   --> src/buffer_manager.rs:92:12
[INFO] [stderr]    |
[INFO] [stderr] 92 | pub struct BufferManager {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/buffer_manager.rs:100:12
[INFO] [stderr]     |
[INFO] [stderr] 99  | impl BufferManager {
[INFO] [stderr]     | ------------------ associated items in this implementation
[INFO] [stderr] 100 |     pub fn new(
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 116 |     pub fn available(&self) -> i32 {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 120 |     pub fn flush_all(&mut self, txnum: i32) {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 141 |     pub fn unpin(&mut self, buffer: Arc<RwLock<Buffer>>) {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 148 |     pub fn pin(&mut self, block_id: &BlockId) -> Result<Arc<RwLock<Buffer>>, BufferAbortError> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 155 |     fn try_to_pin(&mut self, block_id: &BlockId) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 167 |     fn find_assignable_block(&self, block_id: &BlockId) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 183 |     fn find_existing_buffer(&self, target_block_id: &BlockId) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 196 |     fn choose_unpinned_buffer(&self) -> Option<Arc<RwLock<Buffer>>> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `PAGE_SIZE` is never used
[INFO] [stderr]  --> src/file_manager.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub const PAGE_SIZE: usize = 4096;
[INFO] [stderr]   |           ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/file_manager.rs:19:8
[INFO] [stderr]    |
[INFO] [stderr] 18 | impl BlockId {
[INFO] [stderr]    | ------------ associated function in this implementation
[INFO] [stderr] 19 |     fn new(filename: &str, block_number: i32) -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `write`, `length`, `append_new_block`, and `last_block_num` are never used
[INFO] [stderr]    --> src/file_manager.rs:101:12
[INFO] [stderr]     |
[INFO] [stderr] 100 | impl FileManager {
[INFO] [stderr]     | ---------------- associated items in this implementation
[INFO] [stderr] 101 |     pub fn new(directory: String) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 109 |     pub fn write(&mut self, block_id: &BlockId, page: &mut Page) -> io::Result<()> {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 140 |     pub fn length(&mut self, filename: &String) -> anyhow::Result<i32> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 146 |     pub fn append_new_block(&mut self, filename: &String) -> io::Result<BlockId> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 162 |     pub fn last_block_num(&mut self, filename: &String) -> io::Result<usize> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LogManager` is never constructed
[INFO] [stderr]  --> src/log_manager.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct LogManager {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/log_manager.rs:18:12
[INFO] [stderr]     |
[INFO] [stderr] 17  | impl LogManager {
[INFO] [stderr]     | --------------- associated items in this implementation
[INFO] [stderr] 18  |     pub fn new(mut file_manager: FileManager, log_file: String) -> io::Result<Self> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 43  |     pub fn flush_with(&mut self, lsn: i32) -> io::Result<()> {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 50  |     pub fn iterator(&mut self) -> io::Result<LogIterator> {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 55  |     pub fn append_record(&mut self, log_record: &[u8]) -> io::Result<i32> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 75  |     fn append_new_block(&mut self) -> io::Result<BlockId> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 91  |     fn get_boundary(&mut self) -> i32 {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 95  |     fn set_boundary(&mut self) {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 101 |     fn flush(&mut self) -> io::Result<()> {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/log_manager.rs:120:12
[INFO] [stderr]     |
[INFO] [stderr] 119 | impl LogIterator {
[INFO] [stderr]     | ---------------- associated function in this implementation
[INFO] [stderr] 120 |     pub fn new(file_manager: Arc<Mutex<FileManager>>, block_id: BlockId) -> io::Result<Self> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BufferList` is never constructed
[INFO] [stderr]  --> src/transaction/buffer_list.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct BufferList {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `get_buffer`, `pin`, `unpin`, and `unpin_all` are never used
[INFO] [stderr]   --> src/transaction/buffer_list.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl BufferList {
[INFO] [stderr]    | --------------- associated items in this implementation
[INFO] [stderr] 13 |     pub fn new(buffer_manager: Arc<Mutex<BufferManager>>) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub fn get_buffer(&self, block_id: &BlockId) -> Option<&Arc<RwLock<Buffer>>> {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 27 |     pub fn pin(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 39 |     pub fn unpin(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 60 |     pub fn unpin_all(&mut self) -> anyhow::Result<()> {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MAX_TIME` is never used
[INFO] [stderr]  --> src/transaction/lock_table.rs:7:7
[INFO] [stderr]   |
[INFO] [stderr] 7 | const MAX_TIME: Duration = Duration::from_secs(10);
[INFO] [stderr]   |       ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `table` is never read
[INFO] [stderr]   --> src/transaction/lock_table.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 9  | pub struct LockTable {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] 10 |     table: HashMap<BlockId, i32>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]   --> src/transaction/lock_table.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 21 | impl LockTable {
[INFO] [stderr]    | -------------- associated items in this implementation
[INFO] [stderr] 22 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 26 |     fn slock(&mut self, block_id: &BlockId) -> Result<(), LockAbortError> {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 40 |     fn xlock(&mut self, block_id: &BlockId) -> Result<(), LockAbortError> {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 52 |     fn unlock(&mut self, block_id: &BlockId) {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 61 |     fn has_xlock(&self, block_id: &BlockId) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 65 |     fn has_other_slocks(&self, block_id: &BlockId) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 69 |     fn get_lock_val(&self, block_id: &BlockId) -> i32 {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ConcurrentManager` is never constructed
[INFO] [stderr]   --> src/transaction/lock_table.rs:77:12
[INFO] [stderr]    |
[INFO] [stderr] 77 | pub struct ConcurrentManager {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `slock`, `xlock`, `release`, and `has_lock` are never used
[INFO] [stderr]    --> src/transaction/lock_table.rs:83:12
[INFO] [stderr]     |
[INFO] [stderr] 82  | impl ConcurrentManager {
[INFO] [stderr]     | ---------------------- associated items in this implementation
[INFO] [stderr] 83  |     pub fn new(lock_table: Arc<Mutex<LockTable>>) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 88  |     pub fn slock(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 96  |     pub fn xlock(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 106 |     pub fn release(&mut self) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 113 |     fn has_lock(&self, block_id: &BlockId) -> bool {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_txnum` is never used
[INFO] [stderr]    --> src/transaction/log_record.rs:125:8
[INFO] [stderr]     |
[INFO] [stderr] 124 | pub trait LogRecordTrait {
[INFO] [stderr]     |           -------------- method in this trait
[INFO] [stderr] 125 |     fn get_txnum(&self) -> i32;
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `record_type` is never read
[INFO] [stderr]    --> src/transaction/log_record.rs:134:5
[INFO] [stderr]     |
[INFO] [stderr] 133 | pub struct UpdateRecord<T> {
[INFO] [stderr]     |            ------------ field in this struct
[INFO] [stderr] 134 |     record_type: LogRecordType,
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RecoveryManager` is never constructed
[INFO] [stderr]   --> src/transaction/recovery_manager.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct RecoveryManager {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `commit`, `rollback`, `recover`, `set_int`, and `set_string` are never used
[INFO] [stderr]   --> src/transaction/recovery_manager.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 21 | impl RecoveryManager {
[INFO] [stderr]    | -------------------- associated items in this implementation
[INFO] [stderr] 22 |     pub fn new(
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 43 |     pub fn commit(&self) {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 56 |     pub fn rollback(&self) {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 69 |     pub fn recover(&self) {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 82 |     pub fn set_int(&self, buf: Arc<RwLock<Buffer>>, offset: i32) -> i32 {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 99 |     pub fn set_string(&self, buf: Arc<RwLock<Buffer>>, offset: i32) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `TXMUN` is never used
[INFO] [stderr]   --> src/transaction/transaction.rs:15:8
[INFO] [stderr]    |
[INFO] [stderr] 15 | static TXMUN: AtomicUsize = AtomicUsize::new(0);
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Transaction` is never constructed
[INFO] [stderr]   --> src/transaction/transaction.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct Transaction {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/transaction/transaction.rs:28:12
[INFO] [stderr]     |
[INFO] [stderr] 27  | impl Transaction {
[INFO] [stderr]     | ---------------- associated items in this implementation
[INFO] [stderr] 28  |     pub fn new(
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 52  |     pub fn commit(&mut self) -> anyhow::Result<()> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 59  |     pub fn rollback(&mut self) -> anyhow::Result<()> {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 79  |     pub fn recover(&mut self) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 102 |     pub fn pin(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 106 |     pub fn unpin(&mut self, block_id: &BlockId) -> anyhow::Result<()> {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 110 |     pub fn get_int(&mut self, block_id: &BlockId, offset: i32) -> anyhow::Result<i32> {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 120 |     pub fn get_string(&mut self, block_id: &BlockId, offset: i32) -> anyhow::Result<String> {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 132 |     pub fn set_int(
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 154 |     pub fn set_string(
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 176 |     pub fn size(&mut self, filename: String) -> anyhow::Result<i32> {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 186 |     pub fn undo(&mut self, log_record: LogRecord) {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:195:17
[INFO] [stderr]     |
[INFO] [stderr] 195 |                 self.pin(&record.block_id);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 195 |                 let _ = self.pin(&record.block_id);
[INFO] [stderr]     |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:196:17
[INFO] [stderr]     |
[INFO] [stderr] 196 |                 self.set_int(&record.block_id, record.offset, record.value, false);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 196 |                 let _ = self.set_int(&record.block_id, record.offset, record.value, false);
[INFO] [stderr]     |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:197:17
[INFO] [stderr]     |
[INFO] [stderr] 197 |                 self.unpin(&record.block_id);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 197 |                 let _ = self.unpin(&record.block_id);
[INFO] [stderr]     |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:200:17
[INFO] [stderr]     |
[INFO] [stderr] 200 |                 self.pin(&record.block_id);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 200 |                 let _ = self.pin(&record.block_id);
[INFO] [stderr]     |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:201:17
[INFO] [stderr]     |
[INFO] [stderr] 201 |                 self.set_string(&record.block_id, record.offset, record.value, false);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 201 |                 let _ = self.set_string(&record.block_id, record.offset, record.value, false);
[INFO] [stderr]     |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:202:17
[INFO] [stderr]     |
[INFO] [stderr] 202 |                 self.unpin(&record.block_id);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 202 |                 let _ = self.unpin(&record.block_id);
[INFO] [stderr]     |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rval`
[INFO] [stderr]    --> src/transaction/transaction.rs:286:13
[INFO] [stderr]     |
[INFO] [stderr] 286 |         let rval = tx4.get_int(&block, 80);
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_rval`
[INFO] [stderr] 
[INFO] [stderr] warning: method `length` is never used
[INFO] [stderr]    --> src/file_manager.rs:140:12
[INFO] [stderr]     |
[INFO] [stderr] 100 | impl FileManager {
[INFO] [stderr]     | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 140 |     pub fn length(&mut self, filename: &String) -> anyhow::Result<i32> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_set_int` is never used
[INFO] [stderr]    --> src/transaction/log_record.rs:313:8
[INFO] [stderr]     |
[INFO] [stderr] 313 |     fn test_set_int() {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `recover` is never used
[INFO] [stderr]   --> src/transaction/recovery_manager.rs:69:12
[INFO] [stderr]    |
[INFO] [stderr] 21 | impl RecoveryManager {
[INFO] [stderr]    | -------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 69 |     pub fn recover(&self) {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `file_manager` and `buffer_manager` are never read
[INFO] [stderr]   --> src/transaction/transaction.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct Transaction {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 18 |     file_manager: Arc<Mutex<FileManager>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 19 |     log_manager: Arc<Mutex<LogManager>>,
[INFO] [stderr] 20 |     buffer_manager: Arc<Mutex<BufferManager>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `recover` and `size` are never used
[INFO] [stderr]    --> src/transaction/transaction.rs:79:12
[INFO] [stderr]     |
[INFO] [stderr] 27  | impl Transaction {
[INFO] [stderr]     | ---------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 79  |     pub fn recover(&mut self) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 176 |     pub fn size(&mut self, filename: String) -> anyhow::Result<i32> {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/transaction/transaction.rs:244:31
[INFO] [stderr]     |
[INFO] [stderr] 244 |             filename: filename.clone().to_string(),
[INFO] [stderr]     |                               ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:248:9
[INFO] [stderr]     |
[INFO] [stderr] 248 |         tx1.pin(&block);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 248 |         let _ = tx1.pin(&block);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:249:9
[INFO] [stderr]     |
[INFO] [stderr] 249 |         tx1.set_int(&block, 80, 1, false);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 249 |         let _ = tx1.set_int(&block, 80, 1, false);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:250:9
[INFO] [stderr]     |
[INFO] [stderr] 250 |         tx1.set_string(&block, 40, "one".to_string(), false);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 250 |         let _ = tx1.set_string(&block, 40, "one".to_string(), false);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:251:9
[INFO] [stderr]     |
[INFO] [stderr] 251 |         tx1.commit();
[INFO] [stderr]     |         ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 251 |         let _ = tx1.commit();
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:259:9
[INFO] [stderr]     |
[INFO] [stderr] 259 |         tx2.pin(&block);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 259 |         let _ = tx2.pin(&block);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:265:9
[INFO] [stderr]     |
[INFO] [stderr] 265 |         tx2.set_int(&block, 80, new_ival, false);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 265 |         let _ = tx2.set_int(&block, 80, new_ival, false);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:266:9
[INFO] [stderr]     |
[INFO] [stderr] 266 |         tx2.set_string(&block, 40, new_sval.to_string(), false);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 266 |         let _ = tx2.set_string(&block, 40, new_sval.to_string(), false);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:267:9
[INFO] [stderr]     |
[INFO] [stderr] 267 |         tx2.commit();
[INFO] [stderr]     |         ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 267 |         let _ = tx2.commit();
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:275:9
[INFO] [stderr]     |
[INFO] [stderr] 275 |         tx3.pin(&block);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 275 |         let _ = tx3.pin(&block);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:276:9
[INFO] [stderr]     |
[INFO] [stderr] 276 |         tx3.set_int(&block, 80, 9999, false);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 276 |         let _ = tx3.set_int(&block, 80, 9999, false);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:277:9
[INFO] [stderr]     |
[INFO] [stderr] 277 |         tx3.rollback();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 277 |         let _ = tx3.rollback();
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:285:9
[INFO] [stderr]     |
[INFO] [stderr] 285 |         tx4.pin(&block);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 285 |         let _ = tx4.pin(&block);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/transaction/transaction.rs:287:9
[INFO] [stderr]     |
[INFO] [stderr] 287 |         tx4.commit();
[INFO] [stderr]     |         ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 287 |         let _ = tx4.commit();
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `mydb` (lib) generated 40 warnings (run `cargo fix --lib -p mydb` to apply 5 suggestions)
[INFO] [stderr] warning: `mydb` (lib test) generated 37 warnings (17 duplicates) (run `cargo fix --lib -p mydb --tests` to apply 1 suggestion)
[INFO] [stderr] warning: fields `txnum` and `last_save_numbder` are never read
[INFO] [stderr]   --> src/buffer_manager.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct Buffer {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 24 |     txnum: i32,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 25 |     last_save_numbder: i32,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `block_id`, `set_modified`, and `modifying_tx` are never used
[INFO] [stderr]   --> src/buffer_manager.rs:53:12
[INFO] [stderr]    |
[INFO] [stderr] 41 | impl Buffer {
[INFO] [stderr]    | ----------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 53 |     pub fn block_id(&self) -> Option<&BlockId> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 60 |     pub fn set_modified(&mut self, txnum: i32, last_save_number: i32) {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 71 |     pub fn modifying_tx(&self) -> i32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `log_manager` is never read
[INFO] [stderr]   --> src/buffer_manager.rs:94:5
[INFO] [stderr]    |
[INFO] [stderr] 92 | pub struct BufferManager {
[INFO] [stderr]    |            ------------- field in this struct
[INFO] [stderr] 93 |     file_manager: Arc<Mutex<FileManager>>,
[INFO] [stderr] 94 |     log_manager: Arc<Mutex<LogManager>>,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `flush_all` is never used
[INFO] [stderr]    --> src/buffer_manager.rs:120:12
[INFO] [stderr]     |
[INFO] [stderr] 99  | impl BufferManager {
[INFO] [stderr]     | ------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 120 |     pub fn flush_all(&mut self, txnum: i32) {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `flush_with` is never used
[INFO] [stderr]   --> src/log_manager.rs:43:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl LogManager {
[INFO] [stderr]    | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 43 |     pub fn flush_with(&mut self, lsn: i32) -> io::Result<()> {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `mydb` (bin "mydb" test) generated 8 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mydb-8e586d1646d7788d)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test transaction::log_record::tests::test_set_string ... ok
[INFO] [stdout] test buffer_manager::tests::buffer_manager ... FAILED
[INFO] [stdout] test file_manager::tests::disk ... FAILED
[INFO] [stdout] test log_manager::tests::log ... FAILED
[INFO] [stdout] test transaction::transaction::tests::transaction ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- buffer_manager::tests::buffer_manager stdout ----
[INFO] [stdout] thread 'buffer_manager::tests::buffer_manager' panicked at src/buffer_manager.rs:227:78:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Custom { kind: NotFound, error: PathError { path: "/opt/rustwide/workdir/./data/.tmpVRF5MX", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55efc27fdd95 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55efc27fdd95 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55efc27fdd95 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55efc27fdd95 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55efc282472b - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55efc282472b - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55efc27fb3cf - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55efc27fdb6e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55efc27fdb6e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55efc27ff599 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55efc27ff25e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55efc27be0fa - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55efc27be0fa - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55efc27ffb9b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55efc27ffb9b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55efc27ff914 - std::panicking::begin_panic_handler::{{closure}}::hbc4e76194a5e287c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x55efc27fe259 - std::sys_common::backtrace::__rust_end_short_backtrace::h847fedc9d1ff7b6d
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55efc27ff647 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x55efc2757973 - core::panicking::panic_fmt::hec11a924b87ce965
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55efc2757ea6 - core::result::unwrap_failed::h382691b96ca8c13a
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/result.rs:1654:5
[INFO] [stdout]   20:     0x55efc2784b72 - core::result::Result<T,E>::unwrap::h445f9ab799c1fe8f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/result.rs:1077:23
[INFO] [stdout]   21:     0x55efc2784b72 - mydb::buffer_manager::tests::buffer_manager::hb7fcf647f36cf6d4
[INFO] [stdout]                                at /opt/rustwide/workdir/src/buffer_manager.rs:227:28
[INFO] [stdout]   22:     0x55efc2784a87 - mydb::buffer_manager::tests::buffer_manager::{{closure}}::h03b0ef1f36a3c92d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/buffer_manager.rs:225:24
[INFO] [stdout]   23:     0x55efc276e426 - core::ops::function::FnOnce::call_once::h6bd3f51df780f83a
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55efc27c2adb - core::ops::function::FnOnce::call_once::h2e43a8f6f3d94b99
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x55efc27c2adb - test::__rust_begin_short_backtrace::h214c9f2d2d3fee90
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:625:18
[INFO] [stdout]   26:     0x55efc27c21e1 - test::run_test_in_process::{{closure}}::h510b7ba7990692a5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:60
[INFO] [stdout]   27:     0x55efc27c21e1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4157186197a93871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x55efc27c21e1 - std::panicking::try::do_call::h1bf2463bccd4b28c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   29:     0x55efc27c21e1 - std::panicking::try::hd6d4808c9fab4fa5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   30:     0x55efc27c21e1 - std::panic::catch_unwind::hd5641d97d123f9f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   31:     0x55efc27c21e1 - test::run_test_in_process::hc273b71c8b878a4c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:27
[INFO] [stdout]   32:     0x55efc27c21e1 - test::run_test::{{closure}}::h6838df834eb8467e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:569:43
[INFO] [stdout]   33:     0x55efc278aba4 - test::run_test::{{closure}}::h608b98ecff5665fb
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:599:41
[INFO] [stdout]   34:     0x55efc278aba4 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc4182b97d1042e9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   35:     0x55efc278f5d2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571773fd21d674c8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   36:     0x55efc278f5d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdcd384cf2fa70ba3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x55efc278f5d2 - std::panicking::try::do_call::h4f1a44bd81423be1
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   38:     0x55efc278f5d2 - std::panicking::try::h5e02afcb81dcd361
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   39:     0x55efc278f5d2 - std::panic::catch_unwind::h022f75775bfd8c45
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   40:     0x55efc278f5d2 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf5a62e9e4e6df1f8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   41:     0x55efc278f5d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d56360aeb9509a7
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x55efc2803e6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   43:     0x55efc2803e6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   44:     0x55efc2803e6b - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f59e5ecfac3 - <unknown>
[INFO] [stdout]   46:     0x7f59e5f60a04 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- file_manager::tests::disk stdout ----
[INFO] [stdout] thread 'file_manager::tests::disk' panicked at src/file_manager.rs:176:62:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Custom { kind: NotFound, error: PathError { path: "/opt/rustwide/workdir/./data/.tmpoBIy5Y", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55efc27fdd95 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55efc27fdd95 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55efc27fdd95 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55efc27fdd95 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55efc282472b - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55efc282472b - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55efc27fb3cf - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55efc27fdb6e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55efc27fdb6e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55efc27ff599 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55efc27ff25e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55efc27be0fa - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55efc27be0fa - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55efc27ffb9b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55efc27ffb9b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55efc27ff914 - std::panicking::begin_panic_handler::{{closure}}::hbc4e76194a5e287c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x55efc27fe259 - std::sys_common::backtrace::__rust_end_short_backtrace::h847fedc9d1ff7b6d
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55efc27ff647 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x55efc2757973 - core::panicking::panic_fmt::hec11a924b87ce965
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55efc2757ea6 - core::result::unwrap_failed::h382691b96ca8c13a
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/result.rs:1654:5
[INFO] [stdout]   20:     0x55efc276ba46 - core::result::Result<T,E>::unwrap::h445f9ab799c1fe8f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/result.rs:1077:23
[INFO] [stdout]   21:     0x55efc276ba46 - mydb::file_manager::tests::disk::h05181a3ac912b857
[INFO] [stdout]                                at /opt/rustwide/workdir/src/file_manager.rs:176:24
[INFO] [stdout]   22:     0x55efc276b937 - mydb::file_manager::tests::disk::{{closure}}::h11cb156221d69693
[INFO] [stdout]                                at /opt/rustwide/workdir/src/file_manager.rs:174:14
[INFO] [stdout]   23:     0x55efc276e2e6 - core::ops::function::FnOnce::call_once::h21e4b0746d0b734f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55efc27c2adb - core::ops::function::FnOnce::call_once::h2e43a8f6f3d94b99
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x55efc27c2adb - test::__rust_begin_short_backtrace::h214c9f2d2d3fee90
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:625:18
[INFO] [stdout]   26:     0x55efc27c21e1 - test::run_test_in_process::{{closure}}::h510b7ba7990692a5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:60
[INFO] [stdout]   27:     0x55efc27c21e1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4157186197a93871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x55efc27c21e1 - std::panicking::try::do_call::h1bf2463bccd4b28c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   29:     0x55efc27c21e1 - std::panicking::try::hd6d4808c9fab4fa5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   30:     0x55efc27c21e1 - std::panic::catch_unwind::hd5641d97d123f9f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   31:     0x55efc27c21e1 - test::run_test_in_process::hc273b71c8b878a4c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:27
[INFO] [stdout]   32:     0x55efc27c21e1 - test::run_test::{{closure}}::h6838df834eb8467e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:569:43
[INFO] [stdout]   33:     0x55efc278aba4 - test::run_test::{{closure}}::h608b98ecff5665fb
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:599:41
[INFO] [stdout]   34:     0x55efc278aba4 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc4182b97d1042e9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   35:     0x55efc278f5d2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571773fd21d674c8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   36:     0x55efc278f5d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdcd384cf2fa70ba3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x55efc278f5d2 - std::panicking::try::do_call::h4f1a44bd81423be1
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   38:     0x55efc278f5d2 - std::panicking::try::h5e02afcb81dcd361
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   39:     0x55efc278f5d2 - std::panic::catch_unwind::h022f75775bfd8c45
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   40:     0x55efc278f5d2 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf5a62e9e4e6df1f8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   41:     0x55efc278f5d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d56360aeb9509a7
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x55efc2803e6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   43:     0x55efc2803e6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   44:     0x55efc2803e6b - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f59e5ecfac3 - <unknown>
[INFO] [stdout]   46:     0x7f59e5f60a04 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- log_manager::tests::log stdout ----
[INFO] [stdout] thread 'log_manager::tests::log' panicked at src/log_manager.rs:178:62:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Custom { kind: NotFound, error: PathError { path: "/opt/rustwide/workdir/./data/.tmpBSROi9", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55efc27fdd95 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55efc27fdd95 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55efc27fdd95 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55efc27fdd95 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55efc282472b - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55efc282472b - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55efc27fb3cf - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55efc27fdb6e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55efc27fdb6e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55efc27ff599 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55efc27ff25e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55efc27be0fa - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55efc27be0fa - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55efc27ffb9b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55efc27ffb9b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55efc27ff914 - std::panicking::begin_panic_handler::{{closure}}::hbc4e76194a5e287c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x55efc27fe259 - std::sys_common::backtrace::__rust_end_short_backtrace::h847fedc9d1ff7b6d
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55efc27ff647 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x55efc2757973 - core::panicking::panic_fmt::hec11a924b87ce965
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55efc2757ea6 - core::result::unwrap_failed::h382691b96ca8c13a
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/result.rs:1654:5
[INFO] [stdout]   20:     0x55efc2785d65 - core::result::Result<T,E>::unwrap::h445f9ab799c1fe8f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/result.rs:1077:23
[INFO] [stdout]   21:     0x55efc2785d65 - mydb::log_manager::tests::log::hda049341f670cee8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/log_manager.rs:178:24
[INFO] [stdout]   22:     0x55efc2785c97 - mydb::log_manager::tests::log::{{closure}}::h3a2d862033d1ce6e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/log_manager.rs:176:13
[INFO] [stdout]   23:     0x55efc276e4c6 - core::ops::function::FnOnce::call_once::h96d4df4a775f3a32
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55efc27c2adb - core::ops::function::FnOnce::call_once::h2e43a8f6f3d94b99
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x55efc27c2adb - test::__rust_begin_short_backtrace::h214c9f2d2d3fee90
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:625:18
[INFO] [stdout]   26:     0x55efc27c21e1 - test::run_test_in_process::{{closure}}::h510b7ba7990692a5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:60
[INFO] [stdout]   27:     0x55efc27c21e1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4157186197a93871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x55efc27c21e1 - std::panicking::try::do_call::h1bf2463bccd4b28c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   29:     0x55efc27c21e1 - std::panicking::try::hd6d4808c9fab4fa5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   30:     0x55efc27c21e1 - std::panic::catch_unwind::hd5641d97d123f9f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   31:     0x55efc27c21e1 - test::run_test_in_process::hc273b71c8b878a4c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:27
[INFO] [stdout]   32:     0x55efc27c21e1 - test::run_test::{{closure}}::h6838df834eb8467e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:569:43
[INFO] [stdout]   33:     0x55efc278aba4 - test::run_test::{{closure}}::h608b98ecff5665fb
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:599:41
[INFO] [stdout]   34:     0x55efc278aba4 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc4182b97d1042e9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   35:     0x55efc278f5d2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571773fd21d674c8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   36:     0x55efc278f5d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdcd384cf2fa70ba3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x55efc278f5d2 - std::panicking::try::do_call::h4f1a44bd81423be1
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   38:     0x55efc278f5d2 - std::panicking::try::h5e02afcb81dcd361
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   39:     0x55efc278f5d2 - std::panic::catch_unwind::h022f75775bfd8c45
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   40:     0x55efc278f5d2 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf5a62e9e4e6df1f8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   41:     0x55efc278f5d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d56360aeb9509a7
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x55efc2803e6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   43:     0x55efc2803e6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   44:     0x55efc2803e6b - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f59e5ecfac3 - <unknown>
[INFO] [stdout]   46:     0x7f59e5f60a04 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- transaction::transaction::tests::transaction stdout ----
[INFO] [stdout] thread 'transaction::transaction::tests::transaction' panicked at src/transaction/transaction.rs:217:78:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Custom { kind: NotFound, error: PathError { path: "/opt/rustwide/workdir/./data/.tmpmXoC3H", err: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55efc27fdd95 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55efc27fdd95 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55efc27fdd95 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55efc27fdd95 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55efc282472b - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55efc282472b - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55efc27fb3cf - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55efc27fdb6e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55efc27fdb6e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55efc27ff599 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x55efc27ff25e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55efc27be0fa - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55efc27be0fa - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55efc27ffb9b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55efc27ffb9b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55efc27ff914 - std::panicking::begin_panic_handler::{{closure}}::hbc4e76194a5e287c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x55efc27fe259 - std::sys_common::backtrace::__rust_end_short_backtrace::h847fedc9d1ff7b6d
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55efc27ff647 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x55efc2757973 - core::panicking::panic_fmt::hec11a924b87ce965
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55efc2757ea6 - core::result::unwrap_failed::h382691b96ca8c13a
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/result.rs:1654:5
[INFO] [stdout]   20:     0x55efc277854a - core::result::Result<T,E>::unwrap::h445f9ab799c1fe8f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/result.rs:1077:23
[INFO] [stdout]   21:     0x55efc277854a - mydb::transaction::transaction::tests::transaction::h35252504ee631cc1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/transaction/transaction.rs:217:28
[INFO] [stdout]   22:     0x55efc27783f7 - mydb::transaction::transaction::tests::transaction::{{closure}}::hee456892f2db9560
[INFO] [stdout]                                at /opt/rustwide/workdir/src/transaction/transaction.rs:215:21
[INFO] [stdout]   23:     0x55efc276e7d6 - core::ops::function::FnOnce::call_once::heb4ce0c35f34588a
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55efc27c2adb - core::ops::function::FnOnce::call_once::h2e43a8f6f3d94b99
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x55efc27c2adb - test::__rust_begin_short_backtrace::h214c9f2d2d3fee90
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:625:18
[INFO] [stdout]   26:     0x55efc27c21e1 - test::run_test_in_process::{{closure}}::h510b7ba7990692a5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:60
[INFO] [stdout]   27:     0x55efc27c21e1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4157186197a93871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x55efc27c21e1 - std::panicking::try::do_call::h1bf2463bccd4b28c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   29:     0x55efc27c21e1 - std::panicking::try::hd6d4808c9fab4fa5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   30:     0x55efc27c21e1 - std::panic::catch_unwind::hd5641d97d123f9f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   31:     0x55efc27c21e1 - test::run_test_in_process::hc273b71c8b878a4c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:27
[INFO] [stdout]   32:     0x55efc27c21e1 - test::run_test::{{closure}}::h6838df834eb8467e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:569:43
[INFO] [stdout]   33:     0x55efc278aba4 - test::run_test::{{closure}}::h608b98ecff5665fb
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:599:41
[INFO] [stdout]   34:     0x55efc278aba4 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc4182b97d1042e9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   35:     0x55efc278f5d2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571773fd21d674c8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   36:     0x55efc278f5d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdcd384cf2fa70ba3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x55efc278f5d2 - std::panicking::try::do_call::h4f1a44bd81423be1
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   38:     0x55efc278f5d2 - std::panicking::try::h5e02afcb81dcd361
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   39:     0x55efc278f5d2 - std::panic::catch_unwind::h022f75775bfd8c45
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   40:     0x55efc278f5d2 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf5a62e9e4e6df1f8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   41:     0x55efc278f5d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d56360aeb9509a7
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x55efc2803e6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   43:     0x55efc2803e6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   44:     0x55efc2803e6b - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f59e5ecfac3 - <unknown>
[INFO] [stdout]   46:     0x7f59e5f60a04 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     buffer_manager::tests::buffer_manager
[INFO] [stdout]     file_manager::tests::disk
[INFO] [stdout]     log_manager::tests::log
[INFO] [stdout]     transaction::transaction::tests::transaction
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "82a623711a1ef9ae453920cee10269e112b24731f03bdc9ee907cc9013606242", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82a623711a1ef9ae453920cee10269e112b24731f03bdc9ee907cc9013606242", kill_on_drop: false }`
[INFO] [stdout] 82a623711a1ef9ae453920cee10269e112b24731f03bdc9ee907cc9013606242
