[INFO] fetching crate gemino 0.7.0... [INFO] building gemino-0.7.0 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] extracting crate gemino 0.7.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate gemino 0.7.0 on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gemino 0.7.0 [INFO] finished tweaking crates.io crate gemino 0.7.0 [INFO] tweaked toml for crates.io crate gemino 0.7.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.4.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75fdec5fc07709730affd3e071a04d2bfc86f2dbe93b7b4c50a93a0b83d2e2fd [INFO] running `Command { std: "docker" "start" "-a" "75fdec5fc07709730affd3e071a04d2bfc86f2dbe93b7b4c50a93a0b83d2e2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75fdec5fc07709730affd3e071a04d2bfc86f2dbe93b7b4c50a93a0b83d2e2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75fdec5fc07709730affd3e071a04d2bfc86f2dbe93b7b4c50a93a0b83d2e2fd", kill_on_drop: false }` [INFO] [stdout] 75fdec5fc07709730affd3e071a04d2bfc86f2dbe93b7b4c50a93a0b83d2e2fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62e5590e16e6e70390f37ea6665a627c4dc43db7260cde5dacc34280ed0bf657 [INFO] running `Command { std: "docker" "start" "-a" "62e5590e16e6e70390f37ea6665a627c4dc43db7260cde5dacc34280ed0bf657", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling gemino v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe { Ok((*self.inner)[index as usize].clone()) } [INFO] [stdout] | ^^----------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe { Ok((*self.inner)[index as usize].clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(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] 168 | unsafe { Ok((&(*self.inner))[index as usize].clone()) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe { Ok(((*self.inner)[index].clone(), latest_committed_id)) } [INFO] [stdout] | ^^----------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe { Ok(((*self.inner)[index].clone(), latest_committed_id)) } [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] 194 | unsafe { Ok(((&(*self.inner))[index].clone(), latest_committed_id)) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | result = (*self.inner)[index as usize]; [INFO] [stdout] | ^^----------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | result = (*self.inner)[index as usize]; [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] 273 | result = (&(*self.inner))[index as usize]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | (*self.inner)[(latest_committed_id % self.capacity) as usize], [INFO] [stdout] | ^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | (*self.inner)[(latest_committed_id % self.capacity) as usize], [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] 297 | (&(*self.inner))[(latest_committed_id % self.capacity) as usize], [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 367 | pos = (*self.inner).get_unchecked_mut(index as usize); [INFO] [stdout] | ^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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 [T]` [INFO] [stdout] --> src/channel.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 367 | pos = (*self.inner).get_unchecked_mut(index as usize); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked_mut` require a reference [INFO] [stdout] --> /rustc/44f415c1d617ebc7b931a243b7b321ef8a6ca47c/library/core/src/slice/mod.rs:679:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 367 | pos = (&mut (*self.inner)).get_unchecked_mut(index as usize); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:405:38 [INFO] [stdout] | [INFO] [stdout] 405 | let slice_to_copy = &((*self.inner)[start_idx..(end_idx)]); [INFO] [stdout] | ^^^----------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:405:39 [INFO] [stdout] | [INFO] [stdout] 405 | let slice_to_copy = &((*self.inner)[start_idx..(end_idx)]); [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] 405 | let slice_to_copy = &((&(*self.inner))[start_idx..(end_idx)]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:415:38 [INFO] [stdout] | [INFO] [stdout] 415 | let slice_to_copy = &((*self.inner)[start_idx..]); [INFO] [stdout] | ^^^----------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:415:39 [INFO] [stdout] | [INFO] [stdout] 415 | let slice_to_copy = &((*self.inner)[start_idx..]); [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] 415 | let slice_to_copy = &((&(*self.inner))[start_idx..]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:419:38 [INFO] [stdout] | [INFO] [stdout] 419 | let slice_to_copy = &((*self.inner)[..end_idx]); [INFO] [stdout] | ^^^----------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:419:39 [INFO] [stdout] | [INFO] [stdout] 419 | let slice_to_copy = &((*self.inner)[..end_idx]); [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] 419 | let slice_to_copy = &((&(*self.inner))[..end_idx]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.40s [INFO] running `Command { std: "docker" "inspect" "62e5590e16e6e70390f37ea6665a627c4dc43db7260cde5dacc34280ed0bf657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62e5590e16e6e70390f37ea6665a627c4dc43db7260cde5dacc34280ed0bf657", kill_on_drop: false }` [INFO] [stdout] 62e5590e16e6e70390f37ea6665a627c4dc43db7260cde5dacc34280ed0bf657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9e9baceb93c90ba33468c441bf4a83d3535fffad9c7028990f2e4f6aca70c01 [INFO] running `Command { std: "docker" "start" "-a" "d9e9baceb93c90ba33468c441bf4a83d3535fffad9c7028990f2e4f6aca70c01", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe { Ok((*self.inner)[index as usize].clone()) } [INFO] [stdout] | ^^----------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe { Ok((*self.inner)[index as usize].clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(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] 168 | unsafe { Ok((&(*self.inner))[index as usize].clone()) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe { Ok(((*self.inner)[index].clone(), latest_committed_id)) } [INFO] [stdout] | ^^----------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe { Ok(((*self.inner)[index].clone(), latest_committed_id)) } [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] 194 | unsafe { Ok(((&(*self.inner))[index].clone(), latest_committed_id)) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | result = (*self.inner)[index as usize]; [INFO] [stdout] | ^^----------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | result = (*self.inner)[index as usize]; [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] 273 | result = (&(*self.inner))[index as usize]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | (*self.inner)[(latest_committed_id % self.capacity) as usize], [INFO] [stdout] | ^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | (*self.inner)[(latest_committed_id % self.capacity) as usize], [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] 297 | (&(*self.inner))[(latest_committed_id % self.capacity) as usize], [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 367 | pos = (*self.inner).get_unchecked_mut(index as usize); [INFO] [stdout] | ^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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 [T]` [INFO] [stdout] --> src/channel.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 367 | pos = (*self.inner).get_unchecked_mut(index as usize); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked_mut` require a reference [INFO] [stdout] --> /rustc/44f415c1d617ebc7b931a243b7b321ef8a6ca47c/library/core/src/slice/mod.rs:679:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 367 | pos = (&mut (*self.inner)).get_unchecked_mut(index as usize); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:405:38 [INFO] [stdout] | [INFO] [stdout] 405 | let slice_to_copy = &((*self.inner)[start_idx..(end_idx)]); [INFO] [stdout] | ^^^----------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:405:39 [INFO] [stdout] | [INFO] [stdout] 405 | let slice_to_copy = &((*self.inner)[start_idx..(end_idx)]); [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] 405 | let slice_to_copy = &((&(*self.inner))[start_idx..(end_idx)]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:415:38 [INFO] [stdout] | [INFO] [stdout] 415 | let slice_to_copy = &((*self.inner)[start_idx..]); [INFO] [stdout] | ^^^----------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:415:39 [INFO] [stdout] | [INFO] [stdout] 415 | let slice_to_copy = &((*self.inner)[start_idx..]); [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] 415 | let slice_to_copy = &((&(*self.inner))[start_idx..]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:419:38 [INFO] [stdout] | [INFO] [stdout] 419 | let slice_to_copy = &((*self.inner)[..end_idx]); [INFO] [stdout] | ^^^----------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:419:39 [INFO] [stdout] | [INFO] [stdout] 419 | let slice_to_copy = &((*self.inner)[..end_idx]); [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] 419 | let slice_to_copy = &((&(*self.inner))[..end_idx]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling gemino v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe { Ok((*self.inner)[index as usize].clone()) } [INFO] [stdout] | ^^----------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe { Ok((*self.inner)[index as usize].clone()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(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] 168 | unsafe { Ok((&(*self.inner))[index as usize].clone()) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe { Ok(((*self.inner)[index].clone(), latest_committed_id)) } [INFO] [stdout] | ^^----------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe { Ok(((*self.inner)[index].clone(), latest_committed_id)) } [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] 194 | unsafe { Ok(((&(*self.inner))[index].clone(), latest_committed_id)) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | result = (*self.inner)[index as usize]; [INFO] [stdout] | ^^----------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | result = (*self.inner)[index as usize]; [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] 273 | result = (&(*self.inner))[index as usize]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | (*self.inner)[(latest_committed_id % self.capacity) as usize], [INFO] [stdout] | ^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | (*self.inner)[(latest_committed_id % self.capacity) as usize], [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] 297 | (&(*self.inner))[(latest_committed_id % self.capacity) as usize], [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 367 | pos = (*self.inner).get_unchecked_mut(index as usize); [INFO] [stdout] | ^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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 [T]` [INFO] [stdout] --> src/channel.rs:367:19 [INFO] [stdout] | [INFO] [stdout] 367 | pos = (*self.inner).get_unchecked_mut(index as usize); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked_mut` require a reference [INFO] [stdout] --> /rustc/44f415c1d617ebc7b931a243b7b321ef8a6ca47c/library/core/src/slice/mod.rs:679:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 367 | pos = (&mut (*self.inner)).get_unchecked_mut(index as usize); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:405:38 [INFO] [stdout] | [INFO] [stdout] 405 | let slice_to_copy = &((*self.inner)[start_idx..(end_idx)]); [INFO] [stdout] | ^^^----------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:405:39 [INFO] [stdout] | [INFO] [stdout] 405 | let slice_to_copy = &((*self.inner)[start_idx..(end_idx)]); [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] 405 | let slice_to_copy = &((&(*self.inner))[start_idx..(end_idx)]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:415:38 [INFO] [stdout] | [INFO] [stdout] 415 | let slice_to_copy = &((*self.inner)[start_idx..]); [INFO] [stdout] | ^^^----------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:415:39 [INFO] [stdout] | [INFO] [stdout] 415 | let slice_to_copy = &((*self.inner)[start_idx..]); [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] 415 | let slice_to_copy = &((&(*self.inner))[start_idx..]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/channel.rs:419:38 [INFO] [stdout] | [INFO] [stdout] 419 | let slice_to_copy = &((*self.inner)[..end_idx]); [INFO] [stdout] | ^^^----------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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/channel.rs:419:39 [INFO] [stdout] | [INFO] [stdout] 419 | let slice_to_copy = &((*self.inner)[..end_idx]); [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] 419 | let slice_to_copy = &((&(*self.inner))[..end_idx]); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.36s [INFO] running `Command { std: "docker" "inspect" "d9e9baceb93c90ba33468c441bf4a83d3535fffad9c7028990f2e4f6aca70c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e9baceb93c90ba33468c441bf4a83d3535fffad9c7028990f2e4f6aca70c01", kill_on_drop: false }` [INFO] [stdout] d9e9baceb93c90ba33468c441bf4a83d3535fffad9c7028990f2e4f6aca70c01