[INFO] fetching crate xskiplist 0.1.0... [INFO] checking xskiplist-0.1.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate xskiplist 0.1.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xskiplist 0.1.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06488f4190538cc7ca95db1ede9de4b18725ba0d5a7a9e47f4ba9f3c7eab6342 [INFO] running `Command { std: "docker" "start" "-a" "06488f4190538cc7ca95db1ede9de4b18725ba0d5a7a9e47f4ba9f3c7eab6342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06488f4190538cc7ca95db1ede9de4b18725ba0d5a7a9e47f4ba9f3c7eab6342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06488f4190538cc7ca95db1ede9de4b18725ba0d5a7a9e47f4ba9f3c7eab6342", kill_on_drop: false }` [INFO] [stdout] 06488f4190538cc7ca95db1ede9de4b18725ba0d5a7a9e47f4ba9f3c7eab6342 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cefe44954109ab1ca3ef91fe7a8c2471fd22a1b5648889dcf80c44745d62d40a [INFO] running `Command { std: "docker" "start" "-a" "cefe44954109ab1ca3ef91fe7a8c2471fd22a1b5648889dcf80c44745d62d40a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking lazy_static v1.5.0 [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] [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ordered_skiplist.rs:603:17 [INFO] [stdout] | [INFO] [stdout] 603 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 603 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/skiplist.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 458 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/skiplist.rs:475:21 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 475 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/skiplist.rs:499:18 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn range(&self, min: Bound, max: Bound) -> Iter { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^^^^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/skipmap.rs:486:17 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 486 | pub fn iter(&self) -> Iter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/skipmap.rs:506:21 [INFO] [stdout] | [INFO] [stdout] 506 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 506 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/skipmap.rs:524:17 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn keys(&self) -> Keys { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 524 | pub fn keys(&self) -> Keys<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/skipmap.rs:541:19 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn values(&self) -> Values { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 541 | pub fn values(&self) -> Values<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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" "cefe44954109ab1ca3ef91fe7a8c2471fd22a1b5648889dcf80c44745d62d40a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cefe44954109ab1ca3ef91fe7a8c2471fd22a1b5648889dcf80c44745d62d40a", kill_on_drop: false }` [INFO] [stdout] cefe44954109ab1ca3ef91fe7a8c2471fd22a1b5648889dcf80c44745d62d40a