[INFO] cloning repository https://github.com/pileghoff/ffi-mock [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pileghoff/ffi-mock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpileghoff%2Fffi-mock", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpileghoff%2Fffi-mock'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e5d13151ef8567f7afb3feaadc6b8531a08d474 [INFO] checking pileghoff/ffi-mock against master#e1ac0fa95ba15221ee195647cb12464df3164513 for pr-126090 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpileghoff%2Fffi-mock" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pileghoff/ffi-mock on toolchain e1ac0fa95ba15221ee195647cb12464df3164513 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e1ac0fa95ba15221ee195647cb12464df3164513" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pileghoff/ffi-mock [INFO] finished tweaking git repo https://github.com/pileghoff/ffi-mock [INFO] tweaked toml for git repo https://github.com/pileghoff/ffi-mock written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pileghoff/ffi-mock 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" "+e1ac0fa95ba15221ee195647cb12464df3164513" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking pileghoff/ffi-mock against try#09fa13185567a1d9c37905d6a4a2ea56e7f44efc for pr-126090 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpileghoff%2Fffi-mock" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pileghoff/ffi-mock on toolchain 09fa13185567a1d9c37905d6a4a2ea56e7f44efc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09fa13185567a1d9c37905d6a4a2ea56e7f44efc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pileghoff/ffi-mock [INFO] finished tweaking git repo https://github.com/pileghoff/ffi-mock [INFO] tweaked toml for git repo https://github.com/pileghoff/ffi-mock written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pileghoff/ffi-mock 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" "+09fa13185567a1d9c37905d6a4a2ea56e7f44efc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking pileghoff/ffi-mock against try#09fa13185567a1d9c37905d6a4a2ea56e7f44efc for pr-126090 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpileghoff%2Fffi-mock" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pileghoff/ffi-mock on toolchain 09fa13185567a1d9c37905d6a4a2ea56e7f44efc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09fa13185567a1d9c37905d6a4a2ea56e7f44efc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pileghoff/ffi-mock [INFO] finished tweaking git repo https://github.com/pileghoff/ffi-mock [INFO] tweaked toml for git repo https://github.com/pileghoff/ffi-mock written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pileghoff/ffi-mock 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" "+09fa13185567a1d9c37905d6a4a2ea56e7f44efc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ffi-mock-macro v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+09fa13185567a1d9c37905d6a4a2ea56e7f44efc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dc8ef472bf8d71f7efde081168e6228b92cf59e6976d222e1045d6e70e88cc0 [INFO] running `Command { std: "docker" "start" "-a" "9dc8ef472bf8d71f7efde081168e6228b92cf59e6976d222e1045d6e70e88cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dc8ef472bf8d71f7efde081168e6228b92cf59e6976d222e1045d6e70e88cc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dc8ef472bf8d71f7efde081168e6228b92cf59e6976d222e1045d6e70e88cc0", kill_on_drop: false }` [INFO] [stdout] 9dc8ef472bf8d71f7efde081168e6228b92cf59e6976d222e1045d6e70e88cc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+09fa13185567a1d9c37905d6a4a2ea56e7f44efc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 695e825b1af3310d612425ab1d124481e97ccdbd148bbc3addd720f30ca80727 [INFO] running `Command { std: "docker" "start" "-a" "695e825b1af3310d612425ab1d124481e97ccdbd148bbc3addd720f30ca80727", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Checking syn v2.0.39 [INFO] [stderr] Checking ffi-mock-macro v0.1.0 (/opt/rustwide/workdir/ffi-mock-macro) [INFO] [stdout] warning: unused imports: `Default`, `Expr`, `Token`, `TypeParen`, and `parse::Parse` [INFO] [stdout] --> ffi-mock-macro/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | parse::Parse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | token::{Comma, Default}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Expr, FnArg, Ident, Signature, Token, Type, TypeParen, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Default`, `Expr`, `Token`, `TypeParen`, and `parse::Parse` [INFO] [stdout] --> ffi-mock-macro/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | parse::Parse, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | token::{Comma, Default}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Expr, FnArg, Ident, Signature, Token, Type, TypeParen, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ffi-mock-macro v0.1.0 [INFO] [stderr] Checking ffi-mock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `b` and `c` are never read [INFO] [stdout] --> src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | struct TestStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 79 | a: u32, [INFO] [stdout] 80 | b: *const std::ffi::c_void, [INFO] [stdout] | ^ [INFO] [stdout] 81 | c: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TestStruct` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `TestStruct`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:84:60 [INFO] [stdout] | [INFO] [stdout] 84 | fn test_fun(a: u32, b: *const std::ffi::c_void, c: TestStruct) -> TestStruct; [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct TestStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `TestStruct`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:84:75 [INFO] [stdout] | [INFO] [stdout] 84 | fn test_fun(a: u32, b: *const std::ffi::c_void, c: TestStruct) -> TestStruct; [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct TestStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TestStruct`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:106:64 [INFO] [stdout] | [INFO] [stdout] 106 | fn test_fun(a: u32, b: *const std::ffi::c_void, c: TestStruct) -> TestStruct [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct TestStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TestStruct`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:106:79 [INFO] [stdout] | [INFO] [stdout] 106 | fn test_fun(a: u32, b: *const std::ffi::c_void, c: TestStruct) -> TestStruct [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct TestStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.31s [INFO] running `Command { std: "docker" "inspect" "695e825b1af3310d612425ab1d124481e97ccdbd148bbc3addd720f30ca80727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "695e825b1af3310d612425ab1d124481e97ccdbd148bbc3addd720f30ca80727", kill_on_drop: false }` [INFO] [stdout] 695e825b1af3310d612425ab1d124481e97ccdbd148bbc3addd720f30ca80727