[INFO] fetching crate sanakirja 1.3.3... [INFO] checking sanakirja-1.3.3 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate sanakirja 1.3.3 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate sanakirja 1.3.3 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sanakirja 1.3.3 [INFO] finished tweaking crates.io crate sanakirja 1.3.3 [INFO] tweaked toml for crates.io crate sanakirja 1.3.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 89 packages [INFO] [stderr] Adding bitflags v0.7.0 (latest: v2.5.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding curve25519-dalek v3.2.1 (latest: v4.1.2) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding ed25519-zebra v2.2.0 (latest: v4.0.3) [INFO] [stderr] Adding env_logger v0.8.4 (latest: v0.11.3) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.12) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.21) [INFO] [stderr] Adding parking_lot v0.11.2 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot_core v0.8.6 (latest: v0.9.9) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding redox_syscall v0.2.16 (latest: v0.5.1) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding uuid v0.8.2 (latest: v1.8.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding zeroize v1.3.0 (latest: v1.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sanakirja-core v1.4.1 [INFO] [stderr] Downloaded lmdb-rs v0.7.6 [INFO] [stderr] Downloaded ed25519-zebra v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04f863cabc9197780b9a87f2a4216620f032f7e79e84fed8962dcf36437a5dec [INFO] running `Command { std: "docker" "start" "-a" "04f863cabc9197780b9a87f2a4216620f032f7e79e84fed8962dcf36437a5dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04f863cabc9197780b9a87f2a4216620f032f7e79e84fed8962dcf36437a5dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04f863cabc9197780b9a87f2a4216620f032f7e79e84fed8962dcf36437a5dec", kill_on_drop: false }` [INFO] [stdout] 04f863cabc9197780b9a87f2a4216620f032f7e79e84fed8962dcf36437a5dec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e81d8ef9205a1a87d686763ab15a677673d8fa6e7833797c8e9c66b3c6b03b72 [INFO] running `Command { std: "docker" "start" "-a" "e81d8ef9205a1a87d686763ab15a677673d8fa6e7833797c8e9c66b3c6b03b72", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking sanakirja-core v1.4.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking sanakirja v1.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `CowPage` is imported redundantly [INFO] [stdout] --> src/environment/muttxn.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `CowPage` is already imported here [INFO] [stdout] 2 | use sanakirja_core::{btree, CowPage, MutPage}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/environment/muttxn.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Borrow` is already imported here [INFO] [stdout] 2 | use sanakirja_core::{btree, CowPage, MutPage}; [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/environment/muttxn.rs:780:63 [INFO] [stdout] | [INFO] [stdout] 780 | fn root_db>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 780 - fn root_db>( [INFO] [stdout] 780 + fn root_db>( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/environment/muttxn.rs:783:17 [INFO] [stdout] | [INFO] [stdout] 783 | ) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 783 - ) -> Option> { [INFO] [stdout] 783 + ) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/environment/muttxn.rs:785:18 [INFO] [stdout] | [INFO] [stdout] 785 | Some(sanakirja_core::btree::Db_::from_page(db)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 785 - Some(sanakirja_core::btree::Db_::from_page(db)) [INFO] [stdout] 785 + Some(btree::Db_::from_page(db)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/debug.rs:194:10 [INFO] [stdout] | [INFO] [stdout] 194 | type B = btree::page::Page; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 194 - type B = btree::page::Page; [INFO] [stdout] 194 + type B = page::Page; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/debug.rs:202:41 [INFO] [stdout] | [INFO] [stdout] 202 | let mut curs: Cursor<_, _, B> = btree::cursor::Cursor::new(txn, &db_free).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 202 - let mut curs: Cursor<_, _, B> = btree::cursor::Cursor::new(txn, &db_free).unwrap(); [INFO] [stdout] 202 + let mut curs: Cursor<_, _, B> = Cursor::new(txn, &db_free).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/debug.rs:289:40 [INFO] [stdout] | [INFO] [stdout] 289 | let free_db: Db = btree::Db::from_page(p.free_db); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 289 - let free_db: Db = btree::Db::from_page(p.free_db); [INFO] [stdout] 289 + let free_db: Db = Db::from_page(p.free_db); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/debug.rs:294:38 [INFO] [stdout] | [INFO] [stdout] 294 | let rc_db: Db = btree::Db::from_page(p.rc_db); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 294 - let rc_db: Db = btree::Db::from_page(p.rc_db); [INFO] [stdout] 294 + let rc_db: Db = Db::from_page(p.rc_db); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/debug.rs:307:36 [INFO] [stdout] | [INFO] [stdout] 307 | let free_db: Db = btree::Db::from_page(txn.free); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 307 - let free_db: Db = btree::Db::from_page(txn.free); [INFO] [stdout] 307 + let free_db: Db = Db::from_page(txn.free); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `load_page` has an incompatible type for trait [INFO] [stdout] --> src/environment/mod.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | fn load_page(&self, off: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found normal fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&Txn<_>, _) -> Result<_, _>` [INFO] [stdout] found signature `fn(&Txn<_>, _) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `alloc_page` has an incompatible type for trait [INFO] [stdout] --> src/environment/muttxn.rs:470:5 [INFO] [stdout] | [INFO] [stdout] 470 | fn alloc_page(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found normal fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&mut muttxn::MutTxn<_, _>) -> Result<_, _>` [INFO] [stdout] found signature `fn(&mut muttxn::MutTxn<_, _>) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `alloc_contiguous` has an incompatible type for trait [INFO] [stdout] --> src/environment/muttxn.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | fn alloc_contiguous(&mut self, length: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found normal fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&mut muttxn::MutTxn<_, _>, _) -> Result<_, _>` [INFO] [stdout] found signature `fn(&mut muttxn::MutTxn<_, _>, _) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `decr_rc` has an incompatible type for trait [INFO] [stdout] --> src/environment/muttxn.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 630 | fn decr_rc(&mut self, off: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found normal fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&mut muttxn::MutTxn<_, _>, _) -> Result<_, _>` [INFO] [stdout] found signature `fn(&mut muttxn::MutTxn<_, _>, _) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `decr_rc_owned` has an incompatible type for trait [INFO] [stdout] --> src/environment/muttxn.rs:638:5 [INFO] [stdout] | [INFO] [stdout] 638 | fn decr_rc_owned(&mut self, off: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found normal fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&mut muttxn::MutTxn<_, _>, _) -> Result<_, _>` [INFO] [stdout] found signature `fn(&mut muttxn::MutTxn<_, _>, _) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `load_page` has an incompatible type for trait [INFO] [stdout] --> src/environment/muttxn.rs:714:5 [INFO] [stdout] | [INFO] [stdout] 714 | fn load_page(&self, off: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found normal fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&muttxn::MutTxn<_, _>, _) -> Result<_, _>` [INFO] [stdout] found signature `fn(&muttxn::MutTxn<_, _>, _) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.4 [INFO] [stdout] error[E0599]: no method named `to_le` found for struct `NonZero` in the current scope [INFO] [stdout] --> src/environment/muttxn.rs:334:42 [INFO] [stdout] | [INFO] [stdout] 334 | globptr.free_db = free_db.db.to_le(); [INFO] [stdout] | ^^^^^ method not found in `NonZero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_le` found for struct `NonZero` in the current scope [INFO] [stdout] --> src/environment/muttxn.rs:338:38 [INFO] [stdout] | [INFO] [stdout] 338 | globptr.rc_db = rc_db.db.to_le(); [INFO] [stdout] | ^^^^^ method not found in `NonZero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/debug.rs:28:69 [INFO] [stdout] | [INFO] [stdout] 28 | print_page::(t, &mut h, &mut buf, &t.load_page(db.db).unwrap(), recurse); [INFO] [stdout] | --------- ^^^^^ expected `u64`, found `NonZero` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found struct `NonZero` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sanakirja-core-1.4.1/src/lib.rs:558:15 [INFO] [stdout] | [INFO] [stdout] 558 | unsafe fn load_page(&self, off: u64) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 28 | print_page::(t, &mut h, &mut buf, &t.load_page(db.db.into()).unwrap(), recurse); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/debug.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | match pages.entry(p) { [INFO] [stdout] | ----- ^ expected `u64`, found `NonZero` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found struct `NonZero` [INFO] [stdout] help: the return type of this call is `NonZero` due to the type of the argument passed [INFO] [stdout] --> src/debug.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | match pages.entry(p) { [INFO] [stdout] | ^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `entry` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/collections/btree/map.rs:1277:12 [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 156 | match pages.entry(p.into()) { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/debug.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | let p = txn.load_page(p)?; [INFO] [stdout] | --------- ^ expected `u64`, found `NonZero` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found struct `NonZero` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sanakirja-core-1.4.1/src/lib.rs:558:15 [INFO] [stdout] | [INFO] [stdout] 558 | unsafe fn load_page(&self, off: u64) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 160 | let p = txn.load_page(p.into())?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/debug.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 164 | stack.push(l); [INFO] [stdout] | ---- ^ expected `NonZero`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `NonZero` [INFO] [stdout] found type `u64` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/vec/mod.rs:1966:12 [INFO] [stdout] help: consider calling `NonZeroU64::new` [INFO] [stdout] | [INFO] [stdout] 164 | stack.push(NonZeroU64::new(l).unwrap()); [INFO] [stdout] | ++++++++++++++++ ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/debug.rs:181:40 [INFO] [stdout] | [INFO] [stdout] 181 | ... stack.push(r); [INFO] [stdout] | ---- ^ expected `NonZero`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `NonZero` [INFO] [stdout] found type `u64` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/vec/mod.rs:1966:12 [INFO] [stdout] help: consider calling `NonZeroU64::new` [INFO] [stdout] | [INFO] [stdout] 181 | stack.push(NonZeroU64::new(r).unwrap()); [INFO] [stdout] | ++++++++++++++++ ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lmdb-rs v0.7.6 [INFO] [stdout] error[E0133]: call to unsafe function `MutPage::clear_dirty` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/environment/muttxn.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | p.clear_dirty() [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `create_db` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/environment/muttxn.rs:623:26 [INFO] [stdout] | [INFO] [stdout] 623 | let mut rc = btree::create_db(self)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `sanakirja_core::btree::Db_::::from_page` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/environment/muttxn.rs:785:18 [INFO] [stdout] | [INFO] [stdout] 785 | Some(sanakirja_core::btree::Db_::from_page(db)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `load_page` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/debug.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | pages.push(txn.load_page(l).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `load_page` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/debug.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 119 | pages.push(txn.load_page(r).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `sanakirja_core::btree::Db_::::from_page` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/debug.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | let db_free = Db::from_page(txn.free); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `sanakirja_core::btree::Db_::::from_page` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/debug.rs:307:36 [INFO] [stdout] | [INFO] [stdout] 307 | let free_db: Db = btree::Db::from_page(txn.free); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0133, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] error: could not compile `sanakirja` (lib) due to 29 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e81d8ef9205a1a87d686763ab15a677673d8fa6e7833797c8e9c66b3c6b03b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e81d8ef9205a1a87d686763ab15a677673d8fa6e7833797c8e9c66b3c6b03b72", kill_on_drop: false }` [INFO] [stdout] e81d8ef9205a1a87d686763ab15a677673d8fa6e7833797c8e9c66b3c6b03b72