[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#2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf for pr-128725 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutarofire%2Fordb" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yutarofire/ordb on toolchain 2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf" "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-7-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" "+2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking yutarofire/ordb against try#9c7f973c4f483238f1484927772d0446e5686cc0 for pr-128725 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutarofire%2Fordb" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yutarofire/ordb on toolchain 9c7f973c4f483238f1484927772d0446e5686cc0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7f973c4f483238f1484927772d0446e5686cc0" "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-7-tc2/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" "+9c7f973c4f483238f1484927772d0446e5686cc0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+9c7f973c4f483238f1484927772d0446e5686cc0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62d7dac60bb7ff7cf32db02e0b044bfa213897b678fee305b6536bf2060149bc [INFO] running `Command { std: "docker" "start" "-a" "62d7dac60bb7ff7cf32db02e0b044bfa213897b678fee305b6536bf2060149bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62d7dac60bb7ff7cf32db02e0b044bfa213897b678fee305b6536bf2060149bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62d7dac60bb7ff7cf32db02e0b044bfa213897b678fee305b6536bf2060149bc", kill_on_drop: false }` [INFO] [stdout] 62d7dac60bb7ff7cf32db02e0b044bfa213897b678fee305b6536bf2060149bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+9c7f973c4f483238f1484927772d0446e5686cc0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f09102927ec48540a033c604d3754e2d5ec0e565e8b84476016710a4fd4df2be [INFO] running `Command { std: "docker" "start" "-a" "f09102927ec48540a033c604d3754e2d5ec0e565e8b84476016710a4fd4df2be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [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] [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 undeclared crate or module `bincode` [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 undeclared crate or module `serde` [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 undeclared crate or module `zerocopy` [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 undeclared crate or module `zerocopy` [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 undeclared crate or module `zerocopy` [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 undeclared crate or module `zerocopy` [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 undeclared crate or module `zerocopy` [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[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 undeclared crate or module `bincode` [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 undeclared crate or module `serde` [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 undeclared crate or module `zerocopy` [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 undeclared crate or module `zerocopy` [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 undeclared crate or module `zerocopy` [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 undeclared crate or module `zerocopy` [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 undeclared crate or module `zerocopy` [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 undeclared crate or module `tempfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `B` is never used [INFO] [stdout] --> src/btree/node.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Body { [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] 38 | Leaf(Leaf), [INFO] [stdout] | - `B` is named here, but is likely unused in the containing type [INFO] [stdout] 39 | Branch(Branch), [INFO] [stdout] | - `B` is named here, but is likely unused in the containing type [INFO] [stdout] | [INFO] [stdout] = help: consider removing `B`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `B` to be a const parameter, use `const B: /* Type */` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bincode` [INFO] [stdout] --> src/btree.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | bincode::options().serialize(self).unwrap() [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bincode` [INFO] [stdout] --> src/btree.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | bincode::options().deserialize(bytes).unwrap() [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ordb` (lib) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0392]: type parameter `B` is never used [INFO] [stdout] --> src/btree/node.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum Body { [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] 38 | Leaf(Leaf), [INFO] [stdout] | - `B` is named here, but is likely unused in the containing type [INFO] [stdout] 39 | Branch(Branch), [INFO] [stdout] | - `B` is named here, but is likely unused in the containing type [INFO] [stdout] | [INFO] [stdout] = help: consider removing `B`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `B` to be a const parameter, use `const B: /* Type */` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bincode` [INFO] [stdout] --> src/btree.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | bincode::options().serialize(self).unwrap() [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bincode` [INFO] [stdout] --> src/btree.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | bincode::options().deserialize(bytes).unwrap() [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `bincode` [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[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] error: aborting due to 38 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0423, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ordb` (lib test) due to 39 previous errors [INFO] running `Command { std: "docker" "inspect" "f09102927ec48540a033c604d3754e2d5ec0e565e8b84476016710a4fd4df2be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f09102927ec48540a033c604d3754e2d5ec0e565e8b84476016710a4fd4df2be", kill_on_drop: false }` [INFO] [stdout] f09102927ec48540a033c604d3754e2d5ec0e565e8b84476016710a4fd4df2be