[INFO] cloning repository https://github.com/dimusic/paddle-inference-rust-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dimusic/paddle-inference-rust-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdimusic%2Fpaddle-inference-rust-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdimusic%2Fpaddle-inference-rust-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d626c6a391d9c93d3033a688745b533042de84e [INFO] checking dimusic/paddle-inference-rust-api against try#1bd50d4315eb15970d395b6be5823f9384707693 for pr-140151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdimusic%2Fpaddle-inference-rust-api" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dimusic/paddle-inference-rust-api on toolchain 1bd50d4315eb15970d395b6be5823f9384707693 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1bd50d4315eb15970d395b6be5823f9384707693" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dimusic/paddle-inference-rust-api [INFO] finished tweaking git repo https://github.com/dimusic/paddle-inference-rust-api [INFO] tweaked toml for git repo https://github.com/dimusic/paddle-inference-rust-api written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dimusic/paddle-inference-rust-api 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" "+1bd50d4315eb15970d395b6be5823f9384707693" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_lex v0.2.3 [INFO] [stderr] Downloaded clap v3.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1bd50d4315eb15970d395b6be5823f9384707693" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6dc263a9f294e97e87a908a71bd681b9437793bc8700c81789bed0afd5564357 [INFO] running `Command { std: "docker" "start" "-a" "6dc263a9f294e97e87a908a71bd681b9437793bc8700c81789bed0afd5564357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6dc263a9f294e97e87a908a71bd681b9437793bc8700c81789bed0afd5564357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dc263a9f294e97e87a908a71bd681b9437793bc8700c81789bed0afd5564357", kill_on_drop: false }` [INFO] [stdout] 6dc263a9f294e97e87a908a71bd681b9437793bc8700c81789bed0afd5564357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1bd50d4315eb15970d395b6be5823f9384707693" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fdab4fc5691d6a6dae18d32bdf243e8107c4d0ddfc77f85467ccadbd30e75bf [INFO] running `Command { std: "docker" "start" "-a" "4fdab4fc5691d6a6dae18d32bdf243e8107c4d0ddfc77f85467ccadbd30e75bf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling clap_lex v0.2.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling clang-sys v1.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling clap v3.2.6 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling paddle-inference-api-sys v0.2.0 (/opt/rustwide/workdir/paddle-inference-api-sys) [INFO] [stderr] error: failed to run custom build command for `paddle-inference-api-sys v0.2.0 (/opt/rustwide/workdir/paddle-inference-api-sys)` [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/paddle-inference-api-sys-d695e7bb28f0c0e6/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=paddle_wrapper.h [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at paddle-inference-api-sys/build.rs:13:10: [INFO] [stderr] LIB_PADDLE_C_INSTALL_DIR is not set [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x63f8f61afb02 - std::backtrace_rs::backtrace::libunwind::trace::h1a15fa817b72da33 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x63f8f61afb02 - std::backtrace_rs::backtrace::trace_unsynchronized::hf2c00e412c5faadf [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x63f8f61afb02 - std::sys::backtrace::_print_fmt::hf74f78c046b64fc3 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x63f8f61afb02 - ::fmt::hb4036bf9790395ee [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x63f8f61d58c3 - core::fmt::rt::Argument::fmt::h80be61361a017e83 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/core/src/fmt/rt.rs:179:76 [INFO] [stderr] 5: 0x63f8f61d58c3 - core::fmt::write::h80a690b41062e392 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/core/src/fmt/mod.rs:1481:25 [INFO] [stderr] 6: 0x63f8f61accb3 - std::io::default_write_fmt::ha24a4d09d95ff318 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x63f8f61accb3 - std::io::Write::write_fmt::h5daf7d547040a0e8 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/io/mod.rs:1914:13 [INFO] [stderr] 8: 0x63f8f61af952 - std::sys::backtrace::BacktraceLock::print::hd5fa6146c02c3191 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x63f8f61b0c22 - std::panicking::default_hook::{{closure}}::h74b7997ba28a05cd [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/panicking.rs:300:22 [INFO] [stderr] 10: 0x63f8f61b0a25 - std::panicking::default_hook::hf9e1aa8926e0065b [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x63f8f61b1642 - std::panicking::rust_panic_with_hook::hb9edd52ab106f344 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/panicking.rs:833:13 [INFO] [stderr] 12: 0x63f8f61b13ca - std::panicking::begin_panic_handler::{{closure}}::h6de217dee5cfbee3 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/panicking.rs:706:13 [INFO] [stderr] 13: 0x63f8f61afff9 - std::sys::backtrace::__rust_end_short_backtrace::h3919d5b10bab50cd [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 14: 0x63f8f61b105d - __rustc[820f2ab4325114ba]::rust_begin_unwind [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/panicking.rs:697:5 [INFO] [stderr] 15: 0x63f8f61d3c20 - core::panicking::panic_fmt::ha49f25d2aba38f4c [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x63f8f61d3bfb - core::panicking::panic_display::h4ec75f432147f43b [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/core/src/panicking.rs:261:5 [INFO] [stderr] 17: 0x63f8f61d3bfb - core::option::expect_failed::h3b3586cfbd33dd1b [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/core/src/option.rs:2024:5 [INFO] [stderr] 18: 0x63f8f5f3e4eb - core::option::Option::expect::h9aef410b69cf54f5 [INFO] [stderr] 19: 0x63f8f5e19004 - build_script_build::main::h63bf2051042dd362 [INFO] [stderr] 20: 0x63f8f5e17ba3 - core::ops::function::FnOnce::call_once::h9c70d96f8a9c9d65 [INFO] [stderr] 21: 0x63f8f5e17aa6 - std::sys::backtrace::__rust_begin_short_backtrace::h46f9a732773dfc9d [INFO] [stderr] 22: 0x63f8f5e17a89 - std::rt::lang_start::{{closure}}::h89cc42d6bd3673e9 [INFO] [stderr] 23: 0x63f8f61a8280 - core::ops::function::impls:: for &F>::call_once::h8b31aa5ffdc8795d [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 24: 0x63f8f61a8280 - std::panicking::try::do_call::hf92460430e076ee3 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/panicking.rs:589:40 [INFO] [stderr] 25: 0x63f8f61a8280 - std::panicking::try::h6ae948900543b5ab [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/panicking.rs:552:19 [INFO] [stderr] 26: 0x63f8f61a8280 - std::panic::catch_unwind::h50e3f4e3fddd4c1c [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/panic.rs:359:14 [INFO] [stderr] 27: 0x63f8f61a8280 - std::rt::lang_start_internal::{{closure}}::h60de4ea1a6369968 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/rt.rs:168:24 [INFO] [stderr] 28: 0x63f8f61a8280 - std::panicking::try::do_call::h22d0a3dedcc89184 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/panicking.rs:589:40 [INFO] [stderr] 29: 0x63f8f61a8280 - std::panicking::try::hb028c9b72a5a5693 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/panicking.rs:552:19 [INFO] [stderr] 30: 0x63f8f61a8280 - std::panic::catch_unwind::h1863bc5429d95710 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/panic.rs:359:14 [INFO] [stderr] 31: 0x63f8f61a8280 - std::rt::lang_start_internal::h960d99e3e7fb2f19 [INFO] [stderr] at /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/std/src/rt.rs:164:5 [INFO] [stderr] 32: 0x63f8f5e17a71 - std::rt::lang_start::hff444ebf791569f8 [INFO] [stderr] 33: 0x63f8f5e194e5 - main [INFO] [stderr] 34: 0x78e49e9181ca - [INFO] [stderr] 35: 0x78e49e91828b - __libc_start_main [INFO] [stderr] 36: 0x63f8f5e17185 - _start [INFO] [stderr] 37: 0x0 - [INFO] running `Command { std: "docker" "inspect" "4fdab4fc5691d6a6dae18d32bdf243e8107c4d0ddfc77f85467ccadbd30e75bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fdab4fc5691d6a6dae18d32bdf243e8107c4d0ddfc77f85467ccadbd30e75bf", kill_on_drop: false }` [INFO] [stdout] 4fdab4fc5691d6a6dae18d32bdf243e8107c4d0ddfc77f85467ccadbd30e75bf