[INFO] cloning repository https://github.com/tickbh/algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tickbh/algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftickbh%2Falgorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftickbh%2Falgorithm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b912ad541ab5b8626ab56ef260cec2c70afdb9ef [INFO] checking tickbh/algorithm against try#3c75d5844aa65b4aa19243ac44ceda49fe4e61ca for pr-143545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftickbh%2Falgorithm" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tickbh/algorithm [INFO] finished tweaking git repo https://github.com/tickbh/algorithm [INFO] tweaked toml for git repo https://github.com/tickbh/algorithm written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tickbh/algorithm on toolchain 3c75d5844aa65b4aa19243ac44ceda49fe4e61ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tickbh/algorithm 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" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded algorithm-macro v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b52abb74a576b818959e96878fca5cc1d88fe23ddb7f871d9912cb19d8a0f280 [INFO] running `Command { std: "docker" "start" "-a" "b52abb74a576b818959e96878fca5cc1d88fe23ddb7f871d9912cb19d8a0f280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b52abb74a576b818959e96878fca5cc1d88fe23ddb7f871d9912cb19d8a0f280", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b52abb74a576b818959e96878fca5cc1d88fe23ddb7f871d9912cb19d8a0f280", kill_on_drop: false }` [INFO] [stdout] b52abb74a576b818959e96878fca5cc1d88fe23ddb7f871d9912cb19d8a0f280 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68eaa351834a9a666c8986f8705108140d44fd702924d3b9dd17797069b337a5 [INFO] running `Command { std: "docker" "start" "-a" "68eaa351834a9a666c8986f8705108140d44fd702924d3b9dd17797069b337a5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking syn v2.0.74 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking algorithm-macro v0.1.0 (/opt/rustwide/workdir/algorithm-macro) [INFO] [stderr] Compiling algorithm-macro v0.1.0 [INFO] [stderr] Checking algorithm v0.1.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ttl_hashmap::TtlHashMap` [INFO] [stdout] --> src/map/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use ttl_hashmap::TtlHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ttl_hashmap::TtlHashMap` [INFO] [stdout] --> src/map/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use ttl_hashmap::TtlHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TtlHashMap` is never constructed [INFO] [stdout] --> src/map/ttl_hashmap.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct TtlHashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | rank += (*backward).levels[0].span; [INFO] [stdout] | ^^--------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | rank += (*backward).levels[0].span; [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] 38 | rank += (&(*backward).levels)[0].span; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | let next = (*self.header).levels[0].forward; [INFO] [stdout] | ^^-----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | let next = (*self.header).levels[0].forward; [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] 87 | let next = (&(*self.header).levels)[0].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | (*self.header).levels[i].forward = ptr::null_mut(); [INFO] [stdout] | ^^-----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | (*self.header).levels[i].forward = ptr::null_mut(); [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] 116 | (&mut (*self.header).levels)[i].forward = ptr::null_mut(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | (*self.header).levels[i].span = 0; [INFO] [stdout] | ^^-----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | (*self.header).levels[i].span = 0; [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] 117 | (&mut (*self.header).levels)[i].span = 0; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:172:23 [INFO] [stdout] | [INFO] [stdout] 172 | while (*x).levels[i].forward != ptr::null_mut() [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:172:23 [INFO] [stdout] | [INFO] [stdout] 172 | while (*x).levels[i].forward != ptr::null_mut() [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] 172 | while (&(*x).levels)[i].forward != ptr::null_mut() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | && (*(*x).levels[i].forward).score < score [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | && (*(*x).levels[i].forward).score < score [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] 173 | && (*(&(*x).levels)[i].forward).score < score [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | rank[i] += (*x).levels[i].span; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | rank[i] += (*x).levels[i].span; [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] 175 | rank[i] += (&(*x).levels)[i].span; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | x = (*x).levels[i].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | x = (*x).levels[i].forward; [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] 176 | x = (&(*x).levels)[i].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | (*update[i]).levels[i].span = self.length; [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | (*update[i]).levels[i].span = self.length; [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] 190 | (&mut (*update[i]).levels)[i].span = self.length; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:200:42 [INFO] [stdout] | [INFO] [stdout] 200 | (*x).levels[i].forward = (*update[i]).levels[i].forward; [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:200:42 [INFO] [stdout] | [INFO] [stdout] 200 | (*x).levels[i].forward = (*update[i]).levels[i].forward; [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] 200 | (*x).levels[i].forward = (&(*update[i]).levels)[i].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | (*x).levels[i].forward = (*update[i]).levels[i].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | (*x).levels[i].forward = (*update[i]).levels[i].forward; [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] 200 | (&mut (*x).levels)[i].forward = (*update[i]).levels[i].forward; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | (*update[i]).levels[i].forward = x; [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | (*update[i]).levels[i].forward = x; [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] 201 | (&mut (*update[i]).levels)[i].forward = x; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:203:39 [INFO] [stdout] | [INFO] [stdout] 203 | (*x).levels[i].span = (*update[i]).levels[i].span - (rank[0] - rank[i]); [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:203:39 [INFO] [stdout] | [INFO] [stdout] 203 | (*x).levels[i].span = (*update[i]).levels[i].span - (rank[0] - rank[i]); [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] 203 | (*x).levels[i].span = (&(*update[i]).levels)[i].span - (rank[0] - rank[i]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | (*x).levels[i].span = (*update[i]).levels[i].span - (rank[0] - rank[i]); [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | (*x).levels[i].span = (*update[i]).levels[i].span - (rank[0] - rank[i]); [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] 203 | (&mut (*x).levels)[i].span = (*update[i]).levels[i].span - (rank[0] - rank[i]); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | (*update[i]).levels[i].span = (rank[0] - rank[i]) + 1; [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | (*update[i]).levels[i].span = (rank[0] - rank[i]) + 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] 204 | (&mut (*update[i]).levels)[i].span = (rank[0] - rank[i]) + 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/arr/skip_list.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | (*update[i]).levels[i].span += 1; [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | (*update[i]).levels[i].span += 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] 208 | (&mut (*update[i]).levels)[i].span += 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/arr/skip_list.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 216 | if (*x).levels[0].forward != ptr::null_mut() { [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 216 | if (*x).levels[0].forward != ptr::null_mut() { [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] 216 | if (&(*x).levels)[0].forward != ptr::null_mut() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | (*(*x).levels[0].forward).backward = x; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | (*(*x).levels[0].forward).backward = x; [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] 217 | (*(&mut (*x).levels)[0].forward).backward = x; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | while (*x).levels[i].forward != ptr::null_mut() [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | while (*x).levels[i].forward != ptr::null_mut() [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] 247 | while (&(*x).levels)[i].forward != ptr::null_mut() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:248:27 [INFO] [stdout] | [INFO] [stdout] 248 | && &(*(*x).levels[i].forward).score < cur_score [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:248:27 [INFO] [stdout] | [INFO] [stdout] 248 | && &(*(*x).levels[i].forward).score < cur_score [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] 248 | && &(*(&(*x).levels)[i].forward).score < cur_score [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | rank[i] += (*x).levels[i].span; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | rank[i] += (*x).levels[i].span; [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] 250 | rank[i] += (&(*x).levels)[i].span; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | x = (*x).levels[i].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | x = (*x).levels[i].forward; [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] 251 | x = (&(*x).levels)[i].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | x = (*x).levels[0].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | x = (*x).levels[0].forward; [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] 255 | x = (&(*x).levels)[0].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | && ((*x).levels[0].forward.is_null() || (*(*x).levels[0].forward).score < new_score) [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | && ((*x).levels[0].forward.is_null() || (*(*x).levels[0].forward).score < new_score) [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] 260 | && ((&(*x).levels)[0].forward.is_null() || (*(*x).levels[0].forward).score < new_score) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:260:59 [INFO] [stdout] | [INFO] [stdout] 260 | && ((*x).levels[0].forward.is_null() || (*(*x).levels[0].forward).score < new_score) [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:260:59 [INFO] [stdout] | [INFO] [stdout] 260 | && ((*x).levels[0].forward.is_null() || (*(*x).levels[0].forward).score < new_score) [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] 260 | && ((*x).levels[0].forward.is_null() || (*(&(*x).levels)[0].forward).score < new_score) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | if (*update[i]).levels[i].forward == x { [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | if (*update[i]).levels[i].forward == x { [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] 276 | if (&(*update[i]).levels)[i].forward == x { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:277:52 [INFO] [stdout] | [INFO] [stdout] 277 | (*update[i]).levels[i].span += (*x).levels[i].span.saturating_sub(1); [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:277:52 [INFO] [stdout] | [INFO] [stdout] 277 | (*update[i]).levels[i].span += (*x).levels[i].span.saturating_sub(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] 277 | (*update[i]).levels[i].span += (&(*x).levels)[i].span.saturating_sub(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/arr/skip_list.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | (*update[i]).levels[i].span += (*x).levels[i].span.saturating_sub(1); [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | (*update[i]).levels[i].span += (*x).levels[i].span.saturating_sub(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] 277 | (&mut (*update[i]).levels)[i].span += (*x).levels[i].span.saturating_sub(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/arr/skip_list.rs:278:54 [INFO] [stdout] | [INFO] [stdout] 278 | (*update[i]).levels[i].forward = (*x).levels[i].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:278:54 [INFO] [stdout] | [INFO] [stdout] 278 | (*update[i]).levels[i].forward = (*x).levels[i].forward; [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] 278 | (*update[i]).levels[i].forward = (&(*x).levels)[i].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | (*update[i]).levels[i].forward = (*x).levels[i].forward; [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | (*update[i]).levels[i].forward = (*x).levels[i].forward; [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] 278 | (&mut (*update[i]).levels)[i].forward = (*x).levels[i].forward; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:280:51 [INFO] [stdout] | [INFO] [stdout] 280 | (*update[i]).levels[i].span = (*update[i]).levels[i].span.saturating_sub(1); [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:280:51 [INFO] [stdout] | [INFO] [stdout] 280 | (*update[i]).levels[i].span = (*update[i]).levels[i].span.saturating_sub(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] 280 | (*update[i]).levels[i].span = (&(*update[i]).levels)[i].span.saturating_sub(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/arr/skip_list.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | (*update[i]).levels[i].span = (*update[i]).levels[i].span.saturating_sub(1); [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | (*update[i]).levels[i].span = (*update[i]).levels[i].span.saturating_sub(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] 280 | (&mut (*update[i]).levels)[i].span = (*update[i]).levels[i].span.saturating_sub(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/arr/skip_list.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | if (*x).levels[0].forward != ptr::null_mut() { [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | if (*x).levels[0].forward != ptr::null_mut() { [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] 284 | if (&(*x).levels)[0].forward != ptr::null_mut() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | (*(*x).levels[0].forward).backward = (*x).backward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | (*(*x).levels[0].forward).backward = (*x).backward; [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] 285 | (*(&mut (*x).levels)[0].forward).backward = (*x).backward; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:290:37 [INFO] [stdout] | [INFO] [stdout] 290 | while self.level > 1 && (*self.header).levels[self.level - 1].forward.is_null() { [INFO] [stdout] | ^^-----------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:290:37 [INFO] [stdout] | [INFO] [stdout] 290 | while self.level > 1 && (*self.header).levels[self.level - 1].forward.is_null() { [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] 290 | while self.level > 1 && (&(*self.header).levels)[self.level - 1].forward.is_null() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:319:24 [INFO] [stdout] | [INFO] [stdout] 319 | while !(*x).levels[i].forward.is_null() && &(*(*x).levels[i].forward).score <= score [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:319:24 [INFO] [stdout] | [INFO] [stdout] 319 | while !(*x).levels[i].forward.is_null() && &(*(*x).levels[i].forward).score <= score [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] 319 | while !(&(*x).levels)[i].forward.is_null() && &(*(*x).levels[i].forward).score <= score [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:319:63 [INFO] [stdout] | [INFO] [stdout] 319 | while !(*x).levels[i].forward.is_null() && &(*(*x).levels[i].forward).score <= score [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:319:63 [INFO] [stdout] | [INFO] [stdout] 319 | while !(*x).levels[i].forward.is_null() && &(*(*x).levels[i].forward).score <= score [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] 319 | while !(*x).levels[i].forward.is_null() && &(*(&(*x).levels)[i].forward).score <= score [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | rank += (*x).levels[i].span; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | rank += (*x).levels[i].span; [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] 321 | rank += (&(*x).levels)[i].span; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:322:25 [INFO] [stdout] | [INFO] [stdout] 322 | x = (*x).levels[i].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:322:25 [INFO] [stdout] | [INFO] [stdout] 322 | x = (*x).levels[i].forward; [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] 322 | x = (&(*x).levels)[i].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:338:24 [INFO] [stdout] | [INFO] [stdout] 338 | while !(*x).levels[i].forward.is_null() && (traversed + (*x).levels[i].span) <= rank [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:338:24 [INFO] [stdout] | [INFO] [stdout] 338 | while !(*x).levels[i].forward.is_null() && (traversed + (*x).levels[i].span) <= rank [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] 338 | while !(&(*x).levels)[i].forward.is_null() && (traversed + (*x).levels[i].span) <= rank [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:338:73 [INFO] [stdout] | [INFO] [stdout] 338 | while !(*x).levels[i].forward.is_null() && (traversed + (*x).levels[i].span) <= rank [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:338:73 [INFO] [stdout] | [INFO] [stdout] 338 | while !(*x).levels[i].forward.is_null() && (traversed + (*x).levels[i].span) <= rank [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] 338 | while !(*x).levels[i].forward.is_null() && (traversed + (&(*x).levels)[i].span) <= rank [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:340:34 [INFO] [stdout] | [INFO] [stdout] 340 | traversed += (*x).levels[i].span; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:340:34 [INFO] [stdout] | [INFO] [stdout] 340 | traversed += (*x).levels[i].span; [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] 340 | traversed += (&(*x).levels)[i].span; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:341:25 [INFO] [stdout] | [INFO] [stdout] 341 | x = (*x).levels[i].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:341:25 [INFO] [stdout] | [INFO] [stdout] 341 | x = (*x).levels[i].forward; [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] 341 | x = (&(*x).levels)[i].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:374:23 [INFO] [stdout] | [INFO] [stdout] 374 | while (*x).levels[i].forward != ptr::null_mut() [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:374:23 [INFO] [stdout] | [INFO] [stdout] 374 | while (*x).levels[i].forward != ptr::null_mut() [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] 374 | while (&(*x).levels)[i].forward != ptr::null_mut() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:375:27 [INFO] [stdout] | [INFO] [stdout] 375 | && &(*(*x).levels[i].forward).score < score [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:375:27 [INFO] [stdout] | [INFO] [stdout] 375 | && &(*(*x).levels[i].forward).score < score [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] 375 | && &(*(&(*x).levels)[i].forward).score < score [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:377:25 [INFO] [stdout] | [INFO] [stdout] 377 | x = (*x).levels[i].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:377:25 [INFO] [stdout] | [INFO] [stdout] 377 | x = (*x).levels[i].forward; [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] 377 | x = (&(*x).levels)[i].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | x = (*x).levels[0].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | x = (*x).levels[0].forward; [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] 381 | x = (&(*x).levels)[0].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | let first = unsafe { (*self.header).levels[0].forward }; [INFO] [stdout] | ^^-----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | let first = unsafe { (*self.header).levels[0].forward }; [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] 416 | let first = unsafe { (&(*self.header).levels)[0].forward }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:451:27 [INFO] [stdout] | [INFO] [stdout] 451 | self.header = (*self.header).levels[0].forward; [INFO] [stdout] | ^^-----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:451:27 [INFO] [stdout] | [INFO] [stdout] 451 | self.header = (*self.header).levels[0].forward; [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] 451 | self.header = (&(*self.header).levels)[0].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cache/lru.rs:720:38 [INFO] [stdout] | [INFO] [stdout] 720 | pub fn get_or_insert_mut<'a, F>(&'a mut self, k: K, f: F) -> &mut 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] 720 | pub fn get_or_insert_mut<'a, F>(&'a mut self, k: K, f: F) -> &'a mut 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/map/zset.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn iter(&self) -> ZSetIter { [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] 271 | pub fn iter(&self) -> ZSetIter<'_, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/timer/timer_wheel.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | if !(*wheel).slots[index as usize].is_empty() { [INFO] [stdout] | ^^-----^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut OneTimerWheel` [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/timer/timer_wheel.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | if !(*wheel).slots[index as usize].is_empty() { [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] 513 | if !(&(*wheel).slots)[index as usize].is_empty() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree/rbtree.rs:1407:17 [INFO] [stdout] | [INFO] [stdout] 1407 | 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] 1407 | 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/tree/rbtree.rs:1413:19 [INFO] [stdout] | [INFO] [stdout] 1413 | 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] 1413 | 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/tree/rbtree.rs:1419:23 [INFO] [stdout] | [INFO] [stdout] 1419 | pub fn values_mut(&mut self) -> ValuesMut { [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] 1419 | pub fn values_mut(&mut self) -> ValuesMut<'_, 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/tree/rbtree.rs:1427:17 [INFO] [stdout] | [INFO] [stdout] 1427 | 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] 1427 | 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/tree/rbtree.rs:1438:21 [INFO] [stdout] | [INFO] [stdout] 1438 | 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] 1438 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `algorithm` (lib) due to 50 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `TtlHashMap` is never constructed [INFO] [stdout] --> src/map/ttl_hashmap.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct TtlHashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | rank += (*backward).levels[0].span; [INFO] [stdout] | ^^--------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | rank += (*backward).levels[0].span; [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] 38 | rank += (&(*backward).levels)[0].span; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | let next = (*self.header).levels[0].forward; [INFO] [stdout] | ^^-----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | let next = (*self.header).levels[0].forward; [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] 87 | let next = (&(*self.header).levels)[0].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | (*self.header).levels[i].forward = ptr::null_mut(); [INFO] [stdout] | ^^-----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | (*self.header).levels[i].forward = ptr::null_mut(); [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] 116 | (&mut (*self.header).levels)[i].forward = ptr::null_mut(); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | (*self.header).levels[i].span = 0; [INFO] [stdout] | ^^-----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | (*self.header).levels[i].span = 0; [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] 117 | (&mut (*self.header).levels)[i].span = 0; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:172:23 [INFO] [stdout] | [INFO] [stdout] 172 | while (*x).levels[i].forward != ptr::null_mut() [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:172:23 [INFO] [stdout] | [INFO] [stdout] 172 | while (*x).levels[i].forward != ptr::null_mut() [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] 172 | while (&(*x).levels)[i].forward != ptr::null_mut() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | && (*(*x).levels[i].forward).score < score [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | && (*(*x).levels[i].forward).score < score [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] 173 | && (*(&(*x).levels)[i].forward).score < score [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | rank[i] += (*x).levels[i].span; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | rank[i] += (*x).levels[i].span; [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] 175 | rank[i] += (&(*x).levels)[i].span; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | x = (*x).levels[i].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 176 | x = (*x).levels[i].forward; [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] 176 | x = (&(*x).levels)[i].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | (*update[i]).levels[i].span = self.length; [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | (*update[i]).levels[i].span = self.length; [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] 190 | (&mut (*update[i]).levels)[i].span = self.length; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:200:42 [INFO] [stdout] | [INFO] [stdout] 200 | (*x).levels[i].forward = (*update[i]).levels[i].forward; [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:200:42 [INFO] [stdout] | [INFO] [stdout] 200 | (*x).levels[i].forward = (*update[i]).levels[i].forward; [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] 200 | (*x).levels[i].forward = (&(*update[i]).levels)[i].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | (*x).levels[i].forward = (*update[i]).levels[i].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | (*x).levels[i].forward = (*update[i]).levels[i].forward; [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] 200 | (&mut (*x).levels)[i].forward = (*update[i]).levels[i].forward; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | (*update[i]).levels[i].forward = x; [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | (*update[i]).levels[i].forward = x; [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] 201 | (&mut (*update[i]).levels)[i].forward = x; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:203:39 [INFO] [stdout] | [INFO] [stdout] 203 | (*x).levels[i].span = (*update[i]).levels[i].span - (rank[0] - rank[i]); [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:203:39 [INFO] [stdout] | [INFO] [stdout] 203 | (*x).levels[i].span = (*update[i]).levels[i].span - (rank[0] - rank[i]); [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] 203 | (*x).levels[i].span = (&(*update[i]).levels)[i].span - (rank[0] - rank[i]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | (*x).levels[i].span = (*update[i]).levels[i].span - (rank[0] - rank[i]); [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | (*x).levels[i].span = (*update[i]).levels[i].span - (rank[0] - rank[i]); [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] 203 | (&mut (*x).levels)[i].span = (*update[i]).levels[i].span - (rank[0] - rank[i]); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | (*update[i]).levels[i].span = (rank[0] - rank[i]) + 1; [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | (*update[i]).levels[i].span = (rank[0] - rank[i]) + 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] 204 | (&mut (*update[i]).levels)[i].span = (rank[0] - rank[i]) + 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/arr/skip_list.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | (*update[i]).levels[i].span += 1; [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | (*update[i]).levels[i].span += 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] 208 | (&mut (*update[i]).levels)[i].span += 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/arr/skip_list.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 216 | if (*x).levels[0].forward != ptr::null_mut() { [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:216:16 [INFO] [stdout] | [INFO] [stdout] 216 | if (*x).levels[0].forward != ptr::null_mut() { [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] 216 | if (&(*x).levels)[0].forward != ptr::null_mut() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | (*(*x).levels[0].forward).backward = x; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | (*(*x).levels[0].forward).backward = x; [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] 217 | (*(&mut (*x).levels)[0].forward).backward = x; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | while (*x).levels[i].forward != ptr::null_mut() [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | while (*x).levels[i].forward != ptr::null_mut() [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] 247 | while (&(*x).levels)[i].forward != ptr::null_mut() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:248:27 [INFO] [stdout] | [INFO] [stdout] 248 | && &(*(*x).levels[i].forward).score < cur_score [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:248:27 [INFO] [stdout] | [INFO] [stdout] 248 | && &(*(*x).levels[i].forward).score < cur_score [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] 248 | && &(*(&(*x).levels)[i].forward).score < cur_score [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | rank[i] += (*x).levels[i].span; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | rank[i] += (*x).levels[i].span; [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] 250 | rank[i] += (&(*x).levels)[i].span; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | x = (*x).levels[i].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | x = (*x).levels[i].forward; [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] 251 | x = (&(*x).levels)[i].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | x = (*x).levels[0].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | x = (*x).levels[0].forward; [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] 255 | x = (&(*x).levels)[0].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | && ((*x).levels[0].forward.is_null() || (*(*x).levels[0].forward).score < new_score) [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | && ((*x).levels[0].forward.is_null() || (*(*x).levels[0].forward).score < new_score) [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] 260 | && ((&(*x).levels)[0].forward.is_null() || (*(*x).levels[0].forward).score < new_score) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:260:59 [INFO] [stdout] | [INFO] [stdout] 260 | && ((*x).levels[0].forward.is_null() || (*(*x).levels[0].forward).score < new_score) [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:260:59 [INFO] [stdout] | [INFO] [stdout] 260 | && ((*x).levels[0].forward.is_null() || (*(*x).levels[0].forward).score < new_score) [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] 260 | && ((*x).levels[0].forward.is_null() || (*(&(*x).levels)[0].forward).score < new_score) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | if (*update[i]).levels[i].forward == x { [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | if (*update[i]).levels[i].forward == x { [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] 276 | if (&(*update[i]).levels)[i].forward == x { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:277:52 [INFO] [stdout] | [INFO] [stdout] 277 | (*update[i]).levels[i].span += (*x).levels[i].span.saturating_sub(1); [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:277:52 [INFO] [stdout] | [INFO] [stdout] 277 | (*update[i]).levels[i].span += (*x).levels[i].span.saturating_sub(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] 277 | (*update[i]).levels[i].span += (&(*x).levels)[i].span.saturating_sub(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/arr/skip_list.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | (*update[i]).levels[i].span += (*x).levels[i].span.saturating_sub(1); [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | (*update[i]).levels[i].span += (*x).levels[i].span.saturating_sub(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] 277 | (&mut (*update[i]).levels)[i].span += (*x).levels[i].span.saturating_sub(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/arr/skip_list.rs:278:54 [INFO] [stdout] | [INFO] [stdout] 278 | (*update[i]).levels[i].forward = (*x).levels[i].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:278:54 [INFO] [stdout] | [INFO] [stdout] 278 | (*update[i]).levels[i].forward = (*x).levels[i].forward; [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] 278 | (*update[i]).levels[i].forward = (&(*x).levels)[i].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | (*update[i]).levels[i].forward = (*x).levels[i].forward; [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | (*update[i]).levels[i].forward = (*x).levels[i].forward; [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] 278 | (&mut (*update[i]).levels)[i].forward = (*x).levels[i].forward; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:280:51 [INFO] [stdout] | [INFO] [stdout] 280 | (*update[i]).levels[i].span = (*update[i]).levels[i].span.saturating_sub(1); [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:280:51 [INFO] [stdout] | [INFO] [stdout] 280 | (*update[i]).levels[i].span = (*update[i]).levels[i].span.saturating_sub(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] 280 | (*update[i]).levels[i].span = (&(*update[i]).levels)[i].span.saturating_sub(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/arr/skip_list.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | (*update[i]).levels[i].span = (*update[i]).levels[i].span.saturating_sub(1); [INFO] [stdout] | ^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | (*update[i]).levels[i].span = (*update[i]).levels[i].span.saturating_sub(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] 280 | (&mut (*update[i]).levels)[i].span = (*update[i]).levels[i].span.saturating_sub(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/arr/skip_list.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | if (*x).levels[0].forward != ptr::null_mut() { [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | if (*x).levels[0].forward != ptr::null_mut() { [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] 284 | if (&(*x).levels)[0].forward != ptr::null_mut() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | (*(*x).levels[0].forward).backward = (*x).backward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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: `&mut Vec>` [INFO] [stdout] --> src/arr/skip_list.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | (*(*x).levels[0].forward).backward = (*x).backward; [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] 285 | (*(&mut (*x).levels)[0].forward).backward = (*x).backward; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:290:37 [INFO] [stdout] | [INFO] [stdout] 290 | while self.level > 1 && (*self.header).levels[self.level - 1].forward.is_null() { [INFO] [stdout] | ^^-----------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:290:37 [INFO] [stdout] | [INFO] [stdout] 290 | while self.level > 1 && (*self.header).levels[self.level - 1].forward.is_null() { [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] 290 | while self.level > 1 && (&(*self.header).levels)[self.level - 1].forward.is_null() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:319:24 [INFO] [stdout] | [INFO] [stdout] 319 | while !(*x).levels[i].forward.is_null() && &(*(*x).levels[i].forward).score <= score [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:319:24 [INFO] [stdout] | [INFO] [stdout] 319 | while !(*x).levels[i].forward.is_null() && &(*(*x).levels[i].forward).score <= score [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] 319 | while !(&(*x).levels)[i].forward.is_null() && &(*(*x).levels[i].forward).score <= score [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:319:63 [INFO] [stdout] | [INFO] [stdout] 319 | while !(*x).levels[i].forward.is_null() && &(*(*x).levels[i].forward).score <= score [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:319:63 [INFO] [stdout] | [INFO] [stdout] 319 | while !(*x).levels[i].forward.is_null() && &(*(*x).levels[i].forward).score <= score [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] 319 | while !(*x).levels[i].forward.is_null() && &(*(&(*x).levels)[i].forward).score <= score [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | rank += (*x).levels[i].span; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | rank += (*x).levels[i].span; [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] 321 | rank += (&(*x).levels)[i].span; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:322:25 [INFO] [stdout] | [INFO] [stdout] 322 | x = (*x).levels[i].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:322:25 [INFO] [stdout] | [INFO] [stdout] 322 | x = (*x).levels[i].forward; [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] 322 | x = (&(*x).levels)[i].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:338:24 [INFO] [stdout] | [INFO] [stdout] 338 | while !(*x).levels[i].forward.is_null() && (traversed + (*x).levels[i].span) <= rank [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:338:24 [INFO] [stdout] | [INFO] [stdout] 338 | while !(*x).levels[i].forward.is_null() && (traversed + (*x).levels[i].span) <= rank [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] 338 | while !(&(*x).levels)[i].forward.is_null() && (traversed + (*x).levels[i].span) <= rank [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:338:73 [INFO] [stdout] | [INFO] [stdout] 338 | while !(*x).levels[i].forward.is_null() && (traversed + (*x).levels[i].span) <= rank [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:338:73 [INFO] [stdout] | [INFO] [stdout] 338 | while !(*x).levels[i].forward.is_null() && (traversed + (*x).levels[i].span) <= rank [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] 338 | while !(*x).levels[i].forward.is_null() && (traversed + (&(*x).levels)[i].span) <= rank [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:340:34 [INFO] [stdout] | [INFO] [stdout] 340 | traversed += (*x).levels[i].span; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:340:34 [INFO] [stdout] | [INFO] [stdout] 340 | traversed += (*x).levels[i].span; [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] 340 | traversed += (&(*x).levels)[i].span; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:341:25 [INFO] [stdout] | [INFO] [stdout] 341 | x = (*x).levels[i].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:341:25 [INFO] [stdout] | [INFO] [stdout] 341 | x = (*x).levels[i].forward; [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] 341 | x = (&(*x).levels)[i].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:374:23 [INFO] [stdout] | [INFO] [stdout] 374 | while (*x).levels[i].forward != ptr::null_mut() [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:374:23 [INFO] [stdout] | [INFO] [stdout] 374 | while (*x).levels[i].forward != ptr::null_mut() [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] 374 | while (&(*x).levels)[i].forward != ptr::null_mut() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:375:27 [INFO] [stdout] | [INFO] [stdout] 375 | && &(*(*x).levels[i].forward).score < score [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:375:27 [INFO] [stdout] | [INFO] [stdout] 375 | && &(*(*x).levels[i].forward).score < score [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] 375 | && &(*(&(*x).levels)[i].forward).score < score [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:377:25 [INFO] [stdout] | [INFO] [stdout] 377 | x = (*x).levels[i].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:377:25 [INFO] [stdout] | [INFO] [stdout] 377 | x = (*x).levels[i].forward; [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] 377 | x = (&(*x).levels)[i].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | x = (*x).levels[0].forward; [INFO] [stdout] | ^^-^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | x = (*x).levels[0].forward; [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] 381 | x = (&(*x).levels)[0].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | let first = unsafe { (*self.header).levels[0].forward }; [INFO] [stdout] | ^^-----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:416:30 [INFO] [stdout] | [INFO] [stdout] 416 | let first = unsafe { (*self.header).levels[0].forward }; [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] 416 | let first = unsafe { (&(*self.header).levels)[0].forward }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/arr/skip_list.rs:451:27 [INFO] [stdout] | [INFO] [stdout] 451 | self.header = (*self.header).levels[0].forward; [INFO] [stdout] | ^^-----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut 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/arr/skip_list.rs:451:27 [INFO] [stdout] | [INFO] [stdout] 451 | self.header = (*self.header).levels[0].forward; [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] 451 | self.header = (&(*self.header).levels)[0].forward; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cache/lru.rs:720:38 [INFO] [stdout] | [INFO] [stdout] 720 | pub fn get_or_insert_mut<'a, F>(&'a mut self, k: K, f: F) -> &mut 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] 720 | pub fn get_or_insert_mut<'a, F>(&'a mut self, k: K, f: F) -> &'a mut 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/map/zset.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn iter(&self) -> ZSetIter { [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] 271 | pub fn iter(&self) -> ZSetIter<'_, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/timer/timer_wheel.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | if !(*wheel).slots[index as usize].is_empty() { [INFO] [stdout] | ^^-----^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut OneTimerWheel` [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/timer/timer_wheel.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | if !(*wheel).slots[index as usize].is_empty() { [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] 513 | if !(&(*wheel).slots)[index as usize].is_empty() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree/rbtree.rs:1407:17 [INFO] [stdout] | [INFO] [stdout] 1407 | 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] 1407 | 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/tree/rbtree.rs:1413:19 [INFO] [stdout] | [INFO] [stdout] 1413 | 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] 1413 | 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/tree/rbtree.rs:1419:23 [INFO] [stdout] | [INFO] [stdout] 1419 | pub fn values_mut(&mut self) -> ValuesMut { [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] 1419 | pub fn values_mut(&mut self) -> ValuesMut<'_, 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/tree/rbtree.rs:1427:17 [INFO] [stdout] | [INFO] [stdout] 1427 | 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] 1427 | 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/tree/rbtree.rs:1438:21 [INFO] [stdout] | [INFO] [stdout] 1438 | 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] 1438 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `algorithm` (lib test) due to 50 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "68eaa351834a9a666c8986f8705108140d44fd702924d3b9dd17797069b337a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68eaa351834a9a666c8986f8705108140d44fd702924d3b9dd17797069b337a5", kill_on_drop: false }` [INFO] [stdout] 68eaa351834a9a666c8986f8705108140d44fd702924d3b9dd17797069b337a5