[INFO] cloning repository https://github.com/sunsided/rust-ffi-experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sunsided/rust-ffi-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunsided%2Frust-ffi-experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunsided%2Frust-ffi-experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eeb5c70aaec13fbe5739c4d2e84efd5f3b70f095 [INFO] checking sunsided/rust-ffi-experiments against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunsided%2Frust-ffi-experiments" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sunsided/rust-ffi-experiments on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sunsided/rust-ffi-experiments [INFO] finished tweaking git repo https://github.com/sunsided/rust-ffi-experiments [INFO] tweaked toml for git repo https://github.com/sunsided/rust-ffi-experiments written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/sunsided/rust-ffi-experiments already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2/source/magic-sys/Cargo.toml: unused manifest key: package.link [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 561921f4cd813262ff4eeaa7fb04bdcbbdef589c6e61c28ac5349ee352c79272 [INFO] running `Command { std: "docker" "start" "-a" "561921f4cd813262ff4eeaa7fb04bdcbbdef589c6e61c28ac5349ee352c79272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "561921f4cd813262ff4eeaa7fb04bdcbbdef589c6e61c28ac5349ee352c79272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "561921f4cd813262ff4eeaa7fb04bdcbbdef589c6e61c28ac5349ee352c79272", kill_on_drop: false }` [INFO] [stdout] 561921f4cd813262ff4eeaa7fb04bdcbbdef589c6e61c28ac5349ee352c79272 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 920d7fec0f20f6794fa052a74e987bda3e63af9acbfc84c0bd2575fa250d26d3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "920d7fec0f20f6794fa052a74e987bda3e63af9acbfc84c0bd2575fa250d26d3", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/magic-sys/Cargo.toml: unused manifest key: package.link [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking call-c-from-rust v0.1.0 (/opt/rustwide/workdir/call-c-from-rust) [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.0.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling build-scripts v0.1.0 (/opt/rustwide/workdir/build-scripts) [INFO] [stderr] Compiling send-array-to-c v0.1.0 (/opt/rustwide/workdir/send-array-to-c) [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling magic-sys v0.1.0 (/opt/rustwide/workdir/magic-sys) [INFO] [stderr] error: failed to run custom build command for `magic-sys v0.1.0 (/opt/rustwide/workdir/magic-sys)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/magic-sys-a4c8b32a9adf0e4a/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-lib=magic [INFO] [stderr] cargo:rerun-if-changed=wrapper.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/magic.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/sys/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/features.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/stdc-predef.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/sys/cdefs.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/long-double.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/gnu/stubs.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/gnu/stubs-64.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/features.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/timesize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/typesizes.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/time64.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/clock_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/clockid_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/time_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/timer_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/lib/llvm-10/lib/clang/10.0.0/include/stddef.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/stdint-intn.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/endian.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/features.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/endian.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/endianness.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/byteswap.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/features.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/uintn-identity.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/sys/select.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/features.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/select.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/time_t.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/endian.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/wordsize.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/struct_mutex.h [INFO] [stderr] cargo:rerun-if-changed=/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at 'Couldn't write bindings!: Os { code: 30, kind: Other, message: "Read-only file system" }', magic-sys/build.rs:37:10 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x557fe705b370 - std::backtrace_rs::backtrace::libunwind::trace::hec7eaac9435d3512 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stderr] 1: 0x557fe705b370 - std::backtrace_rs::backtrace::trace_unsynchronized::h42791b8fa12b7daa [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x557fe705b370 - std::sys_common::backtrace::_print_fmt::h3da3ebe04fb665a8 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x557fe705b370 - ::fmt::he40bcdde3c4491cd [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x557fe708000f - core::fmt::write::h2c729149c08098ab [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/core/src/fmt/mod.rs:1094:17 [INFO] [stderr] 5: 0x557fe70584f5 - std::io::Write::write_fmt::h28e0f2f58b8d7b7e [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/io/mod.rs:1580:15 [INFO] [stderr] 6: 0x557fe705d3ab - std::sys_common::backtrace::_print::h7f0223b1e3d898fc [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x557fe705d3ab - std::sys_common::backtrace::print::h58edd634a14c2d4c [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x557fe705d3ab - std::panicking::default_hook::{{closure}}::h71657a7591430164 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panicking.rs:208:50 [INFO] [stderr] 9: 0x557fe705ce8d - std::panicking::default_hook::hcdf4eb5db072c85b [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panicking.rs:225:9 [INFO] [stderr] 10: 0x557fe705d95d - std::panicking::rust_panic_with_hook::hfb91e961ffb5b8e0 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panicking.rs:591:17 [INFO] [stderr] 11: 0x557fe705d557 - std::panicking::begin_panic_handler::{{closure}}::h984d540e84311150 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panicking.rs:497:13 [INFO] [stderr] 12: 0x557fe705b80c - std::sys_common::backtrace::__rust_end_short_backtrace::h32354258ff2aecd1 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stderr] 13: 0x557fe705d4b9 - rust_begin_unwind [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panicking.rs:493:5 [INFO] [stderr] 14: 0x557fe6b58641 - core::panicking::panic_fmt::he3827412471ccbb1 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/core/src/panicking.rs:92:14 [INFO] [stderr] 15: 0x557fe6b58733 - core::result::unwrap_failed::h6e66654d198da7bd [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/core/src/result.rs:1355:5 [INFO] [stderr] 16: 0x557fe6b85b50 - core::result::Result::expect::h2ecc6ebd974617f5 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/core/src/result.rs:997:23 [INFO] [stderr] 17: 0x557fe6b5a3f7 - build_script_build::main::h288cb450e20c39be [INFO] [stderr] at /opt/rustwide/workdir/magic-sys/build.rs:35:5 [INFO] [stderr] 18: 0x557fe6b59d7b - core::ops::function::FnOnce::call_once::h02af20cfba52b7e4 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 19: 0x557fe6b59c5e - std::sys_common::backtrace::__rust_begin_short_backtrace::h42c993ea61e06710 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stderr] 20: 0x557fe6b599e1 - std::rt::lang_start::{{closure}}::h17ec05607901ee73 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/rt.rs:66:18 [INFO] [stderr] 21: 0x557fe705dd5a - core::ops::function::impls:: for &F>::call_once::hd5953dadf0bc8f54 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 22: 0x557fe705dd5a - std::panicking::try::do_call::h23b369f1996fb7d4 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panicking.rs:379:40 [INFO] [stderr] 23: 0x557fe705dd5a - std::panicking::try::he017ee9ed6bce192 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panicking.rs:343:19 [INFO] [stderr] 24: 0x557fe705dd5a - std::panic::catch_unwind::hbfb892340a78b30d [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/panic.rs:431:14 [INFO] [stderr] 25: 0x557fe705dd5a - std::rt::lang_start_internal::hce6e4c0ce56abb51 [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/rt.rs:51:25 [INFO] [stderr] 26: 0x557fe6b599c0 - std::rt::lang_start::ha3656e0c022049aa [INFO] [stderr] at /rustc/836c31742687ba4e2f857b5b698e1e9e6b67619c/library/std/src/rt.rs:65:5 [INFO] [stderr] 27: 0x557fe6b5a4cc - main [INFO] [stderr] 28: 0x7fcd406b30b3 - __libc_start_main [INFO] [stderr] 29: 0x557fe6b58dde - _start [INFO] [stderr] 30: 0x0 - [INFO] running `Command { std: "docker" "inspect" "920d7fec0f20f6794fa052a74e987bda3e63af9acbfc84c0bd2575fa250d26d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "920d7fec0f20f6794fa052a74e987bda3e63af9acbfc84c0bd2575fa250d26d3", kill_on_drop: false }` [INFO] [stdout] 920d7fec0f20f6794fa052a74e987bda3e63af9acbfc84c0bd2575fa250d26d3