[INFO] cloning repository https://github.com/yutarofire/ordb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yutarofire/ordb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutarofire%2Fordb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutarofire%2Fordb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09f1395d2419a8f24443d6949f723015fc07867f [INFO] checking yutarofire/ordb against master#96cfc75584359ae7ad11cc45968059f29e7b44b7 for pr-137728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutarofire%2Fordb" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yutarofire/ordb on toolchain 96cfc75584359ae7ad11cc45968059f29e7b44b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yutarofire/ordb [INFO] finished tweaking git repo https://github.com/yutarofire/ordb [INFO] tweaked toml for git repo https://github.com/yutarofire/ordb written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yutarofire/ordb 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" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 899d190803d23748c8050f8c6c4325caa318d1599ef04e1534d86b98371c21ec [INFO] running `Command { std: "docker" "start" "-a" "899d190803d23748c8050f8c6c4325caa318d1599ef04e1534d86b98371c21ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "899d190803d23748c8050f8c6c4325caa318d1599ef04e1534d86b98371c21ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "899d190803d23748c8050f8c6c4325caa318d1599ef04e1534d86b98371c21ec", kill_on_drop: false }` [INFO] [stdout] 899d190803d23748c8050f8c6c4325caa318d1599ef04e1534d86b98371c21ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+96cfc75584359ae7ad11cc45968059f29e7b44b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35bc6e1bfadc30d9e26da37330449cd60a9a8f8f267f110db75b40c053fa037f [INFO] running `Command { std: "docker" "start" "-a" "35bc6e1bfadc30d9e26da37330449cd60a9a8f8f267f110db75b40c053fa037f", 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.72 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking ordb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::bsearch` [INFO] [stdout] --> src/btree/branch.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::bsearch::binary_search_by; [INFO] [stdout] | ^^^^^^^ could not find `bsearch` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::slotted`, `crate::slotted` [INFO] [stdout] --> src/btree/branch.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::slotted::{self, Slotted}; [INFO] [stdout] | ^^^^^^^ ^^^^ no `slotted` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `slotted` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsearch` [INFO] [stdout] --> src/btree/leaf.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::bsearch::binary_search_by; [INFO] [stdout] | ^^^^^^^ could not find `bsearch` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::slotted`, `crate::slotted` [INFO] [stdout] --> src/btree/leaf.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::slotted::{self, Slotted}; [INFO] [stdout] | ^^^^^^^ ^^^^ no `slotted` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `slotted` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::btree::branch::tests::slotted` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bincode` [INFO] [stdout] --> src/btree.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bincode::Options; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/btree.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> src/btree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use zerocopy::{AsBytes, ByteSlice}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `zerocopy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zerocopy`, use `cargo add zerocopy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> src/btree/branch.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zerocopy::{AsBytes, ByteSlice, ByteSliceMut, FromBytes, LayoutVerified}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `zerocopy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zerocopy`, use `cargo add zerocopy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> src/btree/leaf.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zerocopy::{AsBytes, ByteSlice, ByteSliceMut, FromBytes, LayoutVerified}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `zerocopy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zerocopy`, use `cargo add zerocopy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> src/btree/meta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use zerocopy::{AsBytes, ByteSlice, FromBytes, LayoutVerified}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `zerocopy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zerocopy`, use `cargo add zerocopy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> src/btree/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use zerocopy::{AsBytes, ByteSlice, ByteSliceMut, FromBytes, LayoutVerified}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `zerocopy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zerocopy`, use `cargo add zerocopy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tempfile` [INFO] [stdout] --> src/btree.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | use tempfile::tempfile; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `tempfile` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tempfile`, use `cargo add tempfile` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsearch` [INFO] [stdout] --> src/btree/branch.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::bsearch::binary_search_by; [INFO] [stdout] | ^^^^^^^ could not find `bsearch` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::slotted`, `crate::slotted` [INFO] [stdout] --> src/btree/branch.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::slotted::{self, Slotted}; [INFO] [stdout] | ^^^^^^^ ^^^^ no `slotted` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `slotted` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bsearch` [INFO] [stdout] --> src/btree/leaf.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::bsearch::binary_search_by; [INFO] [stdout] | ^^^^^^^ could not find `bsearch` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/btree.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | bincode::options().serialize(self).unwrap() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/btree.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | bincode::options().deserialize(bytes).unwrap() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 152 | branch.initialize(&5u64.to_be_bytes(), PageId(1), PageId(2)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:152:59 [INFO] [stdout] | [INFO] [stdout] 152 | branch.initialize(&5u64.to_be_bytes(), PageId(1), PageId(2)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:153:47 [INFO] [stdout] | [INFO] [stdout] 153 | branch.insert(1, &8u64.to_be_bytes(), PageId(3)).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:154:48 [INFO] [stdout] | [INFO] [stdout] 154 | branch.insert(2, &11u64.to_be_bytes(), PageId(4)).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | assert_eq!(PageId(1), branch.search_child(&1u64.to_be_bytes())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | assert_eq!(PageId(3), branch.search_child(&5u64.to_be_bytes())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(PageId(3), branch.search_child(&6u64.to_be_bytes())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | assert_eq!(PageId(4), branch.search_child(&8u64.to_be_bytes())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(PageId(4), branch.search_child(&10u64.to_be_bytes())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | assert_eq!(PageId(2), branch.search_child(&11u64.to_be_bytes())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | assert_eq!(PageId(2), branch.search_child(&12u64.to_be_bytes())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::slotted`, `crate::slotted` [INFO] [stdout] --> src/btree/leaf.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::slotted::{self, Slotted}; [INFO] [stdout] | ^^^^^^^ ^^^^ no `slotted` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `slotted` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bincode` [INFO] [stdout] --> src/btree.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bincode::Options; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/btree.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> src/btree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use zerocopy::{AsBytes, ByteSlice}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `zerocopy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zerocopy`, use `cargo add zerocopy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> src/btree/branch.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zerocopy::{AsBytes, ByteSlice, ByteSliceMut, FromBytes, LayoutVerified}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `zerocopy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zerocopy`, use `cargo add zerocopy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> src/btree/leaf.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zerocopy::{AsBytes, ByteSlice, ByteSliceMut, FromBytes, LayoutVerified}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `zerocopy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zerocopy`, use `cargo add zerocopy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> src/btree/meta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use zerocopy::{AsBytes, ByteSlice, FromBytes, LayoutVerified}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `zerocopy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zerocopy`, use `cargo add zerocopy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zerocopy` [INFO] [stdout] --> src/btree/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use zerocopy::{AsBytes, ByteSlice, ByteSliceMut, FromBytes, LayoutVerified}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `zerocopy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zerocopy`, use `cargo add zerocopy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | branch.initialize(&5u64.to_be_bytes(), PageId(1), PageId(2)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:168:59 [INFO] [stdout] | [INFO] [stdout] 168 | branch.initialize(&5u64.to_be_bytes(), PageId(1), PageId(2)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:169:47 [INFO] [stdout] | [INFO] [stdout] 169 | branch.insert(1, &8u64.to_be_bytes(), PageId(3)).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | branch.insert(2, &11u64.to_be_bytes(), PageId(4)).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:174:79 [INFO] [stdout] | [INFO] [stdout] 174 | let mid_key = branch.split_insert(&mut branch2, &10u64.to_be_bytes(), PageId(5)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | assert_eq!(PageId(1), branch2.search_child(&1u64.to_be_bytes())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | assert_eq!(PageId(3), branch2.search_child(&5u64.to_be_bytes())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | assert_eq!(PageId(3), branch2.search_child(&6u64.to_be_bytes())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(PageId(5), branch.search_child(&9u64.to_be_bytes())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(PageId(4), branch.search_child(&10u64.to_be_bytes())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(PageId(2), branch.search_child(&11u64.to_be_bytes())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/btree/branch.rs:187:20 [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!(PageId(2), branch.search_child(&12u64.to_be_bytes())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(u64); [INFO] [stdout] | ^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/disk.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PageId(pub u64); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ordb` (lib test) due to 37 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/btree.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | bincode::options().serialize(self).unwrap() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/btree.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | bincode::options().deserialize(bytes).unwrap() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ordb` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "35bc6e1bfadc30d9e26da37330449cd60a9a8f8f267f110db75b40c053fa037f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35bc6e1bfadc30d9e26da37330449cd60a9a8f8f267f110db75b40c053fa037f", kill_on_drop: false }` [INFO] [stdout] 35bc6e1bfadc30d9e26da37330449cd60a9a8f8f267f110db75b40c053fa037f