[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#6db1a6a7ebb2ad243051f3ff949f987dd70cde2b+rustflags=-Dreturn-local-variable-ptr for pr-134218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdimusic%2Fpaddle-inference-rust-api" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dimusic/paddle-inference-rust-api on toolchain 6db1a6a7ebb2ad243051f3ff949f987dd70cde2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "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-6-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" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1dee7c62131594a3afda3983a39ec7a1bb63384461e3ca14418f854395e151a [INFO] running `Command { std: "docker" "start" "-a" "d1dee7c62131594a3afda3983a39ec7a1bb63384461e3ca14418f854395e151a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1dee7c62131594a3afda3983a39ec7a1bb63384461e3ca14418f854395e151a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1dee7c62131594a3afda3983a39ec7a1bb63384461e3ca14418f854395e151a", kill_on_drop: false }` [INFO] [stdout] d1dee7c62131594a3afda3983a39ec7a1bb63384461e3ca14418f854395e151a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dreturn-local-variable-ptr" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 472dbde92cf5ca478f7137b04abe3d9ae07218af51c38c0f9c9d76e8c9f459c2 [INFO] running `Command { std: "docker" "start" "-a" "472dbde92cf5ca478f7137b04abe3d9ae07218af51c38c0f9c9d76e8c9f459c2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling clap_lex v0.2.3 [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 v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.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-295107d32fe99bb7/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] 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: 0x636909e2a49a - std::backtrace_rs::backtrace::libunwind::trace::h307a2ccd3f714d13 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x636909e2a49a - std::backtrace_rs::backtrace::trace_unsynchronized::h72f2412d446c80ba [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x636909e2a49a - std::sys::backtrace::_print_fmt::h0348542dfa0f454d [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x636909e2a49a - ::fmt::h83cc558ebbab7f3e [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x636909e52003 - core::fmt::rt::Argument::fmt::hc7b0a6620a66024f [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x636909e52003 - core::fmt::write::hdd28460bea21157b [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/core/src/fmt/mod.rs:1437:21 [INFO] [stderr] 6: 0x636909e272a3 - std::io::Write::write_fmt::h9b8cc6ead3b39cdd [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/io/mod.rs:1887:15 [INFO] [stderr] 7: 0x636909e2a2e2 - std::sys::backtrace::BacktraceLock::print::h2cb0b2956c593045 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x636909e2b2cd - std::panicking::default_hook::{{closure}}::h87affb6de0e6d3c3 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/panicking.rs:284:22 [INFO] [stderr] 9: 0x636909e2b112 - std::panicking::default_hook::h60d075bf3c53cfd0 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/panicking.rs:311:9 [INFO] [stderr] 10: 0x636909e2ba17 - std::panicking::rust_panic_with_hook::hc68efbf750f95a95 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/panicking.rs:817:13 [INFO] [stderr] 11: 0x636909e2b79a - std::panicking::begin_panic_handler::{{closure}}::ha5896b97d959f2a0 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/panicking.rs:690:13 [INFO] [stderr] 12: 0x636909e2a979 - std::sys::backtrace::__rust_end_short_backtrace::h682350289edd7bbc [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 13: 0x636909e2b42d - rust_begin_unwind [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/panicking.rs:681:5 [INFO] [stderr] 14: 0x636909e503b0 - core::panicking::panic_fmt::h63a8e543320657a5 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/core/src/panicking.rs:75:14 [INFO] [stderr] 15: 0x636909e5038b - core::panicking::panic_display::h38b4a68ec5df0be6 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/core/src/panicking.rs:261:5 [INFO] [stderr] 16: 0x636909e5038b - core::option::expect_failed::h530e7e7d9dd6440c [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/core/src/option.rs:2018:5 [INFO] [stderr] 17: 0x636909b62dcd - core::option::Option::expect::h60fc1d15cf2df1f0 [INFO] [stderr] 18: 0x636909a8cf04 - build_script_build::main::h4a38ad6b4f045c91 [INFO] [stderr] 19: 0x636909a8ba23 - core::ops::function::FnOnce::call_once::h31dccebdbf972e66 [INFO] [stderr] 20: 0x636909a8b966 - std::sys::backtrace::__rust_begin_short_backtrace::he59e53998da4d6d6 [INFO] [stderr] 21: 0x636909a8b949 - std::rt::lang_start::{{closure}}::h8c9b8f9e93b2455b [INFO] [stderr] 22: 0x636909e22f07 - core::ops::function::impls:: for &F>::call_once::ha95ea464c47b76f4 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 23: 0x636909e22f07 - std::panicking::try::do_call::h7c6f901823432ee0 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/panicking.rs:573:40 [INFO] [stderr] 24: 0x636909e22f07 - std::panicking::try::h870680796eac2aad [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/panicking.rs:536:19 [INFO] [stderr] 25: 0x636909e22f07 - std::panic::catch_unwind::h11977973966e10e2 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/panic.rs:358:14 [INFO] [stderr] 26: 0x636909e22f07 - std::rt::lang_start_internal::{{closure}}::h86815d41b8036007 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/rt.rs:174:48 [INFO] [stderr] 27: 0x636909e22f07 - std::panicking::try::do_call::habbf100e364972e8 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/panicking.rs:573:40 [INFO] [stderr] 28: 0x636909e22f07 - std::panicking::try::ha06b8019dcaa25aa [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/panicking.rs:536:19 [INFO] [stderr] 29: 0x636909e22f07 - std::panic::catch_unwind::hffa9642007a55060 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/panic.rs:358:14 [INFO] [stderr] 30: 0x636909e22f07 - std::rt::lang_start_internal::hdc90accacda0c097 [INFO] [stderr] at /rustc/6db1a6a7ebb2ad243051f3ff949f987dd70cde2b/library/std/src/rt.rs:174:20 [INFO] [stderr] 31: 0x636909a8b927 - std::rt::lang_start::h616cd0c1ff5e524a [INFO] [stderr] 32: 0x636909a8d435 - main [INFO] [stderr] 33: 0x73a0cd4fdd90 - [INFO] [stderr] 34: 0x73a0cd4fde40 - __libc_start_main [INFO] [stderr] 35: 0x636909a8b1f5 - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "472dbde92cf5ca478f7137b04abe3d9ae07218af51c38c0f9c9d76e8c9f459c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "472dbde92cf5ca478f7137b04abe3d9ae07218af51c38c0f9c9d76e8c9f459c2", kill_on_drop: false }` [INFO] [stdout] 472dbde92cf5ca478f7137b04abe3d9ae07218af51c38c0f9c9d76e8c9f459c2