[INFO] fetching crate gemino 0.7.0... [INFO] testing gemino-0.7.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate gemino 0.7.0 into /workspace/builds/worker-3-tc2/source [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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gemino 0.7.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] [stderr] Adding event-listener v2.5.3 (available: v5.4.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3ab8a186f157b9eb2f8fca661316944d456c563eab9e45169c0aed236f5f3e5 [INFO] running `Command { std: "docker" "start" "-a" "e3ab8a186f157b9eb2f8fca661316944d456c563eab9e45169c0aed236f5f3e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3ab8a186f157b9eb2f8fca661316944d456c563eab9e45169c0aed236f5f3e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3ab8a186f157b9eb2f8fca661316944d456c563eab9e45169c0aed236f5f3e5", kill_on_drop: false }` [INFO] [stdout] e3ab8a186f157b9eb2f8fca661316944d456c563eab9e45169c0aed236f5f3e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a571376387f25f340b3c0d4efabc02df6730d8d0d38753714e2954bbb5ffdb4 [INFO] running `Command { std: "docker" "start" "-a" "1a571376387f25f340b3c0d4efabc02df6730d8d0d38753714e2954bbb5ffdb4", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling gemino v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error: 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: `#[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] 168 | unsafe { Ok((&(*self.inner))[index as usize].clone()) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] error: 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] error: 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] error: 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/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/slice/mod.rs:682: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] error: 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] error: 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] error: 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] error: could not compile `gemino` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "1a571376387f25f340b3c0d4efabc02df6730d8d0d38753714e2954bbb5ffdb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a571376387f25f340b3c0d4efabc02df6730d8d0d38753714e2954bbb5ffdb4", kill_on_drop: false }` [INFO] [stdout] 1a571376387f25f340b3c0d4efabc02df6730d8d0d38753714e2954bbb5ffdb4