[INFO] fetching crate indexing 0.4.1... [INFO] testing indexing-0.4.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate indexing 0.4.1 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate indexing 0.4.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustfix v0.4.6 [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded tester v0.6.0 [INFO] [stderr] Downloaded compiletest_rs v0.3.26 [INFO] [stderr] Downloaded quickcheck v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce0629437f6a92d1bbe2b24557f1ca9ce392b7537d3c72d0a5d8afc465d85680 [INFO] running `Command { std: "docker" "start" "-a" "ce0629437f6a92d1bbe2b24557f1ca9ce392b7537d3c72d0a5d8afc465d85680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce0629437f6a92d1bbe2b24557f1ca9ce392b7537d3c72d0a5d8afc465d85680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce0629437f6a92d1bbe2b24557f1ca9ce392b7537d3c72d0a5d8afc465d85680", kill_on_drop: false }` [INFO] [stdout] ce0629437f6a92d1bbe2b24557f1ca9ce392b7537d3c72d0a5d8afc465d85680 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b91dcb39f9409e8db34fb0f7187b56cbe1124a0d8c6b8e90413023d8c2643af [INFO] running `Command { std: "docker" "start" "-a" "3b91dcb39f9409e8db34fb0f7187b56cbe1124a0d8c6b8e90413023d8c2643af", 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] warning: 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: `#[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] 324 | let pi: *mut _ = &mut (&mut (*self_mut))[i]; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] warning: 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] warning: 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "3b91dcb39f9409e8db34fb0f7187b56cbe1124a0d8c6b8e90413023d8c2643af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b91dcb39f9409e8db34fb0f7187b56cbe1124a0d8c6b8e90413023d8c2643af", kill_on_drop: false }` [INFO] [stdout] 3b91dcb39f9409e8db34fb0f7187b56cbe1124a0d8c6b8e90413023d8c2643af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29d9a5a465d89cab1b637871de58290dec06a99ac0a8724bb33157deb7c5e320 [INFO] running `Command { std: "docker" "start" "-a" "29d9a5a465d89cab1b637871de58290dec06a99ac0a8724bb33157deb7c5e320", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [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] warning: 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: `#[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] 324 | let pi: *mut _ = &mut (&mut (*self_mut))[i]; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] warning: 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] warning: 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] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling indexing v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `sorted` is never used [INFO] [stdout] --> tests/tests.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn sorted(v: &[T]) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `R` is never used [INFO] [stdout] --> tests/tests.rs:241:6 [INFO] [stdout] | [INFO] [stdout] 241 | type R = Result; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_binary_search_ok` is never used [INFO] [stdout] --> tests/tests.rs:242:4 [INFO] [stdout] | [INFO] [stdout] 242 | fn assert_binary_search_ok(data: &[T], expected: R, result: R) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: associated function `unknown` is never used [INFO] [stdout] --> src/proof.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) trait ProofType { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] 97 | fn nonempty() -> bool; [INFO] [stdout] 98 | fn unknown() -> bool { !Self::nonempty() } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nonempty_proof` is never used [INFO] [stdout] --> src/proof.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 119 | impl<'id, P> Range<'id, P> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 120 | pub(crate) fn nonempty_proof(&self) -> bool where P: ProofType [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] warning: 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: `#[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] 324 | let pi: *mut _ = &mut (&mut (*self_mut))[i]; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] warning: 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] warning: 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.46s [INFO] running `Command { std: "docker" "inspect" "29d9a5a465d89cab1b637871de58290dec06a99ac0a8724bb33157deb7c5e320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29d9a5a465d89cab1b637871de58290dec06a99ac0a8724bb33157deb7c5e320", kill_on_drop: false }` [INFO] [stdout] 29d9a5a465d89cab1b637871de58290dec06a99ac0a8724bb33157deb7c5e320 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd5e78495c1a3b241307f8243a150e4175bb4becfd70d4bef8bb4210e0f85972 [INFO] running `Command { std: "docker" "start" "-a" "bd5e78495c1a3b241307f8243a150e4175bb4becfd70d4bef8bb4210e0f85972", kill_on_drop: false }` [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/lib.rs:162:5 [INFO] [stderr] | [INFO] [stderr] 161 | pub struct Index<'id, Proof = NonEmpty> { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 162 | id: Id<'id>, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `ContainerPrivate` is never used [INFO] [stderr] --> src/lib.rs:241:7 [INFO] [stderr] | [INFO] [stderr] 241 | trait ContainerPrivate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/indexing.rs:465:5 [INFO] [stderr] | [INFO] [stderr] 464 | pub struct RangeIter<'id> { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 465 | id: Id<'id>, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `RangeIter` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: trait `PointerExt` is never used [INFO] [stderr] --> src/pointer_ext.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait PointerExt : Copy { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/container.rs:324:35 [INFO] [stderr] | [INFO] [stderr] 324 | let pi: *mut _ = &mut (*self_mut)[i]; [INFO] [stderr] | ^^--------^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut Container<'_, Array, Mode>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&mut Container<'_, Array, Mode>` [INFO] [stderr] --> src/container.rs:324:35 [INFO] [stderr] | [INFO] [stderr] 324 | let pi: *mut _ = &mut (*self_mut)[i]; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 324 | let pi: *mut _ = &mut (&mut (*self_mut))[i]; [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/container.rs:325:35 [INFO] [stderr] | [INFO] [stderr] 325 | let pj: *mut _ = &mut (*self_mut)[j]; [INFO] [stderr] | ^^--------^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut Container<'_, Array, Mode>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&mut Container<'_, Array, Mode>` [INFO] [stderr] --> src/container.rs:325:35 [INFO] [stderr] | [INFO] [stderr] 325 | let pj: *mut _ = &mut (*self_mut)[j]; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 325 | let pj: *mut _ = &mut (&mut (*self_mut))[j]; [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/container.rs:383:26 [INFO] [stderr] | [INFO] [stderr] 383 | Ok((&mut (*self_mut)[r], &mut (*self_mut)[s])) [INFO] [stderr] | ^^--------^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut Container<'_, Array, Mode>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&mut Container<'_, Array, Mode>` [INFO] [stderr] --> src/container.rs:383:26 [INFO] [stderr] | [INFO] [stderr] 383 | Ok((&mut (*self_mut)[r], &mut (*self_mut)[s])) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 383 | Ok((&mut (&mut (*self_mut))[r], &mut (*self_mut)[s])) [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/container.rs:383:47 [INFO] [stderr] | [INFO] [stderr] 383 | Ok((&mut (*self_mut)[r], &mut (*self_mut)[s])) [INFO] [stderr] | ^^--------^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut Container<'_, Array, Mode>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&mut Container<'_, Array, Mode>` [INFO] [stderr] --> src/container.rs:383:47 [INFO] [stderr] | [INFO] [stderr] 383 | Ok((&mut (*self_mut)[r], &mut (*self_mut)[s])) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 383 | Ok((&mut (*self_mut)[r], &mut (&mut (*self_mut))[s])) [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: `indexing` (lib) generated 8 warnings [INFO] [stderr] warning: associated function `unknown` is never used [INFO] [stderr] --> src/proof.rs:98:8 [INFO] [stderr] | [INFO] [stderr] 96 | pub(crate) trait ProofType { [INFO] [stderr] | --------- associated function in this trait [INFO] [stderr] 97 | fn nonempty() -> bool; [INFO] [stderr] 98 | fn unknown() -> bool { !Self::nonempty() } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `nonempty_proof` is never used [INFO] [stderr] --> src/proof.rs:120:19 [INFO] [stderr] | [INFO] [stderr] 119 | impl<'id, P> Range<'id, P> { [INFO] [stderr] | -------------------------- method in this implementation [INFO] [stderr] 120 | pub(crate) fn nonempty_proof(&self) -> bool where P: ProofType [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `sorted` is never used [INFO] [stderr] --> tests/tests.rs:89:4 [INFO] [stderr] | [INFO] [stderr] 89 | fn sorted(v: &[T]) -> Vec { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `R` is never used [INFO] [stderr] --> tests/tests.rs:241:6 [INFO] [stderr] | [INFO] [stderr] 241 | type R = Result; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: function `assert_binary_search_ok` is never used [INFO] [stderr] --> tests/tests.rs:242:4 [INFO] [stderr] | [INFO] [stderr] 242 | fn assert_binary_search_ok(data: &[T], expected: R, result: R) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `indexing` (lib test) generated 10 warnings (8 duplicates) [INFO] [stderr] warning: `indexing` (test "tests") generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/indexing-e9a2de9beb487b1c) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test algorithms::test_heapify ... ok [INFO] [stdout] test algorithms::test_lower_bound_ptr ... ok [INFO] [stdout] test algorithms::test_lower_bound ... ok [INFO] [stdout] test algorithms::test_make_twin ... ok [INFO] [stdout] test algorithms::test_merge_internal ... ok [INFO] [stdout] test algorithms::test_quicksort ... ok [INFO] [stdout] test container::test_contains ... ok [INFO] [stdout] test algorithms::test_twin_insertion_sort ... ok [INFO] [stdout] test container::test_intervals ... ok [INFO] [stdout] test container::intervals ... ok [INFO] [stdout] test container::test_is_send_sync ... ok [INFO] [stdout] test container::test_nonempty ... ok [INFO] [stdout] test indexing::test_frac_step ... ok [INFO] [stdout] test container::test_scan ... ok [INFO] [stdout] test indexing::test_join_cover ... ok [INFO] [stdout] test algorithms::test_binary_search ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/compiletest.rs (/opt/rustwide/target/debug/deps/compiletest-08f5e6ca3858f44c) [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-6f667305deab60ca) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test join_add_proof ... ok [INFO] [stdout] test test_insertion_sort ... ok [INFO] [stdout] test range_split_nonempty ... ok [INFO] [stdout] test test_range_order ... ok [INFO] [stdout] test qc_heapify ... ok [INFO] [stdout] test test_lower_bound_2 ... ok [INFO] [stdout] test qc_quicksort ... ok [INFO] [stdout] test qc_quicksort_bounds ... ok [INFO] [stderr] Running tests/vec.rs (/opt/rustwide/target/debug/deps/vec-fc49042ae978f77d) [INFO] [stdout] test test_lower_bound_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_vec ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests indexing [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/macro_utils.rs - macro_utils::copy_and_clone (line 6) ... FAILED [INFO] [stdout] test src/indexing.rs - indexing::Range<'id,P>::join_cover (line 211) - compile fail ... ok [INFO] [stdout] test src/container.rs - container::Container<'id,Array,Mode> (line 57) - compile fail ... ok [INFO] [stdout] test src/lib.rs - (line 66) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/macro_utils.rs - macro_utils::copy_and_clone (line 6) stdout ---- [INFO] [stdout] error: cannot find macro `copy_and_clone` in this scope [INFO] [stdout] --> src/macro_utils.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 4 | copy_and_clone!([T] Foo); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/macro_utils.rs - macro_utils::copy_and_clone (line 6) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bd5e78495c1a3b241307f8243a150e4175bb4becfd70d4bef8bb4210e0f85972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd5e78495c1a3b241307f8243a150e4175bb4becfd70d4bef8bb4210e0f85972", kill_on_drop: false }` [INFO] [stdout] bd5e78495c1a3b241307f8243a150e4175bb4becfd70d4bef8bb4210e0f85972