[INFO] cloning repository https://github.com/minus3theta/oreilly-concurrent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/minus3theta/oreilly-concurrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminus3theta%2Foreilly-concurrent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminus3theta%2Foreilly-concurrent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c01778efe0ed25740abb77118540d29165f3d02 [INFO] testing minus3theta/oreilly-concurrent against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminus3theta%2Foreilly-concurrent" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/minus3theta/oreilly-concurrent [INFO] finished tweaking git repo https://github.com/minus3theta/oreilly-concurrent [INFO] tweaked toml for git repo https://github.com/minus3theta/oreilly-concurrent written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/minus3theta/oreilly-concurrent 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] crate git repo https://github.com/minus3theta/oreilly-concurrent already has a lockfile, it will not be regenerated [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 57c476bf9a1da0d04d84d04ebeff28150459723048fa334f99a5cae5cfdc14a6 [INFO] running `Command { std: "docker" "start" "-a" "57c476bf9a1da0d04d84d04ebeff28150459723048fa334f99a5cae5cfdc14a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57c476bf9a1da0d04d84d04ebeff28150459723048fa334f99a5cae5cfdc14a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57c476bf9a1da0d04d84d04ebeff28150459723048fa334f99a5cae5cfdc14a6", kill_on_drop: false }` [INFO] [stdout] 57c476bf9a1da0d04d84d04ebeff28150459723048fa334f99a5cae5cfdc14a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e5957937c1bed46e5adae815bd4ee7351717c1dc19d80046daf02b5dcdb7f09f [INFO] running `Command { std: "docker" "start" "-a" "e5957937c1bed46e5adae815bd4ee7351717c1dc19d80046daf02b5dcdb7f09f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nix v0.22.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling oreilly-concurrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fair_lock.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn lock(&self, idx: usize) -> FairLockGuard { [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] 33 | pub fn lock(&self, idx: usize) -> FairLockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/mcs_lock.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn lock<'a>(&'a self, node: &'a mut MCSNode) -> MCSLockGuard { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named 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] 63 | pub fn lock<'a>(&'a self, node: &'a mut MCSNode) -> MCSLockGuard<'a, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bin/c3_semaphore.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe { CNT.fetch_add(1, Ordering::SeqCst) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bin/c3_semaphore.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | let n = unsafe { CNT.load(Ordering::SeqCst) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bin/c3_semaphore.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe { CNT.fetch_sub(1, Ordering::SeqCst) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/c4_membarrier.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | fn lock(&self) -> SpinLockGuard { [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] 30 | fn lock(&self) -> SpinLockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/c5_async_io.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | fn accept(&self) -> Accept { [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] 147 | fn accept(&self) -> Accept<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/c5_async_io.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | fn read_line(&mut self) -> ReadLine { [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] 207 | fn read_line(&mut self) -> ReadLine<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.69s [INFO] running `Command { std: "docker" "inspect" "e5957937c1bed46e5adae815bd4ee7351717c1dc19d80046daf02b5dcdb7f09f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5957937c1bed46e5adae815bd4ee7351717c1dc19d80046daf02b5dcdb7f09f", kill_on_drop: false }` [INFO] [stdout] e5957937c1bed46e5adae815bd4ee7351717c1dc19d80046daf02b5dcdb7f09f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] cdf3fd5aa93fc92de6188200db70b7b63eb73df6739eddb81714ff4af85e41ea [INFO] running `Command { std: "docker" "start" "-a" "cdf3fd5aa93fc92de6188200db70b7b63eb73df6739eddb81714ff4af85e41ea", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fair_lock.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn lock(&self, idx: usize) -> FairLockGuard { [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] 33 | pub fn lock(&self, idx: usize) -> FairLockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/mcs_lock.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn lock<'a>(&'a self, node: &'a mut MCSNode) -> MCSLockGuard { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named 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] 63 | pub fn lock<'a>(&'a self, node: &'a mut MCSNode) -> MCSLockGuard<'a, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling oreilly-concurrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bin/c3_semaphore.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe { CNT.fetch_add(1, Ordering::SeqCst) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bin/c3_semaphore.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | let n = unsafe { CNT.load(Ordering::SeqCst) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bin/c3_semaphore.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe { CNT.fetch_sub(1, Ordering::SeqCst) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/c4_membarrier.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | fn lock(&self) -> SpinLockGuard { [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] 30 | fn lock(&self) -> SpinLockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/c5_async_io.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | fn accept(&self) -> Accept { [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] 147 | fn accept(&self) -> Accept<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/c5_async_io.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | fn read_line(&mut self) -> ReadLine { [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] 207 | fn read_line(&mut self) -> ReadLine<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fair_lock.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn lock(&self, idx: usize) -> FairLockGuard { [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] 33 | pub fn lock(&self, idx: usize) -> FairLockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/mcs_lock.rs:63:60 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn lock<'a>(&'a self, node: &'a mut MCSNode) -> MCSLockGuard { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named 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] 63 | pub fn lock<'a>(&'a self, node: &'a mut MCSNode) -> MCSLockGuard<'a, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "cdf3fd5aa93fc92de6188200db70b7b63eb73df6739eddb81714ff4af85e41ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf3fd5aa93fc92de6188200db70b7b63eb73df6739eddb81714ff4af85e41ea", kill_on_drop: false }` [INFO] [stdout] cdf3fd5aa93fc92de6188200db70b7b63eb73df6739eddb81714ff4af85e41ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 50835747fd176c25fff18172a3b576a144d3501518aac7a609deb0fa5063d4ea [INFO] running `Command { std: "docker" "start" "-a" "50835747fd176c25fff18172a3b576a144d3501518aac7a609deb0fa5063d4ea", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fair_lock.rs:33:17 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn lock(&self, idx: usize) -> FairLockGuard { [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] 33 | pub fn lock(&self, idx: usize) -> FairLockGuard<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/mcs_lock.rs:63:60 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn lock<'a>(&'a self, node: &'a mut MCSNode) -> MCSLockGuard { [INFO] [stderr] | -- -- ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named 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] 63 | pub fn lock<'a>(&'a self, node: &'a mut MCSNode) -> MCSLockGuard<'a, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `oreilly-concurrent` (lib) generated 2 warnings (run `cargo fix --lib -p oreilly-concurrent` to apply 2 suggestions) [INFO] [stderr] warning: `oreilly-concurrent` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/bin/c4_membarrier.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | fn lock(&self) -> SpinLockGuard { [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] 30 | fn lock(&self) -> SpinLockGuard<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/bin/c5_async_io.rs:147:15 [INFO] [stderr] | [INFO] [stderr] 147 | fn accept(&self) -> Accept { [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] 147 | fn accept(&self) -> Accept<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/bin/c5_async_io.rs:207:18 [INFO] [stderr] | [INFO] [stderr] 207 | fn read_line(&mut self) -> ReadLine { [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] 207 | fn read_line(&mut self) -> ReadLine<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/bin/c3_semaphore.rs:24:26 [INFO] [stderr] | [INFO] [stderr] 24 | unsafe { CNT.fetch_add(1, Ordering::SeqCst) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/bin/c3_semaphore.rs:25:34 [INFO] [stderr] | [INFO] [stderr] 25 | let n = unsafe { CNT.load(Ordering::SeqCst) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/bin/c3_semaphore.rs:28:26 [INFO] [stderr] | [INFO] [stderr] 28 | unsafe { CNT.fetch_sub(1, Ordering::SeqCst) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `oreilly-concurrent` (bin "c4_membarrier" test) generated 1 warning (run `cargo fix --bin "c4_membarrier" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `oreilly-concurrent` (bin "c5_async_io" test) generated 2 warnings (run `cargo fix --bin "c5_async_io" --tests` to apply 2 suggestions) [INFO] [stderr] warning: `oreilly-concurrent` (bin "c3_semaphore" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/oreilly_concurrent-da1fd15ddb3fe230) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/c3_barrier.rs (/opt/rustwide/target/debug/deps/c3_barrier-38c77cfb004757ba) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/c3_channel.rs (/opt/rustwide/target/debug/deps/c3_channel-474e5952c9bfd3af) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/c3_condvar.rs (/opt/rustwide/target/debug/deps/c3_condvar-4093e0ef7de4c848) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/c3_mutex.rs (/opt/rustwide/target/debug/deps/c3_mutex-565bfe444547020d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/c3_rwlock.rs (/opt/rustwide/target/debug/deps/c3_rwlock-8b8ed80d36058980) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/c3_semaphore.rs (/opt/rustwide/target/debug/deps/c3_semaphore-a6ad38701141c2a1) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/bin/c4_banker.rs (/opt/rustwide/target/debug/deps/c4_banker-f89fcaf8af212df0) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/c4_membarrier.rs (/opt/rustwide/target/debug/deps/c4_membarrier-dbe0b5924d6a41ce) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/bin/c4_signal.rs (/opt/rustwide/target/debug/deps/c4_signal-f2084c01a44426d4) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/c5_async_io.rs (/opt/rustwide/target/debug/deps/c5_async_io-368e4cf39a08b87b) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/c5_scheduling.rs (/opt/rustwide/target/debug/deps/c5_scheduling-c927c0250a4247fe) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/c5_tokio.rs (/opt/rustwide/target/debug/deps/c5_tokio-cbddf49d7b7b2eaf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/c7_fairlock.rs (/opt/rustwide/target/debug/deps/c7_fairlock-ad6761bdd885dd87) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/c7_mcslock.rs (/opt/rustwide/target/debug/deps/c7_mcslock-466b97d6d62d981b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/c7_stm.rs (/opt/rustwide/target/debug/deps/c7_stm-03f4557ad857ebf4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests oreilly_concurrent [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "50835747fd176c25fff18172a3b576a144d3501518aac7a609deb0fa5063d4ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50835747fd176c25fff18172a3b576a144d3501518aac7a609deb0fa5063d4ea", kill_on_drop: false }` [INFO] [stdout] 50835747fd176c25fff18172a3b576a144d3501518aac7a609deb0fa5063d4ea