[INFO] cloning repository https://github.com/wattlebirdaz/bufferpool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wattlebirdaz/bufferpool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwattlebirdaz%2Fbufferpool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwattlebirdaz%2Fbufferpool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a4334be278cb6053f0f1f1e3b3866801a1e985c [INFO] checking wattlebirdaz/bufferpool/4a4334be278cb6053f0f1f1e3b3866801a1e985c against master#0f353363965ebf05e0757f7679c800b39c51a07e for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwattlebirdaz%2Fbufferpool" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wattlebirdaz/bufferpool [INFO] finished tweaking git repo https://github.com/wattlebirdaz/bufferpool [INFO] tweaked toml for git repo https://github.com/wattlebirdaz/bufferpool written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wattlebirdaz/bufferpool on toolchain 0f353363965ebf05e0757f7679c800b39c51a07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wattlebirdaz/bufferpool already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.24.0 [INFO] [stderr] Downloaded arrow-string v54.2.1 [INFO] [stderr] Downloaded arrow-arith v54.2.1 [INFO] [stderr] Downloaded arrow-ord v54.2.1 [INFO] [stderr] Downloaded rstest_macros v0.24.0 [INFO] [stderr] Downloaded arrow-data v54.3.1 [INFO] [stderr] Downloaded arrow-schema v54.3.1 [INFO] [stderr] Downloaded arrow-buffer v54.3.1 [INFO] [stderr] Downloaded arrow v54.2.1 [INFO] [stderr] Downloaded io-uring v0.7.4 [INFO] [stderr] Downloaded arrow-select v54.2.1 [INFO] [stderr] Downloaded arrow-row v54.2.1 [INFO] [stderr] Downloaded arrow-cast v54.2.1 [INFO] [stderr] Downloaded arrow-array v54.2.1 [INFO] [stderr] Downloaded duckdb v1.2.2 [INFO] [stderr] Downloaded libduckdb-sys v1.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d18030e1411f94a9f4278b0d5f0b87c57e407410525e27b85aafd8fa29b03cb [INFO] running `Command { std: "docker" "start" "-a" "8d18030e1411f94a9f4278b0d5f0b87c57e407410525e27b85aafd8fa29b03cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d18030e1411f94a9f4278b0d5f0b87c57e407410525e27b85aafd8fa29b03cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d18030e1411f94a9f4278b0d5f0b87c57e407410525e27b85aafd8fa29b03cb", kill_on_drop: false }` [INFO] [stdout] 8d18030e1411f94a9f4278b0d5f0b87c57e407410525e27b85aafd8fa29b03cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2aaf71bb0d6b98e4fe42d16b628c9517064e995e9ffe264ba313c6a6378ff621 [INFO] running `Command { std: "docker" "start" "-a" "2aaf71bb0d6b98e4fe42d16b628c9517064e995e9ffe264ba313c6a6378ff621", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstyle v1.0.9 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking anstream v0.6.17 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling io-uring v0.7.4 [INFO] [stderr] Checking clap_builder v4.5.27 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling rstest_macros v0.24.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking rand_core v0.9.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tempfile v3.16.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking clap v4.5.27 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking rstest v0.24.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking fbtree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree.rs:2287:14 [INFO] [stdout] | [INFO] [stdout] 2287 | fn l_key(&self) -> BTreeKey { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2287 | fn l_key(&self) -> BTreeKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree.rs:2295:14 [INFO] [stdout] | [INFO] [stdout] 2295 | fn r_key(&self) -> BTreeKey { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2295 | fn r_key(&self) -> BTreeKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree.rs:2303:27 [INFO] [stdout] | [INFO] [stdout] 2303 | fn current_high_fence(&self) -> BTreeKey { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2303 | fn current_high_fence(&self) -> BTreeKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | fn get_low_fence(&self) -> BTreeKey; [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | fn get_low_fence(&self) -> BTreeKey<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:234:23 [INFO] [stdout] | [INFO] [stdout] 234 | fn get_high_fence(&self) -> BTreeKey; [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 234 | fn get_high_fence(&self) -> BTreeKey<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | fn range(&self) -> (BTreeKey, BTreeKey); [INFO] [stdout] | ^^^^^ -------- -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 235 | fn range(&self) -> (BTreeKey<'_>, BTreeKey<'_>); [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | fn get_btree_key(&self, slot_id: u32) -> BTreeKey; [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 277 | fn get_btree_key(&self, slot_id: u32) -> BTreeKey<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:613:22 [INFO] [stdout] | [INFO] [stdout] 613 | fn get_low_fence(&self) -> BTreeKey { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 613 | fn get_low_fence(&self) -> BTreeKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:624:23 [INFO] [stdout] | [INFO] [stdout] 624 | fn get_high_fence(&self) -> BTreeKey { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 624 | fn get_high_fence(&self) -> BTreeKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:635:14 [INFO] [stdout] | [INFO] [stdout] 635 | fn range(&self) -> (BTreeKey, BTreeKey) { [INFO] [stdout] | ^^^^^ -------- -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 635 | fn range(&self) -> (BTreeKey<'_>, BTreeKey<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:757:22 [INFO] [stdout] | [INFO] [stdout] 757 | fn get_btree_key(&self, slot_id: u32) -> BTreeKey { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 757 | fn get_btree_key(&self, slot_id: u32) -> BTreeKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/bp/buffer_pool.rs:610:30 [INFO] [stdout] | [INFO] [stdout] 610 | && unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) [INFO] [stdout] | ^^----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/bp/buffer_pool.rs:610:30 [INFO] [stdout] | [INFO] [stdout] 610 | && unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 610 | && unsafe { &(&(*self.metas.get()))[frame_id as usize] }.key() == Some(key.p_key()) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/bp/buffer_pool.rs:644:30 [INFO] [stdout] | [INFO] [stdout] 644 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/bp/buffer_pool.rs:644:30 [INFO] [stdout] | [INFO] [stdout] 644 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 644 | if unsafe { &(&(*self.metas.get()))[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/bp/buffer_pool.rs:754:30 [INFO] [stdout] | [INFO] [stdout] 754 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/bp/buffer_pool.rs:754:30 [INFO] [stdout] | [INFO] [stdout] 754 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 754 | if unsafe { &(&(*self.metas.get()))[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/bp/buffer_pool_clock.rs:610:30 [INFO] [stdout] | [INFO] [stdout] 610 | && unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) [INFO] [stdout] | ^^----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>>` [INFO] [stdout] --> src/bp/buffer_pool_clock.rs:610:30 [INFO] [stdout] | [INFO] [stdout] 610 | && unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 610 | && unsafe { &(&(*self.metas.get()))[frame_id as usize] }.key() == Some(key.p_key()) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/bp/buffer_pool_clock.rs:636:30 [INFO] [stdout] | [INFO] [stdout] 636 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>>` [INFO] [stdout] --> src/bp/buffer_pool_clock.rs:636:30 [INFO] [stdout] | [INFO] [stdout] 636 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 636 | if unsafe { &(&(*self.metas.get()))[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/bp/buffer_pool_clock.rs:702:30 [INFO] [stdout] | [INFO] [stdout] 702 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>>` [INFO] [stdout] --> src/bp/buffer_pool_clock.rs:702:30 [INFO] [stdout] | [INFO] [stdout] 702 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 702 | if unsafe { &(&(*self.metas.get()))[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn iter(&self) -> std::collections::hash_map::Iter, RWEntry> { [INFO] [stdout] | ^^^^^ -------------------------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 198 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, Vec, RWEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fbtree` (lib) due to 6 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree.rs:2287:14 [INFO] [stdout] | [INFO] [stdout] 2287 | fn l_key(&self) -> BTreeKey { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2287 | fn l_key(&self) -> BTreeKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree.rs:2295:14 [INFO] [stdout] | [INFO] [stdout] 2295 | fn r_key(&self) -> BTreeKey { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2295 | fn r_key(&self) -> BTreeKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree.rs:2303:27 [INFO] [stdout] | [INFO] [stdout] 2303 | fn current_high_fence(&self) -> BTreeKey { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2303 | fn current_high_fence(&self) -> BTreeKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | fn get_low_fence(&self) -> BTreeKey; [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | fn get_low_fence(&self) -> BTreeKey<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:234:23 [INFO] [stdout] | [INFO] [stdout] 234 | fn get_high_fence(&self) -> BTreeKey; [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 234 | fn get_high_fence(&self) -> BTreeKey<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | fn range(&self) -> (BTreeKey, BTreeKey); [INFO] [stdout] | ^^^^^ -------- -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 235 | fn range(&self) -> (BTreeKey<'_>, BTreeKey<'_>); [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | fn get_btree_key(&self, slot_id: u32) -> BTreeKey; [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 277 | fn get_btree_key(&self, slot_id: u32) -> BTreeKey<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:613:22 [INFO] [stdout] | [INFO] [stdout] 613 | fn get_low_fence(&self) -> BTreeKey { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 613 | fn get_low_fence(&self) -> BTreeKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:624:23 [INFO] [stdout] | [INFO] [stdout] 624 | fn get_high_fence(&self) -> BTreeKey { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 624 | fn get_high_fence(&self) -> BTreeKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:635:14 [INFO] [stdout] | [INFO] [stdout] 635 | fn range(&self) -> (BTreeKey, BTreeKey) { [INFO] [stdout] | ^^^^^ -------- -------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 635 | fn range(&self) -> (BTreeKey<'_>, BTreeKey<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/access_method/fbt/foster_btree_page.rs:757:22 [INFO] [stdout] | [INFO] [stdout] 757 | fn get_btree_key(&self, slot_id: u32) -> BTreeKey { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 757 | fn get_btree_key(&self, slot_id: u32) -> BTreeKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/bp/buffer_pool.rs:610:30 [INFO] [stdout] | [INFO] [stdout] 610 | && unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) [INFO] [stdout] | ^^----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/bp/buffer_pool.rs:610:30 [INFO] [stdout] | [INFO] [stdout] 610 | && unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 610 | && unsafe { &(&(*self.metas.get()))[frame_id as usize] }.key() == Some(key.p_key()) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/bp/buffer_pool.rs:644:30 [INFO] [stdout] | [INFO] [stdout] 644 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/bp/buffer_pool.rs:644:30 [INFO] [stdout] | [INFO] [stdout] 644 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 644 | if unsafe { &(&(*self.metas.get()))[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/bp/buffer_pool.rs:754:30 [INFO] [stdout] | [INFO] [stdout] 754 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/bp/buffer_pool.rs:754:30 [INFO] [stdout] | [INFO] [stdout] 754 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 754 | if unsafe { &(&(*self.metas.get()))[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/bp/buffer_pool_clock.rs:610:30 [INFO] [stdout] | [INFO] [stdout] 610 | && unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) [INFO] [stdout] | ^^----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>>` [INFO] [stdout] --> src/bp/buffer_pool_clock.rs:610:30 [INFO] [stdout] | [INFO] [stdout] 610 | && unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 610 | && unsafe { &(&(*self.metas.get()))[frame_id as usize] }.key() == Some(key.p_key()) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/bp/buffer_pool_clock.rs:636:30 [INFO] [stdout] | [INFO] [stdout] 636 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>>` [INFO] [stdout] --> src/bp/buffer_pool_clock.rs:636:30 [INFO] [stdout] | [INFO] [stdout] 636 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 636 | if unsafe { &(&(*self.metas.get()))[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/bp/buffer_pool_clock.rs:702:30 [INFO] [stdout] | [INFO] [stdout] 702 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^----------------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>>` [INFO] [stdout] --> src/bp/buffer_pool_clock.rs:702:30 [INFO] [stdout] | [INFO] [stdout] 702 | if unsafe { &(*self.metas.get())[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 702 | if unsafe { &(&(*self.metas.get()))[frame_id as usize] }.key() == Some(key.p_key()) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/txn_storage/ondisk_2pl/mod.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn iter(&self) -> std::collections::hash_map::Iter, RWEntry> { [INFO] [stdout] | ^^^^^ -------------------------------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 198 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, Vec, RWEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fbtree` (lib test) due to 6 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2aaf71bb0d6b98e4fe42d16b628c9517064e995e9ffe264ba313c6a6378ff621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aaf71bb0d6b98e4fe42d16b628c9517064e995e9ffe264ba313c6a6378ff621", kill_on_drop: false }` [INFO] [stdout] 2aaf71bb0d6b98e4fe42d16b628c9517064e995e9ffe264ba313c6a6378ff621