[INFO] fetching crate holochain_locksmith 0.0.52-alpha2... [INFO] checking holochain_locksmith-0.0.52-alpha2 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate holochain_locksmith 0.0.52-alpha2 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate holochain_locksmith 0.0.52-alpha2 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] [stderr] Adding backtrace v0.3.27 (available: v0.3.75) [INFO] [stderr] Adding chrono v0.4.6 (available: v0.4.41) [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.27) [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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] badd01bf148d370576e699f21ef0bbb5c6d31454ad7e699fc5059e851d6c9579 [INFO] running `Command { std: "docker" "start" "-a" "badd01bf148d370576e699f21ef0bbb5c6d31454ad7e699fc5059e851d6c9579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "badd01bf148d370576e699f21ef0bbb5c6d31454ad7e699fc5059e851d6c9579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "badd01bf148d370576e699f21ef0bbb5c6d31454ad7e699fc5059e851d6c9579", kill_on_drop: false }` [INFO] [stdout] badd01bf148d370576e699f21ef0bbb5c6d31454ad7e699fc5059e851d6c9579 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ee0ecf83ec36e9d68c83a105af5dc20965e8909722bac1efd356a3ad3582ca1 [INFO] running `Command { std: "docker" "start" "-a" "4ee0ecf83ec36e9d68c83a105af5dc20965e8909722bac1efd356a3ad3582ca1", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling backtrace v0.3.27 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking snowflake v1.3.0 [INFO] [stderr] Checking crossbeam-channel v0.3.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.6 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/locksmith/mutex.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/locksmith/mutex.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/locksmith/mutex.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/locksmith/mutex.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = 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: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/locksmith/mutex.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn $try_lock_fn(&self) -> Option<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/locksmith/mutex.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard> { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 68 | pub fn $lock_fn(&self) -> LocksmithResult<$HcGuard<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] = note: this warning originates in the macro `mutex_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 3.40s [INFO] running `Command { std: "docker" "inspect" "4ee0ecf83ec36e9d68c83a105af5dc20965e8909722bac1efd356a3ad3582ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee0ecf83ec36e9d68c83a105af5dc20965e8909722bac1efd356a3ad3582ca1", kill_on_drop: false }` [INFO] [stdout] 4ee0ecf83ec36e9d68c83a105af5dc20965e8909722bac1efd356a3ad3582ca1