[INFO] fetching crate sdb 0.0.10... [INFO] checking sdb-0.0.10 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate sdb 0.0.10 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate sdb 0.0.10 [INFO] finished tweaking crates.io crate sdb 0.0.10 [INFO] tweaked toml for crates.io crate sdb 0.0.10 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sdb 0.0.10 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19ecf347c98b40e67d535313471957fad74a598fb27c636ea3e0a1f532d3127a [INFO] running `Command { std: "docker" "start" "-a" "19ecf347c98b40e67d535313471957fad74a598fb27c636ea3e0a1f532d3127a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19ecf347c98b40e67d535313471957fad74a598fb27c636ea3e0a1f532d3127a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19ecf347c98b40e67d535313471957fad74a598fb27c636ea3e0a1f532d3127a", kill_on_drop: false }` [INFO] [stdout] 19ecf347c98b40e67d535313471957fad74a598fb27c636ea3e0a1f532d3127a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f389b6fe683848aa9d46ab1826b3653d3c91de4e3029b7db140fd08369a8269a [INFO] running `Command { std: "docker" "start" "-a" "f389b6fe683848aa9d46ab1826b3653d3c91de4e3029b7db140fd08369a8269a", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking sanakirja-core v1.4.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling desse-derive v0.2.1 [INFO] [stderr] Checking desse v0.2.1 [INFO] [stderr] Compiling sdb_macro v0.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking sanakirja v1.4.3 [INFO] [stderr] Checking sdb v0.0.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sanakirja::btree::page::Page` [INFO] [stdout] --> src/dbpage.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use sanakirja::btree::page::Page; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sanakirja::btree::page::Page` [INFO] [stdout] --> src/dbpage.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use sanakirja::btree::page::Page; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_export]` has no effect on declarative macro definitions [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[macro_export] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: declarative macros follow the same exporting rules as regular items [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_export]` has no effect on declarative macro definitions [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[macro_export] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: declarative macros follow the same exporting rules as regular items [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | tx.set_root(id, tree.db); [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-1949cf8c6b5b557f/sanakirja-1.4.3/src/environment/muttxn.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn set_root(&mut self, num: usize, value: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 148 | tx.set_root(id, tree.db.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | tx.set_root(id, tree.db); [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-1949cf8c6b5b557f/sanakirja-1.4.3/src/environment/muttxn.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn set_root(&mut self, num: usize, value: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 148 | tx.set_root(id, tree.db.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | $tx.set_root($self.id, db_now); [INFO] [stdout] | -------- ^^^^^^ expected `u64`, found `NonZero` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 300 | set_root!(btree::put(tx, &mut self.db, k, v), self, tx) [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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-1949cf8c6b5b557f/sanakirja-1.4.3/src/environment/muttxn.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn set_root(&mut self, num: usize, value: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `set_root` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 300 | set_root!(btree::put(tx, &mut self.db, k, v), self, tx).into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | $tx.set_root($self.id, db_now); [INFO] [stdout] | -------- ^^^^^^ expected `u64`, found `NonZero` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 311 | set_root!(btree::del(tx, &mut self.db, k, Some(v)), self, tx) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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-1949cf8c6b5b557f/sanakirja-1.4.3/src/environment/muttxn.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn set_root(&mut self, num: usize, value: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `set_root` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 311 | set_root!(btree::del(tx, &mut self.db, k, Some(v)), self, tx).into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | $tx.set_root($self.id, db_now); [INFO] [stdout] | -------- ^^^^^^ expected `u64`, found `NonZero` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 300 | set_root!(btree::put(tx, &mut self.db, k, v), self, tx) [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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-1949cf8c6b5b557f/sanakirja-1.4.3/src/environment/muttxn.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn set_root(&mut self, num: usize, value: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `set_root` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 300 | set_root!(btree::put(tx, &mut self.db, k, v), self, tx).into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | $tx.set_root($self.id, db_now); [INFO] [stdout] | -------- ^^^^^^ expected `u64`, found `NonZero` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 317 | set_root!(btree::del(tx, &mut self.db, k, None), self, tx) [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [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-1949cf8c6b5b557f/sanakirja-1.4.3/src/environment/muttxn.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn set_root(&mut self, num: usize, value: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `set_root` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 317 | set_root!(btree::del(tx, &mut self.db, k, None), self, tx).into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | $tx.set_root($self.id, db_now); [INFO] [stdout] | -------- ^^^^^^ expected `u64`, found `NonZero` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 333 | / set_root!( [INFO] [stdout] 334 | | { [INFO] [stdout] 335 | | let db = &mut self.db; [INFO] [stdout] 336 | | let mut n = 0usize; [INFO] [stdout] ... | [INFO] [stdout] 343 | | tx [INFO] [stdout] 344 | | ) [INFO] [stdout] | |_______- in this macro invocation [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-1949cf8c6b5b557f/sanakirja-1.4.3/src/environment/muttxn.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn set_root(&mut self, num: usize, value: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `set_root` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 344 | ).into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | $tx.set_root($self.id, db_now); [INFO] [stdout] | -------- ^^^^^^ expected `u64`, found `NonZero` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 311 | set_root!(btree::del(tx, &mut self.db, k, Some(v)), self, tx) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [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-1949cf8c6b5b557f/sanakirja-1.4.3/src/environment/muttxn.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn set_root(&mut self, num: usize, value: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `set_root` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 311 | set_root!(btree::del(tx, &mut self.db, k, Some(v)), self, tx).into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:380:22 [INFO] [stdout] | [INFO] [stdout] 380 | w.set_root(id, tree.db); [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-1949cf8c6b5b557f/sanakirja-1.4.3/src/environment/muttxn.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn set_root(&mut self, num: usize, value: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 380 | w.set_root(id, tree.db.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | $tx.set_root($self.id, db_now); [INFO] [stdout] | -------- ^^^^^^ expected `u64`, found `NonZero` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 317 | set_root!(btree::del(tx, &mut self.db, k, None), self, tx) [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [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-1949cf8c6b5b557f/sanakirja-1.4.3/src/environment/muttxn.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn set_root(&mut self, num: usize, value: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `set_root` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 317 | set_root!(btree::del(tx, &mut self.db, k, None), self, tx).into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | $tx.set_root($self.id, db_now); [INFO] [stdout] | -------- ^^^^^^ expected `u64`, found `NonZero` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] ... [INFO] [stdout] 333 | / set_root!( [INFO] [stdout] 334 | | { [INFO] [stdout] 335 | | let db = &mut self.db; [INFO] [stdout] 336 | | let mut n = 0usize; [INFO] [stdout] ... | [INFO] [stdout] 343 | | tx [INFO] [stdout] 344 | | ) [INFO] [stdout] | |_______- in this macro invocation [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-1949cf8c6b5b557f/sanakirja-1.4.3/src/environment/muttxn.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn set_root(&mut self, num: usize, value: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `set_root` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 344 | ).into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:380:22 [INFO] [stdout] | [INFO] [stdout] 380 | w.set_root(id, tree.db); [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-1949cf8c6b5b557f/sanakirja-1.4.3/src/environment/muttxn.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn set_root(&mut self, num: usize, value: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 380 | w.set_root(id, tree.db.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sdb` (lib) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sdb` (lib test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f389b6fe683848aa9d46ab1826b3653d3c91de4e3029b7db140fd08369a8269a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f389b6fe683848aa9d46ab1826b3653d3c91de4e3029b7db140fd08369a8269a", kill_on_drop: false }` [INFO] [stdout] f389b6fe683848aa9d46ab1826b3653d3c91de4e3029b7db140fd08369a8269a