[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyutarofire%2Fordb" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yutarofire/ordb on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2450af9a76359fa18c760d8a9577eee0995cdd119ecf69747294d28c4259203c [INFO] running `Command { std: "docker" "start" "-a" "2450af9a76359fa18c760d8a9577eee0995cdd119ecf69747294d28c4259203c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2450af9a76359fa18c760d8a9577eee0995cdd119ecf69747294d28c4259203c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2450af9a76359fa18c760d8a9577eee0995cdd119ecf69747294d28c4259203c", kill_on_drop: false }` [INFO] [stdout] 2450af9a76359fa18c760d8a9577eee0995cdd119ecf69747294d28c4259203c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f50d7be6806afbe2533c1eb57101ddc48675a162af6ccc7c26edb65d765ffb5e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f50d7be6806afbe2533c1eb57101ddc48675a162af6ccc7c26edb65d765ffb5e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking ordb v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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 `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: cannot determine resolution for the derive macro `FromBytes` [INFO] [stdout] --> src/btree/branch.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `AsBytes` [INFO] [stdout] --> src/btree/branch.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `FromBytes` [INFO] [stdout] --> src/btree/leaf.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `AsBytes` [INFO] [stdout] --> src/btree/leaf.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `FromBytes` [INFO] [stdout] --> src/btree/meta.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `AsBytes` [INFO] [stdout] --> src/btree/meta.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `FromBytes` [INFO] [stdout] --> src/btree/node.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `AsBytes` [INFO] [stdout] --> src/btree/node.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/btree.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/btree.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors [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` due to 48 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: cannot determine resolution for the derive macro `FromBytes` [INFO] [stdout] --> src/btree/branch.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `AsBytes` [INFO] [stdout] --> src/btree/branch.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `FromBytes` [INFO] [stdout] --> src/btree/leaf.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `AsBytes` [INFO] [stdout] --> src/btree/leaf.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `FromBytes` [INFO] [stdout] --> src/btree/meta.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `AsBytes` [INFO] [stdout] --> src/btree/meta.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `FromBytes` [INFO] [stdout] --> src/btree/node.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `AsBytes` [INFO] [stdout] --> src/btree/node.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, FromBytes, AsBytes)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/btree.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/btree.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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 23 previous errors [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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f50d7be6806afbe2533c1eb57101ddc48675a162af6ccc7c26edb65d765ffb5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f50d7be6806afbe2533c1eb57101ddc48675a162af6ccc7c26edb65d765ffb5e", kill_on_drop: false }` [INFO] [stdout] f50d7be6806afbe2533c1eb57101ddc48675a162af6ccc7c26edb65d765ffb5e