[INFO] fetching crate indexing 0.4.1... [INFO] testing indexing-0.4.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate indexing 0.4.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate indexing 0.4.1 [INFO] finished tweaking crates.io crate indexing 0.4.1 [INFO] tweaked toml for crates.io crate indexing 0.4.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate indexing 0.4.1 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 74 packages to latest compatible versions [INFO] [stderr] Adding compiletest_rs v0.3.26 (available: v0.11.2) [INFO] [stderr] Adding quickcheck v0.9.2 (available: v1.0.3) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fd443104e3095a61389b4b6591c26b4759c31401c92b9daa5474d82cc1a8a3b [INFO] running `Command { std: "docker" "start" "-a" "4fd443104e3095a61389b4b6591c26b4759c31401c92b9daa5474d82cc1a8a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fd443104e3095a61389b4b6591c26b4759c31401c92b9daa5474d82cc1a8a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd443104e3095a61389b4b6591c26b4759c31401c92b9daa5474d82cc1a8a3b", kill_on_drop: false }` [INFO] [stdout] 4fd443104e3095a61389b4b6591c26b4759c31401c92b9daa5474d82cc1a8a3b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 581a5ffc5795c6f89c61a635e50a03a5e179e45fa4c051c65d2e9bea5329b96c [INFO] running `Command { std: "docker" "start" "-a" "581a5ffc5795c6f89c61a635e50a03a5e179e45fa4c051c65d2e9bea5329b96c", kill_on_drop: false }` [INFO] [stderr] Compiling indexing v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/lib.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct Index<'id, Proof = NonEmpty> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 162 | id: Id<'id>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ContainerPrivate` is never used [INFO] [stdout] --> src/lib.rs:241:7 [INFO] [stdout] | [INFO] [stdout] 241 | trait ContainerPrivate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/indexing.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 464 | pub struct RangeIter<'id> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 465 | id: Id<'id>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RangeIter` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PointerExt` is never used [INFO] [stdout] --> src/pointer_ext.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait PointerExt : Copy { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/container.rs:324:35 [INFO] [stdout] | [INFO] [stdout] 324 | let pi: *mut _ = &mut (*self_mut)[i]; [INFO] [stdout] | ^^--------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Container<'_, Array, Mode>` [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 Container<'_, Array, Mode>` [INFO] [stdout] --> src/container.rs:324:35 [INFO] [stdout] | [INFO] [stdout] 324 | let pi: *mut _ = &mut (*self_mut)[i]; [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] 324 | let pi: *mut _ = &mut (&mut (*self_mut))[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/container.rs:325:35 [INFO] [stdout] | [INFO] [stdout] 325 | let pj: *mut _ = &mut (*self_mut)[j]; [INFO] [stdout] | ^^--------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Container<'_, Array, Mode>` [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 Container<'_, Array, Mode>` [INFO] [stdout] --> src/container.rs:325:35 [INFO] [stdout] | [INFO] [stdout] 325 | let pj: *mut _ = &mut (*self_mut)[j]; [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] 325 | let pj: *mut _ = &mut (&mut (*self_mut))[j]; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/container.rs:383:26 [INFO] [stdout] | [INFO] [stdout] 383 | Ok((&mut (*self_mut)[r], &mut (*self_mut)[s])) [INFO] [stdout] | ^^--------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Container<'_, Array, Mode>` [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 Container<'_, Array, Mode>` [INFO] [stdout] --> src/container.rs:383:26 [INFO] [stdout] | [INFO] [stdout] 383 | Ok((&mut (*self_mut)[r], &mut (*self_mut)[s])) [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] 383 | Ok((&mut (&mut (*self_mut))[r], &mut (*self_mut)[s])) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/container.rs:383:47 [INFO] [stdout] | [INFO] [stdout] 383 | Ok((&mut (*self_mut)[r], &mut (*self_mut)[s])) [INFO] [stdout] | ^^--------^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Container<'_, Array, Mode>` [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 Container<'_, Array, Mode>` [INFO] [stdout] --> src/container.rs:383:47 [INFO] [stdout] | [INFO] [stdout] 383 | Ok((&mut (*self_mut)[r], &mut (*self_mut)[s])) [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] 383 | Ok((&mut (*self_mut)[r], &mut (&mut (*self_mut))[s])) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `indexing` (lib) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "581a5ffc5795c6f89c61a635e50a03a5e179e45fa4c051c65d2e9bea5329b96c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "581a5ffc5795c6f89c61a635e50a03a5e179e45fa4c051c65d2e9bea5329b96c", kill_on_drop: false }` [INFO] [stdout] 581a5ffc5795c6f89c61a635e50a03a5e179e45fa4c051c65d2e9bea5329b96c