[INFO] fetching crate sharded_mutex 2.1.0... [INFO] testing sharded_mutex-2.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate sharded_mutex 2.1.0 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sharded_mutex 2.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mutants v0.0.3 [INFO] [stderr] Downloaded assoc_threadlocal v0.0.1 [INFO] [stderr] Downloaded assoc_static v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 310f2b02ea79ff8c8ff2caea409a64a97d7e129c94f91dc5202d6ed62a16c7b1 [INFO] running `Command { std: "docker" "start" "-a" "310f2b02ea79ff8c8ff2caea409a64a97d7e129c94f91dc5202d6ed62a16c7b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "310f2b02ea79ff8c8ff2caea409a64a97d7e129c94f91dc5202d6ed62a16c7b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "310f2b02ea79ff8c8ff2caea409a64a97d7e129c94f91dc5202d6ed62a16c7b1", kill_on_drop: false }` [INFO] [stdout] 310f2b02ea79ff8c8ff2caea409a64a97d7e129c94f91dc5202d6ed62a16c7b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fbcd8ff96a59993e4b7ee08a2e1deb05db7d22f7e8fe5ae981c83e175f16ebe [INFO] running `Command { std: "docker" "start" "-a" "2fbcd8ff96a59993e4b7ee08a2e1deb05db7d22f7e8fe5ae981c83e175f16ebe", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling assoc_static v1.0.0 [INFO] [stderr] Compiling assoc_threadlocal v0.0.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [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:480:15 [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 1.91s [INFO] running `Command { std: "docker" "inspect" "2fbcd8ff96a59993e4b7ee08a2e1deb05db7d22f7e8fe5ae981c83e175f16ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fbcd8ff96a59993e4b7ee08a2e1deb05db7d22f7e8fe5ae981c83e175f16ebe", kill_on_drop: false }` [INFO] [stdout] 2fbcd8ff96a59993e4b7ee08a2e1deb05db7d22f7e8fe5ae981c83e175f16ebe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17d0d411836ffc2de90f4ac0bbd65db07b32b84d89e40737894c0af8bc8da947 [INFO] running `Command { std: "docker" "start" "-a" "17d0d411836ffc2de90f4ac0bbd65db07b32b84d89e40737894c0af8bc8da947", 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:480:15 [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: 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:480:15 [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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "17d0d411836ffc2de90f4ac0bbd65db07b32b84d89e40737894c0af8bc8da947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17d0d411836ffc2de90f4ac0bbd65db07b32b84d89e40737894c0af8bc8da947", kill_on_drop: false }` [INFO] [stdout] 17d0d411836ffc2de90f4ac0bbd65db07b32b84d89e40737894c0af8bc8da947 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1c8dbd315108a00be299d1d6721120609d6519cd6863e1a3f306caf3e881afde [INFO] running `Command { std: "docker" "start" "-a" "1c8dbd315108a00be299d1d6721120609d6519cd6863e1a3f306caf3e881afde", 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:480:15 [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.07s [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::get_mut ... ok [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::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::try_multi_lock ... ok [INFO] [stdout] test tests::simple_deadlock - should panic ... 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.04s [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 own_type2 ... ok [INFO] [stdout] test distinct_with_tags ... ok [INFO] [stdout] test own_type1 ... ok [INFO] [stdout] test distinct_tags ... ok [INFO] [stderr] Doc-tests sharded_mutex [INFO] [stdout] test std_types_needs_tag ... 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.80s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1c8dbd315108a00be299d1d6721120609d6519cd6863e1a3f306caf3e881afde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c8dbd315108a00be299d1d6721120609d6519cd6863e1a3f306caf3e881afde", kill_on_drop: false }` [INFO] [stdout] 1c8dbd315108a00be299d1d6721120609d6519cd6863e1a3f306caf3e881afde