[INFO] fetching crate async-recursion2 1.0.5... [INFO] checking async-recursion2-1.0.5 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate async-recursion2 1.0.5 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate async-recursion2 1.0.5 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate async-recursion2 1.0.5 [INFO] finished tweaking crates.io crate async-recursion2 1.0.5 [INFO] tweaked toml for crates.io crate async-recursion2 1.0.5 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b51652be6bb93a3f1c5fc27ae0bd62e9dbf2072ee4c291487335899d1fdf7351 [INFO] running `Command { std: "docker" "start" "-a" "b51652be6bb93a3f1c5fc27ae0bd62e9dbf2072ee4c291487335899d1fdf7351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b51652be6bb93a3f1c5fc27ae0bd62e9dbf2072ee4c291487335899d1fdf7351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b51652be6bb93a3f1c5fc27ae0bd62e9dbf2072ee4c291487335899d1fdf7351", kill_on_drop: false }` [INFO] [stdout] b51652be6bb93a3f1c5fc27ae0bd62e9dbf2072ee4c291487335899d1fdf7351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f89693abcab49dbe9be0511492ee25a1c61cb05150e5ea2335b3d92fb327ea94 [INFO] running `Command { std: "docker" "start" "-a" "f89693abcab49dbe9be0511492ee25a1c61cb05150e5ea2335b3d92fb327ea94", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking async-recursion2 v1.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stdout] warning: unused import: `Literal` [INFO] [stdout] --> src/parse.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use proc_macro2::{Span,Literal}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `comma`, and `b` are never read [INFO] [stdout] --> src/parse.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct MacroInput { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 37 | a: Option< Expr>, [INFO] [stdout] | ^ [INFO] [stdout] 38 | comma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | b: Option, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stdout] warning: unused import: `Literal` [INFO] [stdout] --> src/parse.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use proc_macro2::{Span,Literal}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `comma`, and `b` are never read [INFO] [stdout] --> src/parse.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct MacroInput { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 37 | a: Option< Expr>, [INFO] [stdout] | ^ [INFO] [stdout] 38 | comma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | b: Option, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_recursion` [INFO] [stdout] --> tests/lifetimes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_recursion::async_recursion; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `async_recursion` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use async_recursion2::async_recursion; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_recursion` [INFO] [stdout] --> tests/fibonacci.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_recursion::async_recursion; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `async_recursion` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use async_recursion2::async_recursion; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0733]: recursion in an async fn requires boxing [INFO] [stdout] --> tests/lifetimes.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | async fn contains_value<'a, T: PartialEq + Sync>(value: &T, node: &Node<'a, T>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a recursive `async fn` call must introduce indirection such as `Box::pin` to avoid an infinitely sized future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0733]: recursion in an async fn requires boxing [INFO] [stdout] --> tests/fibonacci.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn fib(n: u32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a recursive `async fn` call must introduce indirection such as `Box::pin` to avoid an infinitely sized future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_recursion` [INFO] [stdout] --> tests/core_module.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_recursion::async_recursion; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `async_recursion` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use async_recursion2::async_recursion; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0733. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_recursion` [INFO] [stdout] --> tests/generic_parameters.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_recursion::async_recursion; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `async_recursion` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use async_recursion2::async_recursion; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-recursion2` (test "core_module") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `async-recursion2` (test "fibonacci") due to 3 previous errors [INFO] [stdout] error[E0432]: unresolved import `async_recursion` [INFO] [stdout] --> tests/struct_methods.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_recursion::async_recursion; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `async_recursion` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use async_recursion2::async_recursion; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_recursion` in the list of imported crates [INFO] [stdout] --> tests/macros_all_the_way_down.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #[::async_recursion::async_recursion] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `async_recursion` in the list of imported crates [INFO] [stdout] ... [INFO] [stdout] 15 | recurse!(owned, usize); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `recurse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_recursion` in the list of imported crates [INFO] [stdout] --> tests/macros_all_the_way_down.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #[::async_recursion::async_recursion] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `async_recursion` in the list of imported crates [INFO] [stdout] ... [INFO] [stdout] 16 | recurse!(by_ref, &usize); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `recurse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_recursion` in the list of imported crates [INFO] [stdout] --> tests/macros_all_the_way_down.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | #[::async_recursion::async_recursion] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `async_recursion` in the list of imported crates [INFO] [stdout] ... [INFO] [stdout] 17 | recurse!(by_ref_mut, &mut usize); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `recurse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0733. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-recursion2` (test "generic_parameters") due to 2 previous errors [INFO] [stderr] error: could not compile `async-recursion2` (test "lifetimes") due to 3 previous errors [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0733]: recursion in an async fn requires boxing [INFO] [stdout] --> tests/struct_methods.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn fib(&self, n: u32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a recursive `async fn` call must introduce indirection such as `Box::pin` to avoid an infinitely sized future [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-recursion2` (test "macros_all_the_way_down") due to 4 previous errors [INFO] [stdout] error[E0733]: recursion in an async fn requires boxing [INFO] [stdout] --> tests/struct_methods.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn empty_string<'a>(&self, some_str: &'a str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | self.empty_string(&some_str[1..]).await [INFO] [stdout] | --------------------------------------- recursive call here [INFO] [stdout] | [INFO] [stdout] = note: a recursive `async fn` call must introduce indirection such as `Box::pin` to avoid an infinitely sized future [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Literal` [INFO] [stdout] --> src/parse.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use proc_macro2::{Span,Literal}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0733. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-recursion2` (test "struct_methods") due to 4 previous errors [INFO] [stdout] warning: fields `a`, `comma`, and `b` are never read [INFO] [stdout] --> src/parse.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct MacroInput { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 37 | a: Option< Expr>, [INFO] [stdout] | ^ [INFO] [stdout] 38 | comma: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | b: Option, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f89693abcab49dbe9be0511492ee25a1c61cb05150e5ea2335b3d92fb327ea94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f89693abcab49dbe9be0511492ee25a1c61cb05150e5ea2335b3d92fb327ea94", kill_on_drop: false }` [INFO] [stdout] f89693abcab49dbe9be0511492ee25a1c61cb05150e5ea2335b3d92fb327ea94