[INFO] fetching crate rusty-leveldb-arc 2.0.0... [INFO] checking rusty-leveldb-arc-2.0.0 against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-1 [INFO] extracting crate rusty-leveldb-arc 2.0.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate rusty-leveldb-arc 2.0.0 [INFO] finished tweaking crates.io crate rusty-leveldb-arc 2.0.0 [INFO] tweaked toml for crates.io crate rusty-leveldb-arc 2.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty-leveldb-arc 2.0.0 on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] [stderr] Adding crc v1.8.1 (available: v3.4.0) [INFO] [stderr] Adding errno v0.2.8 (available: v0.3.14) [INFO] [stderr] Adding integer-encoding v3.0.4 (available: v4.1.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.10.0) [INFO] [stderr] Adding time-test v0.2.3 (available: v0.3.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded build_const v0.2.2 [INFO] [stderr] Downloaded integer-encoding v3.0.4 [INFO] [stderr] Downloaded crc v1.8.1 [INFO] [stderr] Downloaded bencher v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] baf9f84bdd1bb4167577ed080c15130875be350821fe59063149281ba31a5957 [INFO] running `Command { std: "docker" "start" "-a" "baf9f84bdd1bb4167577ed080c15130875be350821fe59063149281ba31a5957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "baf9f84bdd1bb4167577ed080c15130875be350821fe59063149281ba31a5957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baf9f84bdd1bb4167577ed080c15130875be350821fe59063149281ba31a5957", kill_on_drop: false }` [INFO] [stdout] baf9f84bdd1bb4167577ed080c15130875be350821fe59063149281ba31a5957 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6da8f9ba568801897a270a5c30337fb6b1cf25c0a74231721270e5aa9c6b4a92 [INFO] running `Command { std: "docker" "start" "-a" "6da8f9ba568801897a270a5c30337fb6b1cf25c0a74231721270e5aa9c6b4a92", kill_on_drop: false }` [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking integer-encoding v3.0.4 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking time-test v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rusty-leveldb-arc v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/cache.rs:350:52 [INFO] [stdout] | [INFO] [stdout] 350 | assert_eq!(lru._testing_head_ref().map(|r| (*r)).unwrap(), 244); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 350 - assert_eq!(lru._testing_head_ref().map(|r| (*r)).unwrap(), 244); [INFO] [stdout] 350 + assert_eq!(lru._testing_head_ref().map(|r| *r ).unwrap(), 244); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/cache.rs:354:52 [INFO] [stdout] | [INFO] [stdout] 354 | assert_eq!(lru._testing_head_ref().map(|r| (*r)).unwrap(), 56); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 354 - assert_eq!(lru._testing_head_ref().map(|r| (*r)).unwrap(), 56); [INFO] [stdout] 354 + assert_eq!(lru._testing_head_ref().map(|r| *r ).unwrap(), 56); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/cache.rs:358:52 [INFO] [stdout] | [INFO] [stdout] 358 | assert_eq!(lru._testing_head_ref().map(|r| (*r)).unwrap(), 244); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 358 - assert_eq!(lru._testing_head_ref().map(|r| (*r)).unwrap(), 244); [INFO] [stdout] 358 + assert_eq!(lru._testing_head_ref().map(|r| *r ).unwrap(), 244); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/cache.rs:362:52 [INFO] [stdout] | [INFO] [stdout] 362 | assert_eq!(lru._testing_head_ref().map(|r| (*r)).unwrap(), 22); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 362 - assert_eq!(lru._testing_head_ref().map(|r| (*r)).unwrap(), 22); [INFO] [stdout] 362 + assert_eq!(lru._testing_head_ref().map(|r| *r ).unwrap(), 22); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key_types.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn memtable_key(&self) -> MemtableKey { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn memtable_key(&self) -> MemtableKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key_types.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn user_key(&self) -> UserKey { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn user_key(&self) -> UserKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key_types.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn internal_key(&self) -> InternalKey { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | pub fn internal_key(&self) -> InternalKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/skipmap.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(next) = (*current).skips[level] { [INFO] [stdout] | ^^-------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Node` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/skipmap.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(next) = (*current).skips[level] { [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] 129 | if let Some(next) = (&(*current).skips)[level] { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/skipmap.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(next) = (*current).skips[level] { [INFO] [stdout] | ^^-------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Node` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/skipmap.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(next) = (*current).skips[level] { [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 | if let Some(next) = (&(*current).skips)[level] { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/skipmap.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(next) = (*current).skips[level] { [INFO] [stdout] | ^^-------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/skipmap.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(next) = (*current).skips[level] { [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] 221 | if let Some(next) = (&(*current).skips)[level] { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/skipmap.rs:259:36 [INFO] [stdout] | [INFO] [stdout] 259 | new.skips[i] = (*prev).skips[i]; [INFO] [stdout] | ^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/skipmap.rs:259:36 [INFO] [stdout] | [INFO] [stdout] 259 | new.skips[i] = (*prev).skips[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] 259 | new.skips[i] = (&(*prev).skips)[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/skipmap.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | (*prev).skips[i] = Some(newp); [INFO] [stdout] | ^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec>` [INFO] [stdout] --> src/skipmap.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | (*prev).skips[i] = Some(newp); [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 | (&mut (*prev).skips)[i] = Some(newp); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/skipmap.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe { replace(&mut (*current).next, Some(new)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 276 | unsafe { let _ = replace(&mut (*current).next, Some(new)); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/skipmap.rs:290:37 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(next) = (*current).skips[0].clone() { [INFO] [stdout] | ^^-------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Node` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/skipmap.rs:290:37 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(next) = (*current).skips[0].clone() { [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 | if let Some(next) = (&(*current).skips)[0].clone() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/write_batch.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn iter(&self) -> WriteBatchIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn iter(&self) -> WriteBatchIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-leveldb-arc` (lib) due to 6 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: value assigned to `seq` is never read [INFO] [stdout] --> src/version.rs:623:13 [INFO] [stdout] | [INFO] [stdout] 623 | seq += 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key_types.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn memtable_key(&self) -> MemtableKey { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn memtable_key(&self) -> MemtableKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key_types.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn user_key(&self) -> UserKey { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn user_key(&self) -> UserKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/key_types.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn internal_key(&self) -> InternalKey { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | pub fn internal_key(&self) -> InternalKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/skipmap.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(next) = (*current).skips[level] { [INFO] [stdout] | ^^-------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Node` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/skipmap.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(next) = (*current).skips[level] { [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] 129 | if let Some(next) = (&(*current).skips)[level] { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/skipmap.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(next) = (*current).skips[level] { [INFO] [stdout] | ^^-------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Node` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/skipmap.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | if let Some(next) = (*current).skips[level] { [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 | if let Some(next) = (&(*current).skips)[level] { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/skipmap.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(next) = (*current).skips[level] { [INFO] [stdout] | ^^-------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/skipmap.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | if let Some(next) = (*current).skips[level] { [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] 221 | if let Some(next) = (&(*current).skips)[level] { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/skipmap.rs:259:36 [INFO] [stdout] | [INFO] [stdout] 259 | new.skips[i] = (*prev).skips[i]; [INFO] [stdout] | ^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/skipmap.rs:259:36 [INFO] [stdout] | [INFO] [stdout] 259 | new.skips[i] = (*prev).skips[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] 259 | new.skips[i] = (&(*prev).skips)[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/skipmap.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | (*prev).skips[i] = Some(newp); [INFO] [stdout] | ^^----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Node` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec>` [INFO] [stdout] --> src/skipmap.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | (*prev).skips[i] = Some(newp); [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 | (&mut (*prev).skips)[i] = Some(newp); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/skipmap.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe { replace(&mut (*current).next, Some(new)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 276 | unsafe { let _ = replace(&mut (*current).next, Some(new)); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/skipmap.rs:290:37 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(next) = (*current).skips[0].clone() { [INFO] [stdout] | ^^-------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Node` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/skipmap.rs:290:37 [INFO] [stdout] | [INFO] [stdout] 290 | if let Some(next) = (*current).skips[0].clone() { [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 | if let Some(next) = (&(*current).skips)[0].clone() { [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/write_batch.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn iter(&self) -> WriteBatchIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | pub fn iter(&self) -> WriteBatchIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-leveldb-arc` (lib test) due to 6 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6da8f9ba568801897a270a5c30337fb6b1cf25c0a74231721270e5aa9c6b4a92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6da8f9ba568801897a270a5c30337fb6b1cf25c0a74231721270e5aa9c6b4a92", kill_on_drop: false }` [INFO] [stdout] 6da8f9ba568801897a270a5c30337fb6b1cf25c0a74231721270e5aa9c6b4a92