[INFO] fetching crate async-ffi-macros 0.5.0... [INFO] checking async-ffi-macros-0.5.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [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 cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fa7b9b0ca0c88a37450ba29e5716795bf96b02f8d6a5983116349b04b7f3a5a [INFO] running `Command { std: "docker" "start" "-a" "1fa7b9b0ca0c88a37450ba29e5716795bf96b02f8d6a5983116349b04b7f3a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fa7b9b0ca0c88a37450ba29e5716795bf96b02f8d6a5983116349b04b7f3a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fa7b9b0ca0c88a37450ba29e5716795bf96b02f8d6a5983116349b04b7f3a5a", kill_on_drop: false }` [INFO] [stdout] 1fa7b9b0ca0c88a37450ba29e5716795bf96b02f8d6a5983116349b04b7f3a5a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e116ca5da3ca3fe93bd113e9ed961eae66fab0c2515be80ba1e60098d5e3f34 [INFO] running `Command { std: "docker" "start" "-a" "9e116ca5da3ca3fe93bd113e9ed961eae66fab0c2515be80ba1e60098d5e3f34", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [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.104 [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" "9e116ca5da3ca3fe93bd113e9ed961eae66fab0c2515be80ba1e60098d5e3f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e116ca5da3ca3fe93bd113e9ed961eae66fab0c2515be80ba1e60098d5e3f34", kill_on_drop: false }` [INFO] [stdout] 9e116ca5da3ca3fe93bd113e9ed961eae66fab0c2515be80ba1e60098d5e3f34