[INFO] fetching crate holochain_locksmith 0.0.52-alpha2... [INFO] checking holochain_locksmith-0.0.52-alpha2 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate holochain_locksmith 0.0.52-alpha2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate holochain_locksmith 0.0.52-alpha2 [INFO] finished tweaking crates.io crate holochain_locksmith 0.0.52-alpha2 [INFO] tweaked toml for crates.io crate holochain_locksmith 0.0.52-alpha2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate holochain_locksmith 0.0.52-alpha2 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding backtrace v0.3.27 (available: v0.3.76) [INFO] [stderr] Adding chrono v0.4.6 (available: v0.4.43) [INFO] [stderr] Adding crossbeam-channel v0.3.8 (available: v0.3.9) [INFO] [stderr] Adding lazy_static v1.4.0 (available: v1.5.0) [INFO] [stderr] Adding log v0.4.8 (available: v0.4.29) [INFO] [stderr] Adding parking_lot v0.9.0 (available: v0.12.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e48a083c2a76ff1439661f8e60a32677e0adc01e76424b3aaed1cf48cc7111b [INFO] running `Command { std: "docker" "start" "-a" "0e48a083c2a76ff1439661f8e60a32677e0adc01e76424b3aaed1cf48cc7111b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e48a083c2a76ff1439661f8e60a32677e0adc01e76424b3aaed1cf48cc7111b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e48a083c2a76ff1439661f8e60a32677e0adc01e76424b3aaed1cf48cc7111b", kill_on_drop: false }` [INFO] [stdout] 0e48a083c2a76ff1439661f8e60a32677e0adc01e76424b3aaed1cf48cc7111b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] 399bb0a111869d48b1d68ff3a276d6d2424ac2b8c7343b20c7fabfb57cdf6e65 [INFO] running `Command { std: "docker" "start" "-a" "399bb0a111869d48b1d68ff3a276d6d2424ac2b8c7343b20c7fabfb57cdf6e65", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.181 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.27 [INFO] [stderr] Checking snowflake v1.3.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling backtrace v0.3.27 [INFO] [stderr] Checking crossbeam-channel v0.3.8 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking holochain_locksmith v0.0.52-alpha2 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `lock_type` and `kind` are never read [INFO] [stdout] --> src/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LocksmithError { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 17 | lock_type: LockType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | kind: LocksmithErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocksmithError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/locksmith/guard.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn annotate>(self, annotation: S) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | guard_struct!(HcMutexGuard, MutexGuard, Lock); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 101 | impl<'a, T: ?Sized> Deref for HcMutexGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 102 | 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] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/locksmith/guard.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn use_fair_unlocking(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | guard_struct!(HcMutexGuard, MutexGuard, Lock); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 101 | impl<'a, T: ?Sized> Deref for HcMutexGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 102 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/locksmith/guard.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn unlock_fair(mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | guard_struct!(HcMutexGuard, MutexGuard, Lock); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 101 | impl<'a, T: ?Sized> Deref for HcMutexGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 102 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/locksmith/guard.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn annotate>(self, annotation: S) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | guard_struct!(HcRwLockReadGuard, RwLockReadGuard, Read); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 128 | impl<'a, T: ?Sized> Deref for HcRwLockReadGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 129 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/locksmith/guard.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn use_fair_unlocking(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | guard_struct!(HcRwLockReadGuard, RwLockReadGuard, Read); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 128 | impl<'a, T: ?Sized> Deref for HcRwLockReadGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 129 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/locksmith/guard.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn unlock_fair(mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | guard_struct!(HcRwLockReadGuard, RwLockReadGuard, Read); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 128 | impl<'a, T: ?Sized> Deref for HcRwLockReadGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 129 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/locksmith/guard.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn annotate>(self, annotation: S) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | guard_struct!(HcRwLockWriteGuard, RwLockWriteGuard, Write); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 161 | impl<'a, T: ?Sized> Deref for HcRwLockWriteGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 162 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/locksmith/guard.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn use_fair_unlocking(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | guard_struct!(HcRwLockWriteGuard, RwLockWriteGuard, Write); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 161 | impl<'a, T: ?Sized> Deref for HcRwLockWriteGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 162 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/locksmith/guard.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn unlock_fair(mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | guard_struct!(HcRwLockWriteGuard, RwLockWriteGuard, Write); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 161 | impl<'a, T: ?Sized> Deref for HcRwLockWriteGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 162 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 101 | / mutex_impl!( [INFO] [stdout] 102 | | HcMutex, [INFO] [stdout] 103 | | Mutex, [INFO] [stdout] 104 | | HcMutexGuard, [INFO] [stdout] ... | [INFO] [stdout] 111 | | new_guard [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 101 | / mutex_impl!( [INFO] [stdout] 102 | | HcMutex, [INFO] [stdout] 103 | | Mutex, [INFO] [stdout] 104 | | HcMutexGuard, [INFO] [stdout] ... | [INFO] [stdout] 111 | | new_guard [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lock_type` and `kind` are never read [INFO] [stdout] --> src/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LocksmithError { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 17 | lock_type: LockType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | kind: LocksmithErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocksmithError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 101 | / mutex_impl!( [INFO] [stdout] 102 | | HcMutex, [INFO] [stdout] 103 | | Mutex, [INFO] [stdout] 104 | | HcMutexGuard, [INFO] [stdout] ... | [INFO] [stdout] 111 | | new_guard [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 101 | / mutex_impl!( [INFO] [stdout] 102 | | HcMutex, [INFO] [stdout] 103 | | Mutex, [INFO] [stdout] 104 | | HcMutexGuard, [INFO] [stdout] ... | [INFO] [stdout] 111 | | new_guard [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 113 | / mutex_impl!( [INFO] [stdout] 114 | | HcRwLock, [INFO] [stdout] 115 | | RwLock, [INFO] [stdout] 116 | | HcRwLockReadGuard, [INFO] [stdout] ... | [INFO] [stdout] 123 | | new_guard_read [INFO] [stdout] 124 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 113 | / mutex_impl!( [INFO] [stdout] 114 | | HcRwLock, [INFO] [stdout] 115 | | RwLock, [INFO] [stdout] 116 | | HcRwLockReadGuard, [INFO] [stdout] ... | [INFO] [stdout] 123 | | new_guard_read [INFO] [stdout] 124 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 113 | / mutex_impl!( [INFO] [stdout] 114 | | HcRwLock, [INFO] [stdout] 115 | | RwLock, [INFO] [stdout] 116 | | HcRwLockReadGuard, [INFO] [stdout] ... | [INFO] [stdout] 123 | | new_guard_read [INFO] [stdout] 124 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 113 | / mutex_impl!( [INFO] [stdout] 114 | | HcRwLock, [INFO] [stdout] 115 | | RwLock, [INFO] [stdout] 116 | | HcRwLockReadGuard, [INFO] [stdout] ... | [INFO] [stdout] 123 | | new_guard_read [INFO] [stdout] 124 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 125 | / mutex_impl!( [INFO] [stdout] 126 | | HcRwLock, [INFO] [stdout] 127 | | RwLock, [INFO] [stdout] 128 | | HcRwLockWriteGuard, [INFO] [stdout] ... | [INFO] [stdout] 135 | | new_guard_write [INFO] [stdout] 136 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [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/locksmith/guard.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn annotate>(self, annotation: S) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | guard_struct!(HcMutexGuard, MutexGuard, Lock); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 101 | impl<'a, T: ?Sized> Deref for HcMutexGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 102 | 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] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 125 | / mutex_impl!( [INFO] [stdout] 126 | | HcRwLock, [INFO] [stdout] 127 | | RwLock, [INFO] [stdout] 128 | | HcRwLockWriteGuard, [INFO] [stdout] ... | [INFO] [stdout] 135 | | new_guard_write [INFO] [stdout] 136 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard<'_, T>> { [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/locksmith/guard.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn use_fair_unlocking(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | guard_struct!(HcMutexGuard, MutexGuard, Lock); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 101 | impl<'a, T: ?Sized> Deref for HcMutexGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 102 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 125 | / mutex_impl!( [INFO] [stdout] 126 | | HcRwLock, [INFO] [stdout] 127 | | RwLock, [INFO] [stdout] 128 | | HcRwLockWriteGuard, [INFO] [stdout] ... | [INFO] [stdout] 135 | | new_guard_write [INFO] [stdout] 136 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard<'_, T>> { [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/locksmith/guard.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn unlock_fair(mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | guard_struct!(HcMutexGuard, MutexGuard, Lock); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 101 | impl<'a, T: ?Sized> Deref for HcMutexGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------- trait implemented here [INFO] [stdout] 102 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/locksmith/guard.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn annotate>(self, annotation: S) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | guard_struct!(HcRwLockReadGuard, RwLockReadGuard, Read); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 128 | impl<'a, T: ?Sized> Deref for HcRwLockReadGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 129 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/locksmith/guard.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn use_fair_unlocking(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | guard_struct!(HcRwLockReadGuard, RwLockReadGuard, Read); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 128 | impl<'a, T: ?Sized> Deref for HcRwLockReadGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 129 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/locksmith/guard.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn unlock_fair(mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | guard_struct!(HcRwLockReadGuard, RwLockReadGuard, Read); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 128 | impl<'a, T: ?Sized> Deref for HcRwLockReadGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------------ trait implemented here [INFO] [stdout] 129 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 125 | / mutex_impl!( [INFO] [stdout] 126 | | HcRwLock, [INFO] [stdout] 127 | | RwLock, [INFO] [stdout] 128 | | HcRwLockWriteGuard, [INFO] [stdout] ... | [INFO] [stdout] 135 | | new_guard_write [INFO] [stdout] 136 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard<'_, T>> { [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/locksmith/guard.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn annotate>(self, annotation: S) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | guard_struct!(HcRwLockWriteGuard, RwLockWriteGuard, Write); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 161 | impl<'a, T: ?Sized> Deref for HcRwLockWriteGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 162 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/locksmith/guard.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn use_fair_unlocking(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | guard_struct!(HcRwLockWriteGuard, RwLockWriteGuard, Write); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 161 | impl<'a, T: ?Sized> Deref for HcRwLockWriteGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 162 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/locksmith/guard.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn unlock_fair(mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | guard_struct!(HcRwLockWriteGuard, RwLockWriteGuard, Write); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 161 | impl<'a, T: ?Sized> Deref for HcRwLockWriteGuard<'a, T> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 162 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `guard_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 101 | / mutex_impl!( [INFO] [stdout] 102 | | HcMutex, [INFO] [stdout] 103 | | Mutex, [INFO] [stdout] 104 | | HcMutexGuard, [INFO] [stdout] ... | [INFO] [stdout] 111 | | new_guard [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `holochain_locksmith` (lib test) due to 9 previous errors; 13 warnings emitted [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 101 | / mutex_impl!( [INFO] [stdout] 102 | | HcMutex, [INFO] [stdout] 103 | | Mutex, [INFO] [stdout] 104 | | HcMutexGuard, [INFO] [stdout] ... | [INFO] [stdout] 111 | | new_guard [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [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/locksmith/mutex.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 101 | / mutex_impl!( [INFO] [stdout] 102 | | HcMutex, [INFO] [stdout] 103 | | Mutex, [INFO] [stdout] 104 | | HcMutexGuard, [INFO] [stdout] ... | [INFO] [stdout] 111 | | new_guard [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 101 | / mutex_impl!( [INFO] [stdout] 102 | | HcMutex, [INFO] [stdout] 103 | | Mutex, [INFO] [stdout] 104 | | HcMutexGuard, [INFO] [stdout] ... | [INFO] [stdout] 111 | | new_guard [INFO] [stdout] 112 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 113 | / mutex_impl!( [INFO] [stdout] 114 | | HcRwLock, [INFO] [stdout] 115 | | RwLock, [INFO] [stdout] 116 | | HcRwLockReadGuard, [INFO] [stdout] ... | [INFO] [stdout] 123 | | new_guard_read [INFO] [stdout] 124 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 113 | / mutex_impl!( [INFO] [stdout] 114 | | HcRwLock, [INFO] [stdout] 115 | | RwLock, [INFO] [stdout] 116 | | HcRwLockReadGuard, [INFO] [stdout] ... | [INFO] [stdout] 123 | | new_guard_read [INFO] [stdout] 124 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 113 | / mutex_impl!( [INFO] [stdout] 114 | | HcRwLock, [INFO] [stdout] 115 | | RwLock, [INFO] [stdout] 116 | | HcRwLockReadGuard, [INFO] [stdout] ... | [INFO] [stdout] 123 | | new_guard_read [INFO] [stdout] 124 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 113 | / mutex_impl!( [INFO] [stdout] 114 | | HcRwLock, [INFO] [stdout] 115 | | RwLock, [INFO] [stdout] 116 | | HcRwLockReadGuard, [INFO] [stdout] ... | [INFO] [stdout] 123 | | new_guard_read [INFO] [stdout] 124 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 125 | / mutex_impl!( [INFO] [stdout] 126 | | HcRwLock, [INFO] [stdout] 127 | | RwLock, [INFO] [stdout] 128 | | HcRwLockWriteGuard, [INFO] [stdout] ... | [INFO] [stdout] 135 | | new_guard_write [INFO] [stdout] 136 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 125 | / mutex_impl!( [INFO] [stdout] 126 | | HcRwLock, [INFO] [stdout] 127 | | RwLock, [INFO] [stdout] 128 | | HcRwLockWriteGuard, [INFO] [stdout] ... | [INFO] [stdout] 135 | | new_guard_write [INFO] [stdout] 136 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 125 | / mutex_impl!( [INFO] [stdout] 126 | | HcRwLock, [INFO] [stdout] 127 | | RwLock, [INFO] [stdout] 128 | | HcRwLockWriteGuard, [INFO] [stdout] ... | [INFO] [stdout] 135 | | new_guard_write [INFO] [stdout] 136 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locksmith/mutex.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 125 | / mutex_impl!( [INFO] [stdout] 126 | | HcRwLock, [INFO] [stdout] 127 | | RwLock, [INFO] [stdout] 128 | | HcRwLockWriteGuard, [INFO] [stdout] ... | [INFO] [stdout] 135 | | new_guard_write [INFO] [stdout] 136 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `holochain_locksmith` (lib) due to 9 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "399bb0a111869d48b1d68ff3a276d6d2424ac2b8c7343b20c7fabfb57cdf6e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "399bb0a111869d48b1d68ff3a276d6d2424ac2b8c7343b20c7fabfb57cdf6e65", kill_on_drop: false }` [INFO] [stdout] 399bb0a111869d48b1d68ff3a276d6d2424ac2b8c7343b20c7fabfb57cdf6e65