[INFO] cloning repository https://github.com/mamezou/rdbms-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mamezou/rdbms-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmamezou%2Frdbms-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmamezou%2Frdbms-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 027f49229a3673ba9dbb1879e1574fab3e0267ce
[INFO] checking mamezou/rdbms-rust against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmamezou%2Frdbms-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mamezou/rdbms-rust
[INFO] finished tweaking git repo https://github.com/mamezou/rdbms-rust
[INFO] tweaked toml for git repo https://github.com/mamezou/rdbms-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mamezou/rdbms-rust on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mamezou/rdbms-rust 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fe53c53c07af4711d969bde0e81bbfba1ef4a5f663a2dadb1be2e10c501377bf
[INFO] running `Command { std: "docker" "start" "-a" "fe53c53c07af4711d969bde0e81bbfba1ef4a5f663a2dadb1be2e10c501377bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe53c53c07af4711d969bde0e81bbfba1ef4a5f663a2dadb1be2e10c501377bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe53c53c07af4711d969bde0e81bbfba1ef4a5f663a2dadb1be2e10c501377bf", kill_on_drop: false }`
[INFO] [stdout] fe53c53c07af4711d969bde0e81bbfba1ef4a5f663a2dadb1be2e10c501377bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3bf9d2e60244fff389e56490fce4e58f10ea0e0b39d4cd556eeb9a0d526fce52
[INFO] running `Command { std: "docker" "start" "-a" "3bf9d2e60244fff389e56490fce4e58f10ea0e0b39d4cd556eeb9a0d526fce52", kill_on_drop: false }`
[INFO] [stderr]     Checking rdbms-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `File` in this scope
[INFO] [stdout]  --> src/main.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |     heap_file:File,
[INFO] [stdout]   |               ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `File` in this scope
[INFO] [stdout]   --> src/main.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(data_file:File) -> io::Result<Self>{
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io`
[INFO] [stdout]   --> src/main.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(data_file:File) -> io::Result<Self>{
[INFO] [stdout]    |                                   ^^ use of unresolved module or unlinked crate `io`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml`
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 13 -     pub fn new(data_file:File) -> io::Result<Self>{
[INFO] [stdout] 13 +     pub fn new(data_file:File) -> i8::Result<Self>{
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::io;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `heap_file` in this scope
[INFO] [stdout]   --> src/main.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout]  7 |     heap_file:File,
[INFO] [stdout]    |     --------- a field by that name exists in `Self`
[INFO] [stdout] ...
[INFO] [stdout] 15 |         let heap_file_size = heap_file.metadata()?.len();
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_SIZE` in this scope
[INFO] [stdout]   --> src/main.rs:17:32
[INFO] [stdout]    |
[INFO] [stdout] 17 |             = heap_file_size / PAGE_SIZE as u64;
[INFO] [stdout]    |                                ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `heap_file` in this scope
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |     heap_file:File,
[INFO] [stdout]    |     --------- a field by that name exists in `Self`
[INFO] [stdout] ...
[INFO] [stdout] 19 |             heap_file,
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/main.rs:24:44
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn open(data_file_path: impl AsRef<Path>)
[INFO] [stdout]    |                                            ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io`
[INFO] [stdout]   --> src/main.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |         -> io::Result<Self>{
[INFO] [stdout]    |            ^^ use of unresolved module or unlinked crate `io`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml`
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 25 -         -> io::Result<Self>{
[INFO] [stdout] 25 +         -> i8::Result<Self>{
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::io;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OpenOptions`
[INFO] [stdout]   --> src/main.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let heap_file = OpenOptions::new()
[INFO] [stdout]    |                             ^^^^^^^^^^^ use of undeclared type `OpenOptions`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::fs::OpenOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `heap_file_path` in this scope
[INFO] [stdout]   --> src/main.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 .open(heap_file_path)?;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `data_file_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rdbms-rust` (bin "rdbms-rust") due to 17 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function `new` in module `self`
[INFO] [stdout]   --> src/main.rs:31:19
[INFO] [stdout]    |
[INFO] [stdout] 31 |             self::new(heap_file)
[INFO] [stdout]    |                   ^^^ not found in `self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io`
[INFO] [stdout]   --> src/main.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |         data: &[u8]) -> io::Result<()>{
[INFO] [stdout]    |                         ^^ use of unresolved module or unlinked crate `io`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml`
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 42 -         data: &[u8]) -> io::Result<()>{
[INFO] [stdout] 42 +         data: &[u8]) -> i8::Result<()>{
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::io;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io`
[INFO] [stdout]   --> src/main.rs:46:42
[INFO] [stdout]    |
[INFO] [stdout] 46 |         page_id: PageId, data: &[u8]) -> io::Result<()>{
[INFO] [stdout]    |                                          ^^ use of unresolved module or unlinked crate `io`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml`
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 46 -         page_id: PageId, data: &[u8]) -> io::Result<()>{
[INFO] [stdout] 46 +         page_id: PageId, data: &[u8]) -> i8::Result<()>{
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::io;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_SIZE` in this scope
[INFO] [stdout]   --> src/main.rs:48:26
[INFO] [stdout]    |
[INFO] [stdout] 48 |             let offset = PAGE_SIZE as u64 * page_id.to_u64();
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom`
[INFO] [stdout]   --> src/main.rs:50:33
[INFO] [stdout]    |
[INFO] [stdout] 50 |             self.heap_file.seek(SeekFrom::Stract(offset))?;
[INFO] [stdout]    |                                 ^^^^^^^^ use of undeclared type `SeekFrom`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::io::SeekFrom;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `rdbms_rust`
[INFO] [stdout]   --> src/main.rs:55:2
[INFO] [stdout]    |
[INFO] [stdout] 55 | }
[INFO] [stdout]    |  ^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_u64` found for struct `PageId` in the current scope
[INFO] [stdout]   --> src/main.rs:48:53
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct PageId(pub u64);
[INFO] [stdout]    | ----------------- method `to_u64` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 48 |             let offset = PAGE_SIZE as u64 * page_id.to_u64();
[INFO] [stdout]    |                                                     ^^^^^^ method not found in `PageId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `File` in this scope
[INFO] [stdout]  --> src/main.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |     heap_file:File,
[INFO] [stdout]   |               ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `File` in this scope
[INFO] [stdout]   --> src/main.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(data_file:File) -> io::Result<Self>{
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io`
[INFO] [stdout]   --> src/main.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn new(data_file:File) -> io::Result<Self>{
[INFO] [stdout]    |                                   ^^ use of unresolved module or unlinked crate `io`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml`
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 13 -     pub fn new(data_file:File) -> io::Result<Self>{
[INFO] [stdout] 13 +     pub fn new(data_file:File) -> i8::Result<Self>{
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::io;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `heap_file` in this scope
[INFO] [stdout]   --> src/main.rs:15:30
[INFO] [stdout]    |
[INFO] [stdout]  7 |     heap_file:File,
[INFO] [stdout]    |     --------- a field by that name exists in `Self`
[INFO] [stdout] ...
[INFO] [stdout] 15 |         let heap_file_size = heap_file.metadata()?.len();
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_SIZE` in this scope
[INFO] [stdout]   --> src/main.rs:17:32
[INFO] [stdout]    |
[INFO] [stdout] 17 |             = heap_file_size / PAGE_SIZE as u64;
[INFO] [stdout]    |                                ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `heap_file` in this scope
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout]  7 |     heap_file:File,
[INFO] [stdout]    |     --------- a field by that name exists in `Self`
[INFO] [stdout] ...
[INFO] [stdout] 19 |             heap_file,
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/main.rs:24:44
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn open(data_file_path: impl AsRef<Path>)
[INFO] [stdout]    |                                            ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io`
[INFO] [stdout]   --> src/main.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |         -> io::Result<Self>{
[INFO] [stdout]    |            ^^ use of unresolved module or unlinked crate `io`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml`
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 25 -         -> io::Result<Self>{
[INFO] [stdout] 25 +         -> i8::Result<Self>{
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::io;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OpenOptions`
[INFO] [stdout]   --> src/main.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let heap_file = OpenOptions::new()
[INFO] [stdout]    |                             ^^^^^^^^^^^ use of undeclared type `OpenOptions`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::fs::OpenOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `heap_file_path` in this scope
[INFO] [stdout]   --> src/main.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 .open(heap_file_path)?;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `data_file_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `new` in module `self`
[INFO] [stdout]   --> src/main.rs:31:19
[INFO] [stdout]    |
[INFO] [stdout] 31 |             self::new(heap_file)
[INFO] [stdout]    |                   ^^^ not found in `self`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io`
[INFO] [stdout]   --> src/main.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |         data: &[u8]) -> io::Result<()>{
[INFO] [stdout]    |                         ^^ use of unresolved module or unlinked crate `io`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml`
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 42 -         data: &[u8]) -> io::Result<()>{
[INFO] [stdout] 42 +         data: &[u8]) -> i8::Result<()>{
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::io;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `io`
[INFO] [stdout]   --> src/main.rs:46:42
[INFO] [stdout]    |
[INFO] [stdout] 46 |         page_id: PageId, data: &[u8]) -> io::Result<()>{
[INFO] [stdout]    |                                          ^^ use of unresolved module or unlinked crate `io`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml`
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 46 -         page_id: PageId, data: &[u8]) -> io::Result<()>{
[INFO] [stdout] 46 +         page_id: PageId, data: &[u8]) -> i8::Result<()>{
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::io;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_SIZE` in this scope
[INFO] [stdout]   --> src/main.rs:48:26
[INFO] [stdout]    |
[INFO] [stdout] 48 |             let offset = PAGE_SIZE as u64 * page_id.to_u64();
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeekFrom`
[INFO] [stdout]   --> src/main.rs:50:33
[INFO] [stdout]    |
[INFO] [stdout] 50 |             self.heap_file.seek(SeekFrom::Stract(offset))?;
[INFO] [stdout]    |                                 ^^^^^^^^ use of undeclared type `SeekFrom`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::io::SeekFrom;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_u64` found for struct `PageId` in the current scope
[INFO] [stdout]   --> src/main.rs:48:53
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct PageId(pub u64);
[INFO] [stdout]    | ----------------- method `to_u64` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 48 |             let offset = PAGE_SIZE as u64 * page_id.to_u64();
[INFO] [stdout]    |                                                     ^^^^^^ method not found in `PageId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rdbms-rust` (bin "rdbms-rust" test) due to 16 previous errors
[INFO] running `Command { std: "docker" "inspect" "3bf9d2e60244fff389e56490fce4e58f10ea0e0b39d4cd556eeb9a0d526fce52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bf9d2e60244fff389e56490fce4e58f10ea0e0b39d4cd556eeb9a0d526fce52", kill_on_drop: false }`
[INFO] [stdout] 3bf9d2e60244fff389e56490fce4e58f10ea0e0b39d4cd556eeb9a0d526fce52
