[INFO] fetching crate better_collect 0.5.0... [INFO] checking better_collect-0.5.0 against 5f93549e108157f071a34f220b74b25690496aa1 for pr-162986 [INFO] extracting crate better_collect 0.5.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate better_collect 0.5.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate better_collect 0.5.0 [INFO] tweaked toml for crates.io crate better_collect 0.5.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate better_collect 0.5.0 on toolchain 5f93549e108157f071a34f220b74b25690496aa1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate better_collect 0.5.0 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" "+5f93549e108157f071a34f220b74b25690496aa1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b28dbcdaef0765d607c770baef59300a875d4d7ddf7e95f4ebeea4ea1923e0bd [INFO] running `Command { std: "docker" "start" "b28dbcdaef0765d607c770baef59300a875d4d7ddf7e95f4ebeea4ea1923e0bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b28dbcdaef0765d607c770baef59300a875d4d7ddf7e95f4ebeea4ea1923e0bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b28dbcdaef0765d607c770baef59300a875d4d7ddf7e95f4ebeea4ea1923e0bd" "/opt/rustwide/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b28dbcdaef0765d607c770baef59300a875d4d7ddf7e95f4ebeea4ea1923e0bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b28dbcdaef0765d607c770baef59300a875d4d7ddf7e95f4ebeea4ea1923e0bd" "/opt/rustwide/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.28 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling alloca v0.4.0 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking clap_lex v1.0.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking criterion-plot v0.8.2 [INFO] [stderr] Checking clap_builder v4.5.58 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking rand v0.10.0 [INFO] [stderr] Checking better_collect v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the type parameter `T` may not live long enough [INFO] [stdout] --> src/lib.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 285 | / macro_rules! clb_once { [INFO] [stdout] 286 | | ( [INFO] [stdout] 287 | | use<$($use_lts:lifetime,)* $($use_tys:ident),*> [INFO] [stdout] 288 | | for<$($lts:lifetime),* $(,)?> [INFO] [stdout] ... | [INFO] [stdout] 295 | | __F__: for<$($lts),*> ::core::ops::FnOnce($($param_tys),*) -> $ret_ty, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `T` must outlive `'b` [INFO] [stdout] ... | [INFO] [stdout] 326 | | }; [INFO] [stdout] 327 | | } [INFO] [stdout] | |_- this error originates in the macro `clb_once` which comes from the expansion of the macro `test_clb` [INFO] [stdout] ... [INFO] [stdout] 494 | test_clb!(clb_once -> FnOnce); [INFO] [stdout] | ----------------------------- in this macro invocation [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 #162200 [INFO] [stdout] = note: `#[forbid(unsatisfied_hrtb_arg)]` (part of `#[forbid(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `T` may not live long enough [INFO] [stdout] --> src/lib.rs:490:90 [INFO] [stdout] | [INFO] [stdout] 470 | macro_rules! test_clb { [INFO] [stdout] ... [INFO] [stdout] 490 | let _ = assert_this_fn($macro!(use<'b, T> for<'a> |x: &'a i32, _y: &'b T| -> &'a i32 { x })); [INFO] [stdout] | ^^^^^^^ `T` must outlive `'b` [INFO] [stdout] ... [INFO] [stdout] 494 | test_clb!(clb_once -> FnOnce); [INFO] [stdout] | ----------------------------- in this macro invocation [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 #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `T` may not live long enough [INFO] [stdout] --> src/lib.rs:359:24 [INFO] [stdout] | [INFO] [stdout] 349 | / macro_rules! clb_mut { [INFO] [stdout] 350 | | ( [INFO] [stdout] 351 | | use<$($use_lts:lifetime,)* $($use_tys:ident),*> [INFO] [stdout] 352 | | for<$($lts:lifetime),* $(,)?> [INFO] [stdout] ... | [INFO] [stdout] 359 | | __F__: for<$($lts),*> ::core::ops::FnMut($($param_tys),*) -> $ret_ty, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `T` must outlive `'b` [INFO] [stdout] ... | [INFO] [stdout] 390 | | }; [INFO] [stdout] 391 | | } [INFO] [stdout] | |_- this error originates in the macro `clb_mut` which comes from the expansion of the macro `test_clb` [INFO] [stdout] ... [INFO] [stdout] 495 | test_clb!(clb_mut -> FnMut); [INFO] [stdout] | --------------------------- in this macro invocation [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 #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `T` may not live long enough [INFO] [stdout] --> src/lib.rs:490:90 [INFO] [stdout] | [INFO] [stdout] 470 | macro_rules! test_clb { [INFO] [stdout] ... [INFO] [stdout] 490 | let _ = assert_this_fn($macro!(use<'b, T> for<'a> |x: &'a i32, _y: &'b T| -> &'a i32 { x })); [INFO] [stdout] | ^^^^^^^ `T` must outlive `'b` [INFO] [stdout] ... [INFO] [stdout] 495 | test_clb!(clb_mut -> FnMut); [INFO] [stdout] | --------------------------- in this macro invocation [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 #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `T` may not live long enough [INFO] [stdout] --> src/lib.rs:423:24 [INFO] [stdout] | [INFO] [stdout] 413 | / macro_rules! clb { [INFO] [stdout] 414 | | ( [INFO] [stdout] 415 | | use<$($use_lts:lifetime,)* $($use_tys:ident),*> [INFO] [stdout] 416 | | for<$($lts:lifetime),* $(,)?> [INFO] [stdout] ... | [INFO] [stdout] 423 | | __F__: for<$($lts),*> ::core::ops::Fn($($param_tys),*) -> $ret_ty, [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `T` must outlive `'b` [INFO] [stdout] ... | [INFO] [stdout] 454 | | }; [INFO] [stdout] 455 | | } [INFO] [stdout] | |_- this error originates in the macro `clb` which comes from the expansion of the macro `test_clb` [INFO] [stdout] ... [INFO] [stdout] 496 | test_clb!(clb -> Fn); [INFO] [stdout] | -------------------- in this macro invocation [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 #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `T` may not live long enough [INFO] [stdout] --> src/lib.rs:490:90 [INFO] [stdout] | [INFO] [stdout] 470 | macro_rules! test_clb { [INFO] [stdout] ... [INFO] [stdout] 490 | let _ = assert_this_fn($macro!(use<'b, T> for<'a> |x: &'a i32, _y: &'b T| -> &'a i32 { x })); [INFO] [stdout] | ^^^^^^^ `T` must outlive `'b` [INFO] [stdout] ... [INFO] [stdout] 496 | test_clb!(clb -> Fn); [INFO] [stdout] | -------------------- in this macro invocation [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 #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `better_collect` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b28dbcdaef0765d607c770baef59300a875d4d7ddf7e95f4ebeea4ea1923e0bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b28dbcdaef0765d607c770baef59300a875d4d7ddf7e95f4ebeea4ea1923e0bd", kill_on_drop: false }` [INFO] [stdout] b28dbcdaef0765d607c770baef59300a875d4d7ddf7e95f4ebeea4ea1923e0bd