[INFO] fetching crate sharded_mutex 2.1.0... [INFO] testing sharded_mutex-2.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate sharded_mutex 2.1.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sharded_mutex 2.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95b48cf8b3145c5a500eb38db434fc379e44e6dc063cf5c0d55d861f53db70b5 [INFO] running `Command { std: "docker" "start" "-a" "95b48cf8b3145c5a500eb38db434fc379e44e6dc063cf5c0d55d861f53db70b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95b48cf8b3145c5a500eb38db434fc379e44e6dc063cf5c0d55d861f53db70b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b48cf8b3145c5a500eb38db434fc379e44e6dc063cf5c0d55d861f53db70b5", kill_on_drop: false }` [INFO] [stdout] 95b48cf8b3145c5a500eb38db434fc379e44e6dc063cf5c0d55d861f53db70b5 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66c2f964e2ce207a2dea50bcff9c1aee58da4f39d1f85404d4368b320699fb84 [INFO] running `Command { std: "docker" "start" "-a" "66c2f964e2ce207a2dea50bcff9c1aee58da4f39d1f85404d4368b320699fb84", 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.72s [INFO] running `Command { std: "docker" "inspect" "66c2f964e2ce207a2dea50bcff9c1aee58da4f39d1f85404d4368b320699fb84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66c2f964e2ce207a2dea50bcff9c1aee58da4f39d1f85404d4368b320699fb84", kill_on_drop: false }` [INFO] [stdout] 66c2f964e2ce207a2dea50bcff9c1aee58da4f39d1f85404d4368b320699fb84 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaa6aa5ab7790bdd66475b63711d97a6815af9c2b8e95409a185d62d1cca96b8 [INFO] running `Command { std: "docker" "start" "-a" "aaa6aa5ab7790bdd66475b63711d97a6815af9c2b8e95409a185d62d1cca96b8", 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.44s [INFO] running `Command { std: "docker" "inspect" "aaa6aa5ab7790bdd66475b63711d97a6815af9c2b8e95409a185d62d1cca96b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa6aa5ab7790bdd66475b63711d97a6815af9c2b8e95409a185d62d1cca96b8", kill_on_drop: false }` [INFO] [stdout] aaa6aa5ab7790bdd66475b63711d97a6815af9c2b8e95409a185d62d1cca96b8 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 03b29a1dac04d0d3632e8a05f998eda4452121492a662f0d322a567505f15889 [INFO] running `Command { std: "docker" "start" "-a" "03b29a1dac04d0d3632e8a05f998eda4452121492a662f0d322a567505f15889", 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-7e3e86a281e719d5) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::get_mut ... ok [INFO] [stdout] test tests::into_inner ... ok [INFO] [stdout] test tests::pseudo_atomic_ops ... ok [INFO] [stdout] test tests::smoke ... ok [INFO] [stdout] test tests::test_raw_try_lock ... ok [INFO] [stdout] test tests::simple_lock ... ok [INFO] [stdout] test tests::test_raw_try_lock_for ... ok [INFO] [stdout] test tests::test_size ... ok [INFO] [stdout] test tests::try_multi_lock ... ok [INFO] [stdout] test tests::try_lock ... ok [INFO] [stdout] test tests::multi_lock ... ok [INFO] [stdout] test tests::multi_deadlock - should panic ... ok [INFO] [stdout] test tests::simple_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.04s [INFO] [stdout] [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-01c6b9eec4c6400c) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test distinct_tags ... ok [INFO] [stdout] test distinct_with_tags ... ok [INFO] [stdout] test own_type1 ... ok [INFO] [stdout] test own_type2 ... ok [INFO] [stdout] test simple_i32 ... ok [INFO] [stdout] test std_types_needs_tag ... 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] [stderr] Doc-tests sharded_mutex [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - sharded_mutex (line 34) ... ok [INFO] [stdout] test src/lib.rs - ShardedMutexGuard<'a,T,TAG>::then_lock (line 467) ... 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.67s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "03b29a1dac04d0d3632e8a05f998eda4452121492a662f0d322a567505f15889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03b29a1dac04d0d3632e8a05f998eda4452121492a662f0d322a567505f15889", kill_on_drop: false }` [INFO] [stdout] 03b29a1dac04d0d3632e8a05f998eda4452121492a662f0d322a567505f15889