[INFO] cloning repository https://github.com/inoutch/rust-on-crossplatform [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/inoutch/rust-on-crossplatform" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finoutch%2Frust-on-crossplatform", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finoutch%2Frust-on-crossplatform'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 181f0aab3dea07948f357c8e581e80b016f7849a [INFO] checking inoutch/rust-on-crossplatform against master#db0e836148accac8a22532e3596ac612b63c2d8e for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finoutch%2Frust-on-crossplatform" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/inoutch/rust-on-crossplatform on toolchain db0e836148accac8a22532e3596ac612b63c2d8e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db0e836148accac8a22532e3596ac612b63c2d8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/inoutch/rust-on-crossplatform [INFO] finished tweaking git repo https://github.com/inoutch/rust-on-crossplatform [INFO] tweaked toml for git repo https://github.com/inoutch/rust-on-crossplatform written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/inoutch/rust-on-crossplatform 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" "+db0e836148accac8a22532e3596ac612b63c2d8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cbindgen v0.15.0 [INFO] [stderr] Downloaded unicode-segmentation v1.7.0 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+db0e836148accac8a22532e3596ac612b63c2d8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe4b07f13e6655a8dffeddd39d703485daea639db3d84e942043575c0e581efb [INFO] running `Command { std: "docker" "start" "-a" "fe4b07f13e6655a8dffeddd39d703485daea639db3d84e942043575c0e581efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe4b07f13e6655a8dffeddd39d703485daea639db3d84e942043575c0e581efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe4b07f13e6655a8dffeddd39d703485daea639db3d84e942043575c0e581efb", kill_on_drop: false }` [INFO] [stdout] fe4b07f13e6655a8dffeddd39d703485daea639db3d84e942043575c0e581efb [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+db0e836148accac8a22532e3596ac612b63c2d8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69a63c21ef38e514d2f407af45f36ed51b21210e122d3798157496285c99c1ac [INFO] running `Command { std: "docker" "start" "-a" "69a63c21ef38e514d2f407af45f36ed51b21210e122d3798157496285c99c1ac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling cbindgen v0.15.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking env_logger v0.8.1 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling rust_on_crossplatform v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `rust_on_crossplatform v0.0.1 (/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_on_crossplatform-2bd54cb85e920d78/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=src/lib.rs [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cbindgen-0.15.0/src/bindgen/bindings.rs:101: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: 0x5d93cbb0e812 - std::backtrace_rs::backtrace::libunwind::trace::h808429412ee5eff4 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5d93cbb0e812 - std::backtrace_rs::backtrace::trace_unsynchronized::h0af3c8406bbc26ee [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5d93cbb0e812 - std::sys::backtrace::_print_fmt::h742cab3ed98a8bad [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5d93cbb0e812 - ::fmt::h51e6a86d71d24cd6 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5d93cbb35c53 - core::fmt::rt::Argument::fmt::h7f95fe212bc7981c [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/core/src/fmt/rt.rs:181:76 [INFO] [stderr] 5: 0x5d93cbb35c53 - core::fmt::write::hc9640c8ee6dfa529 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/core/src/fmt/mod.rs:1446:25 [INFO] [stderr] 6: 0x5d93cbb0b953 - std::io::default_write_fmt::h489f78092e56cb33 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5d93cbb0b953 - std::io::Write::write_fmt::ha466b731295e16e2 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/io/mod.rs:1914:13 [INFO] [stderr] 8: 0x5d93cbb0e662 - std::sys::backtrace::BacktraceLock::print::he15d61b85fc4723f [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5d93cbb0fd3c - std::panicking::default_hook::{{closure}}::h580f8cc7cf140448 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/panicking.rs:300:22 [INFO] [stderr] 10: 0x5d93cbb0fb3f - std::panicking::default_hook::hd2f0a15d0496ae70 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x5d93cbb10833 - as core::ops::function::Fn>::call::he588b7e03188fd29 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/alloc/src/boxed.rs:1980:9 [INFO] [stderr] 12: 0x5d93cbb10833 - std::panicking::rust_panic_with_hook::hf3e9fd3faae67c64 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/panicking.rs:841:13 [INFO] [stderr] 13: 0x5d93cbb104ea - std::panicking::begin_panic_handler::{{closure}}::ha5da375413ab5cb0 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/panicking.rs:706:13 [INFO] [stderr] 14: 0x5d93cbb0ed09 - std::sys::backtrace::__rust_end_short_backtrace::h3ca5845cffc17cc5 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 15: 0x5d93cbb1017d - __rustc[3810acb94e8eb63a]::rust_begin_unwind [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/panicking.rs:697:5 [INFO] [stderr] 16: 0x5d93cbb33dd0 - core::panicking::panic_fmt::h02eba6ef6863b76c [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/core/src/panicking.rs:75:14 [INFO] [stderr] 17: 0x5d93cbb34236 - core::result::unwrap_failed::hd3fc386c6b0a10e0 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/core/src/result.rs:1732:5 [INFO] [stderr] 18: 0x5d93cb7f85d4 - cbindgen::bindgen::bindings::Bindings::write_to_file::hfa9f7a4a7fc86709 [INFO] [stderr] 19: 0x5d93cb80b6fe - build_script_build::main::hd306227209f21a45 [INFO] [stderr] 20: 0x5d93cb805823 - core::ops::function::FnOnce::call_once::h5137e3235b6f3079 [INFO] [stderr] 21: 0x5d93cb8053d6 - std::sys::backtrace::__rust_begin_short_backtrace::h0316467e91400f28 [INFO] [stderr] 22: 0x5d93cb812049 - std::rt::lang_start::{{closure}}::hb62d07e9d364347c [INFO] [stderr] 23: 0x5d93cbb06f64 - core::ops::function::impls:: for &F>::call_once::hec43454693b55475 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 24: 0x5d93cbb06f64 - std::panicking::try::do_call::hdfc487435b8f345c [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/panicking.rs:589:40 [INFO] [stderr] 25: 0x5d93cbb06f64 - std::panicking::try::h179ec4f7ef1c02e8 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/panicking.rs:552:19 [INFO] [stderr] 26: 0x5d93cbb06f64 - std::panic::catch_unwind::h2389bbcd4382a090 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/panic.rs:359:14 [INFO] [stderr] 27: 0x5d93cbb06f64 - std::rt::lang_start_internal::{{closure}}::h758cd6d34a76c3e1 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/rt.rs:168:24 [INFO] [stderr] 28: 0x5d93cbb06f64 - std::panicking::try::do_call::h6ea831c856e9a21b [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/panicking.rs:589:40 [INFO] [stderr] 29: 0x5d93cbb06f64 - std::panicking::try::h40816da636dc12b7 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/panicking.rs:552:19 [INFO] [stderr] 30: 0x5d93cbb06f64 - std::panic::catch_unwind::h272aee653c3bf730 [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/panic.rs:359:14 [INFO] [stderr] 31: 0x5d93cbb06f64 - std::rt::lang_start_internal::h378af902613016be [INFO] [stderr] at /rustc/db0e836148accac8a22532e3596ac612b63c2d8e/library/std/src/rt.rs:164:5 [INFO] [stderr] 32: 0x5d93cb812031 - std::rt::lang_start::hb193ad9728ad9ab8 [INFO] [stderr] 33: 0x5d93cb80b795 - main [INFO] [stderr] 34: 0x7825dda961ca - [INFO] [stderr] 35: 0x7825dda9628b - __libc_start_main [INFO] [stderr] 36: 0x5d93cb7d73b5 - _start [INFO] [stderr] 37: 0x0 - [INFO] running `Command { std: "docker" "inspect" "69a63c21ef38e514d2f407af45f36ed51b21210e122d3798157496285c99c1ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69a63c21ef38e514d2f407af45f36ed51b21210e122d3798157496285c99c1ac", kill_on_drop: false }` [INFO] [stdout] 69a63c21ef38e514d2f407af45f36ed51b21210e122d3798157496285c99c1ac