[INFO] cloning repository https://github.com/mengwanguc/rust-mio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mengwanguc/rust-mio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmengwanguc%2Frust-mio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmengwanguc%2Frust-mio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07f3cab88c67abc50239879d40c1b3dd49c65866 [INFO] checking mengwanguc/rust-mio against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmengwanguc%2Frust-mio" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mengwanguc/rust-mio [INFO] finished tweaking git repo https://github.com/mengwanguc/rust-mio [INFO] tweaked toml for git repo https://github.com/mengwanguc/rust-mio written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mengwanguc/rust-mio 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 git repo https://github.com/mengwanguc/rust-mio 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded users v0.10.0 [INFO] [stderr] Downloaded cexpr v0.5.0 [INFO] [stderr] Downloaded nom v6.2.1 [INFO] [stderr] Downloaded bindgen v0.59.1 [INFO] [stderr] Downloaded regex v1.4.6 [INFO] [stderr] Downloaded fsio v0.1.3 [INFO] [stderr] Downloaded run_script v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] eca6de084a2996b2e16be6363b977aa999d09488abff2bbe35fe1b7f4a16595a [INFO] running `Command { std: "docker" "start" "-a" "eca6de084a2996b2e16be6363b977aa999d09488abff2bbe35fe1b7f4a16595a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eca6de084a2996b2e16be6363b977aa999d09488abff2bbe35fe1b7f4a16595a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eca6de084a2996b2e16be6363b977aa999d09488abff2bbe35fe1b7f4a16595a", kill_on_drop: false }` [INFO] [stdout] eca6de084a2996b2e16be6363b977aa999d09488abff2bbe35fe1b7f4a16595a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1c0b573b404bd9891d421e0471ce94296e09d6d737e9fcf3aef1d28f6d6bec24 [INFO] running `Command { std: "docker" "start" "-a" "1c0b573b404bd9891d421e0471ce94296e09d6d737e9fcf3aef1d28f6d6bec24", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling bindgen v0.59.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling clang-sys v1.2.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling users v0.10.0 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling fsio v0.1.3 [INFO] [stderr] Compiling run_script v0.6.4 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling cexpr v0.5.0 [INFO] [stderr] Compiling rust_motr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> build.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> build.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | let bindings_rs_path = (out_path.join("bindings.rs").into_os_string().into_string().unwrap()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - let bindings_rs_path = (out_path.join("bindings.rs").into_os_string().into_string().unwrap()); [INFO] [stdout] 39 + let bindings_rs_path = out_path.join("bindings.rs").into_os_string().into_string().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> build.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / run_script::run_script!( [INFO] [stdout] 44 | | r#" [INFO] [stdout] 45 | | sed -i '/pub\sfn\sm0_init_instance()/i \ [INFO] [stdout] 46 | | }\ [INFO] [stdout] ... | [INFO] [stdout] 53 | | &options [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `run_script::run_script` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run custom build command for `rust_motr v0.1.0 (/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/rust_motr-f2a838952717da0e/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-search=all=/root/cortx-motr/motr/.libs/ [INFO] [stderr] cargo:rustc-link-search=all=/root/messy/rust-mio/src [INFO] [stderr] cargo:rustc-link-lib=motr [INFO] [stderr] cargo:rustc-env=LD_LIBRARY_PATH=/root/cortx-motr/motr/.libs/:/root/messy/rust-mio/src [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] warning: argument unused during compilation: '-L/root/cortx-motr/motr/.libs -Wl,-rpath=/root/cortx-motr/motr/.libs/' [-Wunused-command-line-argument] [INFO] [stderr] wrapper.h:4:10: fatal error: 'motr/client.h' file not found [INFO] [stderr] warning: argument unused during compilation: '-L/root/cortx-motr/motr/.libs -Wl,-rpath=/root/cortx-motr/motr/.libs/' [-Wunused-command-line-argument], err: false [INFO] [stderr] wrapper.h:4:10: fatal error: 'motr/client.h' file not found, err: true [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at build.rs:30:10: [INFO] [stderr] Unable to generate bindings: () [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x640667f0f742 - 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: 0x640667f0f742 - 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: 0x640667f0f742 - std::sys::backtrace::_print_fmt::hd8554b653175eb90 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x640667f0f742 - ::fmt::h0ee684fa48ea65a9 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x640667f35f33 - core::fmt::rt::Argument::fmt::h97dc4aa34475380b [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x640667f35f33 - core::fmt::write::ha7e9dac23b0574fc [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/fmt/mod.rs:1465:25 [INFO] [stderr] 6: 0x640667f0c5d3 - std::io::default_write_fmt::hdebc07c8b1ed24d8 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x640667f0c5d3 - std::io::Write::write_fmt::h74c2ee93ac2161e6 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x640667f0f592 - std::sys::backtrace::BacktraceLock::print::h5d2ec0ae212b38da [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x640667f10906 - std::panicking::default_hook::{{closure}}::h919f804d261dd9ce [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x640667f10709 - std::panicking::default_hook::h96273494815ab2d6 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x640667f11312 - std::panicking::rust_panic_with_hook::hd760048b5d2d6151 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:833:13 [INFO] [stderr] 12: 0x640667f110aa - std::panicking::begin_panic_handler::{{closure}}::h040646f2e9c9f682 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:706:13 [INFO] [stderr] 13: 0x640667f0fc49 - std::sys::backtrace::__rust_end_short_backtrace::h6a810defc53f5213 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 14: 0x640667f10d3d - __rustc[d0903a379a499752]::rust_begin_unwind [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:697:5 [INFO] [stderr] 15: 0x640667f34290 - core::panicking::panic_fmt::hdb4e2ff26c68ec1f [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x640667f34726 - core::result::unwrap_failed::h56d5f7e14f636e03 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/result.rs:1761:5 [INFO] [stderr] 17: 0x640667b28c24 - core::result::Result::expect::hee4dee7223db3f6e [INFO] [stderr] 18: 0x640667b29bf6 - build_script_build::main::hd8988b4e64020124 [INFO] [stderr] 19: 0x640667b28323 - core::ops::function::FnOnce::call_once::h65ae0eb194be411a [INFO] [stderr] 20: 0x640667b281b6 - std::sys::backtrace::__rust_begin_short_backtrace::h5fa13b283ea4f454 [INFO] [stderr] 21: 0x640667b27f49 - std::rt::lang_start::{{closure}}::had764045ef3d3557 [INFO] [stderr] 22: 0x640667f076a0 - core::ops::function::impls:: for &F>::call_once::hc0a003771d36ce49 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/ops/function.rs:284:21 [INFO] [stderr] 23: 0x640667f076a0 - std::panicking::catch_unwind::do_call::h9858643921646d98 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:589:40 [INFO] [stderr] 24: 0x640667f076a0 - std::panicking::catch_unwind::h8c86187d9aa365e4 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:552:19 [INFO] [stderr] 25: 0x640667f076a0 - std::panic::catch_unwind::h7fb0f60cd1f7dbc8 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panic.rs:359:14 [INFO] [stderr] 26: 0x640667f076a0 - std::rt::lang_start_internal::{{closure}}::he8bf7dae0379adc7 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/rt.rs:175:24 [INFO] [stderr] 27: 0x640667f076a0 - std::panicking::catch_unwind::do_call::h14a6a5289a8309e6 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:589:40 [INFO] [stderr] 28: 0x640667f076a0 - std::panicking::catch_unwind::h324e7e057c6492a0 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panicking.rs:552:19 [INFO] [stderr] 29: 0x640667f076a0 - std::panic::catch_unwind::h707fe61980e924ea [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/panic.rs:359:14 [INFO] [stderr] 30: 0x640667f076a0 - std::rt::lang_start_internal::hc492c42d25e8d5e6 [INFO] [stderr] at /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/std/src/rt.rs:171:5 [INFO] [stderr] 31: 0x640667b27f31 - std::rt::lang_start::h2796c73c55bd4983 [INFO] [stderr] 32: 0x640667b2a1a5 - main [INFO] [stderr] 33: 0x7f2f1fa1c1ca - [INFO] [stderr] 34: 0x7f2f1fa1c28b - __libc_start_main [INFO] [stderr] 35: 0x640667b275e5 - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "1c0b573b404bd9891d421e0471ce94296e09d6d737e9fcf3aef1d28f6d6bec24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c0b573b404bd9891d421e0471ce94296e09d6d737e9fcf3aef1d28f6d6bec24", kill_on_drop: false }` [INFO] [stdout] 1c0b573b404bd9891d421e0471ce94296e09d6d737e9fcf3aef1d28f6d6bec24