[INFO] fetching crate glock 0.1.2... [INFO] testing glock-0.1.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate glock 0.1.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate glock 0.1.2 [INFO] finished tweaking crates.io crate glock 0.1.2 [INFO] tweaked toml for crates.io crate glock 0.1.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate glock 0.1.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71a9f5589cb49ae7af442b9b7ec0c63f75a3c953f52463de5a4ab3201161abcd [INFO] running `Command { std: "docker" "start" "-a" "71a9f5589cb49ae7af442b9b7ec0c63f75a3c953f52463de5a4ab3201161abcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71a9f5589cb49ae7af442b9b7ec0c63f75a3c953f52463de5a4ab3201161abcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71a9f5589cb49ae7af442b9b7ec0c63f75a3c953f52463de5a4ab3201161abcd", kill_on_drop: false }` [INFO] [stdout] 71a9f5589cb49ae7af442b9b7ec0c63f75a3c953f52463de5a4ab3201161abcd [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8628fa273a7c6257b8af2feb463b23ceaad25c31b3a35869dd67c8b6d70b438f [INFO] running `Command { std: "docker" "start" "-a" "8628fa273a7c6257b8af2feb463b23ceaad25c31b3a35869dd67c8b6d70b438f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling glock v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn try_lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn try_lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:147:38 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 156 | pub fn lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:165:31 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn try_lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 165 | pub fn try_lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:173:44 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:182:48 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "8628fa273a7c6257b8af2feb463b23ceaad25c31b3a35869dd67c8b6d70b438f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8628fa273a7c6257b8af2feb463b23ceaad25c31b3a35869dd67c8b6d70b438f", kill_on_drop: false }` [INFO] [stdout] 8628fa273a7c6257b8af2feb463b23ceaad25c31b3a35869dd67c8b6d70b438f [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] be19102de3afa1ddc026deafe5d766f89bd2cf317980071c1e1d2b60af19a947 [INFO] running `Command { std: "docker" "start" "-a" "be19102de3afa1ddc026deafe5d766f89bd2cf317980071c1e1d2b60af19a947", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling glock v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn try_lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn try_lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:147:38 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 156 | pub fn lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:165:31 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn try_lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 165 | pub fn try_lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:173:44 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:182:48 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lock.rs:333:10 [INFO] [stdout] | [INFO] [stdout] 333 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn try_lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn try_lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:147:38 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 156 | pub fn lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:165:31 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn try_lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 165 | pub fn try_lock_exclusive(&self) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:173:44 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:182:48 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lock.rs:192:30 [INFO] [stdout] | [INFO] [stdout] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "be19102de3afa1ddc026deafe5d766f89bd2cf317980071c1e1d2b60af19a947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be19102de3afa1ddc026deafe5d766f89bd2cf317980071c1e1d2b60af19a947", kill_on_drop: false }` [INFO] [stdout] be19102de3afa1ddc026deafe5d766f89bd2cf317980071c1e1d2b60af19a947 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fc4fdccdc0096487b8d5d2f385b2fcf5aeb34d455a142cf323f5a145a2dd39e7 [INFO] running `Command { std: "docker" "start" "-a" "fc4fdccdc0096487b8d5d2f385b2fcf5aeb34d455a142cf323f5a145a2dd39e7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lock.rs:116:17 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 116 | pub fn lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lock.rs:126:21 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn try_lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 126 | pub fn try_lock(&self, lock_type: LockType) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lock.rs:136:34 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 136 | pub fn lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lock.rs:147:38 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 147 | pub fn try_lock_using_parent(&self, lock_type: LockType, parent: &GLockGuard) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lock.rs:156:27 [INFO] [stderr] | [INFO] [stderr] 156 | pub fn lock_exclusive(&self) -> LockResult> { [INFO] [stderr] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 156 | pub fn lock_exclusive(&self) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lock.rs:165:31 [INFO] [stderr] | [INFO] [stderr] 165 | pub fn try_lock_exclusive(&self) -> LockResult> { [INFO] [stderr] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 165 | pub fn try_lock_exclusive(&self) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lock.rs:173:44 [INFO] [stderr] | [INFO] [stderr] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 173 | pub fn lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lock.rs:182:48 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 182 | pub fn try_lock_exclusive_using_parent(&self, parent: &GLockGuard) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lock.rs:186:20 [INFO] [stderr] | [INFO] [stderr] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 186 | fn do_lock(&self, lock_type: LockType, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lock.rs:192:30 [INFO] [stderr] | [INFO] [stderr] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 192 | fn do_lock_exclusive(&self, parent: Option<&GLockGuard>, try_only: bool) -> LockResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `glock` (lib) generated 10 warnings (run `cargo fix --lib -p glock` to apply 10 suggestions) [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/lock.rs:333:10 [INFO] [stderr] | [INFO] [stderr] 333 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `glock` (lib test) generated 11 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/glock-056072032e853914) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test kernel::test::clone_clone_weak ... ok [INFO] [stdout] test kernel::test::acquire_release ... ok [INFO] [stdout] test kernel::test::upgrade ... ok [INFO] [stdout] test locktype::test::supports_children ... ok [INFO] [stdout] test locktype::test::implicit_parent_type ... ok [INFO] [stdout] test locktype::test::min_upgradable ... ok [INFO] [stdout] test kernel::test::acquire_release_implicit_parent ... ok [INFO] [stdout] test locktype::test::upgradable_to ... ok [INFO] [stdout] test lock::test::upgrade_to_exclusive ... ok [INFO] [stdout] test kernel::test::upgrade_implicit_parent ... ok [INFO] [stdout] test lock::test::nested_locks ... ok [INFO] [stdout] test kernel::test::acquire_release_shared_parent ... ok [INFO] [stdout] test locktype::test::compatible_with ... ok [INFO] [stdout] test lock::test::non_nested_locks ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fc4fdccdc0096487b8d5d2f385b2fcf5aeb34d455a142cf323f5a145a2dd39e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc4fdccdc0096487b8d5d2f385b2fcf5aeb34d455a142cf323f5a145a2dd39e7", kill_on_drop: false }` [INFO] [stdout] fc4fdccdc0096487b8d5d2f385b2fcf5aeb34d455a142cf323f5a145a2dd39e7