[INFO] fetching crate ubus 0.1.7... [INFO] testing ubus-0.1.7 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate ubus 0.1.7 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate ubus 0.1.7 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ubus 0.1.7 [INFO] tweaked toml for crates.io crate ubus 0.1.7 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ubus 0.1.7 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ubus 0.1.7 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45b974a18c5e95a3c331d9b2c4719f7399ed3c9743e58c890feeb78e128abd64 [INFO] running `Command { std: "docker" "start" "-a" "45b974a18c5e95a3c331d9b2c4719f7399ed3c9743e58c890feeb78e128abd64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45b974a18c5e95a3c331d9b2c4719f7399ed3c9743e58c890feeb78e128abd64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45b974a18c5e95a3c331d9b2c4719f7399ed3c9743e58c890feeb78e128abd64", kill_on_drop: false }` [INFO] [stdout] 45b974a18c5e95a3c331d9b2c4719f7399ed3c9743e58c890feeb78e128abd64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df2171b97c54ec3ace910f34b6c6405c6647210f990205a2d56ca5e34e439e99 [INFO] running `Command { std: "docker" "start" "-a" "df2171b97c54ec3ace910f34b6c6405c6647210f990205a2d56ca5e34e439e99", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling storage_endian v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ubus v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/lib.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(no_std))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "no_std"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | $( Self::$variant => true, )* [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] | [INFO] [stdout] ::: src/blobmsg.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / values!(pub BlobMsgType(u32) { [INFO] [stdout] 8 | | UNSPEC = 0, [INFO] [stdout] 9 | | ARRAY = 1, [INFO] [stdout] 10 | | TABLE = 2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | DOUBLE = 8, [INFO] [stdout] 18 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | $( Self::$variant => write!(f, stringify!($variant)), )* [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] | [INFO] [stdout] ::: src/blobmsg.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / values!(pub BlobMsgType(u32) { [INFO] [stdout] 8 | | UNSPEC = 0, [INFO] [stdout] 9 | | ARRAY = 1, [INFO] [stdout] 10 | | TABLE = 2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | DOUBLE = 8, [INFO] [stdout] 18 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/connection.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn next_message(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn next_message(&mut self) -> Result, UbusError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.41s [INFO] running `Command { std: "docker" "inspect" "df2171b97c54ec3ace910f34b6c6405c6647210f990205a2d56ca5e34e439e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df2171b97c54ec3ace910f34b6c6405c6647210f990205a2d56ca5e34e439e99", kill_on_drop: false }` [INFO] [stdout] df2171b97c54ec3ace910f34b6c6405c6647210f990205a2d56ca5e34e439e99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b876f967d2f90a5ed8c093efa08767bc01e76ba876af8911813e37a12825f9d [INFO] running `Command { std: "docker" "start" "-a" "5b876f967d2f90a5ed8c093efa08767bc01e76ba876af8911813e37a12825f9d", kill_on_drop: false }` [INFO] [stderr] Compiling ubus v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/lib.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(no_std))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "no_std"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | $( Self::$variant => true, )* [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] | [INFO] [stdout] ::: src/blobmsg.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / values!(pub BlobMsgType(u32) { [INFO] [stdout] 8 | | UNSPEC = 0, [INFO] [stdout] 9 | | ARRAY = 1, [INFO] [stdout] 10 | | TABLE = 2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | DOUBLE = 8, [INFO] [stdout] 18 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | $( Self::$variant => write!(f, stringify!($variant)), )* [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] | [INFO] [stdout] ::: src/blobmsg.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / values!(pub BlobMsgType(u32) { [INFO] [stdout] 8 | | UNSPEC = 0, [INFO] [stdout] 9 | | ARRAY = 1, [INFO] [stdout] 10 | | TABLE = 2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | DOUBLE = 8, [INFO] [stdout] 18 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/connection.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn next_message(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn next_message(&mut self) -> Result, UbusError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/lib.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(no_std))] [INFO] [stdout] | ^^^^^^ help: found config with similar value: `feature = "no_std"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | $( Self::$variant => true, )* [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] | [INFO] [stdout] ::: src/blobmsg.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / values!(pub BlobMsgType(u32) { [INFO] [stdout] 8 | | UNSPEC = 0, [INFO] [stdout] 9 | | ARRAY = 1, [INFO] [stdout] 10 | | TABLE = 2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | DOUBLE = 8, [INFO] [stdout] 18 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | $( Self::$variant => write!(f, stringify!($variant)), )* [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no value can reach this [INFO] [stdout] | matches all the relevant values [INFO] [stdout] | [INFO] [stdout] ::: src/blobmsg.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / values!(pub BlobMsgType(u32) { [INFO] [stdout] 8 | | UNSPEC = 0, [INFO] [stdout] 9 | | ARRAY = 1, [INFO] [stdout] 10 | | TABLE = 2, [INFO] [stdout] ... | [INFO] [stdout] 17 | | DOUBLE = 8, [INFO] [stdout] 18 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/connection.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn next_message(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn next_message(&mut self) -> Result, UbusError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.38s [INFO] running `Command { std: "docker" "inspect" "5b876f967d2f90a5ed8c093efa08767bc01e76ba876af8911813e37a12825f9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b876f967d2f90a5ed8c093efa08767bc01e76ba876af8911813e37a12825f9d", kill_on_drop: false }` [INFO] [stdout] 5b876f967d2f90a5ed8c093efa08767bc01e76ba876af8911813e37a12825f9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4100014f129ac4ac4dd8b5a8312f0b2281ac1b2d1f789a445489e031abaf4da8 [INFO] running `Command { std: "docker" "start" "-a" "4100014f129ac4ac4dd8b5a8312f0b2281ac1b2d1f789a445489e031abaf4da8", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `no_std` [INFO] [stderr] --> src/lib.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | #[cfg(not(no_std))] [INFO] [stderr] | ^^^^^^ help: found config with similar value: `feature = "no_std"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/lib.rs:36:24 [INFO] [stderr] | [INFO] [stderr] 36 | $( Self::$variant => true, )* [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no value can reach this [INFO] [stderr] | matches all the relevant values [INFO] [stderr] | [INFO] [stderr] ::: src/blobmsg.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / values!(pub BlobMsgType(u32) { [INFO] [stderr] 8 | | UNSPEC = 0, [INFO] [stderr] 9 | | ARRAY = 1, [INFO] [stderr] 10 | | TABLE = 2, [INFO] [stderr] ... | [INFO] [stderr] 17 | | DOUBLE = 8, [INFO] [stderr] 18 | | }); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/lib.rs:52:24 [INFO] [stderr] | [INFO] [stderr] 52 | $( Self::$variant => write!(f, stringify!($variant)), )* [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no value can reach this [INFO] [stderr] | matches all the relevant values [INFO] [stderr] | [INFO] [stderr] ::: src/blobmsg.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / values!(pub BlobMsgType(u32) { [INFO] [stderr] 8 | | UNSPEC = 0, [INFO] [stderr] 9 | | ARRAY = 1, [INFO] [stderr] 10 | | TABLE = 2, [INFO] [stderr] ... | [INFO] [stderr] 17 | | DOUBLE = 8, [INFO] [stderr] 18 | | }); [INFO] [stderr] | |__- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `values` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/connection.rs:72:25 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn next_message(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 72 | pub fn next_message(&mut self) -> Result, UbusError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `ubus` (lib) generated 4 warnings (run `cargo fix --lib -p ubus` to apply 1 suggestion) [INFO] [stderr] warning: `ubus` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ubus-8eaa4bd9d92d8c74) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/invoke.rs (/opt/rustwide/target/debug/deps/invoke-208209e6e1a8e4b8) [INFO] [stderr] Running tests/list.rs (/opt/rustwide/target/debug/deps/list-03bcf96403d0c5c4) [INFO] [stdout] test test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test ... ok [INFO] [stderr] Doc-tests ubus [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4100014f129ac4ac4dd8b5a8312f0b2281ac1b2d1f789a445489e031abaf4da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4100014f129ac4ac4dd8b5a8312f0b2281ac1b2d1f789a445489e031abaf4da8", kill_on_drop: false }` [INFO] [stdout] 4100014f129ac4ac4dd8b5a8312f0b2281ac1b2d1f789a445489e031abaf4da8