[INFO] cloning repository https://github.com/mattcarp12/mdb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattcarp12/mdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattcarp12%2Fmdb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattcarp12%2Fmdb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f5667f96a05d65188f08a683df16601b9707e4a2
[INFO] checking mattcarp12/mdb against c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 for pr-160391-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattcarp12%2Fmdb" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mattcarp12/mdb
[INFO] finished tweaking git repo https://github.com/mattcarp12/mdb
[INFO] tweaked toml for git repo https://github.com/mattcarp12/mdb written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mattcarp12/mdb on toolchain c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mattcarp12/mdb 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" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking mattcarp12/mdb against c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 for pr-160391-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattcarp12%2Fmdb" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mattcarp12/mdb
[INFO] finished tweaking git repo https://github.com/mattcarp12/mdb
[INFO] tweaked toml for git repo https://github.com/mattcarp12/mdb written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mattcarp12/mdb on toolchain c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mattcarp12/mdb 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" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 154f6efa6ee91ea2841cfcb9b097bb9acd4bb516becf718ef5aeb6f1e7a42f50
[INFO] running `Command { std: "docker" "start" "154f6efa6ee91ea2841cfcb9b097bb9acd4bb516becf718ef5aeb6f1e7a42f50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "154f6efa6ee91ea2841cfcb9b097bb9acd4bb516becf718ef5aeb6f1e7a42f50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "154f6efa6ee91ea2841cfcb9b097bb9acd4bb516becf718ef5aeb6f1e7a42f50" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "154f6efa6ee91ea2841cfcb9b097bb9acd4bb516becf718ef5aeb6f1e7a42f50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "154f6efa6ee91ea2841cfcb9b097bb9acd4bb516becf718ef5aeb6f1e7a42f50" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking mdb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `PAGE_TYPE_INTERNAL` in this scope
[INFO] [stdout]   --> src/index.rs:52:28
[INFO] [stdout]    |
[INFO] [stdout] 52 |     } else if page_type == PAGE_TYPE_INTERNAL {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named constant `PAGE_TYPE_LEAF` defined here
[INFO] [stdout]   --> src/storage.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub const PAGE_TYPE_LEAF: u8 = 0;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 52 -     } else if page_type == PAGE_TYPE_INTERNAL {
[INFO] [stdout] 52 +     } else if page_type == PAGE_TYPE_LEAF {
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::storage::PAGE_TYPE_INTERNAL;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_TYPE_INTERNAL` in this scope
[INFO] [stdout]   --> src/index.rs:52:28
[INFO] [stdout]    |
[INFO] [stdout] 52 |     } else if page_type == PAGE_TYPE_INTERNAL {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named constant `PAGE_TYPE_LEAF` defined here
[INFO] [stdout]   --> src/storage.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub const PAGE_TYPE_LEAF: u8 = 0;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 52 -     } else if page_type == PAGE_TYPE_INTERNAL {
[INFO] [stdout] 52 +     } else if page_type == PAGE_TYPE_LEAF {
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::storage::PAGE_TYPE_INTERNAL;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_TYPE_INTERNAL` in this scope
[INFO] [stdout]   --> src/index.rs:68:45
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 new_internal_page.data[0] = PAGE_TYPE_INTERNAL;
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named constant `PAGE_TYPE_LEAF` defined here
[INFO] [stdout]   --> src/storage.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub const PAGE_TYPE_LEAF: u8 = 0;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 68 -                 new_internal_page.data[0] = PAGE_TYPE_INTERNAL;
[INFO] [stdout] 68 +                 new_internal_page.data[0] = PAGE_TYPE_LEAF;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::storage::PAGE_TYPE_INTERNAL;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_TYPE_INTERNAL` in this scope
[INFO] [stdout]   --> src/index.rs:68:45
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 new_internal_page.data[0] = PAGE_TYPE_INTERNAL;
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named constant `PAGE_TYPE_LEAF` defined here
[INFO] [stdout]   --> src/storage.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub const PAGE_TYPE_LEAF: u8 = 0;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 68 -                 new_internal_page.data[0] = PAGE_TYPE_INTERNAL;
[INFO] [stdout] 68 +                 new_internal_page.data[0] = PAGE_TYPE_LEAF;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::storage::PAGE_TYPE_INTERNAL;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `has_space_for_bytes` in this scope
[INFO] [stdout]   --> src/index.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |         if has_space_for_bytes(&page, payload.len()) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `has_space_for_bytes` in this scope
[INFO] [stdout]   --> src/index.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |         if has_space_for_bytes(&page, payload.len()) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `insert_into_leaf_page` in this scope
[INFO] [stdout]   --> src/index.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             insert_into_leaf_page(&mut page, key, payload);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `insert_into_leaf_page` in this scope
[INFO] [stdout]   --> src/index.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             insert_into_leaf_page(&mut page, key, payload);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `allocate_page` found for mutable reference `&mut Pager` in the current scope
[INFO] [stdout]    --> src/index.rs:28:37
[INFO] [stdout]     |
[INFO] [stdout]  28 |             let new_page_id = pager.allocate_page()?;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `allocate_new_page` with a similar name, but with different arguments
[INFO] [stdout]    --> src/storage.rs:347:5
[INFO] [stdout]     |
[INFO] [stdout] 300 | impl Pager {
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub fn allocate_new_page(&mut self, page_type: u8) -> Result<u32, String> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `allocate_page` found for mutable reference `&mut Pager` in the current scope
[INFO] [stdout]    --> src/index.rs:28:37
[INFO] [stdout]     |
[INFO] [stdout]  28 |             let new_page_id = pager.allocate_page()?;
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `allocate_new_page` with a similar name, but with different arguments
[INFO] [stdout]    --> src/storage.rs:347:5
[INFO] [stdout]     |
[INFO] [stdout] 300 | impl Pager {
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub fn allocate_new_page(&mut self, page_type: u8) -> Result<u32, String> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `Page` in the current scope
[INFO] [stdout]   --> src/index.rs:29:38
[INFO] [stdout]    |
[INFO] [stdout] 29 |             let mut new_page = Page::new(new_page_id);
[INFO] [stdout]    |                                      ^^^ associated function or constant not found in `Page`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/storage.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Page {
[INFO] [stdout]    | --------------- associated function or constant `new` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Page` consider using one of the following associated functions:
[INFO] [stdout]       Page::new_leaf
[INFO] [stdout]       Page::new_internal
[INFO] [stdout]   --> src/storage.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn new_leaf() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn new_internal() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `Page` in the current scope
[INFO] [stdout]   --> src/index.rs:29:38
[INFO] [stdout]    |
[INFO] [stdout] 29 |             let mut new_page = Page::new(new_page_id);
[INFO] [stdout]    |                                      ^^^ associated function or constant not found in `Page`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/storage.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Page {
[INFO] [stdout]    | --------------- associated function or constant `new` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Page` consider using one of the following associated functions:
[INFO] [stdout]       Page::new_leaf
[INFO] [stdout]       Page::new_internal
[INFO] [stdout]   --> src/storage.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn new_leaf() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn new_internal() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `redistribute_leaf_slots` in this scope
[INFO] [stdout]   --> src/index.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |             let split_key = redistribute_leaf_slots(&mut page, &mut new_page);
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `redistribute_leaf_slots` in this scope
[INFO] [stdout]   --> src/index.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |             let split_key = redistribute_leaf_slots(&mut page, &mut new_page);
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `insert_into_leaf_page` in this scope
[INFO] [stdout]   --> src/index.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 insert_into_leaf_page(&mut page, key, payload);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `insert_into_leaf_page` in this scope
[INFO] [stdout]   --> src/index.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 insert_into_leaf_page(&mut new_page, key, payload);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `insert_into_leaf_page` in this scope
[INFO] [stdout]   --> src/index.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 insert_into_leaf_page(&mut page, key, payload);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `insert_into_leaf_page` in this scope
[INFO] [stdout]   --> src/index.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 insert_into_leaf_page(&mut new_page, key, payload);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `route_internal_node` in this scope
[INFO] [stdout]   --> src/index.rs:55:29
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let child_page_id = route_internal_node(&page, key);
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `route_internal_node` in this scope
[INFO] [stdout]   --> src/index.rs:55:29
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let child_page_id = route_internal_node(&page, key);
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `has_space_for_internal_entry` in this scope
[INFO] [stdout]   --> src/index.rs:60:16
[INFO] [stdout]    |
[INFO] [stdout] 60 |             if has_space_for_internal_entry(&page) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `has_space_for_internal_entry` in this scope
[INFO] [stdout]   --> src/index.rs:60:16
[INFO] [stdout]    |
[INFO] [stdout] 60 |             if has_space_for_internal_entry(&page) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `insert_internal_entry` in this scope
[INFO] [stdout]   --> src/index.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 insert_internal_entry(&mut page, split.split_key, split.new_child_page_id);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `insert_internal_entry` in this scope
[INFO] [stdout]   --> src/index.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 insert_internal_entry(&mut page, split.split_key, split.new_child_page_id);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `allocate_page` found for mutable reference `&mut Pager` in the current scope
[INFO] [stdout]    --> src/index.rs:66:50
[INFO] [stdout]     |
[INFO] [stdout]  66 |                 let new_internal_page_id = pager.allocate_page()?;
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `allocate_new_page` with a similar name, but with different arguments
[INFO] [stdout]    --> src/storage.rs:347:5
[INFO] [stdout]     |
[INFO] [stdout] 300 | impl Pager {
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub fn allocate_new_page(&mut self, page_type: u8) -> Result<u32, String> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `allocate_page` found for mutable reference `&mut Pager` in the current scope
[INFO] [stdout]    --> src/index.rs:66:50
[INFO] [stdout]     |
[INFO] [stdout]  66 |                 let new_internal_page_id = pager.allocate_page()?;
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `allocate_new_page` with a similar name, but with different arguments
[INFO] [stdout]    --> src/storage.rs:347:5
[INFO] [stdout]     |
[INFO] [stdout] 300 | impl Pager {
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub fn allocate_new_page(&mut self, page_type: u8) -> Result<u32, String> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `Page` in the current scope
[INFO] [stdout]   --> src/index.rs:67:51
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 let mut new_internal_page = Page::new(new_internal_page_id);
[INFO] [stdout]    |                                                   ^^^ associated function or constant not found in `Page`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/storage.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Page {
[INFO] [stdout]    | --------------- associated function or constant `new` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Page` consider using one of the following associated functions:
[INFO] [stdout]       Page::new_leaf
[INFO] [stdout]       Page::new_internal
[INFO] [stdout]   --> src/storage.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn new_leaf() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn new_internal() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `Page` in the current scope
[INFO] [stdout]   --> src/index.rs:67:51
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 let mut new_internal_page = Page::new(new_internal_page_id);
[INFO] [stdout]    |                                                   ^^^ associated function or constant not found in `Page`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/storage.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Page {
[INFO] [stdout]    | --------------- associated function or constant `new` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Page` consider using one of the following associated functions:
[INFO] [stdout]       Page::new_leaf
[INFO] [stdout]       Page::new_internal
[INFO] [stdout]   --> src/storage.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn new_leaf() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn new_internal() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `redistribute_internal_entries` in this scope
[INFO] [stdout]   --> src/index.rs:71:40
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 let parent_bound_key = redistribute_internal_entries(
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `redistribute_internal_entries` in this scope
[INFO] [stdout]   --> src/index.rs:71:40
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 let parent_bound_key = redistribute_internal_entries(
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage.rs:368:5
[INFO] [stdout]     |
[INFO] [stdout] 368 |     mut original_page: Page,
[INFO] [stdout]     |     ----^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/storage.rs:368:5
[INFO] [stdout]     |
[INFO] [stdout] 368 |     mut original_page: Page,
[INFO] [stdout]     |     ----^^^^^^^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mdb` (lib) due to 15 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `mdb` (lib test) due to 15 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "154f6efa6ee91ea2841cfcb9b097bb9acd4bb516becf718ef5aeb6f1e7a42f50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "154f6efa6ee91ea2841cfcb9b097bb9acd4bb516becf718ef5aeb6f1e7a42f50", kill_on_drop: false }`
[INFO] [stdout] 154f6efa6ee91ea2841cfcb9b097bb9acd4bb516becf718ef5aeb6f1e7a42f50
