[INFO] fetching crate ubus 0.1.7... [INFO] checking ubus-0.1.7 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate ubus 0.1.7 into /workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ubus 0.1.7 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded storage_endian v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e08b986b34fe8743198ed66340f3dc1cc965cb0e1d72604f4e4c6cce8875e555 [INFO] running `Command { std: "docker" "start" "-a" "e08b986b34fe8743198ed66340f3dc1cc965cb0e1d72604f4e4c6cce8875e555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e08b986b34fe8743198ed66340f3dc1cc965cb0e1d72604f4e4c6cce8875e555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e08b986b34fe8743198ed66340f3dc1cc965cb0e1d72604f4e4c6cce8875e555", kill_on_drop: false }` [INFO] [stdout] e08b986b34fe8743198ed66340f3dc1cc965cb0e1d72604f4e4c6cce8875e555 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30dc2b47491ed93b04d1d87b713278592927c8e3d612067d12c652bb682f4979 [INFO] running `Command { std: "docker" "start" "-a" "30dc2b47491ed93b04d1d87b713278592927c8e3d612067d12c652bb682f4979", 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: 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: 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 10.43s [INFO] running `Command { std: "docker" "inspect" "30dc2b47491ed93b04d1d87b713278592927c8e3d612067d12c652bb682f4979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30dc2b47491ed93b04d1d87b713278592927c8e3d612067d12c652bb682f4979", kill_on_drop: false }` [INFO] [stdout] 30dc2b47491ed93b04d1d87b713278592927c8e3d612067d12c652bb682f4979