[INFO] cloning repository https://github.com/scristobal/cross-compiling-rust-c-wasm-zig [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scristobal/cross-compiling-rust-c-wasm-zig" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscristobal%2Fcross-compiling-rust-c-wasm-zig", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscristobal%2Fcross-compiling-rust-c-wasm-zig'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03d07b756aadc473b855a78026aba730e6ba6522 [INFO] checking scristobal/cross-compiling-rust-c-wasm-zig against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscristobal%2Fcross-compiling-rust-c-wasm-zig" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/scristobal/cross-compiling-rust-c-wasm-zig [INFO] finished tweaking git repo https://github.com/scristobal/cross-compiling-rust-c-wasm-zig [INFO] tweaked toml for git repo https://github.com/scristobal/cross-compiling-rust-c-wasm-zig written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/scristobal/cross-compiling-rust-c-wasm-zig on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/scristobal/cross-compiling-rust-c-wasm-zig 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee4bc1373a28cb01d48b93a11c49dd2ca4ae0c784db38c8abb1870a2daefda50 [INFO] running `Command { std: "docker" "start" "-a" "ee4bc1373a28cb01d48b93a11c49dd2ca4ae0c784db38c8abb1870a2daefda50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee4bc1373a28cb01d48b93a11c49dd2ca4ae0c784db38c8abb1870a2daefda50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee4bc1373a28cb01d48b93a11c49dd2ca4ae0c784db38c8abb1870a2daefda50", kill_on_drop: false }` [INFO] [stdout] ee4bc1373a28cb01d48b93a11c49dd2ca4ae0c784db38c8abb1870a2daefda50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d519646e36559e9e17e5e04adac78a157fa9add9cec84f4ee6151c39a59c83b5 [INFO] running `Command { std: "docker" "start" "-a" "d519646e36559e9e17e5e04adac78a157fa9add9cec84f4ee6151c39a59c83b5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling path-slash v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling which v6.0.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling clap_builder v4.5.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling scroll_derive v0.12.0 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling scroll v0.12.0 [INFO] [stderr] Compiling goblin v0.8.0 [INFO] [stderr] Compiling clap v4.5.1 [INFO] [stderr] Compiling cargo-options v0.7.2 [INFO] [stderr] Compiling fat-macho v0.4.8 [INFO] [stderr] Compiling cargo-platform v0.1.7 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling cargo-zigbuild v0.18.3 [INFO] [stderr] Compiling rust-ffi-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `rust-ffi-playground v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/rust-ffi-playground-6cff744d4ad7b801/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CC [INFO] [stderr] HOST_CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC [INFO] [stderr] CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,x87") [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CFLAGS [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS [INFO] [stderr] CFLAGS = None [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/rust-ffi-playground-dc9dd2f357d158ac/out/some-c-code/gcd.o" "-c" "some-c-code/gcd.c" [INFO] [stderr] exit status: 0 [INFO] [stderr] cargo:rerun-if-env-changed=AR_x86_64-unknown-linux-gnu [INFO] [stderr] AR_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=AR_x86_64_unknown_linux_gnu [INFO] [stderr] AR_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_AR [INFO] [stderr] HOST_AR = None [INFO] [stderr] cargo:rerun-if-env-changed=AR [INFO] [stderr] AR = None [INFO] [stderr] cargo:rerun-if-env-changed=ARFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] ARFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=ARFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] ARFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_ARFLAGS [INFO] [stderr] HOST_ARFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=ARFLAGS [INFO] [stderr] ARFLAGS = None [INFO] [stderr] running: ZERO_AR_DATE="1" "ar" "cq" "/opt/rustwide/target/debug/build/rust-ffi-playground-dc9dd2f357d158ac/out/libdef.a" "/opt/rustwide/target/debug/build/rust-ffi-playground-dc9dd2f357d158ac/out/some-c-code/gcd.o" [INFO] [stderr] exit status: 0 [INFO] [stderr] running: "ar" "s" "/opt/rustwide/target/debug/build/rust-ffi-playground-dc9dd2f357d158ac/out/libdef.a" [INFO] [stderr] exit status: 0 [INFO] [stderr] cargo:rustc-link-lib=static=def [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/debug/build/rust-ffi-playground-dc9dd2f357d158ac/out [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] running `Command { std: "docker" "inspect" "d519646e36559e9e17e5e04adac78a157fa9add9cec84f4ee6151c39a59c83b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d519646e36559e9e17e5e04adac78a157fa9add9cec84f4ee6151c39a59c83b5", kill_on_drop: false }` [INFO] [stdout] d519646e36559e9e17e5e04adac78a157fa9add9cec84f4ee6151c39a59c83b5