[INFO] fetching crate napi-rs 0.2.3... [INFO] checking napi-rs-0.2.3 against master#339f574809bf8e4166b8de3cdbe7df181d37af3d for pr-71896 [INFO] extracting crate napi-rs 0.2.3 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate napi-rs 0.2.3 on toolchain 339f574809bf8e4166b8de3cdbe7df181d37af3d [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate napi-rs 0.2.3 [INFO] finished tweaking crates.io crate napi-rs 0.2.3 [INFO] tweaked toml for crates.io crate napi-rs 0.2.3 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 93cc37028e4c351a8306343561f7a5935b545677821d91891dac27997072fb20 [INFO] running `"docker" "start" "-a" "93cc37028e4c351a8306343561f7a5935b545677821d91891dac27997072fb20"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling napi-build v0.1.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling bindgen v0.53.2 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Compiling napi-rs v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `napi-rs v0.2.3 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/napi-rs-7e4ce5f503b40e62/build-script-build` (exit code: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-env-changed=NODE_INCLUDE_PATH [INFO] [stderr] cargo:rerun-if-changed=src/sys/bindings.cc [INFO] [stderr] cargo:rerun-if-changed=src/sys/bindings.h [INFO] [stderr] cargo:rerun-if-changed=src/sys/mod.rs [INFO] [stderr] cargo:rerun-if-changed=src/sys/stable.rs [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] src/sys/bindings.h:1:10: fatal error: 'node_api.h' file not found [INFO] [stderr] src/sys/bindings.h:1:10: fatal error: 'node_api.h' file not found, err: true [INFO] [stderr] thread 'main' panicked at 'Unable to generate napi bindings: ()', build.rs:53:3 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x56480d083704 - backtrace::backtrace::libunwind::trace::hfcd33194db0151d4 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stderr] 1: 0x56480d083704 - backtrace::backtrace::trace_unsynchronized::hfd1904bbbd5335b5 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x56480d083704 - std::sys_common::backtrace::_print_fmt::h8476c57b177b254e [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stderr] 3: 0x56480d083704 - ::fmt::h73acbc5f6d4b1044 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stderr] 4: 0x56480d0af3cc - core::fmt::write::hdf236390fbd68d3d [INFO] [stderr] at src/libcore/fmt/mod.rs:1069 [INFO] [stderr] 5: 0x56480d07f3f3 - std::io::Write::write_fmt::h5722fa40bb2afafd [INFO] [stderr] at src/libstd/io/mod.rs:1532 [INFO] [stderr] 6: 0x56480d086265 - std::sys_common::backtrace::_print::ha468e873aada7c78 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stderr] 7: 0x56480d086265 - std::sys_common::backtrace::print::h149365a2f029de62 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stderr] 8: 0x56480d086265 - std::panicking::default_hook::{{closure}}::hb4a33f9e05934a52 [INFO] [stderr] at src/libstd/panicking.rs:198 [INFO] [stderr] 9: 0x56480d085fa2 - std::panicking::default_hook::hc4535d7b0c743abd [INFO] [stderr] at src/libstd/panicking.rs:218 [INFO] [stderr] 10: 0x56480d0868a8 - std::panicking::rust_panic_with_hook::haa34a96a6dbd5a2e [INFO] [stderr] at src/libstd/panicking.rs:477 [INFO] [stderr] 11: 0x56480d0864ab - rust_begin_unwind [INFO] [stderr] at src/libstd/panicking.rs:385 [INFO] [stderr] 12: 0x56480d0adb11 - core::panicking::panic_fmt::hd101a87121fa411f [INFO] [stderr] at src/libcore/panicking.rs:89 [INFO] [stderr] 13: 0x56480d0ad933 - core::option::expect_none_failed::h4f0e89faa3179bf7 [INFO] [stderr] at src/libcore/option.rs:1272 [INFO] [stderr] 14: 0x56480ca27f1a - core::result::Result::expect::h04dce28bdc532d24 [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/libcore/result.rs:963 [INFO] [stderr] 15: 0x56480ca25a9f - build_script_build::main::h5f3c4a619d685f38 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:53 [INFO] [stderr] 16: 0x56480ca2678b - std::rt::lang_start::{{closure}}::ha2f256a915c161e7 [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/libstd/rt.rs:67 [INFO] [stderr] 17: 0x56480d086d48 - std::rt::lang_start_internal::{{closure}}::h8ee41efd8ae7ff76 [INFO] [stderr] at src/libstd/rt.rs:52 [INFO] [stderr] 18: 0x56480d086d48 - std::panicking::try::do_call::h0a4c4514ee6ebbfc [INFO] [stderr] at src/libstd/panicking.rs:297 [INFO] [stderr] 19: 0x56480d086d48 - std::panicking::try::h7c2f3858e42d7516 [INFO] [stderr] at src/libstd/panicking.rs:274 [INFO] [stderr] 20: 0x56480d086d48 - std::panic::catch_unwind::h76c4030fa5655c1e [INFO] [stderr] at src/libstd/panic.rs:394 [INFO] [stderr] 21: 0x56480d086d48 - std::rt::lang_start_internal::h1c1398259f72ace6 [INFO] [stderr] at src/libstd/rt.rs:51 [INFO] [stderr] 22: 0x56480ca26767 - std::rt::lang_start::h87b418220a20913f [INFO] [stderr] at /rustc/339f574809bf8e4166b8de3cdbe7df181d37af3d/src/libstd/rt.rs:67 [INFO] [stderr] 23: 0x56480ca2633a - main [INFO] [stderr] 24: 0x7f418d1a70b3 - __libc_start_main [INFO] [stderr] 25: 0x56480ca241ae - _start [INFO] [stderr] 26: 0x0 - [INFO] [stderr] [INFO] running `"docker" "inspect" "93cc37028e4c351a8306343561f7a5935b545677821d91891dac27997072fb20"` [INFO] running `"docker" "rm" "-f" "93cc37028e4c351a8306343561f7a5935b545677821d91891dac27997072fb20"` [INFO] [stdout] 93cc37028e4c351a8306343561f7a5935b545677821d91891dac27997072fb20