[INFO] fetching crate holochain_locksmith 0.0.52-alpha2... [INFO] testing holochain_locksmith-0.0.52-alpha2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate holochain_locksmith 0.0.52-alpha2 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate holochain_locksmith 0.0.52-alpha2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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.42) [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.28) [INFO] [stderr] Adding parking_lot v0.9.0 (available: v0.12.4) [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe48ac0ae71c1798cd12bf224f72ab3dd66ef12583c5ef21b7293fbc803d234f [INFO] running `Command { std: "docker" "start" "-a" "fe48ac0ae71c1798cd12bf224f72ab3dd66ef12583c5ef21b7293fbc803d234f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe48ac0ae71c1798cd12bf224f72ab3dd66ef12583c5ef21b7293fbc803d234f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe48ac0ae71c1798cd12bf224f72ab3dd66ef12583c5ef21b7293fbc803d234f", kill_on_drop: false }` [INFO] [stdout] fe48ac0ae71c1798cd12bf224f72ab3dd66ef12583c5ef21b7293fbc803d234f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 830e9c268be294af7bc9bae6ee8b76a7a0c4af16f6f400f7474bab8623e78cd3 [INFO] running `Command { std: "docker" "start" "-a" "830e9c268be294af7bc9bae6ee8b76a7a0c4af16f6f400f7474bab8623e78cd3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling snowflake v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling backtrace v0.3.27 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling 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)]` 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: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: 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.90s [INFO] running `Command { std: "docker" "inspect" "830e9c268be294af7bc9bae6ee8b76a7a0c4af16f6f400f7474bab8623e78cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "830e9c268be294af7bc9bae6ee8b76a7a0c4af16f6f400f7474bab8623e78cd3", kill_on_drop: false }` [INFO] [stdout] 830e9c268be294af7bc9bae6ee8b76a7a0c4af16f6f400f7474bab8623e78cd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 715a72fc9645121d70bdef8e6a8b6f6d00cb61c86d5fa0e9d8d4f30e083517a5 [INFO] running `Command { std: "docker" "start" "-a" "715a72fc9645121d70bdef8e6a8b6f6d00cb61c86d5fa0e9d8d4f30e083517a5", kill_on_drop: false }` [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)]` 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: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: 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] Compiling 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)]` 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: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: 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "715a72fc9645121d70bdef8e6a8b6f6d00cb61c86d5fa0e9d8d4f30e083517a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "715a72fc9645121d70bdef8e6a8b6f6d00cb61c86d5fa0e9d8d4f30e083517a5", kill_on_drop: false }` [INFO] [stdout] 715a72fc9645121d70bdef8e6a8b6f6d00cb61c86d5fa0e9d8d4f30e083517a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 916da15007d2d89f97d466d4a4fa90171460819cd698ae76da95d02176af8f7f [INFO] running `Command { std: "docker" "start" "-a" "916da15007d2d89f97d466d4a4fa90171460819cd698ae76da95d02176af8f7f", kill_on_drop: false }` [INFO] [stderr] warning: fields `lock_type` and `kind` are never read [INFO] [stderr] --> src/error.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct LocksmithError { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 17 | lock_type: LockType, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 18 | kind: LocksmithErrorKind, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LocksmithError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/locksmith/mutex.rs:68:29 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 101 | / mutex_impl!( [INFO] [stderr] 102 | | HcMutex, [INFO] [stderr] 103 | | Mutex, [INFO] [stderr] 104 | | HcMutexGuard, [INFO] [stderr] ... | [INFO] [stderr] 111 | | new_guard [INFO] [stderr] 112 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/locksmith/mutex.rs:74:37 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stderr] ... [INFO] [stderr] 101 | / mutex_impl!( [INFO] [stderr] 102 | | HcMutex, [INFO] [stderr] 103 | | Mutex, [INFO] [stderr] 104 | | HcMutexGuard, [INFO] [stderr] ... | [INFO] [stderr] 111 | | new_guard [INFO] [stderr] 112 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard<'_, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/locksmith/mutex.rs:80:39 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stderr] ... [INFO] [stderr] 101 | / mutex_impl!( [INFO] [stderr] 102 | | HcMutex, [INFO] [stderr] 103 | | Mutex, [INFO] [stderr] 104 | | HcMutexGuard, [INFO] [stderr] ... | [INFO] [stderr] 111 | | new_guard [INFO] [stderr] 112 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard<'_, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/locksmith/mutex.rs:86:33 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard> { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 101 | / mutex_impl!( [INFO] [stderr] 102 | | HcMutex, [INFO] [stderr] 103 | | Mutex, [INFO] [stderr] 104 | | HcMutexGuard, [INFO] [stderr] ... | [INFO] [stderr] 111 | | new_guard [INFO] [stderr] 112 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard<'_, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/locksmith/mutex.rs:68:29 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 113 | / mutex_impl!( [INFO] [stderr] 114 | | HcRwLock, [INFO] [stderr] 115 | | RwLock, [INFO] [stderr] 116 | | HcRwLockReadGuard, [INFO] [stderr] ... | [INFO] [stderr] 123 | | new_guard_read [INFO] [stderr] 124 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/locksmith/mutex.rs:74:37 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stderr] ... [INFO] [stderr] 113 | / mutex_impl!( [INFO] [stderr] 114 | | HcRwLock, [INFO] [stderr] 115 | | RwLock, [INFO] [stderr] 116 | | HcRwLockReadGuard, [INFO] [stderr] ... | [INFO] [stderr] 123 | | new_guard_read [INFO] [stderr] 124 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard<'_, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/locksmith/mutex.rs:80:39 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stderr] ... [INFO] [stderr] 113 | / mutex_impl!( [INFO] [stderr] 114 | | HcRwLock, [INFO] [stderr] 115 | | RwLock, [INFO] [stderr] 116 | | HcRwLockReadGuard, [INFO] [stderr] ... | [INFO] [stderr] 123 | | new_guard_read [INFO] [stderr] 124 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard<'_, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/locksmith/mutex.rs:86:33 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard> { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 113 | / mutex_impl!( [INFO] [stderr] 114 | | HcRwLock, [INFO] [stderr] 115 | | RwLock, [INFO] [stderr] 116 | | HcRwLockReadGuard, [INFO] [stderr] ... | [INFO] [stderr] 123 | | new_guard_read [INFO] [stderr] 124 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard<'_, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/locksmith/mutex.rs:68:29 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 125 | / mutex_impl!( [INFO] [stderr] 126 | | HcRwLock, [INFO] [stderr] 127 | | RwLock, [INFO] [stderr] 128 | | HcRwLockWriteGuard, [INFO] [stderr] ... | [INFO] [stderr] 135 | | new_guard_write [INFO] [stderr] 136 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/locksmith/mutex.rs:74:37 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stderr] ... [INFO] [stderr] 125 | / mutex_impl!( [INFO] [stderr] 126 | | HcRwLock, [INFO] [stderr] 127 | | RwLock, [INFO] [stderr] 128 | | HcRwLockWriteGuard, [INFO] [stderr] ... | [INFO] [stderr] 135 | | new_guard_write [INFO] [stderr] 136 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 74 | pub fn $try_lock_for_fn(&self, duration: Duration) -> Option<$HcGuard<'_, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/locksmith/mutex.rs:80:39 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ----------- the same lifetime is hidden here [INFO] [stderr] ... [INFO] [stderr] 125 | / mutex_impl!( [INFO] [stderr] 126 | | HcRwLock, [INFO] [stderr] 127 | | RwLock, [INFO] [stderr] 128 | | HcRwLockWriteGuard, [INFO] [stderr] ... | [INFO] [stderr] 135 | | new_guard_write [INFO] [stderr] 136 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 80 | pub fn $try_lock_until_fn(&self, instant: Instant) -> Option<$HcGuard<'_, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/locksmith/mutex.rs:86:33 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard> { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 125 | / mutex_impl!( [INFO] [stderr] 126 | | HcRwLock, [INFO] [stderr] 127 | | RwLock, [INFO] [stderr] 128 | | HcRwLockWriteGuard, [INFO] [stderr] ... | [INFO] [stderr] 135 | | new_guard_write [INFO] [stderr] 136 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard<'_, T>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `holochain_locksmith` (lib) generated 13 warnings (run `cargo fix --lib -p holochain_locksmith` to apply 12 suggestions) [INFO] [stderr] warning: `holochain_locksmith` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/holochain_locksmith-be97ab2f023a5351) [INFO] [stderr] Doc-tests holochain_locksmith [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "916da15007d2d89f97d466d4a4fa90171460819cd698ae76da95d02176af8f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "916da15007d2d89f97d466d4a4fa90171460819cd698ae76da95d02176af8f7f", kill_on_drop: false }` [INFO] [stdout] 916da15007d2d89f97d466d4a4fa90171460819cd698ae76da95d02176af8f7f