[INFO] fetching crate compact 0.2.16... [INFO] testing compact-0.2.16 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate compact 0.2.16 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate compact 0.2.16 [INFO] finished tweaking crates.io crate compact 0.2.16 [INFO] tweaked toml for crates.io crate compact 0.2.16 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate compact 0.2.16 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding primal v0.2.3 (available: v0.3.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9680b2468f4e5a359735f9ed25d4ade82b55f23bad48c78fdca09c2ea08fbb3 [INFO] running `Command { std: "docker" "start" "-a" "e9680b2468f4e5a359735f9ed25d4ade82b55f23bad48c78fdca09c2ea08fbb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9680b2468f4e5a359735f9ed25d4ade82b55f23bad48c78fdca09c2ea08fbb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9680b2468f4e5a359735f9ed25d4ade82b55f23bad48c78fdca09c2ea08fbb3", kill_on_drop: false }` [INFO] [stdout] e9680b2468f4e5a359735f9ed25d4ade82b55f23bad48c78fdca09c2ea08fbb3 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22c19fb2264646247442e4c7dca8285604950501ea92a1f18be6fea150306e5d [INFO] running `Command { std: "docker" "start" "-a" "22c19fb2264646247442e4c7dca8285604950501ea92a1f18be6fea150306e5d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling hamming v0.1.3 [INFO] [stderr] Compiling primal-estimate v0.2.1 [INFO] [stderr] Compiling simple_allocator_trait v0.1.0 [INFO] [stderr] Compiling primal-bit v0.2.4 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling primal-sieve v0.2.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling primal-check v0.2.3 [INFO] [stderr] Compiling primal v0.2.3 [INFO] [stderr] Compiling compact v0.2.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/compact_vec.rs:398:22 [INFO] [stdout] | [INFO] [stdout] 398 | &mut (*dest)[i], [INFO] [stdout] | ^^----^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut CompactVec` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [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] 398 | &mut (&mut (*dest))[i], [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compact_dict.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn keys(&self) -> ::std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn keys(&self) -> ::std::slice::Iter<'_, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compact_dict.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn values(&self) -> ::std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 131 | pub fn values(&self) -> ::std::slice::Iter<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compact_dict.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn values_mut(&mut self) -> ::std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn values_mut(&mut self) -> ::std::slice::IterMut<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/compact_hash_map.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 212 | map: &'a OpenAddressingMap, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 213 | hash: u32, [INFO] [stdout] 214 | ) -> QuadraticProbingIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 214 | ) -> QuadraticProbingIterator<'a, K, V, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/compact_hash_map.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 226 | map: &'a mut OpenAddressingMap, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 227 | hash: u32, [INFO] [stdout] 228 | ) -> QuadraticProbingMutIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 228 | ) -> QuadraticProbingMutIterator<'a, K, V, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compact_hash_map.rs:457:27 [INFO] [stdout] | [INFO] [stdout] 457 | fn quadratic_iterator(&self, query: K) -> QuadraticProbingIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 457 | fn quadratic_iterator(&self, query: K) -> QuadraticProbingIterator<'_, K, V, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/compact_hash_map.rs:461:31 [INFO] [stdout] | [INFO] [stdout] 461 | fn quadratic_iterator_mut(&mut self, hash: u32) -> QuadraticProbingMutIterator { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 461 | fn quadratic_iterator_mut(&mut self, hash: u32) -> QuadraticProbingMutIterator<'_, K, V, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compact` (lib) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "22c19fb2264646247442e4c7dca8285604950501ea92a1f18be6fea150306e5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c19fb2264646247442e4c7dca8285604950501ea92a1f18be6fea150306e5d", kill_on_drop: false }` [INFO] [stdout] 22c19fb2264646247442e4c7dca8285604950501ea92a1f18be6fea150306e5d