[INFO] cloning repository https://github.com/p1ass/rust-rdbms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/p1ass/rust-rdbms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp1ass%2Frust-rdbms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp1ass%2Frust-rdbms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d1641c907a42e2468dcda402ebdac2658256305 [INFO] checking p1ass/rust-rdbms against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp1ass%2Frust-rdbms" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/p1ass/rust-rdbms [INFO] finished tweaking git repo https://github.com/p1ass/rust-rdbms [INFO] tweaked toml for git repo https://github.com/p1ass/rust-rdbms written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/p1ass/rust-rdbms on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/p1ass/rust-rdbms 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zerocopy v0.3.0 [INFO] [stderr] Downloaded synstructure v0.12.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.26 [INFO] [stderr] Downloaded redox_syscall v0.2.7 [INFO] [stderr] Downloaded sha-1 v0.9.4 [INFO] [stderr] Downloaded typenum v1.13.0 [INFO] [stderr] Downloaded anyhow v1.0.40 [INFO] [stderr] Downloaded serde_derive v1.0.125 [INFO] [stderr] Downloaded zerocopy-derive v0.2.0 [INFO] [stderr] Downloaded libc v0.2.94 [INFO] [stderr] Downloaded serde v1.0.125 [INFO] [stderr] Downloaded syn v1.0.71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc33104bef9d675d2ad7b1aa957084f9f639f67871235503667cec2d97e8d820 [INFO] running `Command { std: "docker" "start" "-a" "cc33104bef9d675d2ad7b1aa957084f9f639f67871235503667cec2d97e8d820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc33104bef9d675d2ad7b1aa957084f9f639f67871235503667cec2d97e8d820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc33104bef9d675d2ad7b1aa957084f9f639f67871235503667cec2d97e8d820", kill_on_drop: false }` [INFO] [stdout] cc33104bef9d675d2ad7b1aa957084f9f639f67871235503667cec2d97e8d820 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63292227d12c7e1b41484a23cec7741d05bf2c965e06df4db9d31bdb24e6bca7 [INFO] running `Command { std: "docker" "start" "-a" "63292227d12c7e1b41484a23cec7741d05bf2c965e06df4db9d31bdb24e6bca7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Checking zerocopy v0.3.0 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rust-rdbms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Page` [INFO] [stdout] --> src/query.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::buffer::{BufferPoolManager, Page}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Page` [INFO] [stdout] --> src/table.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::buffer::{BufferPoolManager, Page}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Page` [INFO] [stdout] --> src/query.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::buffer::{BufferPoolManager, Page}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Page` [INFO] [stdout] --> src/table.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::buffer::{BufferPoolManager, Page}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search_pair` is never used [INFO] [stdout] --> src/btree/leaf.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Leaf { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn search_pair(&self, key: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/btree/branch.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn pair_at(&self, slot_id: usize) -> Pair { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn pair_at(&self, slot_id: usize) -> Pair<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/btree/leaf.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn search_pair(&self, key: &[u8]) -> Option { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn search_pair(&self, key: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/btree/leaf.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn pair_at(&self, slot_id: usize) -> Pair { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn pair_at(&self, slot_id: usize) -> Pair<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result; [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | btree.insert(bufmgr, &skey, pkey); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = btree.insert(bufmgr, &skey, pkey); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/btree/branch.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn pair_at(&self, slot_id: usize) -> Pair { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn pair_at(&self, slot_id: usize) -> Pair<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/btree/leaf.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn pair_at(&self, slot_id: usize) -> Pair { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn pair_at(&self, slot_id: usize) -> Pair<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result; [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | fn start(&self, bufmgr: &mut BufferPoolManager) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/table.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | btree.insert(bufmgr, &skey, pkey); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 86 | let _ = btree.insert(bufmgr, &skey, pkey); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | table.create(&mut bufmgr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = table.create(&mut bufmgr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTree` [INFO] [stdout] --> examples/btree-query.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let btree = BTree::new(PageId(0)); [INFO] [stdout] | ^^^^^ use of undeclared type `BTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rust_rdbms::btree::BTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchMode` [INFO] [stdout] --> examples/btree-query.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | let mut iter = btree.search(&mut bufmgr, SearchMode::Key(b"Hyogo".to_vec()))?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SearchMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rust_rdbms::btree::SearchMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTree` [INFO] [stdout] --> examples/btree-create.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let btree = BTree::create(&mut bufmgr)?; [INFO] [stdout] | ^^^^^ use of undeclared type `BTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rust_rdbms::btree::BTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-rdbms` (example "btree-query") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | table.create(&mut bufmgr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = table.create(&mut bufmgr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `()` [INFO] [stdout] --> examples/btree-create.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() -> Result<(), ()> { [INFO] [stdout] | -------------- expected `()` because of this [INFO] [stdout] 5 | let disk = DiskManager::open("test.btr")?; [INFO] [stdout] | -----------------------------^ the trait `From` is not implemented for `()` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `(T, T)` implements `From<[T; 2]>` [INFO] [stdout] `(T, T, T)` implements `From<[T; 3]>` [INFO] [stdout] `(T, T, T, T)` implements `From<[T; 4]>` [INFO] [stdout] `(T, T, T, T, T)` implements `From<[T; 5]>` [INFO] [stdout] `(T, T, T, T, T, T)` implements `From<[T; 6]>` [INFO] [stdout] `(T, T, T, T, T, T, T)` implements `From<[T; 7]>` [INFO] [stdout] `(T, T, T, T, T, T, T, T)` implements `From<[T; 8]>` [INFO] [stdout] `(T, T, T, T, T, T, T, T, T)` implements `From<[T; 9]>` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-rdbms` (example "btree-create") due to 3 previous errors [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `()` [INFO] [stdout] --> examples/btree-create.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() -> Result<(), ()> { [INFO] [stdout] | -------------- expected `()` because of this [INFO] [stdout] ... [INFO] [stdout] 18 | bufmgr.flush()?; [INFO] [stdout] | -------^ the trait `From` is not implemented for `()` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, rust_rdbms::buffer::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `(T, T)` implements `From<[T; 2]>` [INFO] [stdout] `(T, T, T)` implements `From<[T; 3]>` [INFO] [stdout] `(T, T, T, T)` implements `From<[T; 4]>` [INFO] [stdout] `(T, T, T, T, T)` implements `From<[T; 5]>` [INFO] [stdout] `(T, T, T, T, T, T)` implements `From<[T; 6]>` [INFO] [stdout] `(T, T, T, T, T, T, T)` implements `From<[T; 7]>` [INFO] [stdout] `(T, T, T, T, T, T, T, T)` implements `From<[T; 8]>` [INFO] [stdout] `(T, T, T, T, T, T, T, T, T)` implements `From<[T; 9]>` [INFO] [stdout] and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "63292227d12c7e1b41484a23cec7741d05bf2c965e06df4db9d31bdb24e6bca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63292227d12c7e1b41484a23cec7741d05bf2c965e06df4db9d31bdb24e6bca7", kill_on_drop: false }` [INFO] [stdout] 63292227d12c7e1b41484a23cec7741d05bf2c965e06df4db9d31bdb24e6bca7