[INFO] fetching crate sharded_mutex 2.1.0... [INFO] checking sharded_mutex-2.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate sharded_mutex 2.1.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sharded_mutex 2.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c912d47f78208c449731adfa048347435d56536573ba6bc81f8ce50033d6917 [INFO] running `Command { std: "docker" "start" "-a" "9c912d47f78208c449731adfa048347435d56536573ba6bc81f8ce50033d6917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c912d47f78208c449731adfa048347435d56536573ba6bc81f8ce50033d6917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c912d47f78208c449731adfa048347435d56536573ba6bc81f8ce50033d6917", kill_on_drop: false }` [INFO] [stdout] 9c912d47f78208c449731adfa048347435d56536573ba6bc81f8ce50033d6917 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3ed4e5b99530f5e75042e062e83ee8c76cdc360dc913b0e16d28b28683bce82 [INFO] running `Command { std: "docker" "start" "-a" "c3ed4e5b99530f5e75042e062e83ee8c76cdc360dc913b0e16d28b28683bce82", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking assoc_threadlocal v0.0.1 [INFO] [stderr] Checking assoc_static v1.0.0 [INFO] [stderr] Compiling mutants v0.0.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking 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: 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 `dev` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "c3ed4e5b99530f5e75042e062e83ee8c76cdc360dc913b0e16d28b28683bce82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3ed4e5b99530f5e75042e062e83ee8c76cdc360dc913b0e16d28b28683bce82", kill_on_drop: false }` [INFO] [stdout] c3ed4e5b99530f5e75042e062e83ee8c76cdc360dc913b0e16d28b28683bce82