[INFO] fetching crate cqlite 0.2.3... [INFO] checking cqlite-0.2.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate cqlite 0.2.3 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate cqlite 0.2.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cqlite 0.2.3 [INFO] finished tweaking crates.io crate cqlite 0.2.3 [INFO] tweaked toml for crates.io crate cqlite 0.2.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 126 packages to latest compatible versions [INFO] [stderr] Adding assert_cmd v1.0.8 (available: v2.0.16) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding bstr v0.2.17 (available: v1.10.0) [INFO] [stderr] Adding cbindgen v0.20.0 (available: v0.27.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (available: v0.5.0) [INFO] [stderr] Adding float-cmp v0.9.0 (available: v0.10.0) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] [stderr] Adding peg v0.7.0 (available: v0.8.4) [INFO] [stderr] Adding peg-macros v0.7.0 (available: v0.8.4) [INFO] [stderr] Adding peg-runtime v0.7.0 (available: v0.8.3) [INFO] [stderr] Adding predicates v2.1.5 (available: v3.1.2) [INFO] [stderr] Adding redox_syscall v0.2.16 (available: v0.5.6) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding rustc_version v0.3.3 (available: v0.4.1) [INFO] [stderr] Adding semver v0.11.0 (available: v1.0.23) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding target-lexicon v0.11.2 (available: v0.12.16) [INFO] [stderr] Adding termtree v0.4.1 (available: v0.5.1) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `cqlite` library target) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sanakirja v1.4.2 [INFO] [stderr] Downloaded inline-c-macro v0.1.5 [INFO] [stderr] Downloaded sanakirja-core v1.4.1 [INFO] [stderr] Downloaded cbindgen v0.20.0 [INFO] [stderr] Downloaded inline-c v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d68beb827ff12cfadd39082ac1306d4feca80426e2c601b93e1e4296e9daded0 [INFO] running `Command { std: "docker" "start" "-a" "d68beb827ff12cfadd39082ac1306d4feca80426e2c601b93e1e4296e9daded0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d68beb827ff12cfadd39082ac1306d4feca80426e2c601b93e1e4296e9daded0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d68beb827ff12cfadd39082ac1306d4feca80426e2c601b93e1e4296e9daded0", kill_on_drop: false }` [INFO] [stdout] d68beb827ff12cfadd39082ac1306d4feca80426e2c601b93e1e4296e9daded0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 887c32249ef0e64a7cd49de7789b1a09311789b1316eaad02e81097f9424654f [INFO] running `Command { std: "docker" "start" "-a" "887c32249ef0e64a7cd49de7789b1a09311789b1316eaad02e81097f9424654f", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `cqlite` library target) [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling cbindgen v0.20.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling target-lexicon v0.11.2 [INFO] [stderr] Compiling peg-macros v0.7.0 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking sanakirja-core v1.4.1 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking assert_cmd v1.0.8 [INFO] [stderr] Checking cc v1.1.21 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking peg v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling inline-c-macro v0.1.5 [INFO] [stderr] Compiling inline-c v0.1.7 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking sanakirja v1.4.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Compiling cqlite v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0053]: method `load_page` has an incompatible type for trait [INFO] [stdout] --> src/store/txn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | fn load_page(&self, off: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found safe fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] found signature `fn(&DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `load_page` has an incompatible type for trait [INFO] [stdout] --> src/store/txn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | fn load_page(&self, off: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found safe fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] found signature `fn(&DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `alloc_page` has an incompatible type for trait [INFO] [stdout] --> src/store/txn.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | fn alloc_page(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found safe fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&mut DynTxn<_>) -> Result<_, _>` [INFO] [stdout] found signature `fn(&mut DynTxn<_>) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `alloc_page` has an incompatible type for trait [INFO] [stdout] --> src/store/txn.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | fn alloc_page(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found safe fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&mut DynTxn<_>) -> Result<_, _>` [INFO] [stdout] found signature `fn(&mut DynTxn<_>) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `decr_rc` has an incompatible type for trait [INFO] [stdout] --> src/store/txn.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | fn decr_rc(&mut self, off: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found safe fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&mut DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] found signature `fn(&mut DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `decr_rc` has an incompatible type for trait [INFO] [stdout] --> src/store/txn.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | fn decr_rc(&mut self, off: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found safe fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&mut DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] found signature `fn(&mut DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `decr_rc_owned` has an incompatible type for trait [INFO] [stdout] --> src/store/txn.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | fn decr_rc_owned(&mut self, off: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found safe fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&mut DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] found signature `fn(&mut DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `decr_rc_owned` has an incompatible type for trait [INFO] [stdout] --> src/store/txn.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | fn decr_rc_owned(&mut self, off: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found safe fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&mut DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] found signature `fn(&mut DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `alloc_contiguous` has an incompatible type for trait [INFO] [stdout] --> src/store/txn.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | fn alloc_contiguous(&mut self, off: u64) -> Result::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found safe fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&mut DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] found signature `fn(&mut DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `alloc_contiguous` has an incompatible type for trait [INFO] [stdout] --> src/store/txn.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | fn alloc_contiguous(&mut self, off: u64) -> Result::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected unsafe fn, found safe fn [INFO] [stdout] | [INFO] [stdout] = note: expected signature `unsafe fn(&mut DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] found signature `fn(&mut DynTxn<_>, _) -> Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/store/mod.rs:333:37 [INFO] [stdout] | [INFO] [stdout] 333 | self.txn.set_root(DB_NODES, self.nodes.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] --> src/store/txn.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_root(&mut self, n: usize, value: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ ---------- [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 333 | self.txn.set_root(DB_NODES, self.nodes.db.into())?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/store/mod.rs:334:37 [INFO] [stdout] | [INFO] [stdout] 334 | self.txn.set_root(DB_EDGES, self.edges.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] --> src/store/txn.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_root(&mut self, n: usize, value: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ ---------- [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 334 | self.txn.set_root(DB_EDGES, self.edges.db.into())?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/store/mod.rs:335:39 [INFO] [stdout] | [INFO] [stdout] 335 | self.txn.set_root(DB_ORIGINS, self.origins.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] --> src/store/txn.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_root(&mut self, n: usize, value: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ ---------- [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 335 | self.txn.set_root(DB_ORIGINS, self.origins.db.into())?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/store/mod.rs:336:39 [INFO] [stdout] | [INFO] [stdout] 336 | self.txn.set_root(DB_TARGETS, self.targets.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] --> src/store/txn.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_root(&mut self, n: usize, value: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ ---------- [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 336 | self.txn.set_root(DB_TARGETS, self.targets.db.into())?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/store/mod.rs:337:38 [INFO] [stdout] | [INFO] [stdout] 337 | self.txn.set_root(DB_LABELS, self.labels.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] --> src/store/txn.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_root(&mut self, n: usize, value: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ ---------- [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 337 | self.txn.set_root(DB_LABELS, self.labels.db.into())?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/store/mod.rs:333:37 [INFO] [stdout] | [INFO] [stdout] 333 | self.txn.set_root(DB_NODES, self.nodes.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] --> src/store/txn.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_root(&mut self, n: usize, value: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ ---------- [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 333 | self.txn.set_root(DB_NODES, self.nodes.db.into())?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/store/mod.rs:334:37 [INFO] [stdout] | [INFO] [stdout] 334 | self.txn.set_root(DB_EDGES, self.edges.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] --> src/store/txn.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_root(&mut self, n: usize, value: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ ---------- [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 334 | self.txn.set_root(DB_EDGES, self.edges.db.into())?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/store/mod.rs:335:39 [INFO] [stdout] | [INFO] [stdout] 335 | self.txn.set_root(DB_ORIGINS, self.origins.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] --> src/store/txn.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_root(&mut self, n: usize, value: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ ---------- [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 335 | self.txn.set_root(DB_ORIGINS, self.origins.db.into())?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/store/mod.rs:336:39 [INFO] [stdout] | [INFO] [stdout] 336 | self.txn.set_root(DB_TARGETS, self.targets.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] --> src/store/txn.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_root(&mut self, n: usize, value: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ ---------- [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 336 | self.txn.set_root(DB_TARGETS, self.targets.db.into())?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/store/mod.rs:337:38 [INFO] [stdout] | [INFO] [stdout] 337 | self.txn.set_root(DB_LABELS, self.labels.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] --> src/store/txn.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_root(&mut self, n: usize, value: u64) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ ---------- [INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero` into `u64` [INFO] [stdout] | [INFO] [stdout] 337 | self.txn.set_root(DB_LABELS, self.labels.db.into())?; [INFO] [stdout] | +++++++ [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/store/txn.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | DynTxn::Txn(txn) => Ok(txn.load_page(off)?), [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/store/txn.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | DynTxn::MutTxn(txn) => Ok(txn.load_page(off)?), [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 `alloc_page` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/store/txn.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | DynTxn::MutTxn(txn) => Ok(txn.alloc_page()?), [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 `decr_rc` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/store/txn.rs:98:39 [INFO] [stdout] | [INFO] [stdout] 98 | DynTxn::MutTxn(txn) => Ok(txn.decr_rc(off)?), [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 `decr_rc_owned` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/store/txn.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 105 | DynTxn::MutTxn(txn) => Ok(txn.decr_rc_owned(off)?), [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 `alloc_contiguous` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/store/txn.rs:112:39 [INFO] [stdout] | [INFO] [stdout] 112 | DynTxn::MutTxn(txn) => Ok(txn.alloc_contiguous(off)?), [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/store/txn.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | DynTxn::Txn(txn) => Ok(txn.load_page(off)?), [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/store/txn.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | DynTxn::MutTxn(txn) => Ok(txn.load_page(off)?), [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 `alloc_page` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/store/txn.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | DynTxn::MutTxn(txn) => Ok(txn.alloc_page()?), [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 `decr_rc` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/store/txn.rs:98:39 [INFO] [stdout] | [INFO] [stdout] 98 | DynTxn::MutTxn(txn) => Ok(txn.decr_rc(off)?), [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 `decr_rc_owned` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/store/txn.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 105 | DynTxn::MutTxn(txn) => Ok(txn.decr_rc_owned(off)?), [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 `alloc_contiguous` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/store/txn.rs:112:39 [INFO] [stdout] | [INFO] [stdout] 112 | DynTxn::MutTxn(txn) => Ok(txn.alloc_contiguous(off)?), [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/store/mod.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | let db = btree::create_db(txn)?; [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/store/mod.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | let db = btree::create_db_(txn)?; [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 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0133, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `create_db` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/store/mod.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | let db = btree::create_db(txn)?; [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/store/mod.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | let db = btree::create_db_(txn)?; [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] [stderr] error: could not compile `cqlite` (lib) due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0133, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cqlite` (lib test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "887c32249ef0e64a7cd49de7789b1a09311789b1316eaad02e81097f9424654f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "887c32249ef0e64a7cd49de7789b1a09311789b1316eaad02e81097f9424654f", kill_on_drop: false }` [INFO] [stdout] 887c32249ef0e64a7cd49de7789b1a09311789b1316eaad02e81097f9424654f