[INFO] fetching crate reclaim 0.2.2... [INFO] checking reclaim-0.2.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate reclaim 0.2.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate reclaim 0.2.2 [INFO] finished tweaking crates.io crate reclaim 0.2.2 [INFO] tweaked toml for crates.io crate reclaim 0.2.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate reclaim 0.2.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate reclaim 0.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55f9cc31cb825a66e7d91e6d9047b80c13734abd634552facb807379b34b2a28 [INFO] running `Command { std: "docker" "start" "-a" "55f9cc31cb825a66e7d91e6d9047b80c13734abd634552facb807379b34b2a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55f9cc31cb825a66e7d91e6d9047b80c13734abd634552facb807379b34b2a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f9cc31cb825a66e7d91e6d9047b80c13734abd634552facb807379b34b2a28", kill_on_drop: false }` [INFO] [stdout] 55f9cc31cb825a66e7d91e6d9047b80c13734abd634552facb807379b34b2a28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04e8430de3fe5a146c4eeee7f94ebfb52c61386cef7cbdf10b2bfc0f5ed4ca94 [INFO] running `Command { std: "docker" "start" "-a" "04e8430de3fe5a146c4eeee7f94ebfb52c61386cef7cbdf10b2bfc0f5ed4ca94", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking reclaim v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/pointer/marked.rs:70:50 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn unwrap_value_or_else(self, func: impl (FnOnce(usize) -> T)) -> T { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - pub fn unwrap_value_or_else(self, func: impl (FnOnce(usize) -> T)) -> T { [INFO] [stdout] 70 + pub fn unwrap_value_or_else(self, func: impl FnOnce(usize) -> T) -> T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/pointer/marked.rs:80:49 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn map(self, func: impl (FnOnce(T) -> U)) -> Marked { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - pub fn map(self, func: impl (FnOnce(T) -> U)) -> Marked { [INFO] [stdout] 80 + pub fn map(self, func: impl FnOnce(T) -> U) -> Marked { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/pointer/mod.rs:392:8 [INFO] [stdout] | [INFO] [stdout] 392 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/pointer/marked.rs:70:50 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn unwrap_value_or_else(self, func: impl (FnOnce(usize) -> T)) -> T { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - pub fn unwrap_value_or_else(self, func: impl (FnOnce(usize) -> T)) -> T { [INFO] [stdout] 70 + pub fn unwrap_value_or_else(self, func: impl FnOnce(usize) -> T) -> T { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/pointer/marked.rs:80:49 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn map(self, func: impl (FnOnce(T) -> U)) -> Marked { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - pub fn map(self, func: impl (FnOnce(T) -> U)) -> Marked { [INFO] [stdout] 80 + pub fn map(self, func: impl FnOnce(T) -> U) -> Marked { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/pointer/mod.rs:392:8 [INFO] [stdout] | [INFO] [stdout] 392 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pointer/atomic.rs:142:42 [INFO] [stdout] | [INFO] [stdout] 142 | MarkedPtr::from_usize(self.inner.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/pointer/atomic.rs:142:42 [INFO] [stdout] | [INFO] [stdout] 142 | MarkedPtr::from_usize(self.inner.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 537 | ) -> Marked>; [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 537 | ) -> Marked>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 567 | ) -> AcquireResult; [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 567 | ) -> AcquireResult<'_, T, Self::Reclaimer, N>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:775:19 [INFO] [stdout] | [INFO] [stdout] 775 | pub fn shared(&self) -> Shared { [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] 775 | pub fn shared(&self) -> Shared<'_, T, G::Reclaimer, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/leak.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Header { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/leak.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub checksum: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/leak.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 121 | ) -> Marked> { [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | ) -> Marked> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/leak.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 132 | ) -> AcquireResult { [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 132 | ) -> AcquireResult<'_, T, Self::Reclaimer, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/atomic/mod.rs:471:24 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn load_shared(&self, order: Ordering) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------------------- 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 471 | pub fn load_shared(&self, order: Ordering) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/atomic/mod.rs:488:31 [INFO] [stdout] | [INFO] [stdout] 488 | pub fn load_marked_shared(&self, order: Ordering) -> Marked> { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------------------- 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 488 | pub fn load_marked_shared(&self, order: Ordering) -> Marked> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/macros.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | core::mem::forget($self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Shared<'_, T, R, N>` [INFO] [stdout] | [INFO] [stdout] ::: src/shared.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | impl_trait!(shared); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forgetting_copy_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 36 - core::mem::forget($self); [INFO] [stdout] 36 + let _ = $self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/macros.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | core::mem::forget($self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Shared<'_, T, R, N>` [INFO] [stdout] | [INFO] [stdout] ::: src/shared.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | impl_inherent!(shared); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_inherent` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 123 - core::mem::forget($self); [INFO] [stdout] 123 + let _ = $self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/macros.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | core::mem::forget($self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Unprotected` [INFO] [stdout] | [INFO] [stdout] ::: src/unprotected.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | impl_trait!(unprotected); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 36 - core::mem::forget($self); [INFO] [stdout] 36 + let _ = $self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/macros.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | core::mem::forget($self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Unprotected` [INFO] [stdout] | [INFO] [stdout] ::: src/unprotected.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | impl_inherent!(unprotected); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_inherent` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 123 - core::mem::forget($self); [INFO] [stdout] 123 + let _ = $self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 537 | ) -> Marked>; [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 537 | ) -> Marked>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 567 | ) -> AcquireResult; [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 567 | ) -> AcquireResult<'_, T, Self::Reclaimer, N>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:775:19 [INFO] [stdout] | [INFO] [stdout] 775 | pub fn shared(&self) -> Shared { [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] 775 | pub fn shared(&self) -> Shared<'_, T, G::Reclaimer, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/leak.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 121 | ) -> Marked> { [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | ) -> Marked> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/leak.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 132 | ) -> AcquireResult { [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 132 | ) -> AcquireResult<'_, T, Self::Reclaimer, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/atomic/mod.rs:471:24 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn load_shared(&self, order: Ordering) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------------------- 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 471 | pub fn load_shared(&self, order: Ordering) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/atomic/mod.rs:488:31 [INFO] [stdout] | [INFO] [stdout] 488 | pub fn load_marked_shared(&self, order: Ordering) -> Marked> { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------------------- 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 488 | pub fn load_marked_shared(&self, order: Ordering) -> Marked> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/macros.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | core::mem::forget($self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Shared<'_, T, R, N>` [INFO] [stdout] | [INFO] [stdout] ::: src/shared.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | impl_trait!(shared); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forgetting_copy_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 36 - core::mem::forget($self); [INFO] [stdout] 36 + let _ = $self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/macros.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | core::mem::forget($self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Shared<'_, T, R, N>` [INFO] [stdout] | [INFO] [stdout] ::: src/shared.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | impl_inherent!(shared); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_inherent` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 123 - core::mem::forget($self); [INFO] [stdout] 123 + let _ = $self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/macros.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | core::mem::forget($self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Unprotected` [INFO] [stdout] | [INFO] [stdout] ::: src/unprotected.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | impl_trait!(unprotected); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 36 - core::mem::forget($self); [INFO] [stdout] 36 + let _ = $self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/macros.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | core::mem::forget($self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Unprotected` [INFO] [stdout] | [INFO] [stdout] ::: src/unprotected.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | impl_inherent!(unprotected); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_inherent` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 123 - core::mem::forget($self); [INFO] [stdout] 123 + let _ = $self; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.78s [INFO] running `Command { std: "docker" "inspect" "04e8430de3fe5a146c4eeee7f94ebfb52c61386cef7cbdf10b2bfc0f5ed4ca94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04e8430de3fe5a146c4eeee7f94ebfb52c61386cef7cbdf10b2bfc0f5ed4ca94", kill_on_drop: false }` [INFO] [stdout] 04e8430de3fe5a146c4eeee7f94ebfb52c61386cef7cbdf10b2bfc0f5ed4ca94