[INFO] cloning repository https://github.com/basile-henry/onnxruntime-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/basile-henry/onnxruntime-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbasile-henry%2Fonnxruntime-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbasile-henry%2Fonnxruntime-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08fb5dbf8c6406172ce67e7cdc82e5ac69d93d31 [INFO] checking basile-henry/onnxruntime-rs against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbasile-henry%2Fonnxruntime-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/basile-henry/onnxruntime-rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/basile-henry/onnxruntime-rs [INFO] finished tweaking git repo https://github.com/basile-henry/onnxruntime-rs [INFO] tweaked toml for git repo https://github.com/basile-henry/onnxruntime-rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/basile-henry/onnxruntime-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] cd7e40d2dd0dc39d581f56b7494c7ee170e0e5ebf7e5f7c91d2ff27f605afeb7 [INFO] running `Command { std: "docker" "start" "-a" "cd7e40d2dd0dc39d581f56b7494c7ee170e0e5ebf7e5f7c91d2ff27f605afeb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd7e40d2dd0dc39d581f56b7494c7ee170e0e5ebf7e5f7c91d2ff27f605afeb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd7e40d2dd0dc39d581f56b7494c7ee170e0e5ebf7e5f7c91d2ff27f605afeb7", kill_on_drop: false }` [INFO] [stdout] cd7e40d2dd0dc39d581f56b7494c7ee170e0e5ebf7e5f7c91d2ff27f605afeb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5dd536c2483f4eb258c85e7d655fc806c294774f641d16cfb6c25cca99c570cf [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" "5dd536c2483f4eb258c85e7d655fc806c294774f641d16cfb6c25cca99c570cf", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.27 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.2.1 [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 heck v0.3.1 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Compiling onnxruntime v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `onnxruntime v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/onnxruntime-6ffe9948c5a367d0/build-script-build` (exit code: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-env-changed=ONNXRUNTIME_LIB_DIR [INFO] [stderr] cargo:rerun-if-env-changed=ONNXRUNTIME_INCLUDE_DIR [INFO] [stderr] cargo:rustc-link-lib=onnxruntime [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] cbits/ort.h:1:10: fatal error: 'onnxruntime_c_api.h' file not found [INFO] [stderr] cbits/ort.h:1:10: fatal error: 'onnxruntime_c_api.h' file not found, err: true [INFO] [stderr] thread 'main' panicked at 'Unable to generate bindings: ()', build.rs:39:10 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55cc349bf620 - std::backtrace_rs::backtrace::libunwind::trace::he85dfb3ae4206056 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/../../backtrace/src/backtrace/libunwind.rs:96 [INFO] [stderr] 1: 0x55cc349bf620 - std::backtrace_rs::backtrace::trace_unsynchronized::h1ad28094d7b00c21 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/../../backtrace/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x55cc349bf620 - std::sys_common::backtrace::_print_fmt::h901b54610713cd21 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/sys_common/backtrace.rs:79 [INFO] [stderr] 3: 0x55cc349bf620 - ::fmt::hb0ad78ee1571f7e0 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/sys_common/backtrace.rs:58 [INFO] [stderr] 4: 0x55cc349e3ecc - core::fmt::write::h1857a60b204f1b6a [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/core/src/fmt/mod.rs:1080 [INFO] [stderr] 5: 0x55cc349bbf12 - std::io::Write::write_fmt::hf7b7d7b243f84a36 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/io/mod.rs:1516 [INFO] [stderr] 6: 0x55cc349c1c3d - std::sys_common::backtrace::_print::hd093978a5287b8ff [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/sys_common/backtrace.rs:61 [INFO] [stderr] 7: 0x55cc349c1c3d - std::sys_common::backtrace::print::h20f46787581d56d7 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/sys_common/backtrace.rs:48 [INFO] [stderr] 8: 0x55cc349c1c3d - std::panicking::default_hook::{{closure}}::h486cbb4b82ffc357 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/panicking.rs:208 [INFO] [stderr] 9: 0x55cc349c18e8 - std::panicking::default_hook::h4190c9e3edd4d591 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/panicking.rs:227 [INFO] [stderr] 10: 0x55cc349c2321 - std::panicking::rust_panic_with_hook::h72e78719cdda225c [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/panicking.rs:577 [INFO] [stderr] 11: 0x55cc349c1ec9 - std::panicking::begin_panic_handler::{{closure}}::h8bd07dbd34150a96 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/panicking.rs:484 [INFO] [stderr] 12: 0x55cc349bfaac - std::sys_common::backtrace::__rust_end_short_backtrace::hdb6b3066ad29028a [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/sys_common/backtrace.rs:153 [INFO] [stderr] 13: 0x55cc349c1e89 - rust_begin_unwind [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/panicking.rs:483 [INFO] [stderr] 14: 0x55cc349e24c1 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/core/src/panicking.rs:85 [INFO] [stderr] 15: 0x55cc349e22e3 - core::option::expect_none_failed::he492a18657d97593 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/core/src/option.rs:1234 [INFO] [stderr] 16: 0x55cc3440a9ce - core::result::Result::expect::habdf96e9723289dd [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/core/src/result.rs:933 [INFO] [stderr] 17: 0x55cc34408aa9 - build_script_build::main::hce6eb5dde076b717 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:25 [INFO] [stderr] 18: 0x55cc3440a72b - core::ops::function::FnOnce::call_once::h5010e5a7db523895 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/core/src/ops/function.rs:227 [INFO] [stderr] 19: 0x55cc3440ad5e - std::sys_common::backtrace::__rust_begin_short_backtrace::h0e1d81ebac893062 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/sys_common/backtrace.rs:137 [INFO] [stderr] 20: 0x55cc3440a671 - std::rt::lang_start::{{closure}}::hf6b8216a40b2d4ea [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/rt.rs:66 [INFO] [stderr] 21: 0x55cc349c2837 - core::ops::function::impls:: for &F>::call_once::h5e15f43ce28787f7 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/core/src/ops/function.rs:259 [INFO] [stderr] 22: 0x55cc349c2837 - std::panicking::try::do_call::h764f1891769113e9 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/panicking.rs:381 [INFO] [stderr] 23: 0x55cc349c2837 - std::panicking::try::h0f2fe4fdd5e0ad19 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/panicking.rs:345 [INFO] [stderr] 24: 0x55cc349c2837 - std::panic::catch_unwind::h1634e40dd3a19f80 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/panic.rs:382 [INFO] [stderr] 25: 0x55cc349c2837 - std::rt::lang_start_internal::h8d4bc7b854bbd5fe [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/rt.rs:51 [INFO] [stderr] 26: 0x55cc3440a647 - std::rt::lang_start::hfe745aff25220656 [INFO] [stderr] at /rustc/f47dd4da3ae8c32c9e65d307bfe640b143e674df/library/std/src/rt.rs:65 [INFO] [stderr] 27: 0x55cc344095ba - main [INFO] [stderr] 28: 0x7f38827cf0b3 - __libc_start_main [INFO] [stderr] 29: 0x55cc344080ce - _start [INFO] [stderr] 30: 0x0 - [INFO] running `Command { std: "docker" "inspect" "5dd536c2483f4eb258c85e7d655fc806c294774f641d16cfb6c25cca99c570cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dd536c2483f4eb258c85e7d655fc806c294774f641d16cfb6c25cca99c570cf", kill_on_drop: false }` [INFO] [stdout] 5dd536c2483f4eb258c85e7d655fc806c294774f641d16cfb6c25cca99c570cf