[INFO] cloning repository https://github.com/ThijsRay/ros2_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThijsRay/ros2_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThijsRay%2Fros2_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThijsRay%2Fros2_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa6fa89bbdb0741f6f95058d40276b34128f7c4a [INFO] testing ThijsRay/ros2_rust/aa6fa89bbdb0741f6f95058d40276b34128f7c4a against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThijsRay%2Fros2_rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ThijsRay/ros2_rust [INFO] finished tweaking git repo https://github.com/ThijsRay/ros2_rust [INFO] tweaked toml for git repo https://github.com/ThijsRay/ros2_rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ThijsRay/ros2_rust on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.58.1 (available: v0.72.0) [INFO] [stderr] Adding downcast v0.10.0 (available: v0.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.58.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d66609310a78a75c3bba563eab03f4c02e477decf2cbe2872c700a13b70391a [INFO] running `Command { std: "docker" "start" "-a" "5d66609310a78a75c3bba563eab03f4c02e477decf2cbe2872c700a13b70391a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d66609310a78a75c3bba563eab03f4c02e477decf2cbe2872c700a13b70391a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d66609310a78a75c3bba563eab03f4c02e477decf2cbe2872c700a13b70391a", kill_on_drop: false }` [INFO] [stdout] 5d66609310a78a75c3bba563eab03f4c02e477decf2cbe2872c700a13b70391a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74c2af2486c365c96ab076e0a7de71700bc0b19579c47c7df68958104abc774f [INFO] running `Command { std: "docker" "start" "-a" "74c2af2486c365c96ab076e0a7de71700bc0b19579c47c7df68958104abc774f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling rclrs_common v0.1.0 (/opt/rustwide/workdir/rclrs_common) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rclrs_common/src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_RCLStatusCode` [INFO] [stdout] 11 | pub enum RCLStatusCode { [INFO] [stdout] | ------------- `RCLStatusCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> rclrs_common/src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_RCLStatusCode` [INFO] [stdout] 11 | pub enum RCLStatusCode { [INFO] [stdout] | ------------- `RCLStatusCode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rcl_sys v0.1.0 (/opt/rustwide/workdir/rcl_sys) [INFO] [stderr] error: failed to run custom build command for `rcl_sys v0.1.0 (/opt/rustwide/workdir/rcl_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/rcl_sys-02bf67f9d6059c94/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-lib=dylib=rcl [INFO] [stderr] cargo:rustc-link-lib=dylib=rmw [INFO] [stderr] cargo:rustc-link-lib=dylib=rcutils [INFO] [stderr] cargo:rerun-if-changed=wrapper.h [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] wrapper.h:1:10: fatal error: 'rcl/node.h' file not found [INFO] [stderr] wrapper.h:1:10: fatal error: 'rcl/node.h' file not found, err: true [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at rcl_sys/build.rs:48:10: [INFO] [stderr] Unable to generate bindings: () [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x627037368552 - std::backtrace_rs::backtrace::libunwind::trace::hf6dd235ae0786829 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x627037368552 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a5b54e78104e8b2 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x627037368552 - std::sys::backtrace::_print_fmt::hca7a5c1644e21919 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x627037368552 - ::fmt::h38110959524b373c [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x62703738f113 - core::fmt::rt::Argument::fmt::h391eb3fdbf3d4042 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x62703738f113 - core::fmt::write::h5b87140645224122 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/mod.rs:1465:25 [INFO] [stderr] 6: 0x6270373658c3 - std::io::default_write_fmt::h0f114d7226b96248 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x6270373658c3 - std::io::Write::write_fmt::h89e75c4a7af19239 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x6270373683a2 - std::sys::backtrace::BacktraceLock::print::hcd755c38f62e4492 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x6270373697b6 - std::panicking::default_hook::{{closure}}::h351f33591b26e6e7 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x6270373695b9 - std::panicking::default_hook::he5bba7bf0a373c6e [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x62703736a1c2 - std::panicking::rust_panic_with_hook::hdf456b43e6535023 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:833:13 [INFO] [stderr] 12: 0x627037369f5a - std::panicking::begin_panic_handler::{{closure}}::he1c1ab0b84006a97 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:706:13 [INFO] [stderr] 13: 0x627037368a49 - std::sys::backtrace::__rust_end_short_backtrace::h2a71da996e10b8a0 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 14: 0x627037369bed - __rustc[92197b79f0fe8095]::rust_begin_unwind [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:697:5 [INFO] [stderr] 15: 0x62703738d4c0 - core::panicking::panic_fmt::h723bf1d52f6dad29 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x62703738d906 - core::result::unwrap_failed::hee42034aaecc2a24 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/result.rs:1761:5 [INFO] [stderr] 17: 0x627036e7a0d4 - core::result::Result::expect::hd5dd7a7377851f78 [INFO] [stderr] 18: 0x627036e7b4fd - build_script_build::main::h50fd083ff8a0155d [INFO] [stderr] 19: 0x627036e798d3 - core::ops::function::FnOnce::call_once::hd21c747579b1da6b [INFO] [stderr] 20: 0x627036e797b6 - std::sys::backtrace::__rust_begin_short_backtrace::h92cd32f7c41f5aea [INFO] [stderr] 21: 0x627036e79799 - std::rt::lang_start::{{closure}}::haaba5c1c963488ee [INFO] [stderr] 22: 0x627037360f10 - core::ops::function::impls:: for &F>::call_once::hd25fc0ca75d54018 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:284:21 [INFO] [stderr] 23: 0x627037360f10 - std::panicking::catch_unwind::do_call::ha488b7241416766f [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stderr] 24: 0x627037360f10 - std::panicking::catch_unwind::h81a5714cf9e2c51e [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stderr] 25: 0x627037360f10 - std::panic::catch_unwind::haf54ebde94b26b04 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stderr] 26: 0x627037360f10 - std::rt::lang_start_internal::{{closure}}::h4fa23b31c3653423 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/rt.rs:175:24 [INFO] [stderr] 27: 0x627037360f10 - std::panicking::catch_unwind::do_call::h60c222eb58f45e30 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stderr] 28: 0x627037360f10 - std::panicking::catch_unwind::h3a5c3ee5a2867e71 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stderr] 29: 0x627037360f10 - std::panic::catch_unwind::h93836bffc0bad4f2 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stderr] 30: 0x627037360f10 - std::rt::lang_start_internal::h25802ecab1c1e1f0 [INFO] [stderr] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/rt.rs:171:5 [INFO] [stderr] 31: 0x627036e79781 - std::rt::lang_start::h1298118f86da1d82 [INFO] [stderr] 32: 0x627036e7b7f5 - main [INFO] [stderr] 33: 0x7d62a4a531ca - [INFO] [stderr] 34: 0x7d62a4a5328b - __libc_start_main [INFO] [stderr] 35: 0x627036e78e35 - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "74c2af2486c365c96ab076e0a7de71700bc0b19579c47c7df68958104abc774f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c2af2486c365c96ab076e0a7de71700bc0b19579c47c7df68958104abc774f", kill_on_drop: false }` [INFO] [stdout] 74c2af2486c365c96ab076e0a7de71700bc0b19579c47c7df68958104abc774f