[INFO] fetching crate sharded_mutex 2.1.0... [INFO] testing sharded_mutex-2.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate sharded_mutex 2.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate sharded_mutex 2.1.0 [INFO] finished tweaking crates.io crate sharded_mutex 2.1.0 [INFO] tweaked toml for crates.io crate sharded_mutex 2.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sharded_mutex 2.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] daf95080acf04ff8b4b8159b2df57e556cb148abded3715b7b49b41c4684006d [INFO] running `Command { std: "docker" "start" "-a" "daf95080acf04ff8b4b8159b2df57e556cb148abded3715b7b49b41c4684006d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "daf95080acf04ff8b4b8159b2df57e556cb148abded3715b7b49b41c4684006d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daf95080acf04ff8b4b8159b2df57e556cb148abded3715b7b49b41c4684006d", kill_on_drop: false }` [INFO] [stdout] daf95080acf04ff8b4b8159b2df57e556cb148abded3715b7b49b41c4684006d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddce76f313eb7e28e1e6000bb3fbc3694b315de532821682c7d4242226172729 [INFO] running `Command { std: "docker" "start" "-a" "ddce76f313eb7e28e1e6000bb3fbc3694b315de532821682c7d4242226172729", kill_on_drop: false }` [INFO] [stderr] Compiling assoc_threadlocal v0.0.1 [INFO] [stderr] Compiling assoc_static v1.0.0 [INFO] [stderr] Compiling sharded_mutex v2.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn lock(&self) -> ShardedMutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 247 | pub fn lock(&self) -> ShardedMutexGuard<'_, T, TAG> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 257 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn try_lock_for(&self, timeout: Duration) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 265 | pub fn try_lock_for(&self, timeout: Duration) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:280:49 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn multi_lock(objects: [&Self; N]) -> [ShardedMutexGuard; N] { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 280 | pub fn multi_lock(objects: [&Self; N]) -> [ShardedMutexGuard<'_, T, TAG>; N] { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:318:19 [INFO] [stdout] | [INFO] [stdout] 318 | objects: [&Self; N], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 319 | ) -> Option<[ShardedMutexGuard; N]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 319 | ) -> Option<[ShardedMutexGuard<'_, T, TAG>; N]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:482:17 [INFO] [stdout] | [INFO] [stdout] 480 | new: &'a ShardedMutex, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 481 | timeout: Duration, [INFO] [stdout] 482 | ) -> Result, ShardedMutexGuard> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 482 | ) -> Result, ShardedMutexGuard<'a, T, TAG>> [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "ddce76f313eb7e28e1e6000bb3fbc3694b315de532821682c7d4242226172729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddce76f313eb7e28e1e6000bb3fbc3694b315de532821682c7d4242226172729", kill_on_drop: false }` [INFO] [stdout] ddce76f313eb7e28e1e6000bb3fbc3694b315de532821682c7d4242226172729 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9f155da40d6752dbc60beb1731edcd14f005acb7715c1c391c88fe25e42a0ed [INFO] running `Command { std: "docker" "start" "-a" "d9f155da40d6752dbc60beb1731edcd14f005acb7715c1c391c88fe25e42a0ed", kill_on_drop: false }` [INFO] [stderr] Compiling mutants v0.0.3 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn lock(&self) -> ShardedMutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 247 | pub fn lock(&self) -> ShardedMutexGuard<'_, T, TAG> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 257 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn try_lock_for(&self, timeout: Duration) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 265 | pub fn try_lock_for(&self, timeout: Duration) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:280:49 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn multi_lock(objects: [&Self; N]) -> [ShardedMutexGuard; N] { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 280 | pub fn multi_lock(objects: [&Self; N]) -> [ShardedMutexGuard<'_, T, TAG>; N] { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:318:19 [INFO] [stdout] | [INFO] [stdout] 318 | objects: [&Self; N], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 319 | ) -> Option<[ShardedMutexGuard; N]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 319 | ) -> Option<[ShardedMutexGuard<'_, T, TAG>; N]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:482:17 [INFO] [stdout] | [INFO] [stdout] 480 | new: &'a ShardedMutex, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 481 | timeout: Duration, [INFO] [stdout] 482 | ) -> Result, ShardedMutexGuard> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 482 | ) -> Result, ShardedMutexGuard<'a, T, TAG>> [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sharded_mutex v2.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> tests/integration.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use sharded_mutex::*; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | #[test] [INFO] [stdout] 4 | | fn simple_i32() { [INFO] [stdout] ... | [INFO] [stdout] 80 | | assert_eq!(y.lock().0, 234); [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn lock(&self) -> ShardedMutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 247 | pub fn lock(&self) -> ShardedMutexGuard<'_, T, TAG> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 257 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:265:25 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn try_lock_for(&self, timeout: Duration) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 265 | pub fn try_lock_for(&self, timeout: Duration) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:280:49 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn multi_lock(objects: [&Self; N]) -> [ShardedMutexGuard; N] { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 280 | pub fn multi_lock(objects: [&Self; N]) -> [ShardedMutexGuard<'_, T, TAG>; N] { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:318:19 [INFO] [stdout] | [INFO] [stdout] 318 | objects: [&Self; N], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 319 | ) -> Option<[ShardedMutexGuard; N]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 319 | ) -> Option<[ShardedMutexGuard<'_, T, TAG>; N]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:482:17 [INFO] [stdout] | [INFO] [stdout] 480 | new: &'a ShardedMutex, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 481 | timeout: Duration, [INFO] [stdout] 482 | ) -> Result, ShardedMutexGuard> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 482 | ) -> Result, ShardedMutexGuard<'a, T, TAG>> [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "d9f155da40d6752dbc60beb1731edcd14f005acb7715c1c391c88fe25e42a0ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9f155da40d6752dbc60beb1731edcd14f005acb7715c1c391c88fe25e42a0ed", kill_on_drop: false }` [INFO] [stdout] d9f155da40d6752dbc60beb1731edcd14f005acb7715c1c391c88fe25e42a0ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3008da8aff720ee4e521436f4540395547ecedf690eba5abda0dc56f17064783 [INFO] running `Command { std: "docker" "start" "-a" "3008da8aff720ee4e521436f4540395547ecedf690eba5abda0dc56f17064783", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:247:17 [INFO] [stderr] | [INFO] [stderr] 247 | pub fn lock(&self) -> ShardedMutexGuard { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 247 | pub fn lock(&self) -> ShardedMutexGuard<'_, T, TAG> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:257:21 [INFO] [stderr] | [INFO] [stderr] 257 | pub fn try_lock(&self) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 257 | pub fn try_lock(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:265:25 [INFO] [stderr] | [INFO] [stderr] 265 | pub fn try_lock_for(&self, timeout: Duration) -> Option> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 265 | pub fn try_lock_for(&self, timeout: Duration) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:280:49 [INFO] [stderr] | [INFO] [stderr] 280 | pub fn multi_lock(objects: [&Self; N]) -> [ShardedMutexGuard; N] { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 280 | pub fn multi_lock(objects: [&Self; N]) -> [ShardedMutexGuard<'_, T, TAG>; N] { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:318:19 [INFO] [stderr] | [INFO] [stderr] 318 | objects: [&Self; N], [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 319 | ) -> Option<[ShardedMutexGuard; N]> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 319 | ) -> Option<[ShardedMutexGuard<'_, T, TAG>; N]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:482:17 [INFO] [stderr] | [INFO] [stderr] 480 | new: &'a ShardedMutex, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 481 | timeout: Duration, [INFO] [stderr] 482 | ) -> Result, ShardedMutexGuard> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 482 | ) -> Result, ShardedMutexGuard<'a, T, TAG>> [INFO] [stderr] | +++ +++ [INFO] [stderr] [INFO] [stderr] warning: `sharded_mutex` (lib) generated 6 warnings (run `cargo fix --lib -p sharded_mutex` to apply 6 suggestions) [INFO] [stderr] warning: `sharded_mutex` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: missing documentation for the crate [INFO] [stderr] --> tests/integration.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use sharded_mutex::*; [INFO] [stderr] 2 | | [INFO] [stderr] 3 | | #[test] [INFO] [stderr] 4 | | fn simple_i32() { [INFO] [stderr] ... | [INFO] [stderr] 80 | | assert_eq!(y.lock().0, 234); [INFO] [stderr] 81 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-W missing-docs` [INFO] [stderr] [INFO] [stderr] warning: `sharded_mutex` (test "integration") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sharded_mutex-366b2b14d7a681f7) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::multi_lock ... ok [INFO] [stdout] test tests::pseudo_atomic_ops ... ok [INFO] [stdout] test tests::into_inner ... ok [INFO] [stdout] test tests::get_mut ... ok [INFO] [stdout] test tests::simple_lock ... ok [INFO] [stdout] test tests::smoke ... ok [INFO] [stdout] test tests::test_raw_try_lock ... ok [INFO] [stdout] test tests::test_raw_try_lock_for ... ok [INFO] [stdout] test tests::test_size ... ok [INFO] [stdout] test tests::try_lock ... ok [INFO] [stdout] test tests::simple_deadlock - should panic ... ok [INFO] [stdout] test tests::try_multi_lock ... ok [INFO] [stdout] test tests::multi_deadlock - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-29b826a6469f3c4e) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test distinct_tags ... ok [INFO] [stdout] test own_type1 ... ok [INFO] [stdout] test own_type2 ... ok [INFO] [stderr] Doc-tests sharded_mutex [INFO] [stdout] test std_types_needs_tag ... ok [INFO] [stdout] test distinct_with_tags ... ok [INFO] [stdout] test simple_i32 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - ShardedMutexGuard<'a,T,TAG>::then_lock (line 467) ... ok [INFO] [stdout] test src/lib.rs - sharded_mutex (line 34) ... ok [INFO] [stdout] test src/lib.rs - (line 28) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3008da8aff720ee4e521436f4540395547ecedf690eba5abda0dc56f17064783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3008da8aff720ee4e521436f4540395547ecedf690eba5abda0dc56f17064783", kill_on_drop: false }` [INFO] [stdout] 3008da8aff720ee4e521436f4540395547ecedf690eba5abda0dc56f17064783