[INFO] fetching crate gemino 0.7.0... [INFO] checking gemino-0.7.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate gemino 0.7.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gemino 0.7.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 77 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.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ad427a8763e762612d10af4d4b357430b9f8ad356663c0b8308f0badb1f8720 [INFO] running `Command { std: "docker" "start" "-a" "6ad427a8763e762612d10af4d4b357430b9f8ad356663c0b8308f0badb1f8720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ad427a8763e762612d10af4d4b357430b9f8ad356663c0b8308f0badb1f8720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ad427a8763e762612d10af4d4b357430b9f8ad356663c0b8308f0badb1f8720", kill_on_drop: false }` [INFO] [stdout] 6ad427a8763e762612d10af4d4b357430b9f8ad356663c0b8308f0badb1f8720 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afd998d28646c864b1b90fb3eb5fe810d47bb854f7a6295296c357764361abc6 [INFO] running `Command { std: "docker" "start" "-a" "afd998d28646c864b1b90fb3eb5fe810d47bb854f7a6295296c357764361abc6", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking gemino v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.47.1 [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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "afd998d28646c864b1b90fb3eb5fe810d47bb854f7a6295296c357764361abc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afd998d28646c864b1b90fb3eb5fe810d47bb854f7a6295296c357764361abc6", kill_on_drop: false }` [INFO] [stdout] afd998d28646c864b1b90fb3eb5fe810d47bb854f7a6295296c357764361abc6