[INFO] fetching crate xskiplist 0.1.0... [INFO] checking xskiplist-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate xskiplist 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate xskiplist 0.1.0 [INFO] finished tweaking crates.io crate xskiplist 0.1.0 [INFO] tweaked toml for crates.io crate xskiplist 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xskiplist 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2abf96e045c706551ea374bdc1bc8f6c638e4a80b200d15e29fbb5eeb31b22e4 [INFO] running `Command { std: "docker" "start" "-a" "2abf96e045c706551ea374bdc1bc8f6c638e4a80b200d15e29fbb5eeb31b22e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2abf96e045c706551ea374bdc1bc8f6c638e4a80b200d15e29fbb5eeb31b22e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2abf96e045c706551ea374bdc1bc8f6c638e4a80b200d15e29fbb5eeb31b22e4", kill_on_drop: false }` [INFO] [stdout] 2abf96e045c706551ea374bdc1bc8f6c638e4a80b200d15e29fbb5eeb31b22e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d771364e9bd1a3f73f86850581430631feb8d8cedc47e21077de7972bf9d1e4 [INFO] running `Command { std: "docker" "start" "-a" "6d771364e9bd1a3f73f86850581430631feb8d8cedc47e21077de7972bf9d1e4", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking xskiplist v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/level_generator.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | let f = 1.0 - self.rng.gen::(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.11.2 [INFO] [stdout] warning: trait `AsPtrMut` is never used [INFO] [stdout] --> src/skipnode.rs:904:7 [INFO] [stdout] | [INFO] [stdout] 904 | trait AsPtrMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ordered_skiplist.rs:603:17 [INFO] [stdout] | [INFO] [stdout] 603 | pub fn iter(&self) -> Iter { [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] 603 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ordered_skiplist.rs:627:18 [INFO] [stdout] | [INFO] [stdout] 627 | pub fn range(&self, min: Bound<&T>, max: Bound<&T>) -> Iter { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------- the same lifetime is hidden 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] 627 | pub fn range(&self, min: Bound<&T>, max: Bound<&T>) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ordered_skiplist.rs:636:15 [INFO] [stdout] | [INFO] [stdout] 636 | fn _range(&self, min: Bound<&T>, max: Bound<&T>) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------- the same lifetime is hidden 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] 636 | fn _range(&self, min: Bound<&T>, max: Bound<&T>) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ordered_skiplist.rs:994:61 [INFO] [stdout] | [INFO] [stdout] 994 | let max_str_len = format!("{} -{}-", value, (*node).links_len[(*node).level]).len(); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const skipnode::SkipNode` [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/ordered_skiplist.rs:994:61 [INFO] [stdout] | [INFO] [stdout] 994 | let max_str_len = format!("{} -{}-", value, (*node).links_len[(*node).level]).len(); [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] 994 | let max_str_len = format!("{} -{}-", value, (&(*node).links_len)[(*node).level]).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ordered_skiplist.rs:1001:51 [INFO] [stdout] | [INFO] [stdout] 1001 | format!("{} -{}-", value, (*node).links_len[lvl]) [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const skipnode::SkipNode` [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/ordered_skiplist.rs:1001:51 [INFO] [stdout] | [INFO] [stdout] 1001 | format!("{} -{}-", value, (*node).links_len[lvl]) [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] 1001 | format!("{} -{}-", value, (&(*node).links_len)[lvl]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/ordered_skiplist.rs:1021:37 [INFO] [stdout] | [INFO] [stdout] 1021 | if let Some(next) = (*node).links[0].and_then(|p| p.as_ptr().as_ref()) { [INFO] [stdout] | ^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const skipnode::SkipNode` [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/ordered_skiplist.rs:1021:37 [INFO] [stdout] | [INFO] [stdout] 1021 | if let Some(next) = (*node).links[0].and_then(|p| p.as_ptr().as_ref()) { [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] 1021 | if let Some(next) = (&(*node).links)[0].and_then(|p| p.as_ptr().as_ref()) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/skiplist.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn iter(&self) -> Iter { [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] 458 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/skiplist.rs:475:21 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn iter_mut(&mut self) -> IterMut { [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] 475 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/skiplist.rs:499:18 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn range(&self, min: Bound, max: Bound) -> Iter { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------- the same lifetime is hidden 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] 499 | pub fn range(&self, min: Bound, max: Bound) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/skiplist.rs:524:22 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn range_mut(&mut self, min: Bound, max: Bound) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ---------- the same lifetime is hidden 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] 524 | pub fn range_mut(&mut self, min: Bound, max: Bound) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/skiplist.rs:654:19 [INFO] [stdout] | [INFO] [stdout] 654 | fn iter_range(&self, first_idx: usize, last_idx: usize) -> Iter { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------- the same lifetime is hidden 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] 654 | fn iter_range(&self, first_idx: usize, last_idx: usize) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/skiplist.rs:680:23 [INFO] [stdout] | [INFO] [stdout] 680 | fn iter_range_mut(&mut self, first_idx: usize, last_idx: usize) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ---------- the same lifetime is hidden 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] 680 | fn iter_range_mut(&mut self, first_idx: usize, last_idx: usize) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/skipmap.rs:486:17 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn iter(&self) -> Iter { [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] 486 | pub fn iter(&self) -> Iter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/skipmap.rs:506:21 [INFO] [stdout] | [INFO] [stdout] 506 | pub fn iter_mut(&mut self) -> IterMut { [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] 506 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/skipmap.rs:524:17 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn keys(&self) -> Keys { [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] 524 | pub fn keys(&self) -> Keys<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/skipmap.rs:541:19 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn values(&self) -> Values { [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] 541 | pub fn values(&self) -> Values<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/skipmap.rs:564:21 [INFO] [stdout] | [INFO] [stdout] 564 | pub fn range(&self, min: Bound<&Q>, max: Bound<&Q>) -> Iter [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------- the same lifetime is hidden 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] 564 | pub fn range(&self, min: Bound<&Q>, max: Bound<&Q>) -> Iter<'_, K, V> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/skipmap.rs:577:18 [INFO] [stdout] | [INFO] [stdout] 577 | fn _range(&self, min: Bound<&Q>, max: Bound<&Q>) -> Option> [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------------------- the same lifetime is hidden 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] 577 | fn _range(&self, min: Bound<&Q>, max: Bound<&Q>) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/skipmap.rs:772:61 [INFO] [stdout] | [INFO] [stdout] 772 | let max_str_len = format!("{} -{}-", value, (*node).links_len[(*node).level]).len(); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const skipnode::SkipNode<(K, V)>` [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/skipmap.rs:772:61 [INFO] [stdout] | [INFO] [stdout] 772 | let max_str_len = format!("{} -{}-", value, (*node).links_len[(*node).level]).len(); [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] 772 | let max_str_len = format!("{} -{}-", value, (&(*node).links_len)[(*node).level]).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/skipmap.rs:779:51 [INFO] [stdout] | [INFO] [stdout] 779 | format!("{} -{}-", value, (*node).links_len[lvl]) [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const skipnode::SkipNode<(K, V)>` [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/skipmap.rs:779:51 [INFO] [stdout] | [INFO] [stdout] 779 | format!("{} -{}-", value, (*node).links_len[lvl]) [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] 779 | format!("{} -{}-", value, (&(*node).links_len)[lvl]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/skipmap.rs:799:37 [INFO] [stdout] | [INFO] [stdout] 799 | if let Some(next) = (*node).links[0].and_then(|p| p.as_ptr().as_ref()) { [INFO] [stdout] | ^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const skipnode::SkipNode<(K, V)>` [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/skipmap.rs:799:37 [INFO] [stdout] | [INFO] [stdout] 799 | if let Some(next) = (*node).links[0].and_then(|p| p.as_ptr().as_ref()) { [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] 799 | if let Some(next) = (&(*node).links)[0].and_then(|p| p.as_ptr().as_ref()) { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xskiplist` (lib) due to 6 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6d771364e9bd1a3f73f86850581430631feb8d8cedc47e21077de7972bf9d1e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d771364e9bd1a3f73f86850581430631feb8d8cedc47e21077de7972bf9d1e4", kill_on_drop: false }` [INFO] [stdout] 6d771364e9bd1a3f73f86850581430631feb8d8cedc47e21077de7972bf9d1e4