[INFO] fetching crate async-recursion2 1.0.5... [INFO] checking async-recursion2-1.0.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate async-recursion2 1.0.5 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate async-recursion2 1.0.5 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5a6731515a4375a74d67e823fe9ddfe75ac99539a46e2d48e8eff10b695909c [INFO] running `Command { std: "docker" "start" "-a" "d5a6731515a4375a74d67e823fe9ddfe75ac99539a46e2d48e8eff10b695909c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5a6731515a4375a74d67e823fe9ddfe75ac99539a46e2d48e8eff10b695909c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5a6731515a4375a74d67e823fe9ddfe75ac99539a46e2d48e8eff10b695909c", kill_on_drop: false }` [INFO] [stdout] d5a6731515a4375a74d67e823fe9ddfe75ac99539a46e2d48e8eff10b695909c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c199d8e7348f220db52750fbb4d23e1115619466495e6837d9bdbd1cb0550cf [INFO] running `Command { std: "docker" "start" "-a" "6c199d8e7348f220db52750fbb4d23e1115619466495e6837d9bdbd1cb0550cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.106 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking async-recursion2 v1.0.5 (/opt/rustwide/workdir) [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: struct `MacroInput` is never constructed [INFO] [stdout] --> src/parse.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct MacroInput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [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: struct `MacroInput` is never constructed [INFO] [stdout] --> src/parse.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct MacroInput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking trybuild v1.0.110 [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `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[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[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 unresolved module or unlinked crate `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[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[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] 10 | _ => fib(n - 1).await + fib(n - 2).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] error[E0733]: recursion in an async fn requires boxing [INFO] [stdout] --> tests/generic_parameters.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn generic_parameter_no_send(x: T, y: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | if y > 0 { [INFO] [stdout] 39 | generic_parameter_no_send(x, y - 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] error[E0733]: recursion in an async fn requires boxing [INFO] [stdout] --> tests/generic_parameters.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn generic_parameter(mut x: S) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | if x.descend() { [INFO] [stdout] 30 | generic_parameter(x).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] 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] 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 "fibonacci") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-recursion2` (test "generic_parameters") due to 3 previous errors [INFO] [stderr] error: could not compile `async-recursion2` (test "macros_all_the_way_down") 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 unresolved module or unlinked crate `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] 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[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] 27 | (node.left.is_some() && contains_value(value, node.left.unwrap()).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] 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[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] 13 | _ => self.fib(n - 1).await + self.fib(n - 2).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] 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] [stderr] error: could not compile `async-recursion2` (test "lifetimes") due to 2 previous errors [INFO] [stdout] warning: struct `MacroInput` is never constructed [INFO] [stdout] --> src/parse.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct MacroInput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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 3 previous errors [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 unresolved module or unlinked crate `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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-recursion2` (test "core_module") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "6c199d8e7348f220db52750fbb4d23e1115619466495e6837d9bdbd1cb0550cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c199d8e7348f220db52750fbb4d23e1115619466495e6837d9bdbd1cb0550cf", kill_on_drop: false }` [INFO] [stdout] 6c199d8e7348f220db52750fbb4d23e1115619466495e6837d9bdbd1cb0550cf