[INFO] cloning repository https://github.com/AryanPadmanabhan/db
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AryanPadmanabhan/db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAryanPadmanabhan%2Fdb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAryanPadmanabhan%2Fdb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 38ca4dd9bf4fab272bbb5dce711ab8d7c83dd952
[INFO] testing AryanPadmanabhan/db against 1.97.0-beta.6+cargoflags=--release for beta-1.98-release-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAryanPadmanabhan%2Fdb" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AryanPadmanabhan/db
[INFO] finished tweaking git repo https://github.com/AryanPadmanabhan/db
[INFO] tweaked toml for git repo https://github.com/AryanPadmanabhan/db written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AryanPadmanabhan/db on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AryanPadmanabhan/db 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustversion v1.0.22
[INFO] [stderr]   Downloaded uuid v1.18.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.101
[INFO] [stderr]   Downloaded cfg-if v1.0.3
[INFO] [stderr]   Downloaded slab v0.4.11
[INFO] [stderr]   Downloaded autocfg v1.5.0
[INFO] [stderr]   Downloaded thread_local v1.1.9
[INFO] [stderr]   Downloaded lock_api v0.4.13
[INFO] [stderr]   Downloaded tracing-attributes v0.1.30
[INFO] [stderr]   Downloaded bitflags v2.9.4
[INFO] [stderr]   Downloaded toml_datetime v0.6.11
[INFO] [stderr]   Downloaded quick-error v1.2.3
[INFO] [stderr]   Downloaded normalize-line-endings v0.3.0
[INFO] [stderr]   Downloaded bit-set v0.8.0
[INFO] [stderr]   Downloaded serial_test v3.2.0
[INFO] [stderr]   Downloaded unarray v0.1.4
[INFO] [stderr]   Downloaded wait-timeout v0.2.1
[INFO] [stderr]   Downloaded predicates-core v1.0.9
[INFO] [stderr]   Downloaded float-cmp v0.10.0
[INFO] [stderr]   Downloaded anstyle-query v1.1.4
[INFO] [stderr]   Downloaded doc-comment v0.3.3
[INFO] [stderr]   Downloaded windows-link v0.1.3
[INFO] [stderr]   Downloaded errno v0.3.13
[INFO] [stderr]   Downloaded serial_test_derive v3.2.0
[INFO] [stderr]   Downloaded colorchoice v1.0.4
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.10
[INFO] [stderr]   Downloaded rand_xorshift v0.4.0
[INFO] [stderr]   Downloaded predicates-tree v1.0.12
[INFO] [stderr]   Downloaded termtree v0.5.1
[INFO] [stderr]   Downloaded once_cell_polyfill v1.70.1
[INFO] [stderr]   Downloaded difflib v0.4.0
[INFO] [stderr]   Downloaded anstyle v1.0.11
[INFO] [stderr]   Downloaded bumpalo v3.19.0
[INFO] [stderr]   Downloaded smallvec v1.15.1
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.6
[INFO] [stderr]   Downloaded windows-targets v0.53.3
[INFO] [stderr]   Downloaded clap_lex v0.7.5
[INFO] [stderr]   Downloaded nu-ansi-term v0.50.1
[INFO] [stderr]   Downloaded bit-vec v0.8.0
[INFO] [stderr]   Downloaded socket2 v0.6.0
[INFO] [stderr]   Downloaded sdd v3.0.10
[INFO] [stderr]   Downloaded glob v0.3.3
[INFO] [stderr]   Downloaded futures-timer v3.0.3
[INFO] [stderr]   Downloaded rusty-fork v0.3.0
[INFO] [stderr]   Downloaded rand_core v0.9.3
[INFO] [stderr]   Downloaded rand_chacha v0.9.0
[INFO] [stderr]   Downloaded predicates v3.1.3
[INFO] [stderr]   Downloaded dashmap v5.5.3
[INFO] [stderr]   Downloaded anstream v0.6.20
[INFO] [stderr]   Downloaded anstyle-parse v0.2.7
[INFO] [stderr]   Downloaded assert_cmd v2.0.17
[INFO] [stderr]   Downloaded redox_syscall v0.5.17
[INFO] [stderr]   Downloaded rustc-demangle v0.1.26
[INFO] [stderr]   Downloaded futures-executor v0.3.31
[INFO] [stderr]   Downloaded rstest v0.21.0
[INFO] [stderr]   Downloaded semver v1.0.26
[INFO] [stderr]   Downloaded relative-path v1.9.3
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.21
[INFO] [stderr]   Downloaded clap_derive v4.5.47
[INFO] [stderr]   Downloaded parking_lot_core v0.9.11
[INFO] [stderr]   Downloaded tempfile v3.21.0
[INFO] [stderr]   Downloaded rstest_macros v0.21.0
[INFO] [stderr]   Downloaded anyhow v1.0.99
[INFO] [stderr]   Downloaded wit-bindgen v0.45.0
[INFO] [stderr]   Downloaded r-efi v5.3.0
[INFO] [stderr]   Downloaded parking_lot v0.12.4
[INFO] [stderr]   Downloaded mio v1.0.4
[INFO] [stderr]   Downloaded clap v4.5.47
[INFO] [stderr]   Downloaded futures v0.3.31
[INFO] [stderr]   Downloaded toml_edit v0.22.27
[INFO] [stderr]   Downloaded memchr v2.7.5
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.26
[INFO] [stderr]   Downloaded tracing-core v0.1.34
[INFO] [stderr]   Downloaded indexmap v2.11.0
[INFO] [stderr]   Downloaded rand v0.9.2
[INFO] [stderr]   Downloaded io-uring v0.7.10
[INFO] [stderr]   Downloaded wasi v0.14.3+wasi-0.2.4
[INFO] [stderr]   Downloaded scc v2.4.0
[INFO] [stderr]   Downloaded regex v1.11.2
[INFO] [stderr]   Downloaded hashbrown v0.15.5
[INFO] [stderr]   Downloaded winnow v0.7.13
[INFO] [stderr]   Downloaded sqlparser v0.43.1
[INFO] [stderr]   Downloaded serde_json v1.0.143
[INFO] [stderr]   Downloaded proptest v1.7.0
[INFO] [stderr]   Downloaded clap_builder v4.5.47
[INFO] [stderr]   Downloaded syn v2.0.106
[INFO] [stderr]   Downloaded tracing-subscriber v0.3.20
[INFO] [stderr]   Downloaded zerocopy v0.8.26
[INFO] [stderr]   Downloaded regex-syntax v0.8.6
[INFO] [stderr]   Downloaded bstr v1.12.0
[INFO] [stderr]   Downloaded rustix v1.0.8
[INFO] [stderr]   Downloaded regex-automata v0.4.10
[INFO] [stderr]   Downloaded libc v0.2.175
[INFO] [stderr]   Downloaded tokio v1.47.1
[INFO] [stderr]   Downloaded windows-sys v0.60.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cd1f09a24a313e5d5bdf028d04d9817f0ed1c331665d5a8b287b0e4e78de370d
[INFO] running `Command { std: "docker" "start" "cd1f09a24a313e5d5bdf028d04d9817f0ed1c331665d5a8b287b0e4e78de370d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cd1f09a24a313e5d5bdf028d04d9817f0ed1c331665d5a8b287b0e4e78de370d", 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" "cd1f09a24a313e5d5bdf028d04d9817f0ed1c331665d5a8b287b0e4e78de370d" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cd1f09a24a313e5d5bdf028d04d9817f0ed1c331665d5a8b287b0e4e78de370d", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cd1f09a24a313e5d5bdf028d04d9817f0ed1c331665d5a8b287b0e4e78de370d" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling rstest_macros v0.21.0
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling predicates-core v1.0.9
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling tempfile v3.21.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling float-cmp v0.10.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling bit-vec v0.8.0
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling difflib v0.4.0
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling relative-path v1.9.3
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling assert_cmd v2.0.17
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling sdd v3.0.10
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling scc v2.4.0
[INFO] [stderr]    Compiling clap_derive v4.5.47
[INFO] [stderr]    Compiling predicates-tree v1.0.12
[INFO] [stderr]    Compiling clap_builder v4.5.47
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling predicates v3.1.3
[INFO] [stderr]    Compiling rusty-fork v0.3.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling bit-set v0.8.0
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling bstr v1.12.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling serial_test_derive v3.2.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling rand_xorshift v0.4.0
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling nu-ansi-term v0.50.1
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling unarray v0.1.4
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling proptest v1.7.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling rstest v0.21.0
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling clap v4.5.47
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling serial_test v3.2.0
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling sqlparser v0.43.1
[INFO] [stderr]    Compiling rust_pg_db v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 4m 18s
[INFO] running `Command { std: "docker" "inspect" "cd1f09a24a313e5d5bdf028d04d9817f0ed1c331665d5a8b287b0e4e78de370d", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cd1f09a24a313e5d5bdf028d04d9817f0ed1c331665d5a8b287b0e4e78de370d" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_pg_db v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 9.36s
[INFO] running `Command { std: "docker" "inspect" "cd1f09a24a313e5d5bdf028d04d9817f0ed1c331665d5a8b287b0e4e78de370d", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cd1f09a24a313e5d5bdf028d04d9817f0ed1c331665d5a8b287b0e4e78de370d" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/rust_pg_db-e47cb27f393e75b4)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/rust_pg_db-8d937912abb2ae68)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rust_pg_db
[INFO] [stdout] 
[INFO] [stdout] running 28 tests
[INFO] [stdout] test src/engine/buffer.rs - engine::buffer::BufferPool::flush_all_for (line 327) ... FAILED
[INFO] [stdout] test src/engine/catalog.rs - engine::catalog::Catalog::load_or_create (line 143) ... FAILED
[INFO] [stdout] test src/engine/buffer.rs - engine::buffer::BufferPage (line 71) ... FAILED
[INFO] [stdout] test src/engine/buffer.rs - engine::buffer::BufferPool::get_or_load (line 201) ... FAILED
[INFO] [stdout] test src/engine/catalog.rs - engine::catalog::Catalog::create_table (line 186) ... FAILED
[INFO] [stdout] test src/engine/buffer.rs - engine::buffer::BufferKey (line 25) ... FAILED
[INFO] [stdout] test src/engine/catalog.rs - engine::catalog::Catalog::update_last_applied_lsn (line 223) ... FAILED
[INFO] [stdout] test src/engine/buffer.rs - engine::buffer::BufferPool::new (line 146) ... FAILED
[INFO] [stdout] test src/engine/mod.rs - engine::Engine::create_table (line 253) ... FAILED
[INFO] [stdout] test src/engine/executor.rs - engine::executor::matches_pred (line 115) ... FAILED
[INFO] [stdout] test src/engine/catalog.rs - engine::catalog::Column (line 31) ... FAILED
[INFO] [stdout] test src/engine/mod.rs - engine::Engine::delete (line 396) ... FAILED
[INFO] [stdout] test src/engine/mod.rs - engine::Engine::select (line 363) ... FAILED
[INFO] [stdout] test src/engine/catalog.rs - engine::catalog::TableSchema (line 62) ... FAILED
[INFO] [stdout] test src/engine/executor.rs - engine::executor::execute_select_scan (line 47) ... FAILED
[INFO] [stdout] test src/engine/mod.rs - engine::Engine::insert_rows (line 308) ... FAILED
[INFO] [stdout] test src/engine/mod.rs - engine::Engine::open (line 123) ... FAILED
[INFO] [stdout] test src/engine/storage.rs - engine::storage::Wal::read_all (line 618) ... FAILED
[INFO] [stdout] test src/engine/storage.rs - engine::storage::Wal::append (line 546) ... FAILED
[INFO] [stdout] test src/sql/mod.rs - sql::convert_expr (line 260) ... FAILED
[INFO] [stdout] test src/engine/storage.rs - engine::storage::Wal::open (line 450) ... FAILED
[INFO] [stdout] test src/engine/storage.rs - engine::storage::Wal::read_from_lsn (line 653) ... FAILED
[INFO] [stdout] test src/sql/mod.rs - sql::parse_where (line 206) ... FAILED
[INFO] [stdout] test src/engine/storage.rs - engine::storage::Wal::create_record (line 497) ... FAILED
[INFO] [stdout] test src/engine/storage.rs - engine::storage::Wal::read_from_lsn (line 633) ... FAILED
[INFO] [stdout] test src/sql/mod.rs - sql::plan_and_exec (line 35) ... FAILED
[INFO] [stdout] test src/engine/storage.rs - engine::storage::WalRecord::lsn (line 330) ... FAILED
[INFO] [stdout] test src/engine/storage.rs - engine::storage::WalRecordType (line 351) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/engine/buffer.rs - engine::buffer::BufferPool::flush_all_for (line 327) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `buffer_pool` in this scope
[INFO] [stdout]    --> src/engine/buffer.rs:329:1
[INFO] [stdout]     |
[INFO] [stdout] 329 | buffer_pool.flush_all_for(&users_table_storage).await?;
[INFO] [stdout]     | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `users_table_storage` in this scope
[INFO] [stdout]    --> src/engine/buffer.rs:329:28
[INFO] [stdout]     |
[INFO] [stdout] 329 | buffer_pool.flush_all_for(&users_table_storage).await?;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/engine/buffer.rs:329:49
[INFO] [stdout]     |
[INFO] [stdout] 327 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_buffer_rs_327_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] 328 | // Ensure all recent changes to "users" table are on disk
[INFO] [stdout] 329 | buffer_pool.flush_all_for(&users_table_storage).await?;
[INFO] [stdout]     |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/catalog.rs - engine::catalog::Catalog::load_or_create (line 143) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `PathBuf` in this scope
[INFO] [stdout]    --> src/engine/catalog.rs:144:39
[INFO] [stdout]     |
[INFO] [stdout] 144 | let catalog = Catalog::load_or_create(PathBuf::from("./data/catalog.json"))?;
[INFO] [stdout]     |                                       ^^^^^^^ use of undeclared type `PathBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 143 + use std::path::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Catalog` in this scope
[INFO] [stdout]    --> src/engine/catalog.rs:144:15
[INFO] [stdout]     |
[INFO] [stdout] 144 | let catalog = Catalog::load_or_create(PathBuf::from("./data/catalog.json"))?;
[INFO] [stdout]     |               ^^^^^^^ use of undeclared type `Catalog`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/buffer.rs - engine::buffer::BufferPage (line 71) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `buffer_page` in this scope
[INFO] [stdout]   --> src/engine/buffer.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 | let page_data = buffer_page.data.read();
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `buffer_page` in this scope
[INFO] [stdout]   --> src/engine/buffer.rs:78:25
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut page_data = buffer_page.data.write();
[INFO] [stdout]    |                         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `new_row` in this scope
[INFO] [stdout]   --> src/engine/buffer.rs:79:25
[INFO] [stdout]    |
[INFO] [stdout] 79 |     page_data.rows.push(new_row);
[INFO] [stdout]    |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `buffer_page` in this scope
[INFO] [stdout]   --> src/engine/buffer.rs:80:6
[INFO] [stdout]    |
[INFO] [stdout] 80 |     *buffer_page.dirty.write() = true; // Mark as dirty
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/buffer.rs - engine::buffer::BufferPool::get_or_load (line 201) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `buffer_pool` in this scope
[INFO] [stdout]    --> src/engine/buffer.rs:202:19
[INFO] [stdout]     |
[INFO] [stdout] 202 | let (key, page) = buffer_pool.get_or_load(&table_storage, PageId(0)).await?;
[INFO] [stdout]     |                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `table_storage` in this scope
[INFO] [stdout]    --> src/engine/buffer.rs:202:44
[INFO] [stdout]     |
[INFO] [stdout] 202 | let (key, page) = buffer_pool.get_or_load(&table_storage, PageId(0)).await?;
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/engine/buffer.rs:202:70
[INFO] [stdout]     |
[INFO] [stdout] 201 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_buffer_rs_201_0() {
[INFO] [stdout]     |                                      --------------------------------------------- this is not `async`
[INFO] [stdout] 202 | let (key, page) = buffer_pool.get_or_load(&table_storage, PageId(0)).await?;
[INFO] [stdout]     |                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PageId` in this scope
[INFO] [stdout]    --> src/engine/buffer.rs:202:59
[INFO] [stdout]     |
[INFO] [stdout] 202 | let (key, page) = buffer_pool.get_or_load(&table_storage, PageId(0)).await?;
[INFO] [stdout]     |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/catalog.rs - engine::catalog::Catalog::create_table (line 186) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `catalog` in this scope
[INFO] [stdout]    --> src/engine/catalog.rs:187:1
[INFO] [stdout]     |
[INFO] [stdout] 187 | catalog.create_table("users", vec![
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Column` in this scope
[INFO] [stdout]    --> src/engine/catalog.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |     Column { name: "id".to_string(), col_type: ColumnType::Int },
[INFO] [stdout]     |     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Column` in this scope
[INFO] [stdout]    --> src/engine/catalog.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 189 |     Column { name: "name".to_string(), col_type: ColumnType::Text },
[INFO] [stdout]     |     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ColumnType` in this scope
[INFO] [stdout]    --> src/engine/catalog.rs:188:48
[INFO] [stdout]     |
[INFO] [stdout] 188 |     Column { name: "id".to_string(), col_type: ColumnType::Int },
[INFO] [stdout]     |                                                ^^^^^^^^^^ use of undeclared type `ColumnType`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ColumnType` in this scope
[INFO] [stdout]    --> src/engine/catalog.rs:189:50
[INFO] [stdout]     |
[INFO] [stdout] 189 |     Column { name: "name".to_string(), col_type: ColumnType::Text },
[INFO] [stdout]     |                                                  ^^^^^^^^^^ use of undeclared type `ColumnType`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/buffer.rs - engine::buffer::BufferKey (line 25) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BufferKey` in this scope
[INFO] [stdout]   --> src/engine/buffer.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | let key = BufferKey {
[INFO] [stdout]    |           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PageId` in this scope
[INFO] [stdout]   --> src/engine/buffer.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |     page_id: PageId(42),
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/catalog.rs - engine::catalog::Catalog::update_last_applied_lsn (line 223) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `catalog` in this scope
[INFO] [stdout]    --> src/engine/catalog.rs:225:1
[INFO] [stdout]     |
[INFO] [stdout] 225 | catalog.update_last_applied_lsn(42)?;
[INFO] [stdout]     | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/buffer.rs - engine::buffer::BufferPool::new (line 146) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `BufferPool` in this scope
[INFO] [stdout]    --> src/engine/buffer.rs:147:19
[INFO] [stdout]     |
[INFO] [stdout] 147 | let buffer_pool = BufferPool::new(64);
[INFO] [stdout]     |                   ^^^^^^^^^^ use of undeclared type `BufferPool`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/mod.rs - engine::Engine::create_table (line 253) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `engine` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:254:1
[INFO] [stdout]     |
[INFO] [stdout] 254 | engine.create_table("users", vec![
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/engine/mod.rs:257:4
[INFO] [stdout]     |
[INFO] [stdout] 253 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_mod_rs_253_0() {
[INFO] [stdout]     |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 257 | ]).await?;
[INFO] [stdout]     |    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Value` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:255:24
[INFO] [stdout]     |
[INFO] [stdout] 255 |     ("id".to_string(), Value::Int(0)),      // INT column
[INFO] [stdout]     |                        ^^^^^ use of undeclared type `Value`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Value` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:256:26
[INFO] [stdout]     |
[INFO] [stdout] 256 |     ("name".to_string(), Value::Text("".to_string()))  // TEXT column  
[INFO] [stdout]     |                          ^^^^^ use of undeclared type `Value`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/executor.rs - engine::executor::matches_pred (line 115) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/engine/executor.rs:116:11
[INFO] [stdout]     |
[INFO] [stdout] 116 | let row = HashMap::from([("id".to_string(), Value::Int(42))]);
[INFO] [stdout]     |           ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 115 + use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Value` in this scope
[INFO] [stdout]    --> src/engine/executor.rs:116:45
[INFO] [stdout]     |
[INFO] [stdout] 116 | let row = HashMap::from([("id".to_string(), Value::Int(42))]);
[INFO] [stdout]     |                                             ^^^^^ use of undeclared type `Value`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Predicate` in this scope
[INFO] [stdout]    --> src/engine/executor.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | let pred = Predicate::Eq("id".to_string(), RowValue::Scalar(Value::Int(42)));
[INFO] [stdout]     |            ^^^^^^^^^ use of undeclared type `Predicate`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RowValue` in this scope
[INFO] [stdout]    --> src/engine/executor.rs:117:44
[INFO] [stdout]     |
[INFO] [stdout] 117 | let pred = Predicate::Eq("id".to_string(), RowValue::Scalar(Value::Int(42)));
[INFO] [stdout]     |                                            ^^^^^^^^ use of undeclared type `RowValue`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Value` in this scope
[INFO] [stdout]    --> src/engine/executor.rs:117:61
[INFO] [stdout]     |
[INFO] [stdout] 117 | let pred = Predicate::Eq("id".to_string(), RowValue::Scalar(Value::Int(42)));
[INFO] [stdout]     |                                                             ^^^^^ use of undeclared type `Value`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `matches_pred` in this scope
[INFO] [stdout]    --> src/engine/executor.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 | assert!(matches_pred(&row, Some(&pred)));
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/catalog.rs - engine::catalog::Column (line 31) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Column` in this scope
[INFO] [stdout]   --> src/engine/catalog.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 | let id_column = Column {
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Column` in this scope
[INFO] [stdout]   --> src/engine/catalog.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 | let name_column = Column {
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ColumnType` in this scope
[INFO] [stdout]   --> src/engine/catalog.rs:34:15
[INFO] [stdout]    |
[INFO] [stdout] 34 |     col_type: ColumnType::Int,
[INFO] [stdout]    |               ^^^^^^^^^^ use of undeclared type `ColumnType`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ColumnType` in this scope
[INFO] [stdout]   --> src/engine/catalog.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 |     col_type: ColumnType::Text,
[INFO] [stdout]    |               ^^^^^^^^^^ use of undeclared type `ColumnType`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/mod.rs - engine::Engine::delete (line 396) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `engine` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:399:15
[INFO] [stdout]     |
[INFO] [stdout] 399 | let deleted = engine.delete("users", pred).await?;
[INFO] [stdout]     |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `engine` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:402:15
[INFO] [stdout]     |
[INFO] [stdout] 402 | let deleted = engine.delete("users", None).await?;
[INFO] [stdout]     |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/engine/mod.rs:399:44
[INFO] [stdout]     |
[INFO] [stdout] 396 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_mod_rs_396_0() {
[INFO] [stdout]     |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 399 | let deleted = engine.delete("users", pred).await?;
[INFO] [stdout]     |                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/engine/mod.rs:402:44
[INFO] [stdout]     |
[INFO] [stdout] 396 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_mod_rs_396_0() {
[INFO] [stdout]     |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 402 | let deleted = engine.delete("users", None).await?;
[INFO] [stdout]     |                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Predicate` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:398:17
[INFO] [stdout]     |
[INFO] [stdout] 398 | let pred = Some(Predicate::Eq("id".to_string(), RowValue::Scalar(Value::Int(1))));
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Predicate`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RowValue` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:398:49
[INFO] [stdout]     |
[INFO] [stdout] 398 | let pred = Some(Predicate::Eq("id".to_string(), RowValue::Scalar(Value::Int(1))));
[INFO] [stdout]     |                                                 ^^^^^^^^ use of undeclared type `RowValue`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Value` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:398:66
[INFO] [stdout]     |
[INFO] [stdout] 398 | let pred = Some(Predicate::Eq("id".to_string(), RowValue::Scalar(Value::Int(1))));
[INFO] [stdout]     |                                                                  ^^^^^ use of undeclared type `Value`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/mod.rs - engine::Engine::select (line 363) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `engine` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:366:12
[INFO] [stdout]     |
[INFO] [stdout] 366 | let rows = engine.select("users", pred, None).await?;
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `engine` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:369:12
[INFO] [stdout]     |
[INFO] [stdout] 369 | let rows = engine.select("users", None, Some(vec!["name".to_string()])).await?;
[INFO] [stdout]     |            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/engine/mod.rs:366:47
[INFO] [stdout]     |
[INFO] [stdout] 363 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_mod_rs_363_0() {
[INFO] [stdout]     |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 366 | let rows = engine.select("users", pred, None).await?;
[INFO] [stdout]     |                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/engine/mod.rs:369:73
[INFO] [stdout]     |
[INFO] [stdout] 363 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_mod_rs_363_0() {
[INFO] [stdout]     |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 369 | let rows = engine.select("users", None, Some(vec!["name".to_string()])).await?;
[INFO] [stdout]     |                                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Predicate` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:365:17
[INFO] [stdout]     |
[INFO] [stdout] 365 | let pred = Some(Predicate::Eq("id".to_string(), RowValue::Scalar(Value::Int(1))));
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Predicate`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RowValue` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:365:49
[INFO] [stdout]     |
[INFO] [stdout] 365 | let pred = Some(Predicate::Eq("id".to_string(), RowValue::Scalar(Value::Int(1))));
[INFO] [stdout]     |                                                 ^^^^^^^^ use of undeclared type `RowValue`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Value` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:365:66
[INFO] [stdout]     |
[INFO] [stdout] 365 | let pred = Some(Predicate::Eq("id".to_string(), RowValue::Scalar(Value::Int(1))));
[INFO] [stdout]     |                                                                  ^^^^^ use of undeclared type `Value`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/catalog.rs - engine::catalog::TableSchema (line 62) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TableSchema` in this scope
[INFO] [stdout]   --> src/engine/catalog.rs:63:20
[INFO] [stdout]    |
[INFO] [stdout] 63 | let users_schema = TableSchema {
[INFO] [stdout]    |                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Column` in this scope
[INFO] [stdout]   --> src/engine/catalog.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         Column { name: "id".to_string(), col_type: ColumnType::Int },
[INFO] [stdout]    |         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Column` in this scope
[INFO] [stdout]   --> src/engine/catalog.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         Column { name: "name".to_string(), col_type: ColumnType::Text },
[INFO] [stdout]    |         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ColumnType` in this scope
[INFO] [stdout]   --> src/engine/catalog.rs:66:52
[INFO] [stdout]    |
[INFO] [stdout] 66 |         Column { name: "id".to_string(), col_type: ColumnType::Int },
[INFO] [stdout]    |                                                    ^^^^^^^^^^ use of undeclared type `ColumnType`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ColumnType` in this scope
[INFO] [stdout]   --> src/engine/catalog.rs:67:54
[INFO] [stdout]    |
[INFO] [stdout] 67 |         Column { name: "name".to_string(), col_type: ColumnType::Text },
[INFO] [stdout]    |                                                      ^^^^^^^^^^ use of undeclared type `ColumnType`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/executor.rs - engine::executor::execute_select_scan (line 47) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `table` in this scope
[INFO] [stdout]   --> src/engine/executor.rs:51:35
[INFO] [stdout]    |
[INFO] [stdout] 51 | let results = execute_select_scan(table, buffers, pred, cols).await?;
[INFO] [stdout]    |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `buffers` in this scope
[INFO] [stdout]   --> src/engine/executor.rs:51:42
[INFO] [stdout]    |
[INFO] [stdout] 51 | let results = execute_select_scan(table, buffers, pred, cols).await?;
[INFO] [stdout]    |                                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/engine/executor.rs:51:63
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_executor_rs_47_0() {
[INFO] [stdout]    |                                      ---------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 51 | let results = execute_select_scan(table, buffers, pred, cols).await?;
[INFO] [stdout]    |                                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Predicate` in this scope
[INFO] [stdout]   --> src/engine/executor.rs:49:17
[INFO] [stdout]    |
[INFO] [stdout] 49 | let pred = Some(Predicate::Eq("id".to_string(), RowValue::Scalar(Value::Int(1))));
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Predicate`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `RowValue` in this scope
[INFO] [stdout]   --> src/engine/executor.rs:49:49
[INFO] [stdout]    |
[INFO] [stdout] 49 | let pred = Some(Predicate::Eq("id".to_string(), RowValue::Scalar(Value::Int(1))));
[INFO] [stdout]    |                                                 ^^^^^^^^ use of undeclared type `RowValue`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Value` in this scope
[INFO] [stdout]   --> src/engine/executor.rs:49:66
[INFO] [stdout]    |
[INFO] [stdout] 49 | let pred = Some(Predicate::Eq("id".to_string(), RowValue::Scalar(Value::Int(1))));
[INFO] [stdout]    |                                                                  ^^^^^ use of undeclared type `Value`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `execute_select_scan` in this scope
[INFO] [stdout]   --> src/engine/executor.rs:51:15
[INFO] [stdout]    |
[INFO] [stdout] 51 | let results = execute_select_scan(table, buffers, pred, cols).await?;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/mod.rs - engine::Engine::insert_rows (line 308) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:310:5
[INFO] [stdout]     |
[INFO] [stdout] 310 |     HashMap::from([("id", Value::Int(1)), ("name", Value::Text("Alice"))]),
[INFO] [stdout]     |     ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 308 + use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:311:5
[INFO] [stdout]     |
[INFO] [stdout] 311 |     HashMap::from([("id", Value::Int(2)), ("name", Value::Text("Bob"))]),
[INFO] [stdout]     |     ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 308 + use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `engine` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:313:13
[INFO] [stdout]     |
[INFO] [stdout] 313 | let count = engine.insert_rows("users", rows).await?;
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/engine/mod.rs:313:47
[INFO] [stdout]     |
[INFO] [stdout] 308 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_mod_rs_308_0() {
[INFO] [stdout]     |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 313 | let count = engine.insert_rows("users", rows).await?;
[INFO] [stdout]     |                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Value` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:310:27
[INFO] [stdout]     |
[INFO] [stdout] 310 |     HashMap::from([("id", Value::Int(1)), ("name", Value::Text("Alice"))]),
[INFO] [stdout]     |                           ^^^^^ use of undeclared type `Value`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Value` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:310:52
[INFO] [stdout]     |
[INFO] [stdout] 310 |     HashMap::from([("id", Value::Int(1)), ("name", Value::Text("Alice"))]),
[INFO] [stdout]     |                                                    ^^^^^ use of undeclared type `Value`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Value` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:311:27
[INFO] [stdout]     |
[INFO] [stdout] 311 |     HashMap::from([("id", Value::Int(2)), ("name", Value::Text("Bob"))]),
[INFO] [stdout]     |                           ^^^^^ use of undeclared type `Value`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Value` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:311:52
[INFO] [stdout]     |
[INFO] [stdout] 311 |     HashMap::from([("id", Value::Int(2)), ("name", Value::Text("Bob"))]),
[INFO] [stdout]     |                                                    ^^^^^ use of undeclared type `Value`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/mod.rs - engine::Engine::open (line 123) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/engine/mod.rs:124:44
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_mod_rs_123_0() {
[INFO] [stdout]     |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] 124 | let engine = Engine::open("./my_database").await?;
[INFO] [stdout]     |                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Engine` in this scope
[INFO] [stdout]    --> src/engine/mod.rs:124:14
[INFO] [stdout]     |
[INFO] [stdout] 124 | let engine = Engine::open("./my_database").await?;
[INFO] [stdout]     |              ^^^^^^ use of undeclared type `Engine`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/storage.rs - engine::storage::Wal::read_all (line 618) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `wal` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:619:19
[INFO] [stdout]     |
[INFO] [stdout] 619 | let all_records = wal.read_all()?;
[INFO] [stdout]     |                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/storage.rs - engine::storage::Wal::append (line 546) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `wal` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:547:14
[INFO] [stdout]     |
[INFO] [stdout] 547 | let record = wal.create_record(operation_template);
[INFO] [stdout]     |              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `operation_template` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:547:32
[INFO] [stdout]     |
[INFO] [stdout] 547 | let record = wal.create_record(operation_template);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `wal` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:548:1
[INFO] [stdout]     |
[INFO] [stdout] 548 | wal.append(record)?;
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sql/mod.rs - sql::convert_expr (line 260) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]    --> src/sql/mod.rs:262:1
[INFO] [stdout]     |
[INFO] [stdout] 262 | let ast = /* parsed binary AND expression */;
[INFO] [stdout]     | ^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `let` cannot be used for global variables
[INFO] [stdout]     | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/storage.rs - engine::storage::Wal::open (line 450) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `PathBuf` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:451:21
[INFO] [stdout]     |
[INFO] [stdout] 451 | let wal = Wal::open(PathBuf::from("./wal/log.jsonl"))?;
[INFO] [stdout]     |                     ^^^^^^^ use of undeclared type `PathBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 450 + use std::path::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Wal` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:451:11
[INFO] [stdout]     |
[INFO] [stdout] 451 | let wal = Wal::open(PathBuf::from("./wal/log.jsonl"))?;
[INFO] [stdout]     |           ^^^ use of undeclared type `Wal`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/storage.rs - engine::storage::Wal::read_from_lsn (line 653) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `wal` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:655:15
[INFO] [stdout]     |
[INFO] [stdout] 655 | let new_ops = wal.read_from_lsn(100)?;
[INFO] [stdout]     |               ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sql/mod.rs - sql::parse_where (line 206) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]    --> src/sql/mod.rs:208:1
[INFO] [stdout]     |
[INFO] [stdout] 208 | let result = parse_where(None)?; // Returns Ok(None)
[INFO] [stdout]     | ^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `let` cannot be used for global variables
[INFO] [stdout]     | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/storage.rs - engine::storage::Wal::create_record (line 497) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `user_data` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:500:10
[INFO] [stdout]     |
[INFO] [stdout] 500 |     row: user_data,
[INFO] [stdout]     |          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `wal` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:502:14
[INFO] [stdout]     |
[INFO] [stdout] 502 | let record = wal.create_record(template); // Gets next LSN
[INFO] [stdout]     |              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `expected_lsn` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:503:26
[INFO] [stdout]     |
[INFO] [stdout] 503 | assert_eq!(record.lsn(), expected_lsn);
[INFO] [stdout]     |                          ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `WalRecordType` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:498:16
[INFO] [stdout]     |
[INFO] [stdout] 498 | let template = WalRecordType::Insert {
[INFO] [stdout]     |                ^^^^^^^^^^^^^ use of undeclared type `WalRecordType`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/storage.rs - engine::storage::Wal::read_from_lsn (line 633) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `catalog` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:634:22
[INFO] [stdout]     |
[INFO] [stdout] 634 | let checkpoint_lsn = catalog.last_applied_lsn;
[INFO] [stdout]     |                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `wal` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:635:19
[INFO] [stdout]     |
[INFO] [stdout] 635 | let uncommitted = wal.read_from_lsn(checkpoint_lsn)?;
[INFO] [stdout]     |                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/engine/storage.rs:637:29
[INFO] [stdout]     |
[INFO] [stdout] 633 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_engine_storage_rs_633_0() {
[INFO] [stdout]     |                                      ---------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 637 |     apply_operation(record).await?;
[INFO] [stdout]     |                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `apply_operation` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:637:5
[INFO] [stdout]     |
[INFO] [stdout] 637 |     apply_operation(record).await?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/sql/mod.rs - sql::plan_and_exec (line 35) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `engine` in this scope
[INFO] [stdout]   --> src/sql/mod.rs:36:28
[INFO] [stdout]    |
[INFO] [stdout] 36 | let result = plan_and_exec(engine, "SELECT * FROM users WHERE id = 1;").await?;
[INFO] [stdout]    |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/sql/mod.rs:36:73
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sql_mod_rs_35_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] 36 | let result = plan_and_exec(engine, "SELECT * FROM users WHERE id = 1;").await?;
[INFO] [stdout]    |                                                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `plan_and_exec` in this scope
[INFO] [stdout]   --> src/sql/mod.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 | let result = plan_and_exec(engine, "SELECT * FROM users WHERE id = 1;").await?;
[INFO] [stdout]    |              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/storage.rs - engine::storage::WalRecord::lsn (line 330) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:331:76
[INFO] [stdout]     |
[INFO] [stdout] 331 | let record = WalRecord::Insert { lsn: 42, table: "users".to_string(), row: HashMap::new() };
[INFO] [stdout]     |                                                                            ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 330 + use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `WalRecord` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:331:14
[INFO] [stdout]     |
[INFO] [stdout] 331 | let record = WalRecord::Insert { lsn: 42, table: "users".to_string(), row: HashMap::new() };
[INFO] [stdout]     |              ^^^^^^^^^ use of undeclared type `WalRecord`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/engine/storage.rs - engine::storage::WalRecordType (line 351) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `user_data` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:355:10
[INFO] [stdout]     |
[INFO] [stdout] 355 |     row: user_data,
[INFO] [stdout]     |          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `wal` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:359:14
[INFO] [stdout]     |
[INFO] [stdout] 359 | let record = wal.create_record(template);
[INFO] [stdout]     |              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `wal` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:362:1
[INFO] [stdout]     |
[INFO] [stdout] 362 | wal.append(record)?;
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `WalRecordType` in this scope
[INFO] [stdout]    --> src/engine/storage.rs:353:16
[INFO] [stdout]     |
[INFO] [stdout] 353 | let template = WalRecordType::Insert {
[INFO] [stdout]     |                ^^^^^^^^^^^^^ use of undeclared type `WalRecordType`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/engine/buffer.rs - engine::buffer::BufferKey (line 25)
[INFO] [stdout]     src/engine/buffer.rs - engine::buffer::BufferPage (line 71)
[INFO] [stdout]     src/engine/buffer.rs - engine::buffer::BufferPool::flush_all_for (line 327)
[INFO] [stdout]     src/engine/buffer.rs - engine::buffer::BufferPool::get_or_load (line 201)
[INFO] [stdout]     src/engine/buffer.rs - engine::buffer::BufferPool::new (line 146)
[INFO] [stdout]     src/engine/catalog.rs - engine::catalog::Catalog::create_table (line 186)
[INFO] [stdout]     src/engine/catalog.rs - engine::catalog::Catalog::load_or_create (line 143)
[INFO] [stdout]     src/engine/catalog.rs - engine::catalog::Catalog::update_last_applied_lsn (line 223)
[INFO] [stdout]     src/engine/catalog.rs - engine::catalog::Column (line 31)
[INFO] [stdout]     src/engine/catalog.rs - engine::catalog::TableSchema (line 62)
[INFO] [stdout]     src/engine/executor.rs - engine::executor::execute_select_scan (line 47)
[INFO] [stdout]     src/engine/executor.rs - engine::executor::matches_pred (line 115)
[INFO] [stdout]     src/engine/mod.rs - engine::Engine::create_table (line 253)
[INFO] [stdout]     src/engine/mod.rs - engine::Engine::delete (line 396)
[INFO] [stdout]     src/engine/mod.rs - engine::Engine::insert_rows (line 308)
[INFO] [stdout]     src/engine/mod.rs - engine::Engine::open (line 123)
[INFO] [stdout]     src/engine/mod.rs - engine::Engine::select (line 363)
[INFO] [stdout]     src/engine/storage.rs - engine::storage::Wal::append (line 546)
[INFO] [stdout]     src/engine/storage.rs - engine::storage::Wal::create_record (line 497)
[INFO] [stdout]     src/engine/storage.rs - engine::storage::Wal::open (line 450)
[INFO] [stdout]     src/engine/storage.rs - engine::storage::Wal::read_all (line 618)
[INFO] [stdout]     src/engine/storage.rs - engine::storage::Wal::read_from_lsn (line 633)
[INFO] [stdout]     src/engine/storage.rs - engine::storage::Wal::read_from_lsn (line 653)
[INFO] [stdout]     src/engine/storage.rs - engine::storage::WalRecord::lsn (line 330)
[INFO] [stdout]     src/engine/storage.rs - engine::storage::WalRecordType (line 351)
[INFO] [stdout]     src/sql/mod.rs - sql::convert_expr (line 260)
[INFO] [stdout]     src/sql/mod.rs - sql::parse_where (line 206)
[INFO] [stdout]     src/sql/mod.rs - sql::plan_and_exec (line 35)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 28 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.28s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "cd1f09a24a313e5d5bdf028d04d9817f0ed1c331665d5a8b287b0e4e78de370d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd1f09a24a313e5d5bdf028d04d9817f0ed1c331665d5a8b287b0e4e78de370d", kill_on_drop: false }`
[INFO] [stdout] cd1f09a24a313e5d5bdf028d04d9817f0ed1c331665d5a8b287b0e4e78de370d
