[INFO] fetching crate token-ref-cell 0.1.1... [INFO] checking token-ref-cell-0.1.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate token-ref-cell 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate token-ref-cell 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate token-ref-cell 0.1.1 [INFO] tweaked toml for crates.io crate token-ref-cell 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate token-ref-cell 0.1.1 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate token-ref-cell 0.1.1 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ef002b450a6098b2cf02b90716be67b90df27cc554ff421639db1a6b0e5b7b2 [INFO] running `Command { std: "docker" "start" "-a" "9ef002b450a6098b2cf02b90716be67b90df27cc554ff421639db1a6b0e5b7b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ef002b450a6098b2cf02b90716be67b90df27cc554ff421639db1a6b0e5b7b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ef002b450a6098b2cf02b90716be67b90df27cc554ff421639db1a6b0e5b7b2", kill_on_drop: false }` [INFO] [stdout] 9ef002b450a6098b2cf02b90716be67b90df27cc554ff421639db1a6b0e5b7b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e608f7cbace1df950968450e03f1a915bf78099e64092888b4d150de652e12c [INFO] running `Command { std: "docker" "start" "-a" "0e608f7cbace1df950968450e03f1a915bf78099e64092888b4d150de652e12c", kill_on_drop: false }` [INFO] [stderr] Checking token-ref-cell v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | fn get_ref(&self, token_id: Tk::Id) -> Result, BorrowError> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | fn get_ref(&self, token_id: Tk::Id) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | unsafe fn get_ref_mut(&self, token_id: Tk::Id) -> Result, BorrowMutError> { [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] 219 | unsafe fn get_ref_mut(&self, token_id: Tk::Id) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn into_ref(self) -> &'b T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | impl Deref for Ref<'_, T, Tk> { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 455 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:392:32 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn reborrow(&self, cell: impl FnOnce(&T) -> &TokenRefCell) -> Ref { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | impl Deref for Ref<'_, T, Tk> { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 455 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:392:32 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn reborrow(&self, cell: impl FnOnce(&T) -> &TokenRefCell) -> Ref { [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] 392 | pub fn reborrow(&self, cell: impl FnOnce(&T) -> &TokenRefCell) -> Ref<'_, U, Tk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | impl Deref for Ref<'_, T, Tk> { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 455 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 402 | cell: impl FnOnce(&T) -> &TokenRefCell, [INFO] [stdout] 403 | ) -> Result, BorrowError> { [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] 403 | ) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | impl Deref for Ref<'_, T, Tk> { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 455 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 415 | cell: impl FnOnce(&T) -> Option<&TokenRefCell>, [INFO] [stdout] 416 | ) -> Option> { [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] 416 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | impl Deref for Ref<'_, T, Tk> { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 455 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 426 | cell: impl FnOnce(&T) -> Option<&TokenRefCell>, [INFO] [stdout] 427 | ) -> Option, BorrowError>> { [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] 427 | ) -> Option, BorrowError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | &'a self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | impl Deref for Ref<'_, T, Tk> { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 455 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:449:21 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn token_id(&self) -> Tk::Id { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | impl Deref for Ref<'_, T, Tk> { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 455 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | impl Deref for Reborrow<'_, S, Tk> { [INFO] [stdout] | ----------------------------------------------------------------- trait implemented here [INFO] [stdout] 542 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 497 | cell: impl FnOnce(&mut S) -> &TokenRefCell, [INFO] [stdout] 498 | ) -> Ref { [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] 498 | ) -> Ref<'_, U, Tk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | impl Deref for Reborrow<'_, S, Tk> { [INFO] [stdout] | ----------------------------------------------------------------- trait implemented here [INFO] [stdout] 542 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 507 | cell: impl FnOnce(&mut S) -> &TokenRefCell, [INFO] [stdout] 508 | ) -> Result, BorrowError> { [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] 508 | ) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | impl Deref for Reborrow<'_, S, Tk> { [INFO] [stdout] | ----------------------------------------------------------------- trait implemented here [INFO] [stdout] 542 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 519 | cell: impl FnOnce(&mut S) -> Option<&TokenRefCell>, [INFO] [stdout] 520 | ) -> Option> { [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] 520 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | impl Deref for Reborrow<'_, S, Tk> { [INFO] [stdout] | ----------------------------------------------------------------- trait implemented here [INFO] [stdout] 542 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 529 | cell: impl FnOnce(&mut S) -> Option<&TokenRefCell>, [INFO] [stdout] 530 | ) -> Option, BorrowError>> { [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] 530 | ) -> Option, BorrowError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:536:21 [INFO] [stdout] | [INFO] [stdout] 536 | pub fn token_id(&self) -> Tk::Id { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | impl Deref for Reborrow<'_, S, Tk> { [INFO] [stdout] | ----------------------------------------------------------------- trait implemented here [INFO] [stdout] 542 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:586:21 [INFO] [stdout] | [INFO] [stdout] 586 | pub fn into_mut(self) -> &'b mut T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:591:19 [INFO] [stdout] | [INFO] [stdout] 591 | pub fn as_ref(&self) -> Ref { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:591:19 [INFO] [stdout] | [INFO] [stdout] 591 | pub fn as_ref(&self) -> Ref { [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] 591 | pub fn as_ref(&self) -> Ref<'_, T, Tk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 607 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 607 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 608 | cell: impl FnOnce(&mut T) -> &TokenRefCell, [INFO] [stdout] 609 | ) -> RefMut { [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] 609 | ) -> RefMut<'_, U, Tk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:618:9 [INFO] [stdout] | [INFO] [stdout] 618 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:618:9 [INFO] [stdout] | [INFO] [stdout] 618 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 619 | cell: impl FnOnce(&mut T) -> &TokenRefCell, [INFO] [stdout] 620 | ) -> Result, BorrowMutError> { [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] 620 | ) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 633 | cell: impl FnOnce(&mut T) -> Option<&TokenRefCell>, [INFO] [stdout] 634 | ) -> Option> { [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] 634 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 644 | cell: impl FnOnce(&mut T) -> Option<&TokenRefCell>, [INFO] [stdout] 645 | ) -> Option, BorrowMutError>> { [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] 645 | ) -> Option, BorrowMutError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | &'a mut self, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:668:21 [INFO] [stdout] | [INFO] [stdout] 668 | pub fn token_id(&self) -> Tk::Id { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | impl Deref for ReborrowMut<'_, S, Tk> { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 770 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 723 | cell: impl FnOnce(&mut S) -> &TokenRefCell, [INFO] [stdout] 724 | ) -> RefMut { [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] 724 | ) -> RefMut<'_, U, Tk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:732:9 [INFO] [stdout] | [INFO] [stdout] 732 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | impl Deref for ReborrowMut<'_, S, Tk> { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 770 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:732:9 [INFO] [stdout] | [INFO] [stdout] 732 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 733 | cell: impl FnOnce(&mut S) -> &TokenRefCell, [INFO] [stdout] 734 | ) -> Result, BorrowMutError> { [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] 734 | ) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | impl Deref for ReborrowMut<'_, S, Tk> { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 770 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 746 | cell: impl FnOnce(&mut S) -> Option<&TokenRefCell>, [INFO] [stdout] 747 | ) -> Option> { [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] 747 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | impl Deref for ReborrowMut<'_, S, Tk> { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 770 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 756 | cell: impl FnOnce(&mut S) -> Option<&TokenRefCell>, [INFO] [stdout] 757 | ) -> Option, BorrowMutError>> { [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] 757 | ) -> Option, BorrowMutError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:764:21 [INFO] [stdout] | [INFO] [stdout] 764 | pub fn token_id(&self) -> Tk::Id { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | impl Deref for ReborrowMut<'_, S, Tk> { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 770 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/token.rs:277:19 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn as_pin(&self) -> Pin<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | impl Deref for RefToken { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 291 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/token.rs:284:23 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn as_pin_mut(&mut self) -> Pin<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | impl Deref for RefToken { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 291 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `token-ref-cell` (lib test) due to 27 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | fn get_ref(&self, token_id: Tk::Id) -> Result, BorrowError> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | fn get_ref(&self, token_id: Tk::Id) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | unsafe fn get_ref_mut(&self, token_id: Tk::Id) -> Result, BorrowMutError> { [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] 219 | unsafe fn get_ref_mut(&self, token_id: Tk::Id) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn into_ref(self) -> &'b T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | impl Deref for Ref<'_, T, Tk> { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 455 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:392:32 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn reborrow(&self, cell: impl FnOnce(&T) -> &TokenRefCell) -> Ref { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | impl Deref for Ref<'_, T, Tk> { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 455 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:392:32 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn reborrow(&self, cell: impl FnOnce(&T) -> &TokenRefCell) -> Ref { [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] 392 | pub fn reborrow(&self, cell: impl FnOnce(&T) -> &TokenRefCell) -> Ref<'_, U, Tk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | impl Deref for Ref<'_, T, Tk> { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 455 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 402 | cell: impl FnOnce(&T) -> &TokenRefCell, [INFO] [stdout] 403 | ) -> Result, BorrowError> { [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] 403 | ) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | impl Deref for Ref<'_, T, Tk> { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 455 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 415 | cell: impl FnOnce(&T) -> Option<&TokenRefCell>, [INFO] [stdout] 416 | ) -> Option> { [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] 416 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | &self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | impl Deref for Ref<'_, T, Tk> { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 455 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 426 | cell: impl FnOnce(&T) -> Option<&TokenRefCell>, [INFO] [stdout] 427 | ) -> Option, BorrowError>> { [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] 427 | ) -> Option, BorrowError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | &'a self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | impl Deref for Ref<'_, T, Tk> { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 455 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:449:21 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn token_id(&self) -> Tk::Id { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | impl Deref for Ref<'_, T, Tk> { [INFO] [stdout] | ------------------------------------------------------------ trait implemented here [INFO] [stdout] 455 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | impl Deref for Reborrow<'_, S, Tk> { [INFO] [stdout] | ----------------------------------------------------------------- trait implemented here [INFO] [stdout] 542 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 497 | cell: impl FnOnce(&mut S) -> &TokenRefCell, [INFO] [stdout] 498 | ) -> Ref { [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] 498 | ) -> Ref<'_, U, Tk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | impl Deref for Reborrow<'_, S, Tk> { [INFO] [stdout] | ----------------------------------------------------------------- trait implemented here [INFO] [stdout] 542 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 507 | cell: impl FnOnce(&mut S) -> &TokenRefCell, [INFO] [stdout] 508 | ) -> Result, BorrowError> { [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] 508 | ) -> Result, BorrowError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | impl Deref for Reborrow<'_, S, Tk> { [INFO] [stdout] | ----------------------------------------------------------------- trait implemented here [INFO] [stdout] 542 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 519 | cell: impl FnOnce(&mut S) -> Option<&TokenRefCell>, [INFO] [stdout] 520 | ) -> Option> { [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] 520 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | impl Deref for Reborrow<'_, S, Tk> { [INFO] [stdout] | ----------------------------------------------------------------- trait implemented here [INFO] [stdout] 542 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 529 | cell: impl FnOnce(&mut S) -> Option<&TokenRefCell>, [INFO] [stdout] 530 | ) -> Option, BorrowError>> { [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] 530 | ) -> Option, BorrowError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:536:21 [INFO] [stdout] | [INFO] [stdout] 536 | pub fn token_id(&self) -> Tk::Id { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | impl Deref for Reborrow<'_, S, Tk> { [INFO] [stdout] | ----------------------------------------------------------------- trait implemented here [INFO] [stdout] 542 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:586:21 [INFO] [stdout] | [INFO] [stdout] 586 | pub fn into_mut(self) -> &'b mut T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:591:19 [INFO] [stdout] | [INFO] [stdout] 591 | pub fn as_ref(&self) -> Ref { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:591:19 [INFO] [stdout] | [INFO] [stdout] 591 | pub fn as_ref(&self) -> Ref { [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] 591 | pub fn as_ref(&self) -> Ref<'_, T, Tk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 607 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 607 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 608 | cell: impl FnOnce(&mut T) -> &TokenRefCell, [INFO] [stdout] 609 | ) -> RefMut { [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] 609 | ) -> RefMut<'_, U, Tk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:618:9 [INFO] [stdout] | [INFO] [stdout] 618 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:618:9 [INFO] [stdout] | [INFO] [stdout] 618 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 619 | cell: impl FnOnce(&mut T) -> &TokenRefCell, [INFO] [stdout] 620 | ) -> Result, BorrowMutError> { [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] 620 | ) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 633 | cell: impl FnOnce(&mut T) -> Option<&TokenRefCell>, [INFO] [stdout] 634 | ) -> Option> { [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] 634 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 644 | cell: impl FnOnce(&mut T) -> Option<&TokenRefCell>, [INFO] [stdout] 645 | ) -> Option, BorrowMutError>> { [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] 645 | ) -> Option, BorrowMutError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | &'a mut self, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:668:21 [INFO] [stdout] | [INFO] [stdout] 668 | pub fn token_id(&self) -> Tk::Id { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 673 | impl Deref for RefMut<'_, T, Tk> { [INFO] [stdout] | --------------------------------------------------------------- trait implemented here [INFO] [stdout] 674 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | impl Deref for ReborrowMut<'_, S, Tk> { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 770 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 723 | cell: impl FnOnce(&mut S) -> &TokenRefCell, [INFO] [stdout] 724 | ) -> RefMut { [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] 724 | ) -> RefMut<'_, U, Tk> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:732:9 [INFO] [stdout] | [INFO] [stdout] 732 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | impl Deref for ReborrowMut<'_, S, Tk> { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 770 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:732:9 [INFO] [stdout] | [INFO] [stdout] 732 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 733 | cell: impl FnOnce(&mut S) -> &TokenRefCell, [INFO] [stdout] 734 | ) -> Result, BorrowMutError> { [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] 734 | ) -> Result, BorrowMutError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | impl Deref for ReborrowMut<'_, S, Tk> { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 770 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 746 | cell: impl FnOnce(&mut S) -> Option<&TokenRefCell>, [INFO] [stdout] 747 | ) -> Option> { [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] 747 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | impl Deref for ReborrowMut<'_, S, Tk> { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 770 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 756 | cell: impl FnOnce(&mut S) -> Option<&TokenRefCell>, [INFO] [stdout] 757 | ) -> Option, BorrowMutError>> { [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] 757 | ) -> Option, BorrowMutError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:764:21 [INFO] [stdout] | [INFO] [stdout] 764 | pub fn token_id(&self) -> Tk::Id { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 769 | impl Deref for ReborrowMut<'_, S, Tk> { [INFO] [stdout] | -------------------------------------------------------------------- trait implemented here [INFO] [stdout] 770 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/token.rs:277:19 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn as_pin(&self) -> Pin<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | impl Deref for RefToken { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 291 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/token.rs:284:23 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn as_pin_mut(&mut self) -> Pin<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | impl Deref for RefToken { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 291 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `token-ref-cell` (lib) due to 27 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0e608f7cbace1df950968450e03f1a915bf78099e64092888b4d150de652e12c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e608f7cbace1df950968450e03f1a915bf78099e64092888b4d150de652e12c", kill_on_drop: false }` [INFO] [stdout] 0e608f7cbace1df950968450e03f1a915bf78099e64092888b4d150de652e12c