[INFO] fetching crate async-ffi-macros 0.5.0... [INFO] checking async-ffi-macros-0.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate async-ffi-macros 0.5.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate async-ffi-macros 0.5.0 [INFO] finished tweaking crates.io crate async-ffi-macros 0.5.0 [INFO] tweaked toml for crates.io crate async-ffi-macros 0.5.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate async-ffi-macros 0.5.0 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 5 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] fee4d25e130f6af6841192ed9502db0339340fa75aff4a30ca8a06e5d63a8471 [INFO] running `Command { std: "docker" "start" "-a" "fee4d25e130f6af6841192ed9502db0339340fa75aff4a30ca8a06e5d63a8471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fee4d25e130f6af6841192ed9502db0339340fa75aff4a30ca8a06e5d63a8471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee4d25e130f6af6841192ed9502db0339340fa75aff4a30ca8a06e5d63a8471", kill_on_drop: false }` [INFO] [stdout] fee4d25e130f6af6841192ed9502db0339340fa75aff4a30ca8a06e5d63a8471 [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] 4cdee358f1fce8e7f7d36d52a35ee731c89cb5320172525f31632b6e12624ebf [INFO] running `Command { std: "docker" "start" "-a" "4cdee358f1fce8e7f7d36d52a35ee731c89cb5320172525f31632b6e12624ebf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.106 [INFO] [stderr] Checking async-ffi-macros v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `async_ffi` [INFO] [stdout] --> tests/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_ffi::{BorrowingFfiFuture, FfiFuture, LocalBorrowingFfiFuture, LocalFfiFuture}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `async_ffi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_ffi`, use `cargo add async_ffi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_ffi` in the list of imported crates [INFO] [stdout] --> tests/test.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | async extern "C" fn empty() {} [INFO] [stdout] | ^^^^^ could not find `async_ffi` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_ffi` in the list of imported crates [INFO] [stdout] --> tests/test.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | async extern "C" fn local() -> i32 { [INFO] [stdout] | ^^^^^ could not find `async_ffi` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_ffi` in the list of imported crates [INFO] [stdout] --> tests/test.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | async extern "C" fn has_args(x: i32) -> i32 { [INFO] [stdout] | ^^^^^ could not find `async_ffi` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_ffi` in the list of imported crates [INFO] [stdout] --> tests/test.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn extern_fn(arg1: u32) -> u32; [INFO] [stdout] | ^^^^^ could not find `async_ffi` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_ffi` in the list of imported crates [INFO] [stdout] --> tests/test.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub async fn borrow(a: &'fut i32) -> i32 { [INFO] [stdout] | ^^^^^ could not find `async_ffi` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_ffi` in the list of imported crates [INFO] [stdout] --> tests/test.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn borrow_non_send(a: &'fut i32) -> i32 { [INFO] [stdout] | ^^^^^ could not find `async_ffi` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_ffi` in the list of imported crates [INFO] [stdout] --> tests/test.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn pat_param(_: i32, (a, _, _b): (i32, i32, i32), x: i32, mut y: i32) -> i32 { [INFO] [stdout] | ^^^^^ could not find `async_ffi` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `async_ffi` in the list of imported crates [INFO] [stdout] --> tests/test.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | async fn func1(a: Dropper, ref mut _b: Dropper, _: Dropper, (_c, _): (Dropper, Dropper)) { [INFO] [stdout] | ^^^^^ could not find `async_ffi` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-ffi-macros` (test "test") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "4cdee358f1fce8e7f7d36d52a35ee731c89cb5320172525f31632b6e12624ebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cdee358f1fce8e7f7d36d52a35ee731c89cb5320172525f31632b6e12624ebf", kill_on_drop: false }` [INFO] [stdout] 4cdee358f1fce8e7f7d36d52a35ee731c89cb5320172525f31632b6e12624ebf