[INFO] cloning repository https://github.com/dust1/relationaldb-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dust1/relationaldb-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdust1%2Frelationaldb-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdust1%2Frelationaldb-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8b9d7cabb7accd40eadb30d94e2f5fc2ee777fea
[INFO] checking dust1/relationaldb-rs against master#3350c1eb3fd8fe1bee1ed4c76944d707bd256876 for pr-140558
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdust1%2Frelationaldb-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dust1/relationaldb-rs on toolchain 3350c1eb3fd8fe1bee1ed4c76944d707bd256876
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dust1/relationaldb-rs
[INFO] finished tweaking git repo https://github.com/dust1/relationaldb-rs
[INFO] tweaked toml for git repo https://github.com/dust1/relationaldb-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/dust1/relationaldb-rs 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" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustyline-derive v0.4.0
[INFO] [stderr]   Downloaded tokio v1.6.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1a6be48a1b7b0e8b3979b979c69f018739bf533603de5022c0eba3fb2f008a8f
[INFO] running `Command { std: "docker" "start" "-a" "1a6be48a1b7b0e8b3979b979c69f018739bf533603de5022c0eba3fb2f008a8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1a6be48a1b7b0e8b3979b979c69f018739bf533603de5022c0eba3fb2f008a8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a6be48a1b7b0e8b3979b979c69f018739bf533603de5022c0eba3fb2f008a8f", kill_on_drop: false }`
[INFO] [stdout] 1a6be48a1b7b0e8b3979b979c69f018739bf533603de5022c0eba3fb2f008a8f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3350c1eb3fd8fe1bee1ed4c76944d707bd256876" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 07fdcfb44cd765924fe1c6a2f402a710b27b33f8c6aa4c7eaf31ff9a7cc1f128
[INFO] running `Command { std: "docker" "start" "-a" "07fdcfb44cd765924fe1c6a2f402a710b27b33f8c6aa4c7eaf31ff9a7cc1f128", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling proc-macro2 v1.0.34
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling serde v1.0.131
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]     Checking futures-sink v0.3.17
[INFO] [stderr]     Checking pin-project-lite v0.2.7
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking futures-io v0.3.17
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling futures-macro v0.3.17
[INFO] [stderr]    Compiling tokio v1.6.4
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking slab v0.4.5
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling serde_json v1.0.73
[INFO] [stderr]     Checking smallvec v1.7.0
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]     Checking nibble_vec v0.1.0
[INFO] [stderr]     Checking serde v0.8.23
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.131
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking endian-type v0.1.2
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking rust-ini v0.13.0
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking radix_trie v0.2.1
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking utf8parse v0.2.0
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking unicode-segmentation v1.8.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking nix v0.20.2
[INFO] [stderr]     Checking fd-lock v2.0.0
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking clap v2.33.4
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking serde-hjson v0.9.1
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking config v0.11.0
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling enum-ordinalize v3.1.10
[INFO] [stderr]    Compiling pin-project-internal v1.0.8
[INFO] [stderr]    Compiling rustyline-derive v0.4.0
[INFO] [stderr]     Checking rustyline v8.2.0
[INFO] [stderr]    Compiling educe v0.4.18
[INFO] [stderr]     Checking pin-project v1.0.8
[INFO] [stderr]     Checking tokio-serde v0.8.0
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking tokio-stream v0.1.6
[INFO] [stderr]     Checking futures-executor v0.3.17
[INFO] [stderr]     Checking futures v0.3.17
[INFO] [stderr]     Checking relationaldb-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `table_page_5`
[INFO] [stdout]    --> src/storage/buffer_pool_manager.rs:215:17
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let mut table_page_5 = buffer_pool_manager.new_page();
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_page_5`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage/buffer_pool_manager.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let mut table_page_5 = buffer_pool_manager.new_page();
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `PoolManager::fetch_page`
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn fetch_page(&mut self, page_id: usize) -> Option<Arc<Mutex<BufferPoolCache>>>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PoolManager::fetch_page` is reachable at visibility `pub(storage)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct BufferPoolCache {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `PoolManager::new_page`
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn new_page(&mut self) -> Arc<Mutex<BufferPoolCache>>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PoolManager::new_page` is reachable at visibility `pub(storage)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct BufferPoolCache {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `<BufferPoolManager as PoolManager>::fetch_page`
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn fetch_page(&mut self, page_id: usize) -> Option<Arc<Mutex<BufferPoolCache>>> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `<BufferPoolManager as PoolManager>::fetch_page` is reachable at visibility `pub(storage)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct BufferPoolCache {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `<BufferPoolManager as PoolManager>::new_page`
[INFO] [stdout]    --> src/storage/buffer_pool_manager.rs:117:5
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn new_page(&mut self) -> Arc<Mutex<BufferPoolCache>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `<BufferPoolManager as PoolManager>::new_page` is reachable at visibility `pub(storage)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/storage/buffer_pool_manager.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout] 8   | struct BufferPoolCache {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `size` are never used
[INFO] [stdout]   --> src/storage/clock_replacer.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl ClockReplacer {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(num_pages: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn size(&self) -> usize {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `open` is never used
[INFO] [stdout]   --> src/storage/disk_manager.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl PageDevice {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 23 |     pub fn open(dir: &Path) -> Result<Self> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `fetch_page`, `un_pin`, `flush_page`, `new_page`, `delete_page`, and `flush_all_page` are never used
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub trait PoolManager {
[INFO] [stdout]    |           ----------- methods in this trait
[INFO] [stdout] 27 |     fn fetch_page(&mut self, page_id: usize) -> Option<Arc<Mutex<BufferPoolCache>>>;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 28 |     fn un_pin(&mut self, page_id: usize);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 29 |     fn flush_page(&mut self, page_id: usize);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 30 |     fn new_page(&mut self) -> Arc<Mutex<BufferPoolCache>>;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 31 |     fn delete_page(&mut self, page_id: usize);
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 32 |     fn flush_all_page(&mut self);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `deallocate_page` are never used
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl BufferPoolManager {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 40 |     pub fn new(pool_size: usize, disk_manager: Arc<dyn DiskManager>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     fn deallocate_page(&mut self, _page_id: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/storage/buffer_pool_manager.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         disk_manager.write_page(page_id, &page_data);
[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] 148 |         let _ = disk_manager.write_page(page_id, &page_data);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/storage/buffer_pool_manager.rs:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |             self.disk_manager.write_page(self.page_id, &self.cache);
[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] 179 |             let _ = self.disk_manager.write_page(self.page_id, &self.cache);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `PoolManager::fetch_page`
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn fetch_page(&mut self, page_id: usize) -> Option<Arc<Mutex<BufferPoolCache>>>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PoolManager::fetch_page` is reachable at visibility `pub(storage)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct BufferPoolCache {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `PoolManager::new_page`
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn new_page(&mut self) -> Arc<Mutex<BufferPoolCache>>;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `PoolManager::new_page` is reachable at visibility `pub(storage)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct BufferPoolCache {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `<BufferPoolManager as PoolManager>::fetch_page`
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn fetch_page(&mut self, page_id: usize) -> Option<Arc<Mutex<BufferPoolCache>>> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `<BufferPoolManager as PoolManager>::fetch_page` is reachable at visibility `pub(storage)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct BufferPoolCache {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `BufferPoolCache` is more private than the item `<BufferPoolManager as PoolManager>::new_page`
[INFO] [stdout]    --> src/storage/buffer_pool_manager.rs:117:5
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn new_page(&mut self) -> Arc<Mutex<BufferPoolCache>> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `<BufferPoolManager as PoolManager>::new_page` is reachable at visibility `pub(storage)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `BufferPoolCache` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/storage/buffer_pool_manager.rs:8:1
[INFO] [stdout]     |
[INFO] [stdout] 8   | struct BufferPoolCache {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `delete_page` and `flush_all_page` are never used
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub trait PoolManager {
[INFO] [stdout]    |           ----------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn delete_page(&mut self, page_id: usize);
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 32 |     fn flush_all_page(&mut self);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `deallocate_page` is never used
[INFO] [stdout]   --> src/storage/buffer_pool_manager.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl BufferPoolManager {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 59 |     fn deallocate_page(&mut self, _page_id: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/storage/buffer_pool_manager.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         disk_manager.write_page(page_id, &page_data);
[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] 148 |         let _ = disk_manager.write_page(page_id, &page_data);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/storage/buffer_pool_manager.rs:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |             self.disk_manager.write_page(self.page_id, &self.cache);
[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] 179 |             let _ = self.disk_manager.write_page(self.page_id, &self.cache);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.82s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "07fdcfb44cd765924fe1c6a2f402a710b27b33f8c6aa4c7eaf31ff9a7cc1f128", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07fdcfb44cd765924fe1c6a2f402a710b27b33f8c6aa4c7eaf31ff9a7cc1f128", kill_on_drop: false }`
[INFO] [stdout] 07fdcfb44cd765924fe1c6a2f402a710b27b33f8c6aa4c7eaf31ff9a7cc1f128
