[INFO] fetching crate maitake-sync 0.1.0... [INFO] checking maitake-sync-0.1.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate maitake-sync 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate maitake-sync 0.1.0 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate maitake-sync 0.1.0 [INFO] finished tweaking crates.io crate maitake-sync 0.1.0 [INFO] tweaked toml for crates.io crate maitake-sync 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 002a223981a989fe52c2065e248994c3389fc2d1d4bd3cd77b01c329f7e43a9d [INFO] running `Command { std: "docker" "start" "-a" "002a223981a989fe52c2065e248994c3389fc2d1d4bd3cd77b01c329f7e43a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "002a223981a989fe52c2065e248994c3389fc2d1d4bd3cd77b01c329f7e43a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "002a223981a989fe52c2065e248994c3389fc2d1d4bd3cd77b01c329f7e43a9d", kill_on_drop: false }` [INFO] [stdout] 002a223981a989fe52c2065e248994c3389fc2d1d4bd3cd77b01c329f7e43a9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07939403b9d9193847f4565b0c9cea87733ebd65cfd2f9b1def17bcc204a1573 [INFO] running `Command { std: "docker" "start" "-a" "07939403b9d9193847f4565b0c9cea87733ebd65cfd2f9b1def17bcc204a1573", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking mycelium-bitfield v0.1.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking futures-channel v0.3.28 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking cordyceps v0.3.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.2.0 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking maitake-sync v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/wait_map.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | / enum_from_bits! { [INFO] [stdout] 331 | | /// The state of a [`Waiter`] node in a [`WaitMap`]. [INFO] [stdout] 332 | | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] 333 | | enum WaitState { [INFO] [stdout] ... | [INFO] [stdout] 353 | | } [INFO] [stdout] 354 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] = note: this warning originates in the macro `enum_from_bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/wait_queue.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | / enum_from_bits! { [INFO] [stdout] 269 | | /// The state of a [`Waiter`] node in a [`WaitQueue`]. [INFO] [stdout] 270 | | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] 271 | | enum WaitState { [INFO] [stdout] ... | [INFO] [stdout] 295 | | } [INFO] [stdout] 296 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: this warning originates in the macro `enum_from_bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-test v0.4.3 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/wait_map.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | / enum_from_bits! { [INFO] [stdout] 331 | | /// The state of a [`Waiter`] node in a [`WaitMap`]. [INFO] [stdout] 332 | | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] 333 | | enum WaitState { [INFO] [stdout] ... | [INFO] [stdout] 353 | | } [INFO] [stdout] 354 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] = note: this warning originates in the macro `enum_from_bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/wait_queue.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | / enum_from_bits! { [INFO] [stdout] 269 | | /// The state of a [`Waiter`] node in a [`WaitQueue`]. [INFO] [stdout] 270 | | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] 271 | | enum WaitState { [INFO] [stdout] ... | [INFO] [stdout] 295 | | } [INFO] [stdout] 296 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: this warning originates in the macro `enum_from_bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `track` [INFO] [stdout] --> src/loom.rs:131:51 [INFO] [stdout] | [INFO] [stdout] 131 | let _tracking = track.map(|track| track.set_default()); [INFO] [stdout] | -----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `track` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sem` does not live long enough [INFO] [stdout] --> src/semaphore/tests/loom.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 132 | let sem = Arc::new(Semaphore::new(0)); [INFO] [stdout] | --- binding `sem` declared here [INFO] [stdout] 133 | [INFO] [stdout] 134 | let thread1 = thread::spawn(run(&sem)); [INFO] [stdout] | ------------------^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sem` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 142 | }) [INFO] [stdout] | - `sem` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sem` does not live long enough [INFO] [stdout] --> src/semaphore/tests/loom.rs:135:41 [INFO] [stdout] | [INFO] [stdout] 132 | let sem = Arc::new(Semaphore::new(0)); [INFO] [stdout] | --- binding `sem` declared here [INFO] [stdout] ... [INFO] [stdout] 135 | let thread2 = thread::spawn(run(&sem)); [INFO] [stdout] | ------------------^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sem` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 142 | }) [INFO] [stdout] | - `sem` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `sem` does not live long enough [INFO] [stdout] --> src/semaphore/tests/loom.rs:136:41 [INFO] [stdout] | [INFO] [stdout] 132 | let sem = Arc::new(Semaphore::new(0)); [INFO] [stdout] | --- binding `sem` declared here [INFO] [stdout] ... [INFO] [stdout] 136 | let thread3 = thread::spawn(run(&sem)); [INFO] [stdout] | ------------------^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `sem` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 142 | }) [INFO] [stdout] | - `sem` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0515, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `maitake-sync` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "07939403b9d9193847f4565b0c9cea87733ebd65cfd2f9b1def17bcc204a1573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07939403b9d9193847f4565b0c9cea87733ebd65cfd2f9b1def17bcc204a1573", kill_on_drop: false }` [INFO] [stdout] 07939403b9d9193847f4565b0c9cea87733ebd65cfd2f9b1def17bcc204a1573