[INFO] cloning repository https://github.com/yoshuawuyts/dirent-sys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yoshuawuyts/dirent-sys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoshuawuyts%2Fdirent-sys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoshuawuyts%2Fdirent-sys'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4aa4ff660c686c7504d5104e885d3320736743eb [INFO] checking yoshuawuyts/dirent-sys against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoshuawuyts%2Fdirent-sys" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yoshuawuyts/dirent-sys on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yoshuawuyts/dirent-sys [INFO] finished tweaking git repo https://github.com/yoshuawuyts/dirent-sys [INFO] tweaked toml for git repo https://github.com/yoshuawuyts/dirent-sys written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/yoshuawuyts/dirent-sys already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-12/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5186db04cfa3b6367bf0201fc9003f0217fe4fadc9f8e90b54ec28dba1c11e53 [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" "5186db04cfa3b6367bf0201fc9003f0217fe4fadc9f8e90b54ec28dba1c11e53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5186db04cfa3b6367bf0201fc9003f0217fe4fadc9f8e90b54ec28dba1c11e53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5186db04cfa3b6367bf0201fc9003f0217fe4fadc9f8e90b54ec28dba1c11e53", kill_on_drop: false }` [INFO] [stdout] 5186db04cfa3b6367bf0201fc9003f0217fe4fadc9f8e90b54ec28dba1c11e53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6378bfb62eb2c7ea0362ae6eb6713f2f3ed8e386cddb53cca24dea3f15b19006 [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" "6378bfb62eb2c7ea0362ae6eb6713f2f3ed8e386cddb53cca24dea3f15b19006", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bindgen v0.33.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling clang-sys v0.22.0 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling dirent-sys v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `dirent-sys v0.2.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/dirent-sys-442e2da2b6bcea0f/build-script-build` (exit code: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-lib=bcc [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] warning: /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10: 'linker' input unused [-Wunused-command-line-argument], err: false [INFO] [stderr] thread 'main' panicked at 'Couldn't write dirent bindings!: Os { code: 30, kind: Other, message: "Read-only file system" }', build.rs:32:6 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x556decb56650 - std::backtrace_rs::backtrace::libunwind::trace::h746c3e9529d524bc [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stderr] 1: 0x556decb56650 - std::backtrace_rs::backtrace::trace_unsynchronized::h86340908ff889faa [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x556decb56650 - std::sys_common::backtrace::_print_fmt::h43f85f9b18230404 [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x556decb56650 - ::fmt::hc132ae1a5b5aa7cd [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x556decb7c04c - core::fmt::write::hdf023a0036d2a25f [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/core/src/fmt/mod.rs:1078:17 [INFO] [stderr] 5: 0x556decb52912 - std::io::Write::write_fmt::h8580846154bcb66a [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/io/mod.rs:1519:15 [INFO] [stderr] 6: 0x556decb58845 - std::sys_common::backtrace::_print::h7ee55fed88d107a3 [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x556decb58845 - std::sys_common::backtrace::print::h54a7d3e52a524177 [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x556decb58845 - std::panicking::default_hook::{{closure}}::h60921e857bf55a40 [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/panicking.rs:208:50 [INFO] [stderr] 9: 0x556decb5839a - std::panicking::default_hook::hf0f9afb1017317fc [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/panicking.rs:225:9 [INFO] [stderr] 10: 0x556decb58fe1 - std::panicking::rust_panic_with_hook::h8d66bf42b407aaea [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/panicking.rs:591:17 [INFO] [stderr] 11: 0x556decb58b27 - std::panicking::begin_panic_handler::{{closure}}::hde71edcd925d0c5e [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/panicking.rs:497:13 [INFO] [stderr] 12: 0x556decb56b0c - std::sys_common::backtrace::__rust_end_short_backtrace::h8a3c7d6cea578919 [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stderr] 13: 0x556decb58a89 - rust_begin_unwind [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/panicking.rs:493:5 [INFO] [stderr] 14: 0x556decb7a721 - core::panicking::panic_fmt::h20225113c4a2f8fd [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/core/src/panicking.rs:92:14 [INFO] [stderr] 15: 0x556decb7a543 - core::option::expect_none_failed::hc6d6d4cea4fdc285 [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/core/src/option.rs:1268:5 [INFO] [stderr] 16: 0x556dec8320ef - core::result::Result::expect::h754fd947a9a29a36 [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/core/src/result.rs:933:23 [INFO] [stderr] 17: 0x556dec6c34b7 - build_script_build::build_bindings::hf52bd274da042c58 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:30:3 [INFO] [stderr] 18: 0x556dec6c31c9 - build_script_build::main::h974346369c64a292 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:8:3 [INFO] [stderr] 19: 0x556dec6c43fb - core::ops::function::FnOnce::call_once::hfe20b2d1ac634792 [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 20: 0x556dec6c41ce - std::sys_common::backtrace::__rust_begin_short_backtrace::hed9a39896eaf36d0 [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stderr] 21: 0x556dec6c40e1 - std::rt::lang_start::{{closure}}::h2475833e77c93594 [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/rt.rs:66:18 [INFO] [stderr] 22: 0x556decb59407 - core::ops::function::impls:: for &F>::call_once::h54c39b9b8451875a [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 23: 0x556decb59407 - std::panicking::try::do_call::hcdfba51a06e21b42 [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/panicking.rs:379:40 [INFO] [stderr] 24: 0x556decb59407 - std::panicking::try::hb36953ccd24f930d [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/panicking.rs:343:19 [INFO] [stderr] 25: 0x556decb59407 - std::panic::catch_unwind::hbb374cd03beb3824 [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/panic.rs:396:14 [INFO] [stderr] 26: 0x556decb59407 - std::rt::lang_start_internal::h97dca9624db2aa85 [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/rt.rs:51:25 [INFO] [stderr] 27: 0x556dec6c40b7 - std::rt::lang_start::h6b77b27f7ceae46a [INFO] [stderr] at /rustc/b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18/library/std/src/rt.rs:65:5 [INFO] [stderr] 28: 0x556dec6c3a9a - main [INFO] [stderr] 29: 0x7fb1ef9660b3 - __libc_start_main [INFO] [stderr] 30: 0x556dec6c30ce - _start [INFO] [stderr] 31: 0x0 - [INFO] running `Command { std: "docker" "inspect" "6378bfb62eb2c7ea0362ae6eb6713f2f3ed8e386cddb53cca24dea3f15b19006", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6378bfb62eb2c7ea0362ae6eb6713f2f3ed8e386cddb53cca24dea3f15b19006", kill_on_drop: false }` [INFO] [stdout] 6378bfb62eb2c7ea0362ae6eb6713f2f3ed8e386cddb53cca24dea3f15b19006