[INFO] fetching crate xsens-mti 0.6.1... [INFO] checking xsens-mti-0.6.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate xsens-mti 0.6.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate xsens-mti 0.6.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate xsens-mti 0.6.1 [INFO] finished tweaking crates.io crate xsens-mti 0.6.1 [INFO] tweaked toml for crates.io crate xsens-mti 0.6.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate xsens-mti 0.6.1 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f134ac8fc873a5f3539043de97d00af5b77e95045e57fe29d4d9f3134544c0b [INFO] running `Command { std: "docker" "start" "-a" "8f134ac8fc873a5f3539043de97d00af5b77e95045e57fe29d4d9f3134544c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f134ac8fc873a5f3539043de97d00af5b77e95045e57fe29d4d9f3134544c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f134ac8fc873a5f3539043de97d00af5b77e95045e57fe29d4d9f3134544c0b", kill_on_drop: false }` [INFO] [stdout] 8f134ac8fc873a5f3539043de97d00af5b77e95045e57fe29d4d9f3134544c0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f350c4e8a530042147b7cf22205c548b5a46c0bd4116dfd2c67f9857fb6b4ea5 [INFO] running `Command { std: "docker" "start" "-a" "f350c4e8a530042147b7cf22205c548b5a46c0bd4116dfd2c67f9857fb6b4ea5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking bitfield v0.14.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking serial v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ctrlc v3.4.1 [INFO] [stderr] Checking proptest v1.2.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking xsens-mti v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/decoder.rs:6:68 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `err_derive::Error` (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] --> src/decoder.rs:6:68 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_FrameError_FOR_Error` [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 12 | FrameError(#[error(source)] FrameError), [INFO] [stdout] | ---------- `FrameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `err_derive::Error` (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] --> src/message/frame.rs:24:68 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_FrameError` [INFO] [stdout] 25 | pub enum FrameError { [INFO] [stdout] | ---------- `FrameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `err_derive::Error` (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] --> src/wire/mod.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_WireError` [INFO] [stdout] 29 | pub enum WireError { [INFO] [stdout] | --------- `WireError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/frame-decode.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 12 | enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> examples/frame-decode.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings, clippy::all)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/frame-decode.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_ctrlc_Error_FOR_Error` [INFO] [stdout] 12 | enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] 13 | #[error(display = "Control-C error")] [INFO] [stdout] 14 | Ctrlc(#[error(source)] ctrlc::Error), [INFO] [stdout] | ------------ `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/frame-decode.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_io_Error_FOR_Error` [INFO] [stdout] 12 | enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 17 | Io(#[error(source)] io::Error), [INFO] [stdout] | --------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/frame-decode.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_serial_Error_FOR_Error` [INFO] [stdout] 12 | enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 20 | Serial(#[error(source)] serial::Error), [INFO] [stdout] | ------------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/frame-decode.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_xsens_mti_wire_WireError_FOR_Error` [INFO] [stdout] 12 | enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 23 | Wire(#[error(source)] xsens_mti::wire::WireError), [INFO] [stdout] | -------------------------- `WireError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/frame-decode.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_xsens_mti_message_FrameError_FOR_Error` [INFO] [stdout] 12 | enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 26 | Frame(#[error(source)] xsens_mti::message::FrameError), [INFO] [stdout] | ------------------------------ `FrameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/frame-decode.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_xsens_mti_decoder_Error_FOR_Error` [INFO] [stdout] 12 | enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 29 | Decoder(#[error(source)] xsens_mti::decoder::Error), [INFO] [stdout] | ------------------------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xsens-mti` (example "frame-decode") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/decoder.rs:6:68 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `err_derive::Error` (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] --> src/decoder.rs:6:68 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_FrameError_FOR_Error` [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 12 | FrameError(#[error(source)] FrameError), [INFO] [stdout] | ---------- `FrameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `err_derive::Error` (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] --> src/message/frame.rs:24:68 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_FrameError` [INFO] [stdout] 25 | pub enum FrameError { [INFO] [stdout] | ---------- `FrameError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `err_derive::Error` (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] --> src/wire/mod.rs:28:68 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_WireError` [INFO] [stdout] 29 | pub enum WireError { [INFO] [stdout] | --------- `WireError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f350c4e8a530042147b7cf22205c548b5a46c0bd4116dfd2c67f9857fb6b4ea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f350c4e8a530042147b7cf22205c548b5a46c0bd4116dfd2c67f9857fb6b4ea5", kill_on_drop: false }` [INFO] [stdout] f350c4e8a530042147b7cf22205c548b5a46c0bd4116dfd2c67f9857fb6b4ea5