[INFO] cloning repository https://github.com/AnlangA/cbindgen_example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnlangA/cbindgen_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnlangA%2Fcbindgen_example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnlangA%2Fcbindgen_example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8ee5859c41e64976c9e80a342cf344fd693a7c09
[INFO] checking AnlangA/cbindgen_example against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnlangA%2Fcbindgen_example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AnlangA/cbindgen_example
[INFO] finished tweaking git repo https://github.com/AnlangA/cbindgen_example
[INFO] tweaked toml for git repo https://github.com/AnlangA/cbindgen_example written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AnlangA/cbindgen_example on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AnlangA/cbindgen_example 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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "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
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde v1.0.204
[INFO] [stderr]   Downloaded serde_derive v1.0.204
[INFO] [stderr]   Downloaded cbindgen v0.26.0
[INFO] [stderr]   Downloaded syn v2.0.72
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9d3e24f439b38f1fe169f974a558f5be55c7153794e6327a442b9580cb045d6a
[INFO] running `Command { std: "docker" "start" "9d3e24f439b38f1fe169f974a558f5be55c7153794e6327a442b9580cb045d6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d3e24f439b38f1fe169f974a558f5be55c7153794e6327a442b9580cb045d6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9d3e24f439b38f1fe169f974a558f5be55c7153794e6327a442b9580cb045d6a" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d3e24f439b38f1fe169f974a558f5be55c7153794e6327a442b9580cb045d6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9d3e24f439b38f1fe169f974a558f5be55c7153794e6327a442b9580cb045d6a" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling os_str_bytes v6.6.1
[INFO] [stderr]    Compiling textwrap v0.16.1
[INFO] [stderr]    Compiling cbindgen v0.26.0
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling fun_pointer v0.1.0 (/opt/rustwide/workdir/rust/fun_pointer)
[INFO] [stderr]    Compiling add v0.1.0 (/opt/rustwide/workdir/rust/add)
[INFO] [stderr]    Compiling enum_data v0.1.0 (/opt/rustwide/workdir/rust/enum_data)
[INFO] [stderr]    Compiling simple_hello v0.1.0 (/opt/rustwide/workdir/rust/simple_hello)
[INFO] [stderr]    Compiling pointer_hello v0.1.0 (/opt/rustwide/workdir/rust/pointer_hello)
[INFO] [stderr]    Compiling libc_data v0.1.0 (/opt/rustwide/workdir/rust/libc_data)
[INFO] [stderr] error: failed to run custom build command for `simple_hello v0.1.0 (/opt/rustwide/workdir/rust/simple_hello)`
[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/simple_hello-70506040998d11b4/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr]   thread 'main' (549) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cbindgen-0.26.0/src/bindgen/bindings.rs:185:43:
[INFO] [stderr]   called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stderr]   stack backtrace:
[INFO] [stderr]      0:     0x641dfa15fa91 - std[72a6c6a1ebb772b0]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stderr]      1:     0x641dfa15fa91 - std[72a6c6a1ebb772b0]::backtrace_rs::backtrace::trace_unsynchronized::<std[72a6c6a1ebb772b0]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stderr]      2:     0x641dfa15fa91 - std[72a6c6a1ebb772b0]::sys::backtrace::_print_fmt
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/sys/backtrace.rs:74:9
[INFO] [stderr]      3:     0x641dfa15fa91 - <<std[72a6c6a1ebb772b0]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[57ab91247ec8248e]::fmt::Display>::fmt
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/sys/backtrace.rs:44:26
[INFO] [stderr]      4:     0x641dfa17611a - <core[57ab91247ec8248e]::fmt::rt::Argument>::fmt
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/core/src/fmt/rt.rs:152:76
[INFO] [stderr]      5:     0x641dfa17611a - core[57ab91247ec8248e]::fmt::write
[INFO] [stderr]      6:     0x641dfa164fcc - core[57ab91247ec8248e]::io::write::default_write_fmt::<std[72a6c6a1ebb772b0]::sys::stdio::unix::Stderr>
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/core/src/io/write.rs:402:11
[INFO] [stderr]      7:     0x641dfa164fcc - <std[72a6c6a1ebb772b0]::sys::stdio::unix::Stderr as core[57ab91247ec8248e]::io::write::Write>::write_fmt
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/core/src/io/write.rs:335:13
[INFO] [stderr]      8:     0x641dfa13ec46 - <std[72a6c6a1ebb772b0]::sys::backtrace::BacktraceLock>::print
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/sys/backtrace.rs:47:9
[INFO] [stderr]      9:     0x641dfa13ec46 - std[72a6c6a1ebb772b0]::panicking::default_hook::{closure#0}
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/panicking.rs:292:27
[INFO] [stderr]     10:     0x641dfa15a1a1 - std[72a6c6a1ebb772b0]::panicking::default_hook
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/panicking.rs:319:9
[INFO] [stderr]     11:     0x641dfa15a4cb - std[72a6c6a1ebb772b0]::panicking::panic_with_hook
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/panicking.rs:815:13
[INFO] [stderr]     12:     0x641dfa13ecf2 - std[72a6c6a1ebb772b0]::panicking::panic_handler::{closure#0}
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/panicking.rs:688:13
[INFO] [stderr]     13:     0x641dfa136eb9 - std[72a6c6a1ebb772b0]::sys::backtrace::__rust_end_short_backtrace::<std[72a6c6a1ebb772b0]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/sys/backtrace.rs:182:18
[INFO] [stderr]     14:     0x641dfa13f46d - __rustc[2c4cb41b06c0cc90]::rust_begin_unwind
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/panicking.rs:679:5
[INFO] [stderr]     15:     0x641dfa1769bc - core[57ab91247ec8248e]::panicking::panic_fmt
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/core/src/panicking.rs:80:14
[INFO] [stderr]     16:     0x641dfa176712 - core[57ab91247ec8248e]::result::unwrap_failed
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/core/src/result.rs:1870:5
[INFO] [stderr]     17:     0x641df9dbf27a - <cbindgen[711f4da05a736471]::bindgen::bindings::Bindings>::write_to_file::<&str>
[INFO] [stderr]     18:     0x641df9db2c3d - build_script_build[96a25187067580c6]::main
[INFO] [stderr]     19:     0x641df9db51a3 - <fn() as core[57ab91247ec8248e]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]     20:     0x641df9daff76 - std[72a6c6a1ebb772b0]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stderr]     21:     0x641df9db1c79 - std[72a6c6a1ebb772b0]::rt::lang_start::<()>::{closure#0}
[INFO] [stderr]     22:     0x641dfa159417 - <&dyn core[57ab91247ec8248e]::ops::function::Fn<(), Output = i32> + core[57ab91247ec8248e]::marker::Sync + core[57ab91247ec8248e]::panic::unwind_safe::RefUnwindSafe as core[57ab91247ec8248e]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/core/src/ops/function.rs:287:21
[INFO] [stderr]     23:     0x641dfa159417 - std[72a6c6a1ebb772b0]::panicking::catch_unwind::do_call::<&dyn core[57ab91247ec8248e]::ops::function::Fn<(), Output = i32> + core[57ab91247ec8248e]::marker::Sync + core[57ab91247ec8248e]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/panicking.rs:576:43
[INFO] [stderr]     24:     0x641dfa159417 - std[72a6c6a1ebb772b0]::panicking::catch_unwind::<i32, &dyn core[57ab91247ec8248e]::ops::function::Fn<(), Output = i32> + core[57ab91247ec8248e]::marker::Sync + core[57ab91247ec8248e]::panic::unwind_safe::RefUnwindSafe>
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/panicking.rs:544:19
[INFO] [stderr]     25:     0x641dfa159417 - std[72a6c6a1ebb772b0]::panic::catch_unwind::<&dyn core[57ab91247ec8248e]::ops::function::Fn<(), Output = i32> + core[57ab91247ec8248e]::marker::Sync + core[57ab91247ec8248e]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/panic.rs:359:14
[INFO] [stderr]     26:     0x641dfa159417 - std[72a6c6a1ebb772b0]::rt::lang_start_internal::{closure#0}
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/rt.rs:175:24
[INFO] [stderr]     27:     0x641dfa159417 - std[72a6c6a1ebb772b0]::panicking::catch_unwind::do_call::<std[72a6c6a1ebb772b0]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/panicking.rs:576:43
[INFO] [stderr]     28:     0x641dfa159417 - std[72a6c6a1ebb772b0]::panicking::catch_unwind::<isize, std[72a6c6a1ebb772b0]::rt::lang_start_internal::{closure#0}>
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/panicking.rs:544:19
[INFO] [stderr]     29:     0x641dfa159417 - std[72a6c6a1ebb772b0]::panic::catch_unwind::<std[72a6c6a1ebb772b0]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/panic.rs:359:14
[INFO] [stderr]     30:     0x641dfa159417 - std[72a6c6a1ebb772b0]::rt::lang_start_internal
[INFO] [stderr]                                  at /rustc/6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa/library/std/src/rt.rs:171:5
[INFO] [stderr]     31:     0x641df9dafba1 - std[72a6c6a1ebb772b0]::rt::lang_start::<()>
[INFO] [stderr]     32:     0x641df9db5435 - main
[INFO] [stderr]     33:     0x79158fe40601 - <unknown>
[INFO] [stderr]     34:     0x79158fe40718 - __libc_start_main
[INFO] [stderr]     35:     0x641df9d98185 - _start
[INFO] [stderr]     36:                0x0 - <unknown>
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "9d3e24f439b38f1fe169f974a558f5be55c7153794e6327a442b9580cb045d6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d3e24f439b38f1fe169f974a558f5be55c7153794e6327a442b9580cb045d6a", kill_on_drop: false }`
[INFO] [stdout] 9d3e24f439b38f1fe169f974a558f5be55c7153794e6327a442b9580cb045d6a
