[INFO] fetching crate xsens-mti 0.6.1... [INFO] checking xsens-mti-0.6.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate xsens-mti 0.6.1 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xsens-mti 0.6.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef31c99c5a1d6c15cbf66232c58ab4d4f29fc1ad40e84ccc4e1c278bd762873a [INFO] running `Command { std: "docker" "start" "-a" "ef31c99c5a1d6c15cbf66232c58ab4d4f29fc1ad40e84ccc4e1c278bd762873a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef31c99c5a1d6c15cbf66232c58ab4d4f29fc1ad40e84ccc4e1c278bd762873a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef31c99c5a1d6c15cbf66232c58ab4d4f29fc1ad40e84ccc4e1c278bd762873a", kill_on_drop: false }` [INFO] [stdout] ef31c99c5a1d6c15cbf66232c58ab4d4f29fc1ad40e84ccc4e1c278bd762873a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f468f251358a427611781704963f44135fa09f33f97aa2f822e5e33216edaa30 [INFO] running `Command { std: "docker" "start" "-a" "f468f251358a427611781704963f44135fa09f33f97aa2f822e5e33216edaa30", 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 version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking bitfield v0.14.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking serial v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.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: `#[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 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 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 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] 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: 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 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 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 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 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 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 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] [stderr] error: could not compile `xsens-mti` (example "frame-decode") due to 7 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: `#[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 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 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 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] running `Command { std: "docker" "inspect" "f468f251358a427611781704963f44135fa09f33f97aa2f822e5e33216edaa30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f468f251358a427611781704963f44135fa09f33f97aa2f822e5e33216edaa30", kill_on_drop: false }` [INFO] [stdout] f468f251358a427611781704963f44135fa09f33f97aa2f822e5e33216edaa30