[INFO] cloning repository https://github.com/bltavares/openwrt-exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bltavares/openwrt-exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbltavares%2Fopenwrt-exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbltavares%2Fopenwrt-exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c73868db234ea2ac334761112c561d154342700 [INFO] checking bltavares/openwrt-exporter against try#b2686d78d0034bb3435b348d5a63910b074a1990 for pr-104429 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbltavares%2Fopenwrt-exporter" "/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/bltavares/openwrt-exporter on toolchain b2686d78d0034bb3435b348d5a63910b074a1990 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2686d78d0034bb3435b348d5a63910b074a1990" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bltavares/openwrt-exporter [INFO] finished tweaking git repo https://github.com/bltavares/openwrt-exporter [INFO] tweaked toml for git repo https://github.com/bltavares/openwrt-exporter written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/bltavares/openwrt-exporter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2686d78d0034bb3435b348d5a63910b074a1990" "fetch" "--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" "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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b2686d78d0034bb3435b348d5a63910b074a1990" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 907852c79fc77c017e4286c8b5ea9deb26d11bf1f32b282409be2af50caf8740 [INFO] running `Command { std: "docker" "start" "-a" "907852c79fc77c017e4286c8b5ea9deb26d11bf1f32b282409be2af50caf8740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "907852c79fc77c017e4286c8b5ea9deb26d11bf1f32b282409be2af50caf8740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "907852c79fc77c017e4286c8b5ea9deb26d11bf1f32b282409be2af50caf8740", kill_on_drop: false }` [INFO] [stdout] 907852c79fc77c017e4286c8b5ea9deb26d11bf1f32b282409be2af50caf8740 [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" "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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b2686d78d0034bb3435b348d5a63910b074a1990" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4d351168beffb2b5cb24381ecd3e2d165ac8316e58ab78556bcf03a1a0e8b98 [INFO] running `Command { std: "docker" "start" "-a" "c4d351168beffb2b5cb24381ecd3e2d165ac8316e58ab78556bcf03a1a0e8b98", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking chunked_transfer v1.3.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking tiny_http v0.7.0 [INFO] [stderr] Compiling ubus-sys v0.1.0 (https://github.com/bltavares/ubus-rs#e0bcca53) [INFO] [stdout] error[E0507]: cannot move out of `self.data` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/target/debug/build/ubus-sys-4c65863d1ce7a481/out/bindings.rs:3:8655 [INFO] [stdout] | [INFO] [stdout] 3 | ...erive (Debug)] pub struct blob_attr { pub id_len : u32 , pub data : __IncompleteArrayField < :: std :: os :: raw :: c_char > , } # [te... [INFO] [stdout] | ----- in this derive macro expansion ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.data` has type `__IncompleteArrayField`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.name` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/target/debug/build/ubus-sys-4c65863d1ce7a481/out/bindings.rs:3:15248 [INFO] [stdout] | [INFO] [stdout] 3 | ...ked)] # [derive (Debug)] pub struct blobmsg_hdr { pub namelen : u16 , pub name : __IncompleteArrayField < u8 > , } # [test] fn bindgen... [INFO] [stdout] | ----- in this derive macro expansion ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.name` has type `__IncompleteArrayField`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: vendor/ubus/libubus.c: In function 'ubus_cmp_id': [INFO] [stderr] warning: vendor/ubus/libubus.c:46:62: warning: unused parameter 'ptr' [-Wunused-parameter] [INFO] [stderr] warning: 46 | static int ubus_cmp_id(const void *k1, const void *k2, void *ptr) [INFO] [stderr] warning: | ~~~~~~^~~ [INFO] [stderr] warning: vendor/ubus/libubus.c: In function 'ubus_lookup_cb': [INFO] [stderr] warning: vendor/ubus/libubus.c:135:59: warning: unused parameter 'type' [-Wunused-parameter] [INFO] [stderr] warning: 135 | static void ubus_lookup_cb(struct ubus_request *ureq, int type, struct blob_attr *msg) [INFO] [stderr] warning: | ~~~~^~~~ [INFO] [stderr] warning: vendor/ubus/libubus.c: In function 'ubus_lookup_id_cb': [INFO] [stderr] warning: vendor/ubus/libubus.c:173:61: warning: unused parameter 'type' [-Wunused-parameter] [INFO] [stderr] warning: 173 | static void ubus_lookup_id_cb(struct ubus_request *req, int type, struct blob_attr *msg) [INFO] [stderr] warning: | ~~~~^~~~ [INFO] [stderr] warning: vendor/ubus/libubus.c: In function 'ubus_event_cb': [INFO] [stderr] warning: vendor/ubus/libubus.c:204:31: warning: unused parameter 'req' [-Wunused-parameter] [INFO] [stderr] warning: 204 | struct ubus_request_data *req, [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: vendor/ubus/libubus-req.c: In function 'ubus_abort_request': [INFO] [stderr] warning: vendor/ubus/libubus-req.c:80:46: warning: unused parameter 'ctx' [-Wunused-parameter] [INFO] [stderr] warning: 80 | void ubus_abort_request(struct ubus_context *ctx, struct ubus_request *req) [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: vendor/ubus/libubus-req.c: In function 'ubus_notify_complete_cb': [INFO] [stderr] warning: vendor/ubus/libubus-req.c:253:55: warning: unused parameter 'ret' [-Wunused-parameter] [INFO] [stderr] warning: 253 | ubus_notify_complete_cb(struct ubus_request *req, int ret) [INFO] [stderr] warning: | ~~~~^~~ [INFO] [stderr] warning: vendor/ubus/libubus-io.c: In function 'ubus_handle_data': [INFO] [stderr] warning: vendor/ubus/libubus-io.c:312:65: warning: unused parameter 'events' [-Wunused-parameter] [INFO] [stderr] warning: 312 | void __hidden ubus_handle_data(struct uloop_fd *u, unsigned int events) [INFO] [stderr] warning: | ~~~~~~~~~~~~~^~~~~~ [INFO] [stderr] warning: vendor/ubus/libubus-obj.c: In function 'ubus_process_unsubscribe': [INFO] [stderr] warning: vendor/ubus/libubus-obj.c:19:72: warning: unused parameter 'hdr' [-Wunused-parameter] [INFO] [stderr] warning: 19 | ubus_process_unsubscribe(struct ubus_context *ctx, struct ubus_msghdr *hdr, [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: vendor/ubus/libubus-obj.c: In function 'ubus_process_notify': [INFO] [stderr] warning: vendor/ubus/libubus-obj.c:39:67: warning: unused parameter 'hdr' [-Wunused-parameter] [INFO] [stderr] warning: 39 | ubus_process_notify(struct ubus_context *ctx, struct ubus_msghdr *hdr, [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: vendor/ubus/libubus-obj.c: In function 'ubus_add_object_cb': [INFO] [stderr] warning: vendor/ubus/libubus-obj.c:160:62: warning: unused parameter 'type' [-Wunused-parameter] [INFO] [stderr] warning: 160 | static void ubus_add_object_cb(struct ubus_request *req, int type, struct blob_attr *msg) [INFO] [stderr] warning: | ~~~~^~~~ [INFO] [stderr] warning: vendor/ubus/libubus-obj.c: In function 'ubus_remove_object_cb': [INFO] [stderr] warning: vendor/ubus/libubus-obj.c:240:65: warning: unused parameter 'type' [-Wunused-parameter] [INFO] [stderr] warning: 240 | static void ubus_remove_object_cb(struct ubus_request *req, int type, struct blob_attr *msg) [INFO] [stderr] warning: | ~~~~^~~~ [INFO] [stderr] warning: vendor/libubox/avl.c: In function 'avl_delete_worker': [INFO] [stderr] warning: vendor/libubox/avl.c:672:5: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration] [INFO] [stderr] warning: 672 | assert(node->right); [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: vendor/libubox/avl.c:49:1: note: 'assert' is defined in header ''; did you forget to '#include '? [INFO] [stderr] warning: 48 | #include "assert.h" [INFO] [stderr] warning: +++ |+#include [INFO] [stderr] warning: 49 | #include "list.h" [INFO] [stderr] warning: vendor/libubox/uloop.c: In function 'waker_consume': [INFO] [stderr] warning: vendor/libubox/uloop.c:79:61: warning: unused parameter 'events' [-Wunused-parameter] [INFO] [stderr] warning: 79 | static void waker_consume(struct uloop_fd *fd, unsigned int events) [INFO] [stderr] warning: | ~~~~~~~~~~~~~^~~~~~ [INFO] [stderr] warning: vendor/libubox/uloop.c: In function 'uloop_sigchld': [INFO] [stderr] warning: vendor/libubox/uloop.c:412:31: warning: unused parameter 'signo' [-Wunused-parameter] [INFO] [stderr] warning: 412 | static void uloop_sigchld(int signo) [INFO] [stderr] warning: | ~~~~^~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `ubus-sys` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "c4d351168beffb2b5cb24381ecd3e2d165ac8316e58ab78556bcf03a1a0e8b98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4d351168beffb2b5cb24381ecd3e2d165ac8316e58ab78556bcf03a1a0e8b98", kill_on_drop: false }` [INFO] [stdout] c4d351168beffb2b5cb24381ecd3e2d165ac8316e58ab78556bcf03a1a0e8b98