[INFO] fetching crate onnxruntime-sys-patch 0.0.14... [INFO] checking onnxruntime-sys-patch-0.0.14 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate onnxruntime-sys-patch 0.0.14 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate onnxruntime-sys-patch 0.0.14 [INFO] finished tweaking crates.io crate onnxruntime-sys-patch 0.0.14 [INFO] tweaked toml for crates.io crate onnxruntime-sys-patch 0.0.14 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate onnxruntime-sys-patch 0.0.14 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate onnxruntime-sys-patch 0.0.14 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v4.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b25e1129f5b89637ef9886b1e38a7554f46c23dba01f567acf9883fe5fa920f9 [INFO] running `Command { std: "docker" "start" "-a" "b25e1129f5b89637ef9886b1e38a7554f46c23dba01f567acf9883fe5fa920f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b25e1129f5b89637ef9886b1e38a7554f46c23dba01f567acf9883fe5fa920f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b25e1129f5b89637ef9886b1e38a7554f46c23dba01f567acf9883fe5fa920f9", kill_on_drop: false }` [INFO] [stdout] b25e1129f5b89637ef9886b1e38a7554f46c23dba01f567acf9883fe5fa920f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4b5829d5c695fe154918f24759d2040c15bd7c22215f0d76a83c76917f3a207 [INFO] running `Command { std: "docker" "start" "-a" "b4b5829d5c695fe154918f24759d2040c15bd7c22215f0d76a83c76917f3a207", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling ureq v2.4.0 [INFO] [stderr] Compiling onnxruntime-sys-patch v0.0.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> build.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | fn as_onnx_str(&self) -> Cow; [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 200 | fn as_onnx_str(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> build.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | fn as_onnx_str(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 226 | fn as_onnx_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> build.rs:268:20 [INFO] [stdout] | [INFO] [stdout] 268 | fn as_onnx_str(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 268 | fn as_onnx_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> build.rs:295:20 [INFO] [stdout] | [INFO] [stdout] 295 | fn as_onnx_str(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 295 | fn as_onnx_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> build.rs:311:20 [INFO] [stdout] | [INFO] [stdout] 311 | fn as_onnx_str(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 311 | fn as_onnx_str(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run custom build command for `onnxruntime-sys-patch v0.0.14 (/opt/rustwide/workdir)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/onnxruntime-sys-patch-29e03266d811e1ff/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] strategy: "unknown" [INFO] [stderr] cargo:rerun-if-changed=/opt/rustwide/target/debug/build/onnxruntime-sys-patch-41901a9d2e9bc247/out/onnxruntime-linux-x64-1.8.1.tgz [INFO] [stderr] Creating directory "/opt/rustwide/target/debug/build/onnxruntime-sys-patch-41901a9d2e9bc247/out" [INFO] [stderr] Downloading https://ghproxy.com/https://github.com/microsoft/onnxruntime/releases/download/v1.8.1/onnxruntime-linux-x64-1.8.1.tgz into /opt/rustwide/target/debug/build/onnxruntime-sys-patch-41901a9d2e9bc247/out/onnxruntime-linux-x64-1.8.1.tgz [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at build.rs:139:31: [INFO] [stderr] ERROR: Failed to download https://ghproxy.com/https://github.com/microsoft/onnxruntime/releases/download/v1.8.1/onnxruntime-linux-x64-1.8.1.tgz: Transport(Transport { kind: Dns, message: Some("resolve dns name 'ghproxy.com:443'"), url: Some(Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("ghproxy.com")), port: None, path: "/https://github.com/microsoft/onnxruntime/releases/download/v1.8.1/onnxruntime-linux-x64-1.8.1.tgz", query: None, fragment: None }), source: Some(Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" }) }) [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5df74ff3de62 - std::backtrace_rs::backtrace::libunwind::trace::h78562a013ab6f1d1 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5df74ff3de62 - std::backtrace_rs::backtrace::trace_unsynchronized::h77ced773b5be47e3 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5df74ff3de62 - std::sys::backtrace::_print_fmt::hd8554b653175eb90 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5df74ff3de62 - ::fmt::h0ee684fa48ea65a9 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5df74ff5ff43 - core::fmt::rt::Argument::fmt::h97dc4aa34475380b [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5df74ff5ff43 - core::fmt::write::ha7e9dac23b0574fc [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/fmt/mod.rs:1465:25 [INFO] [stderr] 6: 0x5df74ff3a0b3 - std::io::default_write_fmt::hdebc07c8b1ed24d8 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5df74ff3a0b3 - std::io::Write::write_fmt::h74c2ee93ac2161e6 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5df74ff3dcb2 - std::sys::backtrace::BacktraceLock::print::h5d2ec0ae212b38da [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5df74ff3f5f6 - std::panicking::default_hook::{{closure}}::h919f804d261dd9ce [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x5df74ff3f3f9 - std::panicking::default_hook::h96273494815ab2d6 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x5df74ff40002 - std::panicking::rust_panic_with_hook::hd760048b5d2d6151 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:833:13 [INFO] [stderr] 12: 0x5df74ff3fd9a - std::panicking::begin_panic_handler::{{closure}}::h040646f2e9c9f682 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:706:13 [INFO] [stderr] 13: 0x5df74ff3e369 - std::sys::backtrace::__rust_end_short_backtrace::h6a810defc53f5213 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 14: 0x5df74ff3fa2d - __rustc[d0903a379a499752]::rust_begin_unwind [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:697:5 [INFO] [stderr] 15: 0x5df74ff5ecb0 - core::panicking::panic_fmt::hdb4e2ff26c68ec1f [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x5df74fd452c5 - build_script_build::download::{{closure}}::h276eaf94a06f3907 [INFO] [stderr] 17: 0x5df74fd35b38 - core::result::Result::unwrap_or_else::h73ba1b84fe71db52 [INFO] [stderr] 18: 0x5df74fd44bb3 - build_script_build::download::h5634289ce76887b3 [INFO] [stderr] 19: 0x5df74fd481a2 - build_script_build::prepare_libort_dir_prebuilt::hd25a18f73f52bc5c [INFO] [stderr] 20: 0x5df74fd48614 - build_script_build::prepare_libort_dir::h42f196045344a519 [INFO] [stderr] 21: 0x5df74fd445f6 - build_script_build::main::hee6cb1ed029b3f54 [INFO] [stderr] 22: 0x5df74fd34883 - core::ops::function::FnOnce::call_once::h8e53ad67b1327538 [INFO] [stderr] 23: 0x5df74fd37b16 - std::sys::backtrace::__rust_begin_short_backtrace::h003fc48a25c754cc [INFO] [stderr] 24: 0x5df74fd33ba9 - std::rt::lang_start::{{closure}}::h7b9a3e76b865b29c [INFO] [stderr] 25: 0x5df74ff35220 - core::ops::function::impls:: for &F>::call_once::hc0a003771d36ce49 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/ops/function.rs:284:21 [INFO] [stderr] 26: 0x5df74ff35220 - std::panicking::catch_unwind::do_call::h9858643921646d98 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:589:40 [INFO] [stderr] 27: 0x5df74ff35220 - std::panicking::catch_unwind::h8c86187d9aa365e4 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:552:19 [INFO] [stderr] 28: 0x5df74ff35220 - std::panic::catch_unwind::h7fb0f60cd1f7dbc8 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panic.rs:359:14 [INFO] [stderr] 29: 0x5df74ff35220 - std::rt::lang_start_internal::{{closure}}::he8bf7dae0379adc7 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/rt.rs:175:24 [INFO] [stderr] 30: 0x5df74ff35220 - std::panicking::catch_unwind::do_call::h14a6a5289a8309e6 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:589:40 [INFO] [stderr] 31: 0x5df74ff35220 - std::panicking::catch_unwind::h324e7e057c6492a0 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:552:19 [INFO] [stderr] 32: 0x5df74ff35220 - std::panic::catch_unwind::h707fe61980e924ea [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panic.rs:359:14 [INFO] [stderr] 33: 0x5df74ff35220 - std::rt::lang_start_internal::hc492c42d25e8d5e6 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/rt.rs:171:5 [INFO] [stderr] 34: 0x5df74fd33b91 - std::rt::lang_start::h1950f73303f469ef [INFO] [stderr] 35: 0x5df74fd48a85 - main [INFO] [stderr] 36: 0x751fb7fc01ca - [INFO] [stderr] 37: 0x751fb7fc028b - __libc_start_main [INFO] [stderr] 38: 0x5df74fd31ea5 - _start [INFO] [stderr] 39: 0x0 - [INFO] running `Command { std: "docker" "inspect" "b4b5829d5c695fe154918f24759d2040c15bd7c22215f0d76a83c76917f3a207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b5829d5c695fe154918f24759d2040c15bd7c22215f0d76a83c76917f3a207", kill_on_drop: false }` [INFO] [stdout] b4b5829d5c695fe154918f24759d2040c15bd7c22215f0d76a83c76917f3a207