[INFO] fetching crate ubus 0.1.7... [INFO] checking ubus-0.1.7 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate ubus 0.1.7 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ubus 0.1.7 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aad61cb7eacc3095f623bc5a84b7a6509234d67e8bf9eba71ba176a51650b03f [INFO] running `Command { std: "docker" "start" "-a" "aad61cb7eacc3095f623bc5a84b7a6509234d67e8bf9eba71ba176a51650b03f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aad61cb7eacc3095f623bc5a84b7a6509234d67e8bf9eba71ba176a51650b03f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad61cb7eacc3095f623bc5a84b7a6509234d67e8bf9eba71ba176a51650b03f", kill_on_drop: false }` [INFO] [stdout] aad61cb7eacc3095f623bc5a84b7a6509234d67e8bf9eba71ba176a51650b03f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1259b633953cda7089c6db8d97e1ca8c8675cdc3b0f1ae7acb305c1dfae9020b [INFO] running `Command { std: "docker" "start" "-a" "1259b633953cda7089c6db8d97e1ca8c8675cdc3b0f1ae7acb305c1dfae9020b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking storage_endian v0.1.0 [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] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking 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: 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] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/ubusmsg.rs:202:51 [INFO] [stdout] | [INFO] [stdout] 202 | BlobAttrId::DATA => UbusMsgAttr::Data(payload.try_into().unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/ubusmsg.rs:206:65 [INFO] [stdout] | [INFO] [stdout] 206 | BlobAttrId::SUBSCRIBERS => UbusMsgAttr::Subscribers(payload.try_into().unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] [stderr] error: could not compile `ubus` (lib) due to 2 previous errors; 4 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: this type will no longer be must used: Result<&[u8], Infallible> [INFO] [stdout] --> src/ubusmsg.rs:202:51 [INFO] [stdout] | [INFO] [stdout] 202 | BlobAttrId::DATA => UbusMsgAttr::Data(payload.try_into().unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/ubusmsg.rs:206:65 [INFO] [stdout] | [INFO] [stdout] 206 | BlobAttrId::SUBSCRIBERS => UbusMsgAttr::Subscribers(payload.try_into().unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ubus` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1259b633953cda7089c6db8d97e1ca8c8675cdc3b0f1ae7acb305c1dfae9020b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1259b633953cda7089c6db8d97e1ca8c8675cdc3b0f1ae7acb305c1dfae9020b", kill_on_drop: false }` [INFO] [stdout] 1259b633953cda7089c6db8d97e1ca8c8675cdc3b0f1ae7acb305c1dfae9020b