[INFO] fetching crate skippy-rs 0.0.0-alpha.4... [INFO] building skippy-rs-0.0.0-alpha.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate skippy-rs 0.0.0-alpha.4 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate skippy-rs 0.0.0-alpha.4 [INFO] finished tweaking crates.io crate skippy-rs 0.0.0-alpha.4 [INFO] tweaked toml for crates.io crate skippy-rs 0.0.0-alpha.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate skippy-rs 0.0.0-alpha.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded haphazard v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4dd3231d73eda031a20c18eee1d026f13a10a5da4399290cb5fc51e80795c04 [INFO] running `Command { std: "docker" "start" "-a" "c4dd3231d73eda031a20c18eee1d026f13a10a5da4399290cb5fc51e80795c04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4dd3231d73eda031a20c18eee1d026f13a10a5da4399290cb5fc51e80795c04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4dd3231d73eda031a20c18eee1d026f13a10a5da4399290cb5fc51e80795c04", kill_on_drop: false }` [INFO] [stdout] c4dd3231d73eda031a20c18eee1d026f13a10a5da4399290cb5fc51e80795c04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 11a51bc2c093c370501a419a8d5218e0aec53fce53c54858760fc8b4a9350399 [INFO] running `Command { std: "docker" "start" "-a" "11a51bc2c093c370501a419a8d5218e0aec53fce53c54858760fc8b4a9350399", kill_on_drop: false }` [INFO] [stderr] Compiling haphazard v0.1.8 [INFO] [stderr] Compiling skippy-rs v0.0.0-alpha.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/internal/utils/node.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Iterator` [INFO] [stdout] --> src/internal/sync/iter.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use core::iter::{FromIterator, IntoIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `traverse_with` is never used [INFO] [stdout] --> src/internal/skiplist.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 8 | / impl<'domain, K, V> SkipList<'domain, K, V> [INFO] [stdout] 9 | | where [INFO] [stdout] 10 | | K: Ord, [INFO] [stdout] | |___________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | fn traverse_with(&self, mut f: F) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tag`, `try_tag`, and `as_hpz` are never used [INFO] [stdout] --> src/internal/sync/tagged.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl MaybeTagged { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub(crate) fn tag(&self, tag: usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn try_tag(&self, expected: *mut T, tag: usize) -> Result<*mut T, *mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub(crate) fn as_hpz(&self) -> &AtomicPtr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refs` is never used [INFO] [stdout] --> src/internal/utils/node.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 75 | impl Node { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub(crate) fn refs(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/internal/utils/padded.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 40 | impl Padded { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub(crate) fn into_inner(self) -> 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/collections/priority_queue.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn peek(&'a self) -> Option<&V> { [INFO] [stdout] | ^^ -- the lifetime gets resolved as `'a` [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 consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 37 | pub fn peek(&'a self) -> Option<&'a V> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/internal/skiplist.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | skiplist_basics!(SkipList); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internal/utils/mod.rs:150:43 [INFO] [stdout] | [INFO] [stdout] 150 | let mut node = unsafe { (*self.head.as_ptr()).levels[0].load_ptr() }; [INFO] [stdout] | ------------------ this raw pointer has type `*mut Head` [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: `&Levels` [INFO] [stdout] --> src/internal/utils/mod.rs:150:41 [INFO] [stdout] | [INFO] [stdout] 150 | let mut node = unsafe { (*self.head.as_ptr()).levels[0].load_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internal/skiplist.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | skiplist_basics!(SkipList); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] = note: this error originates in the macro `skiplist_basics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] --> src/internal/utils/mod.rs:150:41 [INFO] [stdout] | [INFO] [stdout] 150 | let mut node = unsafe { (&(*self.head.as_ptr()).levels)[0].load_ptr() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/internal/skiplist.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | skiplist_basics!(SkipList); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internal/utils/mod.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | node = (*temp).levels[0].load_ptr(); [INFO] [stdout] | ---- this raw pointer has type `*mut Node` [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: `&Levels` [INFO] [stdout] --> src/internal/utils/mod.rs:158:32 [INFO] [stdout] | [INFO] [stdout] 158 | node = (*temp).levels[0].load_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internal/skiplist.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | skiplist_basics!(SkipList); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `skiplist_basics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] --> src/internal/utils/mod.rs:158:32 [INFO] [stdout] | [INFO] [stdout] 158 | node = (&(*temp).levels)[0].load_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/internal/skiplist.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | (*new_node).levels[i].store_ptr(levels[i].load_ptr()); [INFO] [stdout] | ^^--------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [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: `&Levels` [INFO] [stdout] --> src/internal/skiplist.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | (*new_node).levels[i].store_ptr(levels[i].load_ptr()); [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] 57 | (&(*new_node).levels)[i].store_ptr(levels[i].load_ptr()); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/internal/skiplist.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | levels[i].store_ptr((*node).levels[i].load_ptr()); [INFO] [stdout] | ^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [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: `&Levels` [INFO] [stdout] --> src/internal/skiplist.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | levels[i].store_ptr((*node).levels[i].load_ptr()); [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] 113 | levels[i].store_ptr((&(*node).levels)[i].load_ptr()); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/internal/skiplist.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | let next = (*curr).levels[level].load_ptr(); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [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: `&Levels` [INFO] [stdout] --> src/internal/skiplist.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | let next = (*curr).levels[level].load_ptr(); [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] 123 | let next = (&(*curr).levels)[level].load_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/internal/skiplist.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | (*prev).levels[level].store_ptr(next); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [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: `&Levels` [INFO] [stdout] --> src/internal/skiplist.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | (*prev).levels[level].store_ptr(next); [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] 129 | (&(*prev).levels)[level].store_ptr(next); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/internal/skiplist.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | let mut next = (*curr).levels[level - 1].load_ptr(); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [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: `&Levels` [INFO] [stdout] --> src/internal/skiplist.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | let mut next = (*curr).levels[level - 1].load_ptr(); [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] 152 | let mut next = (&(*curr).levels)[level - 1].load_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/internal/skiplist.rs:154:39 [INFO] [stdout] | [INFO] [stdout] 154 | if !next.is_null() && (*next).levels[level - 1].load_tag() == 1 { [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [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: `&Levels` [INFO] [stdout] --> src/internal/skiplist.rs:154:39 [INFO] [stdout] | [INFO] [stdout] 154 | if !next.is_null() && (*next).levels[level - 1].load_tag() == 1 { [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] 154 | if !next.is_null() && (&(*next).levels)[level - 1].load_tag() == 1 { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/internal/skiplist.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | let next = (*curr).levels[level].load_ptr(); [INFO] [stdout] | ^^----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [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: `&Levels` [INFO] [stdout] --> src/internal/skiplist.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | let next = (*curr).levels[level].load_ptr(); [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] 167 | let next = (&(*curr).levels)[level].load_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/internal/skiplist.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | while !next.is_null() && (*next).levels[0].load_tag() == 1 { [INFO] [stdout] | ^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [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: `&Levels` [INFO] [stdout] --> src/internal/skiplist.rs:228:38 [INFO] [stdout] | [INFO] [stdout] 228 | while !next.is_null() && (*next).levels[0].load_tag() == 1 { [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] 228 | while !next.is_null() && (&(*next).levels)[0].load_tag() == 1 { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/internal/skiplist.rs:301:24 [INFO] [stdout] | [INFO] [stdout] 301 | curr = (*curr).levels[0].load_ptr(); [INFO] [stdout] | ^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [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: `&Levels` [INFO] [stdout] --> src/internal/skiplist.rs:301:24 [INFO] [stdout] | [INFO] [stdout] 301 | curr = (*curr).levels[0].load_ptr(); [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] 301 | curr = (&(*curr).levels)[0].load_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/internal/sync/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | skiplist_basics!(SkipList); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internal/utils/mod.rs:150:43 [INFO] [stdout] | [INFO] [stdout] 150 | let mut node = unsafe { (*self.head.as_ptr()).levels[0].load_ptr() }; [INFO] [stdout] | ------------------ this raw pointer has type `*mut Head` [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: `&Levels` [INFO] [stdout] --> src/internal/utils/mod.rs:150:41 [INFO] [stdout] | [INFO] [stdout] 150 | let mut node = unsafe { (*self.head.as_ptr()).levels[0].load_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internal/sync/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | skiplist_basics!(SkipList); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `skiplist_basics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] --> src/internal/utils/mod.rs:150:41 [INFO] [stdout] | [INFO] [stdout] 150 | let mut node = unsafe { (&(*self.head.as_ptr()).levels)[0].load_ptr() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/internal/sync/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | skiplist_basics!(SkipList); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internal/utils/mod.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | node = (*temp).levels[0].load_ptr(); [INFO] [stdout] | ---- this raw pointer has type `*mut Node` [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: `&Levels` [INFO] [stdout] --> src/internal/utils/mod.rs:158:32 [INFO] [stdout] | [INFO] [stdout] 158 | node = (*temp).levels[0].load_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internal/sync/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | skiplist_basics!(SkipList); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `skiplist_basics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] --> src/internal/utils/mod.rs:158:32 [INFO] [stdout] | [INFO] [stdout] 158 | node = (&(*temp).levels)[0].load_ptr(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/internal/sync/iter.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | self.next = unsafe { (*next).levels[0].load_ptr() }; [INFO] [stdout] | ^^----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [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: `&Levels` [INFO] [stdout] --> src/internal/sync/iter.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | self.next = unsafe { (*next).levels[0].load_ptr() }; [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] 101 | self.next = unsafe { (&(*next).levels)[0].load_ptr() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `skippy-rs` (lib) due to 14 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "11a51bc2c093c370501a419a8d5218e0aec53fce53c54858760fc8b4a9350399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11a51bc2c093c370501a419a8d5218e0aec53fce53c54858760fc8b4a9350399", kill_on_drop: false }` [INFO] [stdout] 11a51bc2c093c370501a419a8d5218e0aec53fce53c54858760fc8b4a9350399