[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 master#50e1dc1536264ab71c0850f346b12309477f29f7 for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbasile-henry%2Fonnxruntime-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/basile-henry/onnxruntime-rs on toolchain 50e1dc1536264ab71c0850f346b12309477f29f7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-7/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" "+50e1dc1536264ab71c0850f346b12309477f29f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+50e1dc1536264ab71c0850f346b12309477f29f7" "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] d39150cc31cb0925d208500805191f4d4d0a109ce0db9046d729f10fbd0e55d5 [INFO] running `Command { std: "docker" "start" "-a" "d39150cc31cb0925d208500805191f4d4d0a109ce0db9046d729f10fbd0e55d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d39150cc31cb0925d208500805191f4d4d0a109ce0db9046d729f10fbd0e55d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d39150cc31cb0925d208500805191f4d4d0a109ce0db9046d729f10fbd0e55d5", kill_on_drop: false }` [INFO] [stdout] d39150cc31cb0925d208500805191f4d4d0a109ce0db9046d729f10fbd0e55d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+50e1dc1536264ab71c0850f346b12309477f29f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de1f44864fc179b0a4635852a84e55fe3c2cad008d23f27fec1733d2cf641ed9 [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" "de1f44864fc179b0a4635852a84e55fe3c2cad008d23f27fec1733d2cf641ed9", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling syn v1.0.27 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.53.3 [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] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [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] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling env_logger v0.7.1 [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-d6866caa34d54540/build-script-build` (exit status: 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: 0x5587db49aa80 - std::backtrace_rs::backtrace::libunwind::trace::hdcf4f90f85129e83 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stderr] 1: 0x5587db49aa80 - std::backtrace_rs::backtrace::trace_unsynchronized::h2669e30cb82f6732 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x5587db49aa80 - std::sys_common::backtrace::_print_fmt::hfbda19e17f6db318 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x5587db49aa80 - ::fmt::h1a8751bf59281272 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x5587db4bfb6f - core::fmt::write::h7aa6cd0067dca82a [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/core/src/fmt/mod.rs:1094:17 [INFO] [stderr] 5: 0x5587db497a75 - std::io::Write::write_fmt::hd7dd3a1df9b6befb [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/io/mod.rs:1584:15 [INFO] [stderr] 6: 0x5587db49ce0b - std::sys_common::backtrace::_print::h551e9ec8a9fa8106 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x5587db49ce0b - std::sys_common::backtrace::print::ha4b1c5e95fa040b3 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x5587db49ce0b - std::panicking::default_hook::{{closure}}::h0b34c9ab7fb9f857 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/panicking.rs:208:50 [INFO] [stderr] 9: 0x5587db49c8ed - std::panicking::default_hook::h3067e8318decd17a [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/panicking.rs:225:9 [INFO] [stderr] 10: 0x5587db49d3bd - std::panicking::rust_panic_with_hook::h81b8facc50f34daa [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/panicking.rs:591:17 [INFO] [stderr] 11: 0x5587db49cfb7 - std::panicking::begin_panic_handler::{{closure}}::ha376ab85d95a000e [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/panicking.rs:497:13 [INFO] [stderr] 12: 0x5587db49af3c - std::sys_common::backtrace::__rust_end_short_backtrace::h6795c8afdd1a77e6 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stderr] 13: 0x5587db49cf19 - rust_begin_unwind [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/panicking.rs:493:5 [INFO] [stderr] 14: 0x5587daf738e1 - core::panicking::panic_fmt::hbe99dddd3092ba3c [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/core/src/panicking.rs:92:14 [INFO] [stderr] 15: 0x5587daf739d3 - core::result::unwrap_failed::hf79563fef9d11ab8 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/core/src/result.rs:1355:5 [INFO] [stderr] 16: 0x5587daf75334 - core::result::Result::expect::hf682b162d5a0cae4 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/core/src/result.rs:997:23 [INFO] [stderr] 17: 0x5587daf787bf - build_script_build::main::h15fcf7ae2f46f45e [INFO] [stderr] at /opt/rustwide/workdir/build.rs:25:20 [INFO] [stderr] 18: 0x5587daf750eb - core::ops::function::FnOnce::call_once::hfc33082c97d894d9 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 19: 0x5587daf7674e - std::sys_common::backtrace::__rust_begin_short_backtrace::h9ce5a4a06c45b86d [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stderr] 20: 0x5587daf75021 - std::rt::lang_start::{{closure}}::h511768dfc01ca6f4 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/rt.rs:49:18 [INFO] [stderr] 21: 0x5587db49d8ba - core::ops::function::impls:: for &F>::call_once::h3b8c329143d7638a [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 22: 0x5587db49d8ba - std::panicking::try::do_call::h4b72c261b4eefc1b [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/panicking.rs:379:40 [INFO] [stderr] 23: 0x5587db49d8ba - std::panicking::try::h703d31b7896cbd49 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/panicking.rs:343:19 [INFO] [stderr] 24: 0x5587db49d8ba - std::panic::catch_unwind::h37cad9b35388a915 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/panic.rs:431:14 [INFO] [stderr] 25: 0x5587db49d8ba - std::rt::lang_start_internal::hab5a8a909af4f90e [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/rt.rs:34:21 [INFO] [stderr] 26: 0x5587daf75000 - std::rt::lang_start::h6a7ae75fb40fbd55 [INFO] [stderr] at /rustc/50e1dc1536264ab71c0850f346b12309477f29f7/library/std/src/rt.rs:48:5 [INFO] [stderr] 27: 0x5587daf7934c - main [INFO] [stderr] 28: 0x7f7e84fef0b3 - __libc_start_main [INFO] [stderr] 29: 0x5587daf7407e - _start [INFO] [stderr] 30: 0x0 - [INFO] running `Command { std: "docker" "inspect" "de1f44864fc179b0a4635852a84e55fe3c2cad008d23f27fec1733d2cf641ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de1f44864fc179b0a4635852a84e55fe3c2cad008d23f27fec1733d2cf641ed9", kill_on_drop: false }` [INFO] [stdout] de1f44864fc179b0a4635852a84e55fe3c2cad008d23f27fec1733d2cf641ed9