[INFO] cloning repository https://github.com/hamzader1/inkdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hamzader1/inkdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamzader1%2Finkdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamzader1%2Finkdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a89ef9713c76e5af241f66197fd9dc46fda71322 [INFO] checking hamzader1/inkdb against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamzader1%2Finkdb" "/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/hamzader1/inkdb [INFO] finished tweaking git repo https://github.com/hamzader1/inkdb [INFO] tweaked toml for git repo https://github.com/hamzader1/inkdb written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hamzader1/inkdb on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hamzader1/inkdb 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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustyline v18.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f4e15583e1e0560a6f874f761206172b95235bcebb110bf46e2eda47d007fab3 [INFO] running `Command { std: "docker" "start" "f4e15583e1e0560a6f874f761206172b95235bcebb110bf46e2eda47d007fab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4e15583e1e0560a6f874f761206172b95235bcebb110bf46e2eda47d007fab3", 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" "f4e15583e1e0560a6f874f761206172b95235bcebb110bf46e2eda47d007fab3" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4e15583e1e0560a6f874f761206172b95235bcebb110bf46e2eda47d007fab3", 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" "f4e15583e1e0560a6f874f761206172b95235bcebb110bf46e2eda47d007fab3" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Checking bitflags v2.13.1 [INFO] [stderr] Checking endian-type v0.2.0 [INFO] [stderr] Checking log v0.4.33 [INFO] [stderr] Checking unicode-segmentation v1.13.3 [INFO] [stderr] Compiling nix v0.31.3 [INFO] [stderr] Checking unicode-ident v1.0.24 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Checking proc-macro2 v1.0.107 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking radix_trie v0.3.0 [INFO] [stderr] Checking quote v1.0.47 [INFO] [stderr] Checking syn v2.0.119 [INFO] [stderr] Compiling thiserror-impl v2.0.19 [INFO] [stderr] Checking rustyline v18.0.1 [INFO] [stderr] Checking thiserror v2.0.19 [INFO] [stderr] Checking ink-debug v0.1.0 (/opt/rustwide/workdir/ink-debug) [INFO] [stderr] Checking inkdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Stmt` [INFO] [stdout] --> ink-debug/src/lib.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{Block, ItemFn, Stmt, parse_macro_input, parse_quote}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stmt` [INFO] [stdout] --> ink-debug/src/lib.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{Block, ItemFn, Stmt, parse_macro_input, parse_quote}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/page.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use inkdb::format::page::BTreePage; [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/header_tests.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use inkdb::format::header::SqliteDatabaseHeader; [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `inkdb` (test "page") due to 1 previous error [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/header.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use inkdb::format::header::SqliteDatabaseHeader; [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/page_tests.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use inkdb::format::cell::BTreeCell; [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inkdb` (test "header") due to 1 previous error; 2 warnings emitted [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/page_tests.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use inkdb::format::page::BTreePage; [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inkdb` (test "sql_tests") due to 1 previous error [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 196 - let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] 196 + let len = encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 239 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 239 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 242 - let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] 242 + let n = encode_varint(&mut vbuf, row_id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> tests/header.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 262 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> tests/header.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/overflow.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use inkdb::format::overflow::OverflowPageRef; [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/sql_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Parser::parse(tokens).expect("parse failed") [INFO] [stdout] | ^^^^^^^^^^^^^ ------ argument #1 of type `Rc` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/sql/parser.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse(query: Rc, tokens: Vec) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 7 | Parser::parse(/* Rc */, tokens).expect("parse failed") [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 196 - let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] 196 + let len = encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 239 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 239 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 242 - let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] 242 + let n = encode_varint(&mut vbuf, row_id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 262 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 196 - let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] 196 + let len = encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 239 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 239 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 242 - let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] 242 + let n = encode_varint(&mut vbuf, row_id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 262 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/cell_tests.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use inkdb::format::cell::{IndexInteriorCell, IndexLeafCell, TableInteriorCell, TableLeafCell}; [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 196 - let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] 196 + let len = encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 239 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 239 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 242 - let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] 242 + let n = encode_varint(&mut vbuf, row_id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 262 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DiskFile` [INFO] [stdout] --> tests/vfs_tests.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use inkdb::vfs::disk::{DiskFile, DiskVfs}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/cell.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use inkdb::format::page::BTreePage; [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `inkdb::storage::btree::INTERIOR_BTREE_PAGE_HEADER_SIZE`, `inkdb::storage::btree::LEAF_BTREE_PAGE_HEADER_SIZE` [INFO] [stdout] --> tests/btree_tests.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | use inkdb::storage::btree::{INTERIOR_BTREE_PAGE_HEADER_SIZE, LEAF_BTREE_PAGE_HEADER_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `LEAF_BTREE_PAGE_HEADER_SIZE` in `storage::btree` [INFO] [stdout] | | [INFO] [stdout] | no `INTERIOR_BTREE_PAGE_HEADER_SIZE` in `storage::btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `inkdb::storage::btree::BTREE_TYPE_PAGE_OFFSET`, `inkdb::storage::btree::BTREE_TYPE_PAGE_SIZE` [INFO] [stdout] --> tests/btree_tests.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | use inkdb::storage::btree::{BTREE_TYPE_PAGE_OFFSET, BTREE_TYPE_PAGE_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ no `BTREE_TYPE_PAGE_SIZE` in `storage::btree` [INFO] [stdout] | | [INFO] [stdout] | no `BTREE_TYPE_PAGE_OFFSET` in `storage::btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 196 - let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] 196 + let len = encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 239 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 239 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 242 - let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] 242 + let n = encode_varint(&mut vbuf, row_id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 262 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `BTreePageRef` is private [INFO] [stdout] --> tests/btree_tests.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use inkdb::storage::btree::{BTreeCursor, BTreePageRef, CursorState, SeekResult}; [INFO] [stdout] | ^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `BTreePageRef` is defined here [INFO] [stdout] --> src/storage/btree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::page::BTreePageRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `inkdb::decode_varint`, `inkdb::encode_varint` [INFO] [stdout] --> tests/varint_tests.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use inkdb::{decode_varint, encode_varint}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `encode_varint` in the root [INFO] [stdout] | | [INFO] [stdout] | no `decode_varint` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/cell_tests.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | use inkdb::format::cell::BTreeCell; [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/cell_tests.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | use inkdb::format::page::BTreePage; [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/cell_tests.rs:347:20 [INFO] [stdout] | [INFO] [stdout] 347 | use inkdb::format::cell::BTreeCellType; [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `name`, `path` [INFO] [stdout] --> tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name`, `path` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn name(&self) -> &str { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn path(&self) -> PathBuf { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `name`, `path` [INFO] [stdout] --> tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name`, `path` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn name(&self) -> &str { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn path(&self) -> PathBuf { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `name`, `path` [INFO] [stdout] --> tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name`, `path` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn name(&self) -> &str { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn path(&self) -> PathBuf { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `name`, `path` [INFO] [stdout] --> tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name`, `path` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn name(&self) -> &str { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn path(&self) -> PathBuf { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `name`, `path` [INFO] [stdout] --> tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name`, `path` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn name(&self) -> &str { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn path(&self) -> PathBuf { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Pager` [INFO] [stdout] --> tests/btree_tests.rs:36:70 [INFO] [stdout] | [INFO] [stdout] 36 | fn pager_from(data: Vec, page_size: usize, page_count: usize) -> Pager { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/pager/pager.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 36 | fn pager_from(data: Vec, page_size: usize, page_count: usize) -> Pager { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Pager` [INFO] [stdout] --> tests/btree_tests.rs:47:85 [INFO] [stdout] | [INFO] [stdout] 47 | fn leaf_db(page_size: usize, page_count: usize, page_no: u32, cells: &[Vec]) -> Pager { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/pager/pager.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 47 | fn leaf_db(page_size: usize, page_count: usize, page_no: u32, cells: &[Vec]) -> Pager { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Pager` [INFO] [stdout] --> tests/btree_tests.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | fn leaf_root(cells: &[(u64, &[u8])]) -> Pager { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/pager/pager.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 55 | fn leaf_root(cells: &[(u64, &[u8])]) -> Pager { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/overflow_tests.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use inkdb::format::overflow::{OverflowPageRef, compute_table_local_payload_size}; [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/cell_tests.rs:230:32 [INFO] [stdout] | [INFO] [stdout] 230 | let local_len = inkdb::format::overflow::compute_table_local_payload_size(usable, payload_len); [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Pager` [INFO] [stdout] --> tests/btree_tests.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | fn two_level_tree() -> Pager { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/pager/pager.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 64 | fn two_level_tree() -> Pager { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Pager` [INFO] [stdout] --> tests/btree_tests.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | fn three_level_tree() -> Pager { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/pager/pager.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 80 | fn three_level_tree() -> Pager { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BTreeCursor` [INFO] [stdout] --> tests/btree_tests.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | fn path_parts(cursor: &BTreeCursor) -> Vec<(u32, u16)> { [INFO] [stdout] | ^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/storage/btree.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct BTreeCursor { [INFO] [stdout] | ^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 94 | fn path_parts(cursor: &BTreeCursor) -> Vec<(u32, u16)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Pager` [INFO] [stdout] --> tests/btree_tests.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | fn fresh_seek_pos(pager: &mut Pager, target: u64) -> (SeekResult, Vec<(u32, u16)>) { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/pager/pager.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 105 | fn fresh_seek_pos(pager: &mut Pager, target: u64) -> (SeekResult, Vec<(u32, u16)>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Pager` [INFO] [stdout] --> tests/btree_tests.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | fn cell_row_id(pager: &mut Pager, page_no: u32, idx: u16) -> u64 { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/pager/pager.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 112 | fn cell_row_id(pager: &mut Pager, page_no: u32, idx: u16) -> u64 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Pager` [INFO] [stdout] --> tests/btree_tests.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | pager: &mut Pager, [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/pager/pager.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 118 | pager: &mut Pager, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Pager` [INFO] [stdout] --> tests/btree_tests.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | fn cell_payload(pager: &mut Pager, page_no: u32, idx: u16) -> Vec { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/pager/pager.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 130 | fn cell_payload(pager: &mut Pager, page_no: u32, idx: u16) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Pager` [INFO] [stdout] --> tests/btree_tests.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | pager: &mut Pager, [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/pager/pager.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 136 | pager: &mut Pager, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Pager` [INFO] [stdout] --> tests/btree_tests.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | fn walk_forward(pager: &mut Pager, cursor: &mut BTreeCursor) -> Vec { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/pager/pager.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 159 | fn walk_forward(pager: &mut Pager, cursor: &mut BTreeCursor) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BTreeCursor` [INFO] [stdout] --> tests/btree_tests.rs:159:49 [INFO] [stdout] | [INFO] [stdout] 159 | fn walk_forward(pager: &mut Pager, cursor: &mut BTreeCursor) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/storage/btree.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct BTreeCursor { [INFO] [stdout] | ^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 159 | fn walk_forward(pager: &mut Pager, cursor: &mut BTreeCursor) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Pager` [INFO] [stdout] --> tests/btree_tests.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | fn walk_backward(pager: &mut Pager, cursor: &mut BTreeCursor) -> Vec { [INFO] [stdout] | ^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/pager/pager.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 175 | fn walk_backward(pager: &mut Pager, cursor: &mut BTreeCursor) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BTreeCursor` [INFO] [stdout] --> tests/btree_tests.rs:175:50 [INFO] [stdout] | [INFO] [stdout] 175 | fn walk_backward(pager: &mut Pager, cursor: &mut BTreeCursor) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `F` [INFO] [stdout] --> src/storage/btree.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct BTreeCursor { [INFO] [stdout] | ^^^^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 175 | fn walk_backward(pager: &mut Pager, cursor: &mut BTreeCursor) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/cell_tests.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 247 | let local_len = inkdb::format::overflow::compute_table_local_payload_size(usable, payload_len); [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/cell_tests.rs:297:32 [INFO] [stdout] | [INFO] [stdout] 297 | let local_len = inkdb::format::overflow::compute_table_local_payload_size(usable, payload_len); [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `format` in `inkdb` [INFO] [stdout] --> tests/cell_tests.rs:333:32 [INFO] [stdout] | [INFO] [stdout] 333 | let local_len = inkdb::format::overflow::compute_table_local_payload_size(usable, payload_len); [INFO] [stdout] | ^^^^^^ could not find `format` in `inkdb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 196 - let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] 196 + let len = encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 239 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 239 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 242 - let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] 242 + let n = encode_varint(&mut vbuf, row_id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 262 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> tests/cell_tests.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 196 - let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] 196 + let len = encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 239 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 239 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 242 - let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] 242 + let n = encode_varint(&mut vbuf, row_id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 262 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MemFile`, `set_page_count`, and `valid_header_bytes` [INFO] [stdout] --> tests/overflow_tests.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use common::{MemFile, build_db_image, build_overflow_page, set_page_count, valid_header_bytes}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `inkdb::errors::SqliteError` [INFO] [stdout] --> tests/overflow_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use inkdb::errors::SqliteError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `inkdb::vfs::disk::DiskFile` [INFO] [stdout] --> tests/overflow_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use inkdb::vfs::disk::DiskFile; // only for type inference where needed [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `name`, `path` [INFO] [stdout] --> tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name`, `path` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn name(&self) -> &str { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn path(&self) -> PathBuf { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `name`, `path` [INFO] [stdout] --> tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name`, `path` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn name(&self) -> &str { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn path(&self) -> PathBuf { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 196 - let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] 196 + let len = encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inkdb` (test "overflow") due to 1 previous error [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 239 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 239 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inkdb` (test "cell") due to 1 previous error [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 242 - let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] 242 + let n = encode_varint(&mut vbuf, row_id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 262 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `name`, `path` [INFO] [stdout] --> tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name`, `path` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn name(&self) -> &str { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn path(&self) -> PathBuf { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | let res = cursor.seek(pager, target).unwrap(); [INFO] [stdout] | ---- ^^^^^^ expected `Value<'_>`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_overflow_payload` found for struct `inkdb::SqliteDatabase` in the current scope [INFO] [stdout] --> tests/overflow_tests.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 160 | let result = db [INFO] [stdout] | ______________________- [INFO] [stdout] 161 | | .read_overflow_payload(local_bytes.clone(), total_len, 3) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^ method not found in `inkdb::SqliteDatabase` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `inkdb` (test "cursor_tests") due to 5 previous errors [INFO] [stderr] error: could not compile `inkdb` (test "varint_tests") due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0046, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_overflow_payload` found for struct `inkdb::SqliteDatabase` in the current scope [INFO] [stdout] --> tests/overflow_tests.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 195 | let result = db [INFO] [stdout] | ______________________- [INFO] [stdout] 196 | | .read_overflow_payload(local_bytes.clone(), total_len, 3) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^ method not found in `inkdb::SqliteDatabase` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_overflow_payload` found for struct `inkdb::SqliteDatabase` in the current scope [INFO] [stdout] --> tests/overflow_tests.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | let result = db.read_overflow_payload(local_bytes, total_len, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `inkdb::SqliteDatabase` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inkdb` (test "bytes_tests") due to 5 previous errors [INFO] [stderr] error: could not compile `inkdb` (test "cell_tests") due to 13 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0046, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `inkdb` (test "page_tests") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `read_overflow_payload` found for struct `inkdb::SqliteDatabase` in the current scope [INFO] [stdout] --> tests/overflow_tests.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | let result = db.read_overflow_payload(local_bytes, total_len, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `inkdb::SqliteDatabase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 196 - let len = inkdb::encode_varint(&mut varint_buf, rowid); [INFO] [stdout] 196 + let len = encode_varint(&mut varint_buf, rowid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 239 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 239 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 242 - let n = inkdb::encode_varint(&mut vbuf, row_id); [INFO] [stdout] 242 + let n = encode_varint(&mut vbuf, row_id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode_varint` in crate `inkdb` [INFO] [stdout] --> tests/common/mod.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `inkdb` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 12 + use inkdb::varint::encode_varint; [INFO] [stdout] | [INFO] [stdout] help: if you import `encode_varint`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - let n = inkdb::encode_varint(&mut vbuf, payload_len); [INFO] [stdout] 262 + let n = encode_varint(&mut vbuf, payload_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `inkdb::DbError` [INFO] [stdout] --> tests/pager_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use inkdb::DbError; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FrameId` [INFO] [stdout] --> tests/pager_tests.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use inkdb::pager::frame::{CLEAN, DIRTY, FREE, Frame, FrameId, REFERENCED}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `inkdb::pager::guard::PageGuard` [INFO] [stdout] --> tests/pager_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use inkdb::pager::guard::PageGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DiskFile` [INFO] [stdout] --> tests/pager_tests.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use inkdb::vfs::disk::{DiskFile, DiskVfs}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemVfs` [INFO] [stdout] --> tests/pager_tests.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | use inkdb::vfs::mem::{MemFile, MemVfs}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_overflow_payload` found for struct `inkdb::SqliteDatabase` in the current scope [INFO] [stdout] --> tests/overflow_tests.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | let result = db.read_overflow_payload(local_bytes, 10, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `inkdb::SqliteDatabase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `BTreeCursor<_>` [INFO] [stdout] --> tests/btree_tests.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | let cursor = BTreeCursor::new(2); [INFO] [stdout] | ^^^^^^ ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `SqliteFile` [INFO] [stdout] help: the following types implement trait `SqliteFile` [INFO] [stdout] --> src/vfs/disk.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl SqliteFile for DiskFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DiskFile` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `common::MemFile` [INFO] [stdout] | [INFO] [stdout] ::: src/vfs/mem.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `inkdb::vfs::mem::MemFile` [INFO] [stdout] note: required by a bound in `BTreeCursor` [INFO] [stdout] --> src/storage/btree.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct BTreeCursor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `BTreeCursor` [INFO] [stdout] help: consider giving `cursor` an explicit type, where the type for type parameter `F` is specified [INFO] [stdout] | [INFO] [stdout] 435 | let cursor: BTreeCursor = BTreeCursor::new(2); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_overflow_payload` found for struct `inkdb::SqliteDatabase` in the current scope [INFO] [stdout] --> tests/overflow_tests.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | let result = db.read_overflow_payload(local_bytes, total_len, 3).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `inkdb::SqliteDatabase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `name`, `path` [INFO] [stdout] --> tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name`, `path` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn name(&self) -> &str { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn path(&self) -> PathBuf { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:590:37 [INFO] [stdout] | [INFO] [stdout] 590 | assert!(cursor.seek(&mut pager, 1).is_err()); [INFO] [stdout] | ---- ^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 590 | assert!(cursor.seek(&mut pager, inkdb::record::Value::Integer(1)).is_err()); [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:597:37 [INFO] [stdout] | [INFO] [stdout] 597 | assert!(cursor.seek(&mut pager, 1).is_err()); [INFO] [stdout] | ---- ^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 597 | assert!(cursor.seek(&mut pager, inkdb::record::Value::Integer(1)).is_err()); [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:648:29 [INFO] [stdout] | [INFO] [stdout] 648 | cursor.seek(&mut pager, 1).unwrap(); [INFO] [stdout] | ---- ^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 648 | cursor.seek(&mut pager, inkdb::record::Value::Integer(1)).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:657:29 [INFO] [stdout] | [INFO] [stdout] 657 | cursor.seek(&mut pager, 1).unwrap(); [INFO] [stdout] | ---- ^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 657 | cursor.seek(&mut pager, inkdb::record::Value::Integer(1)).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:667:29 [INFO] [stdout] | [INFO] [stdout] 667 | cursor.seek(&mut pager, 25).unwrap(); // NotFound -> path [(2,2)] [INFO] [stdout] | ---- ^^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 667 | cursor.seek(&mut pager, inkdb::record::Value::Integer(25)).unwrap(); // NotFound -> path [(2,2)] [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inkdb` (test "overflow_tests") due to 12 previous errors; 3 warnings emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:676:29 [INFO] [stdout] | [INFO] [stdout] 676 | cursor.seek(&mut pager, 0).unwrap(); // NotFound -> path [(2,0)] [INFO] [stdout] | ---- ^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 676 | cursor.seek(&mut pager, inkdb::record::Value::Integer(0)).unwrap(); // NotFound -> path [(2,0)] [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:715:29 [INFO] [stdout] | [INFO] [stdout] 715 | cursor.seek(&mut pager, 2).unwrap(); [INFO] [stdout] | ---- ^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 715 | cursor.seek(&mut pager, inkdb::record::Value::Integer(2)).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:800:29 [INFO] [stdout] | [INFO] [stdout] 800 | cursor.seek(&mut pager, 3).unwrap(); // last cell of left leaf [INFO] [stdout] | ---- ^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 800 | cursor.seek(&mut pager, inkdb::record::Value::Integer(3)).unwrap(); // last cell of left leaf [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:810:29 [INFO] [stdout] | [INFO] [stdout] 810 | cursor.seek(&mut pager, 4).unwrap(); // first cell of right leaf [INFO] [stdout] | ---- ^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 810 | cursor.seek(&mut pager, inkdb::record::Value::Integer(4)).unwrap(); // first cell of right leaf [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inkdb` (test "header_tests") due to 6 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:820:29 [INFO] [stdout] | [INFO] [stdout] 820 | cursor.seek(&mut pager, 6).unwrap(); [INFO] [stdout] | ---- ^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 820 | cursor.seek(&mut pager, inkdb::record::Value::Integer(6)).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:829:29 [INFO] [stdout] | [INFO] [stdout] 829 | cursor.seek(&mut pager, 1).unwrap(); [INFO] [stdout] | ---- ^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 829 | cursor.seek(&mut pager, inkdb::record::Value::Integer(1)).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:894:29 [INFO] [stdout] | [INFO] [stdout] 894 | cursor.seek(&mut pager, 2).unwrap(); // last cell of page5 [INFO] [stdout] | ---- ^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 894 | cursor.seek(&mut pager, inkdb::record::Value::Integer(2)).unwrap(); // last cell of page5 [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:899:29 [INFO] [stdout] | [INFO] [stdout] 899 | cursor.seek(&mut pager, 4).unwrap(); // last cell of page6 [INFO] [stdout] | ---- ^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 899 | cursor.seek(&mut pager, inkdb::record::Value::Integer(4)).unwrap(); // last cell of page6 [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:908:29 [INFO] [stdout] | [INFO] [stdout] 908 | cursor.seek(&mut pager, 3).unwrap(); // first cell of page6 [INFO] [stdout] | ---- ^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 908 | cursor.seek(&mut pager, inkdb::record::Value::Integer(3)).unwrap(); // first cell of page6 [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:913:29 [INFO] [stdout] | [INFO] [stdout] 913 | cursor.seek(&mut pager, 5).unwrap(); // first cell of page4 [INFO] [stdout] | ---- ^ expected `Value<'_>`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] help: try wrapping the expression in `inkdb::record::Value::Integer` [INFO] [stdout] | [INFO] [stdout] 913 | cursor.seek(&mut pager, inkdb::record::Value::Integer(5)).unwrap(); // first cell of page4 [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:1003:44 [INFO] [stdout] | [INFO] [stdout] 1003 | assert_eq!(cursor.seek(&mut pager, i).unwrap(), SeekResult::Exact); [INFO] [stdout] | ---- ^ expected `Value<'_>`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/btree_tests.rs:1005:37 [INFO] [stdout] | [INFO] [stdout] 1005 | cursor.seek(&mut pager, i + 80).unwrap(), [INFO] [stdout] | ---- ^^^^^^ expected `Value<'_>`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/storage/btree.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn seek( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0283, E0308, E0425, E0432, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `inkdb` (test "btree_tests") due to 42 previous errors [INFO] [stderr] error: could not compile `inkdb` (test "vfs_tests") due to 5 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:388:22 [INFO] [stdout] | [INFO] [stdout] 388 | assert_eq!(pager.cached_page_count(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 388 | assert_eq!(pager.expect("REASON").cached_page_count(), 0); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:395:22 [INFO] [stdout] | [INFO] [stdout] 395 | assert_eq!(pager.cached_page_count(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 395 | assert_eq!(pager.expect("REASON").cached_page_count(), 0); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `metadata` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:402:22 [INFO] [stdout] | [INFO] [stdout] 402 | assert_eq!(pager.metadata.page_size, 4096); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 402 | assert_eq!(pager.unwrap().metadata.page_size, 4096); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `metadata` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:403:22 [INFO] [stdout] | [INFO] [stdout] 403 | assert_eq!(pager.metadata.usable_size, 4096); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 403 | assert_eq!(pager.unwrap().metadata.usable_size, 4096); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `metadata` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:404:22 [INFO] [stdout] | [INFO] [stdout] 404 | assert_eq!(pager.metadata.max_allocated_pages, 10); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 404 | assert_eq!(pager.unwrap().metadata.max_allocated_pages, 10); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `metadata` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:411:22 [INFO] [stdout] | [INFO] [stdout] 411 | assert_eq!(pager.metadata.page_size, 4096); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 411 | assert_eq!(pager.unwrap().metadata.page_size, 4096); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:412:22 [INFO] [stdout] | [INFO] [stdout] 412 | assert_eq!(pager.buffer_pool.frame_buffer.len(), 5); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 412 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer.len(), 5); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:419:23 [INFO] [stdout] | [INFO] [stdout] 419 | let guard = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 419 | let guard = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:420:22 [INFO] [stdout] | [INFO] [stdout] 420 | assert_eq!(pager.cached_page_count(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 420 | assert_eq!(pager.expect("REASON").cached_page_count(), 1); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:430:27 [INFO] [stdout] | [INFO] [stdout] 430 | let mut guard = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 430 | let mut guard = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:431:22 [INFO] [stdout] | [INFO] [stdout] 431 | assert_eq!(pager.cached_page_count(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 431 | assert_eq!(pager.expect("REASON").cached_page_count(), 1); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:440:25 [INFO] [stdout] | [INFO] [stdout] 440 | let _guard1 = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 440 | let _guard1 = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:442:25 [INFO] [stdout] | [INFO] [stdout] 442 | let _guard2 = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 442 | let _guard2 = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:443:22 [INFO] [stdout] | [INFO] [stdout] 443 | assert_eq!(pager.cached_page_count(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 443 | assert_eq!(pager.expect("REASON").cached_page_count(), 1); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:450:27 [INFO] [stdout] | [INFO] [stdout] 450 | let mut guard = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 450 | let mut guard = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:452:24 [INFO] [stdout] | [INFO] [stdout] 452 | let frame = &pager.buffer_pool.frame_buffer[fid]; [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 452 | let frame = &pager.unwrap().buffer_pool.frame_buffer[fid]; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:462:23 [INFO] [stdout] | [INFO] [stdout] 462 | let guard = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 462 | let guard = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:464:24 [INFO] [stdout] | [INFO] [stdout] 464 | let frame = &pager.buffer_pool.frame_buffer[fid]; [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 464 | let frame = &pager.unwrap().buffer_pool.frame_buffer[fid]; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:474:24 [INFO] [stdout] | [INFO] [stdout] 474 | let result = pager.get(0); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 474 | let result = pager.expect("REASON").get(0); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:482:24 [INFO] [stdout] | [INFO] [stdout] 482 | let result = pager.get_mut(0); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 482 | let result = pager.expect("REASON").get_mut(0); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:490:24 [INFO] [stdout] | [INFO] [stdout] 490 | let result = pager.get(4); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 490 | let result = pager.expect("REASON").get(4); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:498:24 [INFO] [stdout] | [INFO] [stdout] 498 | let result = pager.get_mut(4); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 498 | let result = pager.expect("REASON").get_mut(4); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:506:21 [INFO] [stdout] | [INFO] [stdout] 506 | let _g1 = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 506 | let _g1 = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:507:22 [INFO] [stdout] | [INFO] [stdout] 507 | assert_eq!(pager.cached_page_count(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 507 | assert_eq!(pager.expect("REASON").cached_page_count(), 1); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:508:21 [INFO] [stdout] | [INFO] [stdout] 508 | let _g2 = pager.get(3).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 508 | let _g2 = pager.expect("REASON").get(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:509:22 [INFO] [stdout] | [INFO] [stdout] 509 | assert_eq!(pager.cached_page_count(), 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 509 | assert_eq!(pager.expect("REASON").cached_page_count(), 2); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:516:21 [INFO] [stdout] | [INFO] [stdout] 516 | let _g1 = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 516 | let _g1 = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:517:22 [INFO] [stdout] | [INFO] [stdout] 517 | assert_eq!(pager.cached_page_count(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 517 | assert_eq!(pager.expect("REASON").cached_page_count(), 1); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:518:21 [INFO] [stdout] | [INFO] [stdout] 518 | let _g2 = pager.get_mut(3).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 518 | let _g2 = pager.expect("REASON").get_mut(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:519:22 [INFO] [stdout] | [INFO] [stdout] 519 | assert_eq!(pager.cached_page_count(), 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 519 | assert_eq!(pager.expect("REASON").cached_page_count(), 2); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:528:31 [INFO] [stdout] | [INFO] [stdout] 528 | let mut guard = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 528 | let mut guard = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:533:25 [INFO] [stdout] | [INFO] [stdout] 533 | let _g3 = pager.get(3).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 533 | let _g3 = pager.expect("REASON").get(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:534:25 [INFO] [stdout] | [INFO] [stdout] 534 | let _g4 = pager.get(4).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 534 | let _g4 = pager.expect("REASON").get(4).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `source` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:538:11 [INFO] [stdout] | [INFO] [stdout] 538 | pager.source.read_exact_at(512, &mut buf).unwrap(); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 538 | pager.unwrap().source.read_exact_at(512, &mut buf).unwrap(); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:548:31 [INFO] [stdout] | [INFO] [stdout] 548 | let mut guard = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 548 | let mut guard = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:553:25 [INFO] [stdout] | [INFO] [stdout] 553 | let _g3 = pager.get(3).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 553 | let _g3 = pager.expect("REASON").get(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:554:25 [INFO] [stdout] | [INFO] [stdout] 554 | let _g4 = pager.get(4).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 554 | let _g4 = pager.expect("REASON").get(4).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `source` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:558:11 [INFO] [stdout] | [INFO] [stdout] 558 | pager.source.read_exact_at(512, &mut buf).unwrap(); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 558 | pager.unwrap().source.read_exact_at(512, &mut buf).unwrap(); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:567:22 [INFO] [stdout] | [INFO] [stdout] 567 | assert_eq!(pager.cached_page_count(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 567 | assert_eq!(pager.expect("REASON").cached_page_count(), 0); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:568:21 [INFO] [stdout] | [INFO] [stdout] 568 | let _g1 = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 568 | let _g1 = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:569:22 [INFO] [stdout] | [INFO] [stdout] 569 | assert_eq!(pager.cached_page_count(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 569 | assert_eq!(pager.expect("REASON").cached_page_count(), 1); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:570:21 [INFO] [stdout] | [INFO] [stdout] 570 | let _g2 = pager.get(3).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 570 | let _g2 = pager.expect("REASON").get(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:571:22 [INFO] [stdout] | [INFO] [stdout] 571 | assert_eq!(pager.cached_page_count(), 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 571 | assert_eq!(pager.expect("REASON").cached_page_count(), 2); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:572:21 [INFO] [stdout] | [INFO] [stdout] 572 | let _g3 = pager.get(4).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 572 | let _g3 = pager.expect("REASON").get(4).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:573:22 [INFO] [stdout] | [INFO] [stdout] 573 | assert_eq!(pager.cached_page_count(), 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 573 | assert_eq!(pager.expect("REASON").cached_page_count(), 3); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:581:20 [INFO] [stdout] | [INFO] [stdout] 581 | let g1 = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 581 | let g1 = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:582:22 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(pager.cached_page_count(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(pager.expect("REASON").cached_page_count(), 1); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:584:22 [INFO] [stdout] | [INFO] [stdout] 584 | assert_eq!(pager.cached_page_count(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 584 | assert_eq!(pager.expect("REASON").cached_page_count(), 1); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/pager_tests.rs:589:13 [INFO] [stdout] | [INFO] [stdout] 589 | assert!(Pager::validate_page(1, 10, None:: bool>).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `F` declared on the struct `Pager` [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `SqliteFile` [INFO] [stdout] help: the following types implement trait `SqliteFile` [INFO] [stdout] --> src/vfs/disk.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl SqliteFile for DiskFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DiskFile` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `common::MemFile` [INFO] [stdout] | [INFO] [stdout] ::: src/vfs/mem.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `inkdb::vfs::mem::MemFile` [INFO] [stdout] note: required by a bound in `Pager` [INFO] [stdout] --> src/pager/pager.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Pager` [INFO] [stdout] help: consider specifying a concrete type for the type parameter `F` [INFO] [stdout] | [INFO] [stdout] 589 | assert!(Pager::::validate_page(1, 10, None:: bool>).is_ok()); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/pager_tests.rs:595:18 [INFO] [stdout] | [INFO] [stdout] 595 | let result = Pager::validate_page(0, 10, None:: bool>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `F` declared on the struct `Pager` [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `SqliteFile` [INFO] [stdout] help: the following types implement trait `SqliteFile` [INFO] [stdout] --> src/vfs/disk.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl SqliteFile for DiskFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DiskFile` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `common::MemFile` [INFO] [stdout] | [INFO] [stdout] ::: src/vfs/mem.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `inkdb::vfs::mem::MemFile` [INFO] [stdout] note: required by a bound in `Pager` [INFO] [stdout] --> src/pager/pager.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Pager` [INFO] [stdout] help: consider specifying a concrete type for the type parameter `F` [INFO] [stdout] | [INFO] [stdout] 595 | let result = Pager::::validate_page(0, 10, None:: bool>); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/pager_tests.rs:601:18 [INFO] [stdout] | [INFO] [stdout] 601 | let result = Pager::validate_page(11, 10, None:: bool>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `F` declared on the struct `Pager` [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `SqliteFile` [INFO] [stdout] help: the following types implement trait `SqliteFile` [INFO] [stdout] --> src/vfs/disk.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl SqliteFile for DiskFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DiskFile` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `common::MemFile` [INFO] [stdout] | [INFO] [stdout] ::: src/vfs/mem.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `inkdb::vfs::mem::MemFile` [INFO] [stdout] note: required by a bound in `Pager` [INFO] [stdout] --> src/pager/pager.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Pager` [INFO] [stdout] help: consider specifying a concrete type for the type parameter `F` [INFO] [stdout] | [INFO] [stdout] 601 | let result = Pager::::validate_page(11, 10, None:: bool>); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/pager_tests.rs:607:18 [INFO] [stdout] | [INFO] [stdout] 607 | let result = Pager::validate_page(5, 10, Some(|p| p == 5)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `F` declared on the struct `Pager` [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `SqliteFile` [INFO] [stdout] help: the following types implement trait `SqliteFile` [INFO] [stdout] --> src/vfs/disk.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl SqliteFile for DiskFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DiskFile` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `common::MemFile` [INFO] [stdout] | [INFO] [stdout] ::: src/vfs/mem.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `inkdb::vfs::mem::MemFile` [INFO] [stdout] note: required by a bound in `Pager` [INFO] [stdout] --> src/pager/pager.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Pager` [INFO] [stdout] help: consider specifying a concrete type for the type parameter `F` [INFO] [stdout] | [INFO] [stdout] 607 | let result = Pager::::validate_page(5, 10, Some(|p| p == 5)); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/pager_tests.rs:613:18 [INFO] [stdout] | [INFO] [stdout] 613 | let result = Pager::validate_page(3, 10, Some(|p| p == 5)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `F` declared on the struct `Pager` [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `SqliteFile` [INFO] [stdout] help: the following types implement trait `SqliteFile` [INFO] [stdout] --> src/vfs/disk.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl SqliteFile for DiskFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DiskFile` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `common::MemFile` [INFO] [stdout] | [INFO] [stdout] ::: src/vfs/mem.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | impl SqliteFile for MemFile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `inkdb::vfs::mem::MemFile` [INFO] [stdout] note: required by a bound in `Pager` [INFO] [stdout] --> src/pager/pager.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Pager { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Pager` [INFO] [stdout] help: consider specifying a concrete type for the type parameter `F` [INFO] [stdout] | [INFO] [stdout] 613 | let result = Pager::::validate_page(3, 10, Some(|p| p == 5)); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:621:23 [INFO] [stdout] | [INFO] [stdout] 621 | let guard = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 621 | let guard = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:630:23 [INFO] [stdout] | [INFO] [stdout] 630 | let guard = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 630 | let guard = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:639:23 [INFO] [stdout] | [INFO] [stdout] 639 | let guard = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 639 | let guard = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:641:22 [INFO] [stdout] | [INFO] [stdout] 641 | assert_eq!(pager.buffer_pool.frame_buffer[fid].pin_count.get(), 1); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 641 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid].pin_count.get(), 1); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:643:22 [INFO] [stdout] | [INFO] [stdout] 643 | assert_eq!(pager.buffer_pool.frame_buffer[fid].pin_count.get(), 0); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 643 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid].pin_count.get(), 0); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:650:27 [INFO] [stdout] | [INFO] [stdout] 650 | let mut guard = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 650 | let mut guard = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:659:27 [INFO] [stdout] | [INFO] [stdout] 659 | let mut guard = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 659 | let mut guard = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:668:23 [INFO] [stdout] | [INFO] [stdout] 668 | let guard = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 668 | let guard = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:670:22 [INFO] [stdout] | [INFO] [stdout] 670 | assert_eq!(pager.buffer_pool.frame_buffer[fid].pin_count.get(), 1); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 670 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid].pin_count.get(), 1); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:672:22 [INFO] [stdout] | [INFO] [stdout] 672 | assert_eq!(pager.buffer_pool.frame_buffer[fid].pin_count.get(), 0); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 672 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid].pin_count.get(), 0); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `page` found for struct `SqliteDatabase` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:710:19 [INFO] [stdout] | [INFO] [stdout] 710 | let page = db.page(1).unwrap(); [INFO] [stdout] | ^^^^ method not found in `SqliteDatabase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `page` found for struct `SqliteDatabase` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:751:21 [INFO] [stdout] | [INFO] [stdout] 751 | let result = db.page(3); [INFO] [stdout] | ^^^^ method not found in `SqliteDatabase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:797:21 [INFO] [stdout] | [INFO] [stdout] 797 | let _g1 = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 797 | let _g1 = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:799:25 [INFO] [stdout] | [INFO] [stdout] 799 | let _g2 = pager.get(3).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 799 | let _g2 = pager.expect("REASON").get(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:800:26 [INFO] [stdout] | [INFO] [stdout] 800 | assert_eq!(pager.cached_page_count(), 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 800 | assert_eq!(pager.expect("REASON").cached_page_count(), 2); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:803:21 [INFO] [stdout] | [INFO] [stdout] 803 | let _g3 = pager.get(4).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 803 | let _g3 = pager.expect("REASON").get(4).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:804:22 [INFO] [stdout] | [INFO] [stdout] 804 | assert_eq!(pager.cached_page_count(), 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 804 | assert_eq!(pager.expect("REASON").cached_page_count(), 2); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:813:25 [INFO] [stdout] | [INFO] [stdout] 813 | let _g1 = pager.get(2).unwrap(); // 1 [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 813 | let _g1 = pager.expect("REASON").get(2).unwrap(); // 1 [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:815:31 [INFO] [stdout] | [INFO] [stdout] 815 | let _g1_again = pager.get(2).unwrap(); // 1 cache full [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 815 | let _g1_again = pager.expect("REASON").get(2).unwrap(); // 1 cache full [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:817:21 [INFO] [stdout] | [INFO] [stdout] 817 | let _g2 = pager.get(3).unwrap(); // 1 [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 817 | let _g2 = pager.expect("REASON").get(3).unwrap(); // 1 [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:819:21 [INFO] [stdout] | [INFO] [stdout] 819 | let _g3 = pager.get(4).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 819 | let _g3 = pager.expect("REASON").get(4).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cached_page_count` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:820:22 [INFO] [stdout] | [INFO] [stdout] 820 | assert_eq!(pager.cached_page_count(), 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `cached_page_count` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn cached_page_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 820 | assert_eq!(pager.expect("REASON").cached_page_count(), 2); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:829:31 [INFO] [stdout] | [INFO] [stdout] 829 | let mut guard = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 829 | let mut guard = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:833:23 [INFO] [stdout] | [INFO] [stdout] 833 | let guard = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 833 | let guard = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:843:31 [INFO] [stdout] | [INFO] [stdout] 843 | let mut guard = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 843 | let mut guard = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:848:25 [INFO] [stdout] | [INFO] [stdout] 848 | let _g3 = pager.get(3).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 848 | let _g3 = pager.expect("REASON").get(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:849:25 [INFO] [stdout] | [INFO] [stdout] 849 | let _g4 = pager.get(4).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 849 | let _g4 = pager.expect("REASON").get(4).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:852:23 [INFO] [stdout] | [INFO] [stdout] 852 | let guard = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 852 | let guard = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:861:21 [INFO] [stdout] | [INFO] [stdout] 861 | let _g1 = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 861 | let _g1 = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `statistics` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:862:22 [INFO] [stdout] | [INFO] [stdout] 862 | assert_eq!(pager.statistics.cache_miss(), 1); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 862 | assert_eq!(pager.unwrap().statistics.cache_miss(), 1); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `statistics` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:863:22 [INFO] [stdout] | [INFO] [stdout] 863 | assert_eq!(pager.statistics.cache_hit(), 0); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 863 | assert_eq!(pager.unwrap().statistics.cache_hit(), 0); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:867:21 [INFO] [stdout] | [INFO] [stdout] 867 | let _g2 = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 867 | let _g2 = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `statistics` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:868:22 [INFO] [stdout] | [INFO] [stdout] 868 | assert_eq!(pager.statistics.cache_hit(), 1); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 868 | assert_eq!(pager.unwrap().statistics.cache_hit(), 1); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:876:21 [INFO] [stdout] | [INFO] [stdout] 876 | let _g1 = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 876 | let _g1 = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:878:25 [INFO] [stdout] | [INFO] [stdout] 878 | let _g2 = pager.get(3).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 878 | let _g2 = pager.expect("REASON").get(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:881:21 [INFO] [stdout] | [INFO] [stdout] 881 | let _g3 = pager.get(4).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 881 | let _g3 = pager.expect("REASON").get(4).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `statistics` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:882:19 [INFO] [stdout] | [INFO] [stdout] 882 | assert!(pager.statistics.evictions() >= 1); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 882 | assert!(pager.unwrap().statistics.evictions() >= 1); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:898:23 [INFO] [stdout] | [INFO] [stdout] 898 | let guard = pager.get(1).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 898 | let guard = pager.expect("REASON").get(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `metadata` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:912:22 [INFO] [stdout] | [INFO] [stdout] 912 | assert_eq!(pager.metadata.usable_size, usable); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 912 | assert_eq!(pager.unwrap().metadata.usable_size, usable); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:920:19 [INFO] [stdout] | [INFO] [stdout] 920 | assert!(pager.buffer_pool.page_table.is_empty()); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 920 | assert!(pager.unwrap().buffer_pool.page_table.is_empty()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:922:21 [INFO] [stdout] | [INFO] [stdout] 922 | let _g1 = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 922 | let _g1 = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:923:19 [INFO] [stdout] | [INFO] [stdout] 923 | assert!(pager.buffer_pool.page_table.contains_key(&2)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 923 | assert!(pager.unwrap().buffer_pool.page_table.contains_key(&2)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:925:21 [INFO] [stdout] | [INFO] [stdout] 925 | let _g2 = pager.get(3).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 925 | let _g2 = pager.expect("REASON").get(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:926:19 [INFO] [stdout] | [INFO] [stdout] 926 | assert!(pager.buffer_pool.page_table.contains_key(&2)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 926 | assert!(pager.unwrap().buffer_pool.page_table.contains_key(&2)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:927:19 [INFO] [stdout] | [INFO] [stdout] 927 | assert!(pager.buffer_pool.page_table.contains_key(&3)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 927 | assert!(pager.unwrap().buffer_pool.page_table.contains_key(&3)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:935:25 [INFO] [stdout] | [INFO] [stdout] 935 | let _g1 = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 935 | let _g1 = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:936:25 [INFO] [stdout] | [INFO] [stdout] 936 | let _g2 = pager.get(3).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 936 | let _g2 = pager.expect("REASON").get(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:937:23 [INFO] [stdout] | [INFO] [stdout] 937 | assert!(pager.buffer_pool.page_table.contains_key(&2)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 937 | assert!(pager.unwrap().buffer_pool.page_table.contains_key(&2)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:938:23 [INFO] [stdout] | [INFO] [stdout] 938 | assert!(pager.buffer_pool.page_table.contains_key(&3)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 938 | assert!(pager.unwrap().buffer_pool.page_table.contains_key(&3)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:940:21 [INFO] [stdout] | [INFO] [stdout] 940 | let _g3 = pager.get(4).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 940 | let _g3 = pager.expect("REASON").get(4).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:941:21 [INFO] [stdout] | [INFO] [stdout] 941 | let _g4 = pager.get(5).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 941 | let _g4 = pager.expect("REASON").get(5).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:943:26 [INFO] [stdout] | [INFO] [stdout] 943 | let evicted = !pager.buffer_pool.page_table.contains_key(&2) [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 943 | let evicted = !pager.unwrap().buffer_pool.page_table.contains_key(&2) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:944:19 [INFO] [stdout] | [INFO] [stdout] 944 | || !pager.buffer_pool.page_table.contains_key(&3); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 944 | || !pager.unwrap().buffer_pool.page_table.contains_key(&3); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:953:20 [INFO] [stdout] | [INFO] [stdout] 953 | let g1 = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 953 | let g1 = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:955:24 [INFO] [stdout] | [INFO] [stdout] 955 | let frame = &pager.buffer_pool.frame_buffer[frame_id]; [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 955 | let frame = &pager.unwrap().buffer_pool.frame_buffer[frame_id]; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:965:20 [INFO] [stdout] | [INFO] [stdout] 965 | let g1 = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 965 | let g1 = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:967:20 [INFO] [stdout] | [INFO] [stdout] 967 | let g2 = pager.get(3).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 967 | let g2 = pager.expect("REASON").get(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `source` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:977:22 [INFO] [stdout] | [INFO] [stdout] 977 | assert_eq!(pager.source.len().unwrap(), 1536); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 977 | assert_eq!(pager.unwrap().source.len().unwrap(), 1536); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `source` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:988:22 [INFO] [stdout] | [INFO] [stdout] 988 | assert_eq!(pager.source.len().unwrap(), 1024); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 988 | assert_eq!(pager.unwrap().source.len().unwrap(), 1024); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:996:19 [INFO] [stdout] | [INFO] [stdout] 996 | assert!(pager.dp_ll.is_none()); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 996 | assert!(pager.unwrap().dp_ll.is_none()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1003:20 [INFO] [stdout] | [INFO] [stdout] 1003 | let _g = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1003 | let _g = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1004:19 [INFO] [stdout] | [INFO] [stdout] 1004 | assert!(pager.dp_ll.is_some()); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1004 | assert!(pager.unwrap().dp_ll.is_some()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1011:21 [INFO] [stdout] | [INFO] [stdout] 1011 | let _g1 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1011 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1012:21 [INFO] [stdout] | [INFO] [stdout] 1012 | let _g2 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1012 | let _g2 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1014:24 [INFO] [stdout] | [INFO] [stdout] 1014 | let frame = &pager.buffer_pool.frame_buffer[frame_id]; [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1014 | let frame = &pager.unwrap().buffer_pool.frame_buffer[frame_id]; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1022:21 [INFO] [stdout] | [INFO] [stdout] 1022 | let _g1 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1022 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1024:21 [INFO] [stdout] | [INFO] [stdout] 1024 | let _g2 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1024 | let _g2 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1026:22 [INFO] [stdout] | [INFO] [stdout] 1026 | assert_eq!(pager.dp_ll, Some(frame_id)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1026 | assert_eq!(pager.unwrap().dp_ll, Some(frame_id)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1027:24 [INFO] [stdout] | [INFO] [stdout] 1027 | let frame = &pager.buffer_pool.frame_buffer[frame_id]; [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1027 | let frame = &pager.unwrap().buffer_pool.frame_buffer[frame_id]; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1037:20 [INFO] [stdout] | [INFO] [stdout] 1037 | let _g = pager.get(1).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1037 | let _g = pager.expect("REASON").get(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1038:19 [INFO] [stdout] | [INFO] [stdout] 1038 | assert!(pager.dp_ll.is_none()); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1038 | assert!(pager.unwrap().dp_ll.is_none()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1046:21 [INFO] [stdout] | [INFO] [stdout] 1046 | let _g1 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1046 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1048:21 [INFO] [stdout] | [INFO] [stdout] 1048 | let _g2 = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1048 | let _g2 = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1052:22 [INFO] [stdout] | [INFO] [stdout] 1052 | assert_eq!(pager.dp_ll, Some(fid2)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1052 | assert_eq!(pager.unwrap().dp_ll, Some(fid2)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1054:22 [INFO] [stdout] | [INFO] [stdout] 1054 | assert_eq!(pager.buffer_pool.frame_buffer[fid2].prev, Some(fid1)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1054 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid2].prev, Some(fid1)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1056:22 [INFO] [stdout] | [INFO] [stdout] 1056 | assert_eq!(pager.buffer_pool.frame_buffer[fid1].next, Some(fid2)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1056 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid1].next, Some(fid2)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1064:21 [INFO] [stdout] | [INFO] [stdout] 1064 | let _g1 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1064 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1066:21 [INFO] [stdout] | [INFO] [stdout] 1066 | let _g2 = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1066 | let _g2 = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1068:21 [INFO] [stdout] | [INFO] [stdout] 1068 | let _g3 = pager.get_mut(3).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1068 | let _g3 = pager.expect("REASON").get_mut(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1072:22 [INFO] [stdout] | [INFO] [stdout] 1072 | assert_eq!(pager.dp_ll, Some(fid3)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1072 | assert_eq!(pager.unwrap().dp_ll, Some(fid3)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1074:22 [INFO] [stdout] | [INFO] [stdout] 1074 | assert_eq!(pager.buffer_pool.frame_buffer[fid3].prev, Some(fid2)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1074 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid3].prev, Some(fid2)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1075:22 [INFO] [stdout] | [INFO] [stdout] 1075 | assert_eq!(pager.buffer_pool.frame_buffer[fid2].prev, Some(fid1)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1075 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid2].prev, Some(fid1)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1076:22 [INFO] [stdout] | [INFO] [stdout] 1076 | assert_eq!(pager.buffer_pool.frame_buffer[fid1].prev, None); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1076 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid1].prev, None); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1077:22 [INFO] [stdout] | [INFO] [stdout] 1077 | assert_eq!(pager.buffer_pool.frame_buffer[fid1].next, Some(fid2)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1077 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid1].next, Some(fid2)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1078:22 [INFO] [stdout] | [INFO] [stdout] 1078 | assert_eq!(pager.buffer_pool.frame_buffer[fid2].next, Some(fid3)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1078 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid2].next, Some(fid3)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1079:22 [INFO] [stdout] | [INFO] [stdout] 1079 | assert_eq!(pager.buffer_pool.frame_buffer[fid3].next, None); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1079 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid3].next, None); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1088:23 [INFO] [stdout] | [INFO] [stdout] 1088 | let g = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1088 | let g = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1090:26 [INFO] [stdout] | [INFO] [stdout] 1090 | assert_eq!(pager.buffer_pool.frame_buffer[fid].pin_count.get(), 1); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1090 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid].pin_count.get(), 1); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1094:22 [INFO] [stdout] | [INFO] [stdout] 1094 | assert_eq!(pager.buffer_pool.frame_buffer[frame_id].pin_count.get(), 0); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1094 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[frame_id].pin_count.get(), 0); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1102:21 [INFO] [stdout] | [INFO] [stdout] 1102 | let _g1 = pager.get_mut(1).unwrap(); // pin_count=1, dirty [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1102 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); // pin_count=1, dirty [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1103:21 [INFO] [stdout] | [INFO] [stdout] 1103 | let _g2 = pager.get_mut(2).unwrap(); // pin_count=1, dirty [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1103 | let _g2 = pager.expect("REASON").get_mut(2).unwrap(); // pin_count=1, dirty [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1107:24 [INFO] [stdout] | [INFO] [stdout] 1107 | let result = pager.get(3); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1107 | let result = pager.expect("REASON").get(3); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1116:21 [INFO] [stdout] | [INFO] [stdout] 1116 | let _g1 = pager.get_mut(1).unwrap(); // dirty, pin_count=1 [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1116 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); // dirty, pin_count=1 [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1118:11 [INFO] [stdout] | [INFO] [stdout] 1118 | pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1118 | pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1122:21 [INFO] [stdout] | [INFO] [stdout] 1122 | let _g3 = pager.get_mut(3).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1122 | let _g3 = pager.expect("REASON").get_mut(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1125:20 [INFO] [stdout] | [INFO] [stdout] 1125 | assert!(!pager.buffer_pool.page_table.contains_key(&2)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1125 | assert!(!pager.unwrap().buffer_pool.page_table.contains_key(&2)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1127:19 [INFO] [stdout] | [INFO] [stdout] 1127 | assert!(pager.buffer_pool.page_table.contains_key(&1)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1127 | assert!(pager.unwrap().buffer_pool.page_table.contains_key(&1)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1129:19 [INFO] [stdout] | [INFO] [stdout] 1129 | assert!(pager.buffer_pool.page_table.contains_key(&3)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1129 | assert!(pager.unwrap().buffer_pool.page_table.contains_key(&3)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1137:21 [INFO] [stdout] | [INFO] [stdout] 1137 | let _g1 = pager.get_mut(1).unwrap(); // dirty, pin_count=1 [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1137 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); // dirty, pin_count=1 [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1139:19 [INFO] [stdout] | [INFO] [stdout] 1139 | assert!(pager.buffer_pool.frame_buffer[fid1].is(DIRTY)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1139 | assert!(pager.unwrap().buffer_pool.frame_buffer[fid1].is(DIRTY)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1144:22 [INFO] [stdout] | [INFO] [stdout] 1144 | assert_eq!(pager.buffer_pool.frame_buffer[fid1].pin_count.get(), 0); // true [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1144 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid1].pin_count.get(), 0); // true [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1147:21 [INFO] [stdout] | [INFO] [stdout] 1147 | let _g2 = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1147 | let _g2 = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1150:20 [INFO] [stdout] | [INFO] [stdout] 1150 | assert!(!pager.buffer_pool.page_table.contains_key(&1)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1150 | assert!(!pager.unwrap().buffer_pool.page_table.contains_key(&1)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1152:20 [INFO] [stdout] | [INFO] [stdout] 1152 | assert!(!pager.dp_ll.is_none()); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1152 | assert!(!pager.unwrap().dp_ll.is_none()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1160:21 [INFO] [stdout] | [INFO] [stdout] 1160 | let _g1 = pager.get_mut(1).unwrap(); // pin1, dirty not flushed [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1160 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); // pin1, dirty not flushed [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1165:21 [INFO] [stdout] | [INFO] [stdout] 1165 | let _g2 = pager.get(2).unwrap(); // pin = 1; [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1165 | let _g2 = pager.expect("REASON").get(2).unwrap(); // pin = 1; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1169:22 [INFO] [stdout] | [INFO] [stdout] 1169 | assert_eq!(pager.dp_ll, Some(fid1)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1169 | assert_eq!(pager.unwrap().dp_ll, Some(fid1)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1172:21 [INFO] [stdout] | [INFO] [stdout] 1172 | let _g3 = pager.get_mut(3).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1172 | let _g3 = pager.expect("REASON").get_mut(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1175:20 [INFO] [stdout] | [INFO] [stdout] 1175 | assert!(!pager.buffer_pool.page_table.contains_key(&1)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1175 | assert!(!pager.unwrap().buffer_pool.page_table.contains_key(&1)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1177:19 [INFO] [stdout] | [INFO] [stdout] 1177 | assert!(pager.dp_ll == Some(_g3.frame_id())); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1177 | assert!(pager.unwrap().dp_ll == Some(_g3.frame_id())); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1185:21 [INFO] [stdout] | [INFO] [stdout] 1185 | let _g1 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1185 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1186:21 [INFO] [stdout] | [INFO] [stdout] 1186 | let _g2 = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1186 | let _g2 = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1187:21 [INFO] [stdout] | [INFO] [stdout] 1187 | let _g3 = pager.get_mut(3).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1187 | let _g3 = pager.expect("REASON").get_mut(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1190:19 [INFO] [stdout] | [INFO] [stdout] 1190 | assert!(pager.dp_ll.is_some()); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1190 | assert!(pager.unwrap().dp_ll.is_some()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flush_all` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1193:11 [INFO] [stdout] | [INFO] [stdout] 1193 | pager.flush_all().unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `flush_all` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn flush_all(&mut self) -> Result<(), SqliteError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1193 | pager.expect("REASON").flush_all().unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1196:19 [INFO] [stdout] | [INFO] [stdout] 1196 | assert!(pager.dp_ll.is_none()); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1196 | assert!(pager.unwrap().dp_ll.is_none()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1204:21 [INFO] [stdout] | [INFO] [stdout] 1204 | let _g1 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1204 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1205:21 [INFO] [stdout] | [INFO] [stdout] 1205 | let _g2 = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1205 | let _g2 = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flush_all` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1209:11 [INFO] [stdout] | [INFO] [stdout] 1209 | pager.flush_all().unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `flush_all` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn flush_all(&mut self) -> Result<(), SqliteError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1209 | pager.expect("REASON").flush_all().unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1212:24 [INFO] [stdout] | [INFO] [stdout] 1212 | for frame in pager.buffer_pool.frame_buffer.iter() { [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1212 | for frame in pager.unwrap().buffer_pool.frame_buffer.iter() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1228:21 [INFO] [stdout] | [INFO] [stdout] 1228 | let _g1 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1228 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1233:22 [INFO] [stdout] | [INFO] [stdout] 1233 | assert_eq!(pager.dp_ll, Some(fid1)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1233 | assert_eq!(pager.unwrap().dp_ll, Some(fid1)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1236:21 [INFO] [stdout] | [INFO] [stdout] 1236 | let _g2 = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1236 | let _g2 = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1239:19 [INFO] [stdout] | [INFO] [stdout] 1239 | assert!(pager.dp_ll.is_none() || pager.dp_ll != Some(fid1)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1239 | assert!(pager.unwrap().dp_ll.is_none() || pager.dp_ll != Some(fid1)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1239:44 [INFO] [stdout] | [INFO] [stdout] 1239 | assert!(pager.dp_ll.is_none() || pager.dp_ll != Some(fid1)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1239 | assert!(pager.dp_ll.is_none() || pager.unwrap().dp_ll != Some(fid1)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1248:21 [INFO] [stdout] | [INFO] [stdout] 1248 | let _g1 = pager.get(1).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1248 | let _g1 = pager.expect("REASON").get(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1250:19 [INFO] [stdout] | [INFO] [stdout] 1250 | assert!(pager.buffer_pool.frame_buffer[fid1].is(CLEAN)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1250 | assert!(pager.unwrap().buffer_pool.frame_buffer[fid1].is(CLEAN)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1251:19 [INFO] [stdout] | [INFO] [stdout] 1251 | assert!(pager.dp_ll.is_none()); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1251 | assert!(pager.unwrap().dp_ll.is_none()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1254:21 [INFO] [stdout] | [INFO] [stdout] 1254 | let _g2 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1254 | let _g2 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1255:19 [INFO] [stdout] | [INFO] [stdout] 1255 | assert!(pager.buffer_pool.frame_buffer[fid1].is(DIRTY)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1255 | assert!(pager.unwrap().buffer_pool.frame_buffer[fid1].is(DIRTY)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1256:19 [INFO] [stdout] | [INFO] [stdout] 1256 | assert!(pager.dp_ll.is_some()); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1256 | assert!(pager.unwrap().dp_ll.is_some()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1264:21 [INFO] [stdout] | [INFO] [stdout] 1264 | let _g1 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1264 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1266:21 [INFO] [stdout] | [INFO] [stdout] 1266 | let _g2 = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1266 | let _g2 = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1268:21 [INFO] [stdout] | [INFO] [stdout] 1268 | let _g3 = pager.get_mut(3).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1268 | let _g3 = pager.expect("REASON").get_mut(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1272:22 [INFO] [stdout] | [INFO] [stdout] 1272 | assert_eq!(pager.dp_ll, Some(fid3)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1272 | assert_eq!(pager.unwrap().dp_ll, Some(fid3)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dp_ll_remove` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1275:11 [INFO] [stdout] | [INFO] [stdout] 1275 | pager.dp_ll_remove(fid2); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `dp_ll_remove` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn dp_ll_remove(&mut self, frame_id: FrameId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1275 | pager.expect("REASON").dp_ll_remove(fid2); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1278:22 [INFO] [stdout] | [INFO] [stdout] 1278 | assert_eq!(pager.buffer_pool.frame_buffer[fid3].prev, Some(fid1)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1278 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid3].prev, Some(fid1)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1280:22 [INFO] [stdout] | [INFO] [stdout] 1280 | assert_eq!(pager.buffer_pool.frame_buffer[fid1].next, Some(fid3)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1280 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid1].next, Some(fid3)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1282:22 [INFO] [stdout] | [INFO] [stdout] 1282 | assert_eq!(pager.buffer_pool.frame_buffer[fid2].prev, None); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1282 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid2].prev, None); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1283:22 [INFO] [stdout] | [INFO] [stdout] 1283 | assert_eq!(pager.buffer_pool.frame_buffer[fid2].next, None); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1283 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid2].next, None); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1291:21 [INFO] [stdout] | [INFO] [stdout] 1291 | let _g1 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1291 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1293:21 [INFO] [stdout] | [INFO] [stdout] 1293 | let _g2 = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1293 | let _g2 = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1298:22 [INFO] [stdout] | [INFO] [stdout] 1298 | assert_eq!(pager.dp_ll, Some(fid2)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1298 | assert_eq!(pager.unwrap().dp_ll, Some(fid2)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dp_ll_remove` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1301:11 [INFO] [stdout] | [INFO] [stdout] 1301 | pager.dp_ll_remove(fid2); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `dp_ll_remove` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn dp_ll_remove(&mut self, frame_id: FrameId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1301 | pager.expect("REASON").dp_ll_remove(fid2); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1304:22 [INFO] [stdout] | [INFO] [stdout] 1304 | assert_eq!(pager.dp_ll, Some(fid1)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1304 | assert_eq!(pager.unwrap().dp_ll, Some(fid1)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1305:22 [INFO] [stdout] | [INFO] [stdout] 1305 | assert_eq!(pager.buffer_pool.frame_buffer[fid1].prev, None); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1305 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid1].prev, None); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1306:22 [INFO] [stdout] | [INFO] [stdout] 1306 | assert_eq!(pager.buffer_pool.frame_buffer[fid1].next, None); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1306 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid1].next, None); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1314:21 [INFO] [stdout] | [INFO] [stdout] 1314 | let _g1 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1314 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1316:21 [INFO] [stdout] | [INFO] [stdout] 1316 | let _g2 = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1316 | let _g2 = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1320:22 [INFO] [stdout] | [INFO] [stdout] 1320 | assert_eq!(pager.dp_ll, Some(fid2)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1320 | assert_eq!(pager.unwrap().dp_ll, Some(fid2)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dp_ll_remove` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1324:11 [INFO] [stdout] | [INFO] [stdout] 1324 | pager.dp_ll_remove(fid1); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `dp_ll_remove` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn dp_ll_remove(&mut self, frame_id: FrameId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1324 | pager.expect("REASON").dp_ll_remove(fid1); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1327:22 [INFO] [stdout] | [INFO] [stdout] 1327 | assert_eq!(pager.dp_ll, Some(fid2)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1327 | assert_eq!(pager.unwrap().dp_ll, Some(fid2)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1328:22 [INFO] [stdout] | [INFO] [stdout] 1328 | assert_eq!(pager.buffer_pool.frame_buffer[fid2].prev, None); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1328 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid2].prev, None); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1336:21 [INFO] [stdout] | [INFO] [stdout] 1336 | let _g1 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1336 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1341:22 [INFO] [stdout] | [INFO] [stdout] 1341 | assert_eq!(pager.dp_ll, Some(fid1)); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1341 | assert_eq!(pager.unwrap().dp_ll, Some(fid1)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dp_ll_remove` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1344:11 [INFO] [stdout] | [INFO] [stdout] 1344 | pager.dp_ll_remove(fid1); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `dp_ll_remove` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn dp_ll_remove(&mut self, frame_id: FrameId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1344 | pager.expect("REASON").dp_ll_remove(fid1); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dp_ll` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1347:19 [INFO] [stdout] | [INFO] [stdout] 1347 | assert!(pager.dp_ll.is_none()); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1347 | assert!(pager.unwrap().dp_ll.is_none()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1355:21 [INFO] [stdout] | [INFO] [stdout] 1355 | let _g1 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1355 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1358:19 [INFO] [stdout] | [INFO] [stdout] 1358 | assert!(pager.buffer_pool.frame_buffer[fid1].is(DIRTY)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1358 | assert!(pager.unwrap().buffer_pool.frame_buffer[fid1].is(DIRTY)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1372:21 [INFO] [stdout] | [INFO] [stdout] 1372 | let _g1 = pager.get_mut(1).unwrap(); // dirty, pin_count=1 [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1372 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); // dirty, pin_count=1 [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1376:21 [INFO] [stdout] | [INFO] [stdout] 1376 | let _g2 = pager.get(2).unwrap(); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1376 | let _g2 = pager.expect("REASON").get(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1382:24 [INFO] [stdout] | [INFO] [stdout] 1382 | let result = pager.get(3); [INFO] [stdout] | ^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1382 | let result = pager.expect("REASON").get(3); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1392:25 [INFO] [stdout] | [INFO] [stdout] 1392 | let _g1 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1392 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1396:22 [INFO] [stdout] | [INFO] [stdout] 1396 | assert_eq!(pager.buffer_pool.frame_buffer[fid1].pin_count.get(), 0); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1396 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid1].pin_count.get(), 0); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1399:21 [INFO] [stdout] | [INFO] [stdout] 1399 | let _g2 = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1399 | let _g2 = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1400:21 [INFO] [stdout] | [INFO] [stdout] 1400 | let _g3 = pager.get_mut(3).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1400 | let _g3 = pager.expect("REASON").get_mut(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1403:20 [INFO] [stdout] | [INFO] [stdout] 1403 | assert!(!pager.buffer_pool.page_table.contains_key(&1)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1403 | assert!(!pager.unwrap().buffer_pool.page_table.contains_key(&1)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1412:24 [INFO] [stdout] | [INFO] [stdout] 1412 | let g1 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1412 | let g1 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1414:19 [INFO] [stdout] | [INFO] [stdout] 1414 | pager.buffer_pool.frame_buffer[g1.frame_id()] [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1414 | pager.unwrap().buffer_pool.frame_buffer[g1.frame_id()] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1419:24 [INFO] [stdout] | [INFO] [stdout] 1419 | let g2 = pager.get_mut(1).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1419 | let g2 = pager.expect("REASON").get_mut(1).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1421:19 [INFO] [stdout] | [INFO] [stdout] 1421 | pager.buffer_pool.frame_buffer[g1.frame_id()] [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1421 | pager.unwrap().buffer_pool.frame_buffer[g1.frame_id()] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1431:22 [INFO] [stdout] | [INFO] [stdout] 1431 | assert_eq!(pager.buffer_pool.frame_buffer[fid1].pin_count.get(), 0); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1431 | assert_eq!(pager.unwrap().buffer_pool.frame_buffer[fid1].pin_count.get(), 0); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1439:21 [INFO] [stdout] | [INFO] [stdout] 1439 | let _g1 = pager.get_mut(1).unwrap(); // dirty, pin_count=1 [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1439 | let _g1 = pager.expect("REASON").get_mut(1).unwrap(); // dirty, pin_count=1 [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1443:21 [INFO] [stdout] | [INFO] [stdout] 1443 | let _g2 = pager.get_mut(2).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1443 | let _g2 = pager.expect("REASON").get_mut(2).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1446:24 [INFO] [stdout] | [INFO] [stdout] 1446 | let result = pager.get_mut(3); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1446 | let result = pager.expect("REASON").get_mut(3); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for enum `Result` in the current scope [INFO] [stdout] --> tests/pager_tests.rs:1454:21 [INFO] [stdout] | [INFO] [stdout] 1454 | let _g3 = pager.get_mut(3).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result, SqliteError>` [INFO] [stdout] | [INFO] [stdout] note: the method `get_mut` exists on the type `Pager` [INFO] [stdout] --> src/pager/pager.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_mut(&mut self, page_no: PageNo) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Pager` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 1454 | let _g3 = pager.expect("REASON").get_mut(3).unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1457:20 [INFO] [stdout] | [INFO] [stdout] 1457 | assert!(!pager.buffer_pool.page_table.contains_key(&1)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1457 | assert!(!pager.unwrap().buffer_pool.page_table.contains_key(&1)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1459:19 [INFO] [stdout] | [INFO] [stdout] 1459 | assert!(pager.buffer_pool.page_table.contains_key(&2)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1459 | assert!(pager.unwrap().buffer_pool.page_table.contains_key(&2)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `buffer_pool` on type `Result, SqliteError>` [INFO] [stdout] --> tests/pager_tests.rs:1460:19 [INFO] [stdout] | [INFO] [stdout] 1460 | assert!(pager.buffer_pool.page_table.contains_key(&3)); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 1460 | assert!(pager.unwrap().buffer_pool.page_table.contains_key(&3)); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0283, E0425, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `inkdb` (test "pager_tests") due to 237 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f4e15583e1e0560a6f874f761206172b95235bcebb110bf46e2eda47d007fab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e15583e1e0560a6f874f761206172b95235bcebb110bf46e2eda47d007fab3", kill_on_drop: false }` [INFO] [stdout] f4e15583e1e0560a6f874f761206172b95235bcebb110bf46e2eda47d007fab3