[INFO] fetching crate yara-sys 0.4.2... [INFO] checking yara-sys-0.4.2 against master#9503ea19edbf01b9435e80e17d60ce1b88390116 for pr-81782 [INFO] extracting crate yara-sys 0.4.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate yara-sys 0.4.2 on toolchain 9503ea19edbf01b9435e80e17d60ce1b88390116 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yara-sys 0.4.2 [INFO] finished tweaking crates.io crate yara-sys 0.4.2 [INFO] tweaked toml for crates.io crate yara-sys 0.4.2 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04730b749b0f7aa1b5b1f419128b2a5f5d5ef6ea42a53b86af5854202ce48a80 [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" "04730b749b0f7aa1b5b1f419128b2a5f5d5ef6ea42a53b86af5854202ce48a80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04730b749b0f7aa1b5b1f419128b2a5f5d5ef6ea42a53b86af5854202ce48a80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04730b749b0f7aa1b5b1f419128b2a5f5d5ef6ea42a53b86af5854202ce48a80", kill_on_drop: false }` [INFO] [stdout] 04730b749b0f7aa1b5b1f419128b2a5f5d5ef6ea42a53b86af5854202ce48a80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 93901405c2681aa27d4a54f756f9ed0c846b3c9c8c7fa5af3f64aa9ac02a21ce [INFO] running `Command { std: "docker" "start" "-a" "93901405c2681aa27d4a54f756f9ed0c846b3c9c8c7fa5af3f64aa9ac02a21ce", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling yara-sys v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `yara-sys v0.4.2 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/yara-sys-79d09e94a8029b92/build-script-build` (exit code: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-lib=dylib=yara [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] wrapper.h:1:10: fatal error: 'yara.h' file not found [INFO] [stderr] wrapper.h:1:10: fatal error: 'yara.h' file not found, err: true [INFO] [stderr] thread 'main' panicked at 'Unable to generate bindings: ()', build.rs:106:14 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55c58305ac10 - std::backtrace_rs::backtrace::libunwind::trace::hb4de9797f80b7b8c [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stderr] 1: 0x55c58305ac10 - std::backtrace_rs::backtrace::trace_unsynchronized::h59566d0bd20efff7 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x55c58305ac10 - std::sys_common::backtrace::_print_fmt::hcfa5ce6be50275d4 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x55c58305ac10 - ::fmt::hd8c307a38b9bab04 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x55c58307da8c - core::fmt::write::h3868db8542c90941 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/core/src/fmt/mod.rs:1096:17 [INFO] [stderr] 5: 0x55c583057102 - std::io::Write::write_fmt::hab90295d5a0f197d [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/io/mod.rs:1568:15 [INFO] [stderr] 6: 0x55c58305cdf5 - std::sys_common::backtrace::_print::h19224910b8700cf1 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x55c58305cdf5 - std::sys_common::backtrace::print::h25dedfa68c5fb84a [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x55c58305cdf5 - std::panicking::default_hook::{{closure}}::h12c5765653a72a42 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panicking.rs:208:50 [INFO] [stderr] 9: 0x55c58305c8a3 - std::panicking::default_hook::he65cee71c4209f0c [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panicking.rs:225:9 [INFO] [stderr] 10: 0x55c58305d591 - std::panicking::rust_panic_with_hook::h01a674d863fe0d8a [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panicking.rs:591:17 [INFO] [stderr] 11: 0x55c58305d0d7 - std::panicking::begin_panic_handler::{{closure}}::h9b9fecf185178864 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panicking.rs:497:13 [INFO] [stderr] 12: 0x55c58305b0ac - std::sys_common::backtrace::__rust_end_short_backtrace::h57be46a42dc7f24b [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stderr] 13: 0x55c58305d039 - rust_begin_unwind [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panicking.rs:493:5 [INFO] [stderr] 14: 0x55c58307c171 - core::panicking::panic_fmt::h20225113c4a2f8fd [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/core/src/panicking.rs:92:14 [INFO] [stderr] 15: 0x55c58307bf93 - core::option::expect_none_failed::hc6d6d4cea4fdc285 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/core/src/option.rs:1300:5 [INFO] [stderr] 16: 0x55c582b0eb2e - core::result::Result::expect::h5194d64fa4ad6459 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/core/src/result.rs:997:23 [INFO] [stderr] 17: 0x55c582b104ed - build_script_build::build::add_bindings::hf6420da67d6477e7 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:104:17 [INFO] [stderr] 18: 0x55c582b0ef6f - build_script_build::main::h2441187b52cec3a9 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:27:5 [INFO] [stderr] 19: 0x55c582b0e46b - core::ops::function::FnOnce::call_once::h645c6d6381ca1151 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 20: 0x55c582b0e3ae - std::sys_common::backtrace::__rust_begin_short_backtrace::h93bdfae9d706b63c [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stderr] 21: 0x55c582b0e191 - std::rt::lang_start::{{closure}}::h58453f6fd6fbeef2 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/rt.rs:66:18 [INFO] [stderr] 22: 0x55c58305d9b7 - core::ops::function::impls:: for &F>::call_once::h2c4fd7d4128112a8 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 23: 0x55c58305d9b7 - std::panicking::try::do_call::h41fb7dbbbe7bece6 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panicking.rs:379:40 [INFO] [stderr] 24: 0x55c58305d9b7 - std::panicking::try::hd38008ccba72bce1 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panicking.rs:343:19 [INFO] [stderr] 25: 0x55c58305d9b7 - std::panic::catch_unwind::h057e765cd60f2d13 [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/panic.rs:431:14 [INFO] [stderr] 26: 0x55c58305d9b7 - std::rt::lang_start_internal::hdb9d0b9d2cdcda8b [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/rt.rs:51:25 [INFO] [stderr] 27: 0x55c582b0e167 - std::rt::lang_start::hd5bfa2472876677e [INFO] [stderr] at /rustc/9503ea19edbf01b9435e80e17d60ce1b88390116/library/std/src/rt.rs:65:5 [INFO] [stderr] 28: 0x55c582b0f45a - main [INFO] [stderr] 29: 0x7f34ecf7d0b3 - __libc_start_main [INFO] [stderr] 30: 0x55c582b0d0ce - _start [INFO] [stderr] 31: 0x0 - [INFO] running `Command { std: "docker" "inspect" "93901405c2681aa27d4a54f756f9ed0c846b3c9c8c7fa5af3f64aa9ac02a21ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93901405c2681aa27d4a54f756f9ed0c846b3c9c8c7fa5af3f64aa9ac02a21ce", kill_on_drop: false }` [INFO] [stdout] 93901405c2681aa27d4a54f756f9ed0c846b3c9c8c7fa5af3f64aa9ac02a21ce