[INFO] fetching crate lockfree 0.5.1... [INFO] testing lockfree-0.5.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate lockfree 0.5.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate lockfree 0.5.1 [INFO] finished tweaking crates.io crate lockfree 0.5.1 [INFO] tweaked toml for crates.io crate lockfree 0.5.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lockfree 0.5.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15d8a01a27f25f133ad26c4e9b7f58c847eba41145a5420822a98fbb6c65f54f [INFO] running `Command { std: "docker" "start" "-a" "15d8a01a27f25f133ad26c4e9b7f58c847eba41145a5420822a98fbb6c65f54f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15d8a01a27f25f133ad26c4e9b7f58c847eba41145a5420822a98fbb6c65f54f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15d8a01a27f25f133ad26c4e9b7f58c847eba41145a5420822a98fbb6c65f54f", kill_on_drop: false }` [INFO] [stdout] 15d8a01a27f25f133ad26c4e9b7f58c847eba41145a5420822a98fbb6c65f54f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2d37be7d2acc44d601f938c21298f7e0e08743ce9400f8b3330447537962ab5e [INFO] running `Command { std: "docker" "start" "-a" "2d37be7d2acc44d601f938c21298f7e0e08743ce9400f8b3330447537962ab5e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling owned-alloc v0.2.0 [INFO] [stderr] Compiling lockfree v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / make_shared_incin! { [INFO] [stdout] 262 | | { "[`Queue`]" } [INFO] [stdout] 263 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 264 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / make_shared_incin! { [INFO] [stdout] 262 | | { "[`Queue`]" } [INFO] [stdout] 263 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 264 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stack.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / make_shared_incin! { [INFO] [stdout] 205 | | { "[`Stack`]" } [INFO] [stdout] 206 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 207 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stack.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / make_shared_incin! { [INFO] [stdout] 205 | | { "[`Stack`]" } [INFO] [stdout] 206 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 207 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/map/mod.rs:501:1 [INFO] [stdout] | [INFO] [stdout] 501 | / make_shared_incin! { [INFO] [stdout] 502 | | { "[`Map`]" } [INFO] [stdout] 503 | | pub SharedIncin of Garbage [INFO] [stdout] 504 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/map/mod.rs:501:1 [INFO] [stdout] | [INFO] [stdout] 501 | / make_shared_incin! { [INFO] [stdout] 502 | | { "[`Map`]" } [INFO] [stdout] 503 | | pub SharedIncin of Garbage [INFO] [stdout] 504 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/channel/spmc.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | / make_shared_incin! { [INFO] [stdout] 330 | | { "`spmc::Receiver`" } [INFO] [stdout] 331 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 332 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/channel/spmc.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | / make_shared_incin! { [INFO] [stdout] 330 | | { "`spmc::Receiver`" } [INFO] [stdout] 331 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 332 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/channel/mpmc.rs:446:1 [INFO] [stdout] | [INFO] [stdout] 446 | / make_shared_incin! { [INFO] [stdout] 447 | | { "`mpmc::Receiver`" } [INFO] [stdout] 448 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 449 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/channel/mpmc.rs:446:1 [INFO] [stdout] | [INFO] [stdout] 446 | / make_shared_incin! { [INFO] [stdout] 447 | | { "`mpmc::Receiver`" } [INFO] [stdout] 448 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 449 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/removable.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | mem::{replace, uninitialized, ManuallyDrop}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/removable.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | item: ManuallyDrop::new(unsafe { uninitialized() }), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/map/bucket.rs:555:31 [INFO] [stdout] | [INFO] [stdout] 555 | let res = self.atomic.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pause` is never read [INFO] [stdout] --> src/map/guard.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ReadGuard<'map, K, V> [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pause: Pause<'map, Garbage>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadGuard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/incin.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn pause(&self) -> Pause { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn pause(&self) -> Pause<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tls/mod.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter(&self) -> Iter [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter(&self) -> Iter<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tls/mod.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter_mut(&mut self) -> IterMut [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter_mut(&mut self) -> IterMut<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `compare_exchange`'s failure ordering may not be `Release` or `AcqRel`, since a failed `compare_exchange` does not result in a write [INFO] [stdout] --> src/tls/mod.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | Release, [INFO] [stdout] | ^^^^^^^ invalid failure ordering [INFO] [stdout] | [INFO] [stdout] = help: consider using `Acquire` or `Relaxed` failure ordering instead [INFO] [stdout] = note: `#[deny(invalid_atomic_ordering)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / make_shared_incin! { [INFO] [stdout] 262 | | { "[`Queue`]" } [INFO] [stdout] 263 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 264 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `std::sync::Arc>>>` must be non-null [INFO] [stdout] = note: because `std::ptr::NonNull>>>>` must be non-null [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/stack.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / make_shared_incin! { [INFO] [stdout] 205 | | { "[`Stack`]" } [INFO] [stdout] 206 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 207 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `std::sync::Arc>>>` must be non-null [INFO] [stdout] = note: because `std::ptr::NonNull>>>>` must be non-null [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/map/mod.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter(&self) -> Iter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/map/mod.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 91 | pub fn iter_mut(&mut self) -> IterMut<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/map/mod.rs:501:1 [INFO] [stdout] | [INFO] [stdout] 501 | / make_shared_incin! { [INFO] [stdout] 502 | | { "[`Map`]" } [INFO] [stdout] 503 | | pub SharedIncin of Garbage [INFO] [stdout] 504 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `std::sync::Arc>>` must be non-null [INFO] [stdout] = note: because `std::ptr::NonNull>>>` must be non-null [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/set.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/channel/spmc.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | / make_shared_incin! { [INFO] [stdout] 330 | | { "`spmc::Receiver`" } [INFO] [stdout] 331 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 332 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `std::sync::Arc>>>` must be non-null [INFO] [stdout] = note: because `std::ptr::NonNull>>>>` must be non-null [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/channel/mpmc.rs:446:1 [INFO] [stdout] | [INFO] [stdout] 446 | / make_shared_incin! { [INFO] [stdout] 447 | | { "`mpmc::Receiver`" } [INFO] [stdout] 448 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 449 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `std::sync::Arc>>>` must be non-null [INFO] [stdout] = note: because `std::ptr::NonNull>>>>` must be non-null [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lockfree` (lib) due to 1 previous error; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2d37be7d2acc44d601f938c21298f7e0e08743ce9400f8b3330447537962ab5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d37be7d2acc44d601f938c21298f7e0e08743ce9400f8b3330447537962ab5e", kill_on_drop: false }` [INFO] [stdout] 2d37be7d2acc44d601f938c21298f7e0e08743ce9400f8b3330447537962ab5e