[INFO] cloning repository https://github.com/vpp-dev/vpp-rust-plugin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vpp-dev/vpp-rust-plugin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvpp-dev%2Fvpp-rust-plugin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvpp-dev%2Fvpp-rust-plugin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c25a1bdb72d7b834506c07a8ef167bc8e7b064d4 [INFO] checking vpp-dev/vpp-rust-plugin against try#5fdfba63a96c5e8ae0ebf6b8b66853110277087d for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvpp-dev%2Fvpp-rust-plugin" "/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/vpp-dev/vpp-rust-plugin on toolchain 5fdfba63a96c5e8ae0ebf6b8b66853110277087d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vpp-dev/vpp-rust-plugin [INFO] finished tweaking git repo https://github.com/vpp-dev/vpp-rust-plugin [INFO] tweaked toml for git repo https://github.com/vpp-dev/vpp-rust-plugin written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/vpp-dev/vpp-rust-plugin already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "fetch" "--locked" "--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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ef767230ee7412e01f95545fe39bef2603e2b180a3da1414ec04d6c21300cf3 [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" "0ef767230ee7412e01f95545fe39bef2603e2b180a3da1414ec04d6c21300cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ef767230ee7412e01f95545fe39bef2603e2b180a3da1414ec04d6c21300cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ef767230ee7412e01f95545fe39bef2603e2b180a3da1414ec04d6c21300cf3", kill_on_drop: false }` [INFO] [stdout] 0ef767230ee7412e01f95545fe39bef2603e2b180a3da1414ec04d6c21300cf3 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a5ecf78c971be1465ec1560a76b71d2993f7a09489dbeef4dab74e114516a6b [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" "8a5ecf78c971be1465ec1560a76b71d2993f7a09489dbeef4dab74e114516a6b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling cc v1.0.9 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling termcolor v0.3.5 [INFO] [stderr] Compiling bindgen v0.33.2 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling clang-sys v0.22.0 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling env_logger v0.5.6 [INFO] [stderr] Compiling rust_plugin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bindgen::builder` [INFO] [stdout] --> build.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bindgen::builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'bindgen::Builder::hide_type': Use blacklist_type instead [INFO] [stdout] --> build.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | .hide_type("max_align_t") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'bindgen::Builder::hide_type': Use blacklist_type instead [INFO] [stdout] --> build.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | .hide_type("vnet_sw_interface_t") [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> build.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut bindings = bindgen::Builder::default() [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> build.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Command::new("rustup").args(&["run", "nightly", "rustfmt", out_file_name.to_str().unwrap()]).status(); // .unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run custom build command for `rust_plugin v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/rust_plugin-28dbdba59b613bcb/build-script-build` (exit code: 101) [INFO] [stderr] --- stderr [INFO] [stderr] wrapper.h:3:10: fatal error: 'vlib/vlib.h' file not found [INFO] [stderr] wrapper.h:3:10: fatal error: 'vlib/vlib.h' file not found, err: true [INFO] [stderr] thread 'main' panicked at 'Unable to generate bindings: ()', build.rs:32:10 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55d14af95015 - backtrace::backtrace::libunwind::trace::h34afbfad7fd770fc [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stderr] 1: 0x55d14af95015 - backtrace::backtrace::trace_unsynchronized::h460d522b1619a600 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x55d14af95015 - std::sys_common::backtrace::_print_fmt::ha45fac10086813b4 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stderr] 3: 0x55d14af95015 - ::fmt::hde84f63fcfd0e6de [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stderr] 4: 0x55d14afbe9fc - core::fmt::write::h540ac4a6a1232abc [INFO] [stderr] at src/libcore/fmt/mod.rs:1076 [INFO] [stderr] 5: 0x55d14af916c3 - std::io::Write::write_fmt::hc344eafd6e850b4d [INFO] [stderr] at src/libstd/io/mod.rs:1537 [INFO] [stderr] 6: 0x55d14af97810 - std::sys_common::backtrace::_print::h4db88ff15cb5d61d [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stderr] 7: 0x55d14af97810 - std::sys_common::backtrace::print::h5fc39e1b1f610bd3 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stderr] 8: 0x55d14af97810 - std::panicking::default_hook::{{closure}}::h59e55edacb1d974a [INFO] [stderr] at src/libstd/panicking.rs:198 [INFO] [stderr] 9: 0x55d14af9755c - std::panicking::default_hook::heee4c8016dfbf328 [INFO] [stderr] at src/libstd/panicking.rs:217 [INFO] [stderr] 10: 0x55d14af97e47 - std::panicking::rust_panic_with_hook::h8405b6301c79fb5a [INFO] [stderr] at src/libstd/panicking.rs:473 [INFO] [stderr] 11: 0x55d14af97a4b - rust_begin_unwind [INFO] [stderr] at src/libstd/panicking.rs:384 [INFO] [stderr] 12: 0x55d14afbd0b1 - core::panicking::panic_fmt::h78830ea6a34e7206 [INFO] [stderr] at src/libcore/panicking.rs:85 [INFO] [stderr] 13: 0x55d14afbced3 - core::option::expect_none_failed::hf79bbb5ca7e09e08 [INFO] [stderr] at src/libcore/option.rs:1274 [INFO] [stderr] 14: 0x55d14aadddce - core::result::Result::expect::h750cd44070124651 [INFO] [stderr] at /rustc/5fdfba63a96c5e8ae0ebf6b8b66853110277087d/src/libcore/result.rs:963 [INFO] [stderr] 15: 0x55d14aadf288 - build_script_build::main::h6507c49b1d6a52b3 [INFO] [stderr] at /opt/rustwide/workdir/build.rs:18 [INFO] [stderr] 16: 0x55d14aaddf2b - std::rt::lang_start::{{closure}}::h2d148f96ec31fcae [INFO] [stderr] at /rustc/5fdfba63a96c5e8ae0ebf6b8b66853110277087d/src/libstd/rt.rs:67 [INFO] [stderr] 17: 0x55d14af98218 - std::rt::lang_start_internal::{{closure}}::h7cea099ad4edf1eb [INFO] [stderr] at src/libstd/rt.rs:52 [INFO] [stderr] 18: 0x55d14af98218 - std::panicking::try::do_call::h42d93372c44025d2 [INFO] [stderr] at src/libstd/panicking.rs:296 [INFO] [stderr] 19: 0x55d14af98218 - std::panicking::try::hb47a4182362d3341 [INFO] [stderr] at src/libstd/panicking.rs:273 [INFO] [stderr] 20: 0x55d14af98218 - std::panic::catch_unwind::h2afcfbf3125915b4 [INFO] [stderr] at src/libstd/panic.rs:394 [INFO] [stderr] 21: 0x55d14af98218 - std::rt::lang_start_internal::h4f696727fe904f48 [INFO] [stderr] at src/libstd/rt.rs:51 [INFO] [stderr] 22: 0x55d14aaddf07 - std::rt::lang_start::h5d9e2f3f5bab81b4 [INFO] [stderr] at /rustc/5fdfba63a96c5e8ae0ebf6b8b66853110277087d/src/libstd/rt.rs:67 [INFO] [stderr] 23: 0x55d14aadf5ba - main [INFO] [stderr] 24: 0x7f7c943960b3 - __libc_start_main [INFO] [stderr] 25: 0x55d14aadd19e - _start [INFO] [stderr] 26: 0x0 - [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "8a5ecf78c971be1465ec1560a76b71d2993f7a09489dbeef4dab74e114516a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a5ecf78c971be1465ec1560a76b71d2993f7a09489dbeef4dab74e114516a6b", kill_on_drop: false }` [INFO] [stdout] 8a5ecf78c971be1465ec1560a76b71d2993f7a09489dbeef4dab74e114516a6b